[2026-06-21 00:00:00] local.INFO: TCP Data received {"connection_id":110071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:00] local.INFO: Processing buffer {"connection_id":110071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:00] local.INFO: Packet analysis {"connection_id":110071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:00:00] local.INFO: Extracted packet for processing {"connection_id":110071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111821248,"longitude_deg":75.8433536,"latitude_deg":11.1821248,"altitude":10,"angle":276,"satellites":48,"speed":2,"hex_longitude":"2d34c700","hex_latitude":"06aa41c0","is_valid_coordinates":true} 
[2026-06-21 00:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868736001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708090368,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781979957000,"timestamp_ms":1781979957000,"timestamp_seconds":1781979957,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6484708"} 
[2026-06-21 00:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868736001,"66":27876,"97":206,"81":23296,"24":2,"16":320037628340600832,"45":3803078807708090368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868736001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:00:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:00:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708090368,"description":"Unknown IO ID 45"} 
[2026-06-21 00:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868736001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3803078807708090368}} 
[2026-06-21 00:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":110071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:00:00] local.INFO: GPS data processed {"connection_id":110071,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:00:00] local.INFO: Acknowledgment sent {"connection_id":110071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:00:14] local.INFO: TCP Data received {"connection_id":108516,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:14] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:14] local.INFO: IMEI packet received {"connection_id":108516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":108516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:00:15] local.INFO: TCP Data received {"connection_id":108516,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:15] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:15] local.INFO: IMEI packet received {"connection_id":108516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":108516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:00:19] local.INFO: TCP Data received {"connection_id":108516,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:19] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:00:19] local.INFO: IMEI packet received {"connection_id":108516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":108516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:00:19] local.INFO: TCP Data received {"connection_id":108516,"ip":"117.224.107.152","data_length":1360,"data_hex":"000000000000030f8e0a0000019ee64b6bb8012d87aa400612fce00017000f30..."} 
[2026-06-21 00:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ee64b6bb8012d87aa400612fce00017000f30..."} 
[2026-06-21 00:00:19] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ee64b6bb8012d87aa400612fce00017000f30..."} 
[2026-06-21 00:00:19] local.INFO: Packet analysis {"connection_id":108516,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:19] local.INFO: Extracted packet for processing {"connection_id":108516,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:19] local.INFO: GPS Element Parsed {"raw_longitude":763865664,"raw_latitude":101907680,"longitude_deg":76.3865664,"latitude_deg":10.190768,"altitude":23,"angle":15,"satellites":48,"speed":57,"hex_longitude":"2d87aa40","hex_latitude":"0612fce0","is_valid_coordinates":true} 
[2026-06-21 00:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186921216001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125502633766027264,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8672244006367631360,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781980163000,"timestamp_ms":1781980163000,"timestamp_seconds":1781980163,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64b6bb8"} 
[2026-06-21 00:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-21 00:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":108516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186921216001,"66":28028,"251":206,"9":25344,"24":57,"16":125502633766027264,"45":-8672244006367631360},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,9,24,16,45]} 
[2026-06-21 00:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186921216001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:00:19] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-21 00:00:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125502633766027264,"km_value":125502633766027.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8672244006367631360,"description":"Unknown IO ID 45"} 
[2026-06-21 00:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186921216001,"power":28028,"unknown_251":206,"unknown_9":25344,"ignition":57,"odometer":null,"unknown_45":-8672244006367631360}} 
[2026-06-21 00:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":108516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:00:19] local.INFO: GPS data processed {"connection_id":108516,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:00:19] local.INFO: Acknowledgment sent {"connection_id":108516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:00:19] local.INFO: Packet analysis {"connection_id":108516,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:19] local.INFO: Incomplete packet, waiting for more data {"connection_id":108516,"needed":795,"available":565} 
[2026-06-21 00:00:20] local.INFO: TCP Data received {"connection_id":108516,"ip":"117.224.107.152","data_length":230,"data_hex":"2d87260006129788000f003c2f00340000000a000400ef0100715500f0010045..."} 
[2026-06-21 00:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":230,"packet_hex":"2d87260006129788000f003c2f00340000000a000400ef0100715500f0010045..."} 
[2026-06-21 00:00:20] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64b8710012d87b1c0061323a80018000a2d..."} 
[2026-06-21 00:00:20] local.INFO: Packet analysis {"connection_id":108516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:20] local.INFO: Extracted packet for processing {"connection_id":108516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:20] local.INFO: GPS Element Parsed {"raw_longitude":763867584,"raw_latitude":101917608,"longitude_deg":76.3867584,"latitude_deg":10.1917608,"altitude":24,"angle":10,"satellites":45,"speed":55,"hex_longitude":"2d87b1c0","hex_latitude":"061323a8","is_valid_coordinates":true} 
[2026-06-21 00:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186921728001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125503123392299008,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8671047737715924992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781980170000,"timestamp_ms":1781980170000,"timestamp_seconds":1781980170,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64b8710"} 
[2026-06-21 00:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-21 00:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186921728001,"66":27832,"250":206,"9":25344,"24":55,"16":125503123392299008,"45":-8671047737715924992},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,9,24,16,45]} 
[2026-06-21 00:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186921728001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:00:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-21 00:00:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125503123392299008,"km_value":125503123392299.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8671047737715924992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186921728001,"power":27832,"unknown_250":206,"unknown_9":25344,"ignition":55,"odometer":null,"unknown_45":-8671047737715924992}} 
[2026-06-21 00:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":108516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:00:20] local.INFO: GPS data processed {"connection_id":108516,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:00:20] local.INFO: Acknowledgment sent {"connection_id":108516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:00:25] local.INFO: TCP Data received {"connection_id":108516,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64b9e80012d87b440061343e0001a01672f..."} 
[2026-06-21 00:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64b9e80012d87b440061343e0001a01672f..."} 
[2026-06-21 00:00:25] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64b9e80012d87b440061343e0001a01672f..."} 
[2026-06-21 00:00:25] local.INFO: Packet analysis {"connection_id":108516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:25] local.INFO: Extracted packet for processing {"connection_id":108516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763868224,"raw_latitude":101925856,"longitude_deg":76.3868224,"latitude_deg":10.1925856,"altitude":26,"angle":359,"satellites":47,"speed":52,"hex_longitude":"2d87b440","hex_latitude":"061343e0","is_valid_coordinates":true} 
[2026-06-21 00:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186923520001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125503522824257536,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8668936675388053504,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781980176000,"timestamp_ms":1781980176000,"timestamp_seconds":1781980176,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64b9e80"} 
[2026-06-21 00:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:00: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-06-21 00:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 00:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":108516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186923520001,"66":27930,"250":206,"9":25344,"24":52,"16":125503522824257536,"45":-8668936675388053504},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,9,24,16,45]} 
[2026-06-21 00:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186923520001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:00:25] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-21 00:00:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125503522824257536,"km_value":125503522824257.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8668936675388053504,"description":"Unknown IO ID 45"} 
[2026-06-21 00:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186923520001,"power":27930,"unknown_250":206,"unknown_9":25344,"ignition":52,"odometer":null,"unknown_45":-8668936675388053504}} 
[2026-06-21 00:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":108516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:00:25] local.INFO: GPS data processed {"connection_id":108516,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:00:25] local.INFO: Acknowledgment sent {"connection_id":108516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:00:31] local.INFO: TCP Data received {"connection_id":110071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:31] local.INFO: Processing buffer {"connection_id":110071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:31] local.INFO: Packet analysis {"connection_id":110071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:00:31] local.INFO: Extracted packet for processing {"connection_id":110071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111821248,"longitude_deg":75.8433536,"latitude_deg":11.1821248,"altitude":10,"angle":276,"satellites":48,"speed":2,"hex_longitude":"2d34c700","hex_latitude":"06aa41c0","is_valid_coordinates":true} 
[2026-06-21 00:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868736001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708090368,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781979957000,"timestamp_ms":1781979957000,"timestamp_seconds":1781979957,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6484708"} 
[2026-06-21 00:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868736001,"66":27876,"97":206,"81":23296,"24":2,"16":320037628340600832,"45":3803078807708090368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868736001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708090368,"description":"Unknown IO ID 45"} 
[2026-06-21 00:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868736001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3803078807708090368}} 
[2026-06-21 00:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":110071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:00:31] local.INFO: GPS data processed {"connection_id":110071,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:00:31] local.INFO: Acknowledgment sent {"connection_id":110071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:00:53] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:00:53] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:00:53] local.INFO: IMEI packet received {"connection_id":108517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":108517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:00:56] local.INFO: TCP Data received {"connection_id":108516,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64bb208012d87b18006135df00019015b2b..."} 
[2026-06-21 00:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64bb208012d87b18006135df00019015b2b..."} 
[2026-06-21 00:00:56] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64bb208012d87b18006135df00019015b2b..."} 
[2026-06-21 00:00:56] local.INFO: Packet analysis {"connection_id":108516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:56] local.INFO: Extracted packet for processing {"connection_id":108516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763867520,"raw_latitude":101932528,"longitude_deg":76.386752,"latitude_deg":10.1932528,"altitude":25,"angle":347,"satellites":43,"speed":53,"hex_longitude":"2d87b180","hex_latitude":"06135df0","is_valid_coordinates":true} 
[2026-06-21 00:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186925056001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125503849241772032,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8668232987944165376,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781980181000,"timestamp_ms":1781980181000,"timestamp_seconds":1781980181,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64bb208"} 
[2026-06-21 00:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":108516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":108516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186925056001,"66":27876,"250":206,"9":25344,"24":53,"16":125503849241772032,"45":-8668232987944165376},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,9,24,16,45]} 
[2026-06-21 00:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186925056001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-21 00:00:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125503849241772032,"km_value":125503849241772.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8668232987944165376,"description":"Unknown IO ID 45"} 
[2026-06-21 00:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186925056001,"power":27876,"unknown_250":206,"unknown_9":25344,"ignition":53,"odometer":null,"unknown_45":-8668232987944165376}} 
[2026-06-21 00:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":108516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:00:56] local.INFO: GPS data processed {"connection_id":108516,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:00:56] local.INFO: Acknowledgment sent {"connection_id":108516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:00:58] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:00:58] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:00:58] local.INFO: IMEI packet received {"connection_id":108517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":108517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:00:59] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:59] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:00:59] local.INFO: Packet analysis {"connection_id":108517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:00:59] local.INFO: Extracted packet for processing {"connection_id":108517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111821248,"longitude_deg":75.8433536,"latitude_deg":11.1821248,"altitude":10,"angle":276,"satellites":48,"speed":2,"hex_longitude":"2d34c700","hex_latitude":"06aa41c0","is_valid_coordinates":true} 
[2026-06-21 00:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868736001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708090368,"note":"Value kept but may cause issues"} 
[2026-06-21 00:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781979957000,"timestamp_ms":1781979957000,"timestamp_seconds":1781979957,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6484708"} 
[2026-06-21 00:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868736001,"66":27876,"97":206,"81":23296,"24":2,"16":320037628340600832,"45":3803078807708090368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868736001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:00:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708090368,"description":"Unknown IO ID 45"} 
[2026-06-21 00:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868736001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3803078807708090368}} 
[2026-06-21 00:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":108517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:00:59] local.INFO: GPS data processed {"connection_id":108517,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:00:59] local.INFO: Acknowledgment sent {"connection_id":108517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:01:14] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:14] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:14] local.INFO: IMEI packet received {"connection_id":109107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":109107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:01:16] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:16] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:16] local.INFO: IMEI packet received {"connection_id":109107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":109107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:01:19] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:19] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:01:19] local.INFO: IMEI packet received {"connection_id":109107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":109107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:01:21] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64bcd60012d87a540061380b80018015128..."} 
[2026-06-21 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64bcd60012d87a540061380b80018015128..."} 
[2026-06-21 00:01:21] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64bcd60012d87a540061380b80018015128..."} 
[2026-06-21 00:01:21] local.INFO: Packet analysis {"connection_id":109107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:01:21] local.INFO: Extracted packet for processing {"connection_id":109107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763864384,"raw_latitude":101941432,"longitude_deg":76.3864384,"latitude_deg":10.1941432,"altitude":24,"angle":337,"satellites":40,"speed":51,"hex_longitude":"2d87a540","hex_latitude":"061380b8","is_valid_coordinates":true} 
[2026-06-21 00:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186926336001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125504308803272704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8669007044128411648,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781980188000,"timestamp_ms":1781980188000,"timestamp_seconds":1781980188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64bcd60"} 
[2026-06-21 00:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":109107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":109107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":109107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186926336001,"66":27952,"250":206,"9":25344,"24":51,"16":125504308803272704,"45":-8669007044128411648},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,9,24,16,45]} 
[2026-06-21 00:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186926336001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:01:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-21 00:01:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125504308803272704,"km_value":125504308803272.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8669007044128411648,"description":"Unknown IO ID 45"} 
[2026-06-21 00:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186926336001,"power":27952,"unknown_250":206,"unknown_9":25344,"ignition":51,"odometer":null,"unknown_45":-8669007044128411648}} 
[2026-06-21 00:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":109107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:01:21] local.INFO: GPS data processed {"connection_id":109107,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:01:21] local.INFO: Acknowledgment sent {"connection_id":109107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:01:22] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64beca0012d8797800613a410001901502a..."} 
[2026-06-21 00:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64beca0012d8797800613a410001901502a..."} 
[2026-06-21 00:01:22] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64beca0012d8797800613a410001901502a..."} 
[2026-06-21 00:01:22] local.INFO: Packet analysis {"connection_id":109107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:01:22] local.INFO: Extracted packet for processing {"connection_id":109107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64b"} 
[2026-06-21 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763860864,"raw_latitude":101950480,"longitude_deg":76.3860864,"latitude_deg":10.195048,"altitude":25,"angle":336,"satellites":42,"speed":43,"hex_longitude":"2d879780","hex_latitude":"0613a410","is_valid_coordinates":true} 
[2026-06-21 00:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186928128001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125504776954707968,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8672455112590837760,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781980196000,"timestamp_ms":1781980196000,"timestamp_seconds":1781980196,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64beca0"} 
[2026-06-21 00:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":109107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":109107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":109107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186928128001,"66":27995,"250":206,"9":25344,"24":43,"16":125504776954707968,"45":-8672455112590837760},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,9,24,16,45]} 
[2026-06-21 00:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186928128001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125504776954707968,"km_value":125504776954707.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8672455112590837760,"description":"Unknown IO ID 45"} 
[2026-06-21 00:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186928128001,"power":27995,"unknown_250":206,"unknown_9":25344,"ignition":43,"odometer":null,"unknown_45":-8672455112590837760}} 
[2026-06-21 00:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":109107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:01:22] local.INFO: GPS data processed {"connection_id":109107,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:01:22] local.INFO: Acknowledgment sent {"connection_id":109107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:01:30] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:01:30] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6484708012d34c70006aa41c0000a011430..."} 
[2026-06-21 00:01:30] local.INFO: Packet analysis {"connection_id":108517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:01:30] local.INFO: Extracted packet for processing {"connection_id":108517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee648"} 
[2026-06-21 00:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111821248,"longitude_deg":75.8433536,"latitude_deg":11.1821248,"altitude":10,"angle":276,"satellites":48,"speed":2,"hex_longitude":"2d34c700","hex_latitude":"06aa41c0","is_valid_coordinates":true} 
[2026-06-21 00:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868736001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708090368,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781979957000,"timestamp_ms":1781979957000,"timestamp_seconds":1781979957,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6484708"} 
[2026-06-21 00:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868736001,"66":27876,"97":206,"81":23296,"24":2,"16":320037628340600832,"45":3803078807708090368},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868736001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:01:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:01:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708090368,"description":"Unknown IO ID 45"} 
[2026-06-21 00:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868736001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3803078807708090368}} 
[2026-06-21 00:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":108517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:01:30] local.INFO: GPS data processed {"connection_id":108517,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:01:30] local.INFO: Acknowledgment sent {"connection_id":108517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:01:53] local.INFO: TCP Data received {"connection_id":108323,"ip":"42.106.6.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:01:53] local.INFO: Processing buffer {"connection_id":108323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:01:53] local.INFO: IMEI packet received {"connection_id":108323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":108323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:01:53] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64c0fc8012d8788000613c6e8001601512a..."} 
[2026-06-21 00:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64c0fc8012d8788000613c6e8001601512a..."} 
[2026-06-21 00:01:53] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64c0fc8012d8788000613c6e8001601512a..."} 
[2026-06-21 00:01:53] local.INFO: Packet analysis {"connection_id":109107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:01:53] local.INFO: Extracted packet for processing {"connection_id":109107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":763856896,"raw_latitude":101959400,"longitude_deg":76.3856896,"latitude_deg":10.19594,"altitude":22,"angle":337,"satellites":42,"speed":43,"hex_longitude":"2d878800","hex_latitude":"0613c6e8","is_valid_coordinates":true} 
[2026-06-21 00:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186930176001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125505249401110528,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8676325393518292992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781980205000,"timestamp_ms":1781980205000,"timestamp_seconds":1781980205,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64c0fc8"} 
[2026-06-21 00:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-21 00:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":109107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":109107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":109107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186930176001,"66":27887,"212":206,"9":25344,"24":43,"16":125505249401110528,"45":-8676325393518292992},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,9,24,16,45]} 
[2026-06-21 00:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186930176001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125505249401110528,"km_value":125505249401110.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8676325393518292992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186930176001,"power":27887,"unknown_212":206,"unknown_9":25344,"ignition":43,"odometer":null,"unknown_45":-8676325393518292992}} 
[2026-06-21 00:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":109107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:01:53] local.INFO: GPS data processed {"connection_id":109107,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:01:53] local.INFO: Acknowledgment sent {"connection_id":109107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:01:58] local.INFO: TCP Data received {"connection_id":108323,"ip":"42.106.6.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:01:58] local.INFO: Processing buffer {"connection_id":108323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:01:58] local.INFO: IMEI packet received {"connection_id":108323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":108323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:01:59] local.INFO: TCP Data received {"connection_id":108323,"ip":"42.106.6.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:01:59] local.INFO: Processing buffer {"connection_id":108323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:01:59] local.INFO: Packet analysis {"connection_id":108323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:01:59] local.INFO: Extracted packet for processing {"connection_id":108323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"client_ip":"42.106.6.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":108323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:01:59] local.INFO: GPS data processed {"connection_id":108323,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:01:59] local.INFO: Acknowledgment sent {"connection_id":108323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:02:13] local.INFO: TCP Data received {"connection_id":108518,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:13] local.INFO: Processing buffer {"connection_id":108518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:13] local.INFO: IMEI packet received {"connection_id":108518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":108518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:02:14] local.INFO: TCP Data received {"connection_id":108518,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:14] local.INFO: Processing buffer {"connection_id":108518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:14] local.INFO: IMEI packet received {"connection_id":108518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":108518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:02:14] local.INFO: TCP Data received {"connection_id":108518,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:14] local.INFO: Processing buffer {"connection_id":108518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:14] local.INFO: IMEI packet received {"connection_id":108518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":108518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:02:19] local.INFO: TCP Data received {"connection_id":108518,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:19] local.INFO: Processing buffer {"connection_id":108518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:02:19] local.INFO: IMEI packet received {"connection_id":108518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":108518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:02:19] local.INFO: TCP Data received {"connection_id":108518,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64d5018012d86fc80061551e8001101582e..."} 
[2026-06-21 00:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64d5018012d86fc80061551e8001101582e..."} 
[2026-06-21 00:02:19] local.INFO: Processing buffer {"connection_id":108518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64d5018012d86fc80061551e8001101582e..."} 
[2026-06-21 00:02:19] local.INFO: Packet analysis {"connection_id":108518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:02:19] local.INFO: Extracted packet for processing {"connection_id":108518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:02:19] local.INFO: GPS Element Parsed {"raw_longitude":763821184,"raw_latitude":102060520,"longitude_deg":76.3821184,"latitude_deg":10.206052,"altitude":17,"angle":344,"satellites":46,"speed":45,"hex_longitude":"2d86fc80","hex_latitude":"061551e8","is_valid_coordinates":true} 
[2026-06-21 00:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186951424001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125510459196440576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8716998527627247616,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781980287000,"timestamp_ms":1781980287000,"timestamp_seconds":1781980287,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64d5018"} 
[2026-06-21 00:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 00:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":108518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":108518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":108518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186951424001,"66":28050,"214":206,"9":25344,"24":45,"16":125510459196440576,"45":-8716998527627247616},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,9,24,16,45]} 
[2026-06-21 00:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186951424001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:02:19] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-06-21 00:02:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125510459196440576,"km_value":125510459196440.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8716998527627247616,"description":"Unknown IO ID 45"} 
[2026-06-21 00:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186951424001,"power":28050,"unknown_214":206,"unknown_9":25344,"ignition":45,"odometer":null,"unknown_45":-8716998527627247616}} 
[2026-06-21 00:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":108518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:02:20] local.INFO: GPS data processed {"connection_id":108518,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:02:20] local.INFO: Acknowledgment sent {"connection_id":108518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:02:31] local.INFO: TCP Data received {"connection_id":108323,"ip":"42.106.6.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:02:31] local.INFO: Processing buffer {"connection_id":108323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:02:31] local.INFO: Packet analysis {"connection_id":108323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:02:31] local.INFO: Extracted packet for processing {"connection_id":108323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"client_ip":"42.106.6.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":108323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:02:31] local.INFO: GPS data processed {"connection_id":108323,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:02:31] local.INFO: Acknowledgment sent {"connection_id":108323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:02:51] local.INFO: TCP Data received {"connection_id":108518,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64d6f58012d86f5c0061576b80010016431..."} 
[2026-06-21 00:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64d6f58012d86f5c0061576b80010016431..."} 
[2026-06-21 00:02:51] local.INFO: Processing buffer {"connection_id":108518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64d6f58012d86f5c0061576b80010016431..."} 
[2026-06-21 00:02:51] local.INFO: Packet analysis {"connection_id":108518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:02:51] local.INFO: Extracted packet for processing {"connection_id":108518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763819456,"raw_latitude":102069944,"longitude_deg":76.3819456,"latitude_deg":10.2069944,"altitude":16,"angle":356,"satellites":49,"speed":49,"hex_longitude":"2d86f5c0","hex_latitude":"061576b8","is_valid_coordinates":true} 
[2026-06-21 00:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186953472001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125510927347875840,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8719954014880274432,"note":"Value kept but may cause issues"} 
[2026-06-21 00:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781980295000,"timestamp_ms":1781980295000,"timestamp_seconds":1781980295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64d6f58"} 
[2026-06-21 00:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:02: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-06-21 00:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-21 00:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":108518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":108518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":108518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186953472001,"66":27974,"98":206,"9":25344,"24":49,"16":125510927347875840,"45":-8719954014880274432},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,9,24,16,45]} 
[2026-06-21 00:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186953472001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:02:51] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-21 00:02:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125510927347875840,"km_value":125510927347875.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8719954014880274432,"description":"Unknown IO ID 45"} 
[2026-06-21 00:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186953472001,"power":27974,"unknown_98":206,"unknown_9":25344,"ignition":49,"odometer":null,"unknown_45":-8719954014880274432}} 
[2026-06-21 00:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":108518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:02:51] local.INFO: GPS data processed {"connection_id":108518,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:02:51] local.INFO: Acknowledgment sent {"connection_id":108518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:02:54] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:02:54] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:02:54] local.INFO: IMEI packet received {"connection_id":109108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":109108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:02:58] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:02:58] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:02:58] local.INFO: IMEI packet received {"connection_id":109108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":109108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:03:00] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:03:00] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:03:00] local.INFO: Packet analysis {"connection_id":109108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:03:00] local.INFO: Extracted packet for processing {"connection_id":109108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:03:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:03:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":109108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:03:00] local.INFO: GPS data processed {"connection_id":109108,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:03:00] local.INFO: Acknowledgment sent {"connection_id":109108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:03:14] local.INFO: TCP Data received {"connection_id":108519,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:14] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:14] local.INFO: IMEI packet received {"connection_id":108519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":108519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:03:17] local.INFO: TCP Data received {"connection_id":108519,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:17] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:17] local.INFO: IMEI packet received {"connection_id":108519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":108519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:03:19] local.INFO: TCP Data received {"connection_id":108519,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:19] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:03:19] local.INFO: IMEI packet received {"connection_id":108519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":108519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:03:20] local.INFO: TCP Data received {"connection_id":108519,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64d6f58012d86f5c0061576b80010016431..."} 
[2026-06-21 00:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64d6f58012d86f5c0061576b80010016431..."} 
[2026-06-21 00:03:20] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64d6f58012d86f5c0061576b80010016431..."} 
[2026-06-21 00:03:20] local.INFO: Packet analysis {"connection_id":108519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:03:20] local.INFO: Extracted packet for processing {"connection_id":108519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:03:20] local.INFO: GPS Element Parsed {"raw_longitude":763819456,"raw_latitude":102069944,"longitude_deg":76.3819456,"latitude_deg":10.2069944,"altitude":16,"angle":356,"satellites":49,"speed":49,"hex_longitude":"2d86f5c0","hex_latitude":"061576b8","is_valid_coordinates":true} 
[2026-06-21 00:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186955520001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125510927347875840,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8721853970970658816,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781980295000,"timestamp_ms":1781980295000,"timestamp_seconds":1781980295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64d6f58"} 
[2026-06-21 00:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:03: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-06-21 00: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186955520001,"66":27974,"98":206,"9":25344,"24":49,"16":125510927347875840,"45":-8721853970970658816},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,9,24,16,45]} 
[2026-06-21 00:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186955520001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125510927347875840,"km_value":125510927347875.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8721853970970658816,"description":"Unknown IO ID 45"} 
[2026-06-21 00:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186955520001,"power":27974,"unknown_98":206,"unknown_9":25344,"ignition":49,"odometer":null,"unknown_45":-8721853970970658816}} 
[2026-06-21 00:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":108519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:03:20] local.INFO: GPS data processed {"connection_id":108519,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:03:20] local.INFO: Acknowledgment sent {"connection_id":108519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:03:31] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:03:31] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:03:31] local.INFO: Packet analysis {"connection_id":109108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:03:31] local.INFO: Extracted packet for processing {"connection_id":109108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":109108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:03:31] local.INFO: GPS data processed {"connection_id":109108,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:03:31] local.INFO: Acknowledgment sent {"connection_id":109108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:03:51] local.INFO: TCP Data received {"connection_id":108519,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64d8e98012d86f64006159ab0000f000232..."} 
[2026-06-21 00:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64d8e98012d86f64006159ab0000f000232..."} 
[2026-06-21 00:03:51] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64d8e98012d86f64006159ab0000f000232..."} 
[2026-06-21 00:03:51] local.INFO: Packet analysis {"connection_id":108519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:03:51] local.INFO: Extracted packet for processing {"connection_id":108519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64d"} 
[2026-06-21 00:03:51] local.INFO: GPS Element Parsed {"raw_longitude":763819584,"raw_latitude":102079152,"longitude_deg":76.3819584,"latitude_deg":10.2079152,"altitude":15,"angle":2,"satellites":50,"speed":43,"hex_longitude":"2d86f640","hex_latitude":"06159ab0","is_valid_coordinates":true} 
[2026-06-21 00:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186955520001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125511374024474624,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8721853970970658816,"note":"Value kept but may cause issues"} 
[2026-06-21 00:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781980303000,"timestamp_ms":1781980303000,"timestamp_seconds":1781980303,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64d8e98"} 
[2026-06-21 00:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:03: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-06-21 00:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":108519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":108519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":108519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186955520001,"66":27908,"98":206,"9":25344,"24":43,"16":125511374024474624,"45":-8721853970970658816},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,9,24,16,45]} 
[2026-06-21 00:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186955520001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:03:51] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-21 00:03:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125511374024474624,"km_value":125511374024474.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8721853970970658816,"description":"Unknown IO ID 45"} 
[2026-06-21 00:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186955520001,"power":27908,"unknown_98":206,"unknown_9":25344,"ignition":43,"odometer":null,"unknown_45":-8721853970970658816}} 
[2026-06-21 00:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":108519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:03:52] local.INFO: GPS data processed {"connection_id":108519,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:03:52] local.INFO: Acknowledgment sent {"connection_id":108519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:03:54] local.INFO: TCP Data received {"connection_id":110072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:03:54] local.INFO: Processing buffer {"connection_id":110072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:03:54] local.INFO: IMEI packet received {"connection_id":110072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":110072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:03:59] local.INFO: TCP Data received {"connection_id":110072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:03:59] local.INFO: Processing buffer {"connection_id":110072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:03:59] local.INFO: IMEI packet received {"connection_id":110072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":110072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:04:00] local.INFO: TCP Data received {"connection_id":110072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:04:00] local.INFO: Processing buffer {"connection_id":110072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:04:00] local.INFO: Packet analysis {"connection_id":110072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:04:00] local.INFO: Extracted packet for processing {"connection_id":110072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:04:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:04:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":110072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:04:00] local.INFO: GPS data processed {"connection_id":110072,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:04:00] local.INFO: Acknowledgment sent {"connection_id":110072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:04:16] local.INFO: TCP Data received {"connection_id":108324,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:16] local.INFO: Processing buffer {"connection_id":108324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:16] local.INFO: IMEI packet received {"connection_id":108324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":108324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:04:19] local.INFO: TCP Data received {"connection_id":108324,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:19] local.INFO: Processing buffer {"connection_id":108324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:19] local.INFO: IMEI packet received {"connection_id":108324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":108324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:04:23] local.INFO: TCP Data received {"connection_id":108324,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:23] local.INFO: Processing buffer {"connection_id":108324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:04:23] local.INFO: IMEI packet received {"connection_id":108324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":108324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:04:24] local.INFO: TCP Data received {"connection_id":108324,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64f3478012d8660c00616ef300013014b2b..."} 
[2026-06-21 00:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64f3478012d8660c00616ef300013014b2b..."} 
[2026-06-21 00:04:24] local.INFO: Processing buffer {"connection_id":108324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64f3478012d8660c00616ef300013014b2b..."} 
[2026-06-21 00:04:24] local.INFO: Packet analysis {"connection_id":108324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:04:24] local.INFO: Extracted packet for processing {"connection_id":108324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763781312,"raw_latitude":102166320,"longitude_deg":76.3781312,"latitude_deg":10.216632,"altitude":19,"angle":331,"satellites":43,"speed":57,"hex_longitude":"2d8660c0","hex_latitude":"0616ef30","is_valid_coordinates":true} 
[2026-06-21 00:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186983680001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125516068423729152,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8758867930385430528,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781980411000,"timestamp_ms":1781980411000,"timestamp_seconds":1781980411,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64f3478"} 
[2026-06-21 00:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:04: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-06-21 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":108324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":108324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":108324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186983680001,"66":27930,"149":206,"9":25344,"24":57,"16":125516068423729152,"45":-8758867930385430528},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,9,24,16,45]} 
[2026-06-21 00:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186983680001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:04:24] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-06-21 00:04:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125516068423729152,"km_value":125516068423729.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8758867930385430528,"description":"Unknown IO ID 45"} 
[2026-06-21 00:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186983680001,"power":27930,"unknown_149":206,"unknown_9":25344,"ignition":57,"odometer":null,"unknown_45":-8758867930385430528}} 
[2026-06-21 00:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":108324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:04:24] local.INFO: GPS data processed {"connection_id":108324,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:04:24] local.INFO: Acknowledgment sent {"connection_id":108324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:04:25] local.INFO: TCP Data received {"connection_id":108324,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64f4fd0012d864e40061712d8001401512d..."} 
[2026-06-21 00:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64f4fd0012d864e40061712d8001401512d..."} 
[2026-06-21 00:04:25] local.INFO: Processing buffer {"connection_id":108324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64f4fd0012d864e40061712d8001401512d..."} 
[2026-06-21 00:04:25] local.INFO: Packet analysis {"connection_id":108324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:04:25] local.INFO: Extracted packet for processing {"connection_id":108324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763776576,"raw_latitude":102175448,"longitude_deg":76.3776576,"latitude_deg":10.2175448,"altitude":20,"angle":337,"satellites":45,"speed":57,"hex_longitude":"2d864e40","hex_latitude":"061712d8","is_valid_coordinates":true} 
[2026-06-21 00:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186985216001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125516566639935488,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8763793742475874304,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781980418000,"timestamp_ms":1781980418000,"timestamp_seconds":1781980418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64f4fd0"} 
[2026-06-21 00:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:04: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-06-21 00:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":108324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":108324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":108324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186985216001,"66":27517,"149":206,"9":25344,"24":57,"16":125516566639935488,"45":-8763793742475874304},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,9,24,16,45]} 
[2026-06-21 00:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186985216001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:04:25] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-06-21 00:04:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125516566639935488,"km_value":125516566639935.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8763793742475874304,"description":"Unknown IO ID 45"} 
[2026-06-21 00:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186985216001,"power":27517,"unknown_149":206,"unknown_9":25344,"ignition":57,"odometer":null,"unknown_45":-8763793742475874304}} 
[2026-06-21 00:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":108324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:04:25] local.INFO: GPS data processed {"connection_id":108324,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:04:25] local.INFO: Acknowledgment sent {"connection_id":108324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:04:31] local.INFO: TCP Data received {"connection_id":110072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:04:31] local.INFO: Processing buffer {"connection_id":110072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:04:31] local.INFO: Packet analysis {"connection_id":110072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:04:31] local.INFO: Extracted packet for processing {"connection_id":110072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":110072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:04:31] local.INFO: GPS data processed {"connection_id":110072,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:04:31] local.INFO: Acknowledgment sent {"connection_id":110072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:04:53] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:04:53] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:04:53] local.INFO: IMEI packet received {"connection_id":109109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":109109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:04:57] local.INFO: TCP Data received {"connection_id":108324,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64f6b28012d86410006173608001501522f..."} 
[2026-06-21 00:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64f6b28012d86410006173608001501522f..."} 
[2026-06-21 00:04:57] local.INFO: Processing buffer {"connection_id":108324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64f6b28012d86410006173608001501522f..."} 
[2026-06-21 00:04:57] local.INFO: Packet analysis {"connection_id":108324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:04:57] local.INFO: Extracted packet for processing {"connection_id":108324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763773184,"raw_latitude":102184456,"longitude_deg":76.3773184,"latitude_deg":10.2184456,"altitude":21,"angle":338,"satellites":47,"speed":52,"hex_longitude":"2d864100","hex_latitude":"06173608","is_valid_coordinates":true} 
[2026-06-21 00:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186987008001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125517034791370752,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8769001029542684672,"note":"Value kept but may cause issues"} 
[2026-06-21 00:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781980425000,"timestamp_ms":1781980425000,"timestamp_seconds":1781980425,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64f6b28"} 
[2026-06-21 00:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-21 00:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":108324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":108324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":108324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186987008001,"66":27821,"149":206,"9":25344,"24":52,"16":125517034791370752,"45":-8769001029542684672},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,9,24,16,45]} 
[2026-06-21 00:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186987008001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:04:57] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-06-21 00:04:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125517034791370752,"km_value":125517034791370.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8769001029542684672,"description":"Unknown IO ID 45"} 
[2026-06-21 00:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186987008001,"power":27821,"unknown_149":206,"unknown_9":25344,"ignition":52,"odometer":null,"unknown_45":-8769001029542684672}} 
[2026-06-21 00:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":108324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:04:57] local.INFO: GPS data processed {"connection_id":108324,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:04:57] local.INFO: Acknowledgment sent {"connection_id":108324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:04:58] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:04:58] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:04:58] local.INFO: IMEI packet received {"connection_id":109109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":109109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:05:00] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:05:00] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:05:00] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:05:00] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:05:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:05:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:05:00] local.INFO: GPS data processed {"connection_id":109109,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:05:00] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:05:14] local.INFO: TCP Data received {"connection_id":110073,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:14] local.INFO: Processing buffer {"connection_id":110073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:14] local.INFO: IMEI packet received {"connection_id":110073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":110073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:05:15] local.INFO: TCP Data received {"connection_id":110073,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:15] local.INFO: Processing buffer {"connection_id":110073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:15] local.INFO: IMEI packet received {"connection_id":110073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":110073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:05:19] local.INFO: TCP Data received {"connection_id":110073,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:19] local.INFO: Processing buffer {"connection_id":110073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:05:19] local.INFO: IMEI packet received {"connection_id":110073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":110073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:05:20] local.INFO: TCP Data received {"connection_id":110073,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64f8680012d8634c006175898001701552f..."} 
[2026-06-21 00:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64f8680012d8634c006175898001701552f..."} 
[2026-06-21 00:05:20] local.INFO: Processing buffer {"connection_id":110073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64f8680012d8634c006175898001701552f..."} 
[2026-06-21 00:05:20] local.INFO: Packet analysis {"connection_id":110073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:05:20] local.INFO: Extracted packet for processing {"connection_id":110073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763770048,"raw_latitude":102193304,"longitude_deg":76.3770048,"latitude_deg":10.2193304,"altitude":23,"angle":341,"satellites":47,"speed":54,"hex_longitude":"2d8634c0","hex_latitude":"06175898","is_valid_coordinates":true} 
[2026-06-21 00:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186988800001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125517485762936832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772730572981794816,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781980432000,"timestamp_ms":1781980432000,"timestamp_seconds":1781980432,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64f8680"} 
[2026-06-21 00:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186988800001,"66":27887,"149":206,"9":25344,"24":54,"16":125517485762936832,"45":-8772730572981794816},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,9,24,16,45]} 
[2026-06-21 00:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186988800001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:05:20] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-06-21 00:05:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125517485762936832,"km_value":125517485762936.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772730572981794816,"description":"Unknown IO ID 45"} 
[2026-06-21 00:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186988800001,"power":27887,"unknown_149":206,"unknown_9":25344,"ignition":54,"odometer":null,"unknown_45":-8772730572981794816}} 
[2026-06-21 00:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":110073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:05:20] local.INFO: GPS data processed {"connection_id":110073,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:05:20] local.INFO: Acknowledgment sent {"connection_id":110073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:05:22] local.INFO: TCP Data received {"connection_id":110073,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64fa1d8012d8629c006177d70001801562e..."} 
[2026-06-21 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64fa1d8012d8629c006177d70001801562e..."} 
[2026-06-21 00:05:22] local.INFO: Processing buffer {"connection_id":110073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64fa1d8012d8629c006177d70001801562e..."} 
[2026-06-21 00:05:22] local.INFO: Packet analysis {"connection_id":110073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:05:22] local.INFO: Extracted packet for processing {"connection_id":110073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763767232,"raw_latitude":102202736,"longitude_deg":76.3767232,"latitude_deg":10.2202736,"altitude":24,"angle":342,"satellites":46,"speed":57,"hex_longitude":"2d8629c0","hex_latitude":"06177d70","is_valid_coordinates":true} 
[2026-06-21 00:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186990592001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125517962504306688,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8776178641444235264,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781980439000,"timestamp_ms":1781980439000,"timestamp_seconds":1781980439,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64fa1d8"} 
[2026-06-21 00:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 00:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186990592001,"66":27908,"149":206,"9":25344,"24":57,"16":125517962504306688,"45":-8776178641444235264},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,9,24,16,45]} 
[2026-06-21 00:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186990592001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-06-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125517962504306688,"km_value":125517962504306.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8776178641444235264,"description":"Unknown IO ID 45"} 
[2026-06-21 00:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186990592001,"power":27908,"unknown_149":206,"unknown_9":25344,"ignition":57,"odometer":null,"unknown_45":-8776178641444235264}} 
[2026-06-21 00:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":110073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:05:22] local.INFO: GPS data processed {"connection_id":110073,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:05:22] local.INFO: Acknowledgment sent {"connection_id":110073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:05:32] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:05:32] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:05:32] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:05:32] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:05:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:05:32] local.INFO: GPS data processed {"connection_id":109109,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:05:32] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:05:53] local.INFO: TCP Data received {"connection_id":109110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:05:53] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:05:53] local.INFO: IMEI packet received {"connection_id":109110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":109110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:05:53] local.INFO: TCP Data received {"connection_id":110073,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64fbd30012d861d800617a358001a015530..."} 
[2026-06-21 00:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64fbd30012d861d800617a358001a015530..."} 
[2026-06-21 00:05:53] local.INFO: Processing buffer {"connection_id":110073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64fbd30012d861d800617a358001a015530..."} 
[2026-06-21 00:05:53] local.INFO: Packet analysis {"connection_id":110073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:05:53] local.INFO: Extracted packet for processing {"connection_id":110073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64f"} 
[2026-06-21 00:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763764096,"raw_latitude":102212440,"longitude_deg":76.3764096,"latitude_deg":10.221244,"altitude":26,"angle":341,"satellites":48,"speed":57,"hex_longitude":"2d861d80","hex_latitude":"0617a358","is_valid_coordinates":true} 
[2026-06-21 00:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186992384001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125518456425545728,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8779274866185637888,"note":"Value kept but may cause issues"} 
[2026-06-21 00:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781980446000,"timestamp_ms":1781980446000,"timestamp_seconds":1781980446,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64fbd30"} 
[2026-06-21 00:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186992384001,"66":27876,"149":206,"9":25344,"24":57,"16":125518456425545728,"45":-8779274866185637888},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,9,24,16,45]} 
[2026-06-21 00:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186992384001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-06-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125518456425545728,"km_value":125518456425545.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8779274866185637888,"description":"Unknown IO ID 45"} 
[2026-06-21 00:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186992384001,"power":27876,"unknown_149":206,"unknown_9":25344,"ignition":57,"odometer":null,"unknown_45":-8779274866185637888}} 
[2026-06-21 00:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":110073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:05:54] local.INFO: GPS data processed {"connection_id":110073,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:05:54] local.INFO: Acknowledgment sent {"connection_id":110073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:05:58] local.INFO: TCP Data received {"connection_id":109110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:05:58] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:05:58] local.INFO: IMEI packet received {"connection_id":109110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":109110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:06:00] local.INFO: TCP Data received {"connection_id":109110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:06:00] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:06:00] local.INFO: Packet analysis {"connection_id":109110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:06:00] local.INFO: Extracted packet for processing {"connection_id":109110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:06:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:06:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":109110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:06:00] local.INFO: GPS data processed {"connection_id":109110,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:06:00] local.INFO: Acknowledgment sent {"connection_id":109110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:06:13] local.INFO: TCP Data received {"connection_id":110074,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:13] local.INFO: Processing buffer {"connection_id":110074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:13] local.INFO: IMEI packet received {"connection_id":110074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":110074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:06:14] local.INFO: TCP Data received {"connection_id":110074,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:14] local.INFO: Processing buffer {"connection_id":110074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:14] local.INFO: IMEI packet received {"connection_id":110074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":110074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:06:19] local.INFO: TCP Data received {"connection_id":110074,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:19] local.INFO: Processing buffer {"connection_id":110074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:06:19] local.INFO: IMEI packet received {"connection_id":110074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":110074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:06:20] local.INFO: TCP Data received {"connection_id":110074,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee650cab8012d85b64006192430001f015931..."} 
[2026-06-21 00:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee650cab8012d85b64006192430001f015931..."} 
[2026-06-21 00:06:20] local.INFO: Processing buffer {"connection_id":110074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee650cab8012d85b64006192430001f015931..."} 
[2026-06-21 00:06:20] local.INFO: Packet analysis {"connection_id":110074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee650"} 
[2026-06-21 00:06:20] local.INFO: Extracted packet for processing {"connection_id":110074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee650"} 
[2026-06-21 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":763737664,"raw_latitude":102310960,"longitude_deg":76.3737664,"latitude_deg":10.231096,"altitude":31,"angle":345,"satellites":49,"speed":59,"hex_longitude":"2d85b640","hex_latitude":"06192430","is_valid_coordinates":true} 
[2026-06-21 00:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187010304001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125523399932903424,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8809392688668190720,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781980515000,"timestamp_ms":1781980515000,"timestamp_seconds":1781980515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee650cab8"} 
[2026-06-21 00:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 00:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187010304001,"66":28028,"151":206,"9":25344,"24":59,"16":125523399932903424,"45":-8809392688668190720},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,9,24,16,45]} 
[2026-06-21 00:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187010304001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:06:20] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-06-21 00:06:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125523399932903424,"km_value":125523399932903.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8809392688668190720,"description":"Unknown IO ID 45"} 
[2026-06-21 00:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187010304001,"power":28028,"unknown_151":206,"unknown_9":25344,"ignition":59,"odometer":null,"unknown_45":-8809392688668190720}} 
[2026-06-21 00:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":110074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:06:20] local.INFO: GPS data processed {"connection_id":110074,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:06:20] local.INFO: Acknowledgment sent {"connection_id":110074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:06:33] local.INFO: TCP Data received {"connection_id":109110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:06:33] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee64cea88012d34c2c006aa3e380005011131..."} 
[2026-06-21 00:06:33] local.INFO: Packet analysis {"connection_id":109110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:06:33] local.INFO: Extracted packet for processing {"connection_id":109110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee64c"} 
[2026-06-21 00:06:33] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":5,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186868992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963912704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781980261000,"timestamp_ms":1781980261000,"timestamp_seconds":1781980261,"priority":1,"record_length":96,"hex_timestamp":"0000019ee64cea88"} 
[2026-06-21 00:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186868992001,"66":26267,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3803008438963912704},"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-06-21 00:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186868992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963912704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186868992001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963912704}} 
[2026-06-21 00:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":109110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:06:33] local.INFO: GPS data processed {"connection_id":109110,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:06:33] local.INFO: Acknowledgment sent {"connection_id":109110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:06:51] local.INFO: TCP Data received {"connection_id":110074,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee650e228012d85adc006194608001f015a31..."} 
[2026-06-21 00:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee650e228012d85adc006194608001f015a31..."} 
[2026-06-21 00:06:51] local.INFO: Processing buffer {"connection_id":110074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee650e228012d85adc006194608001f015a31..."} 
[2026-06-21 00:06:51] local.INFO: Packet analysis {"connection_id":110074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee650"} 
[2026-06-21 00:06:51] local.INFO: Extracted packet for processing {"connection_id":110074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee650"} 
[2026-06-21 00:06:51] local.INFO: GPS Element Parsed {"raw_longitude":763735488,"raw_latitude":102319624,"longitude_deg":76.3735488,"latitude_deg":10.2319624,"altitude":31,"angle":346,"satellites":49,"speed":58,"hex_longitude":"2d85adc0","hex_latitude":"06194608","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187011840001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125523833724600320,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8811785225968013312,"note":"Value kept but may cause issues"} 
[2026-06-21 00:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781980521000,"timestamp_ms":1781980521000,"timestamp_seconds":1781980521,"priority":1,"record_length":96,"hex_timestamp":"0000019ee650e228"} 
[2026-06-21 00:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-21 00:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187011840001,"66":27821,"151":206,"9":25344,"24":58,"16":125523833724600320,"45":-8811785225968013312},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,9,24,16,45]} 
[2026-06-21 00:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187011840001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:06:51] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-06-21 00:06:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125523833724600320,"km_value":125523833724600.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8811785225968013312,"description":"Unknown IO ID 45"} 
[2026-06-21 00:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187011840001,"power":27821,"unknown_151":206,"unknown_9":25344,"ignition":58,"odometer":null,"unknown_45":-8811785225968013312}} 
[2026-06-21 00:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":110074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:06:51] local.INFO: GPS data processed {"connection_id":110074,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:06:51] local.INFO: Acknowledgment sent {"connection_id":110074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:06:53] local.INFO: TCP Data received {"connection_id":108520,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:06:53] local.INFO: Processing buffer {"connection_id":108520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:06:53] local.INFO: IMEI packet received {"connection_id":108520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":108520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:06:59] local.INFO: TCP Data received {"connection_id":108520,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:06:59] local.INFO: Processing buffer {"connection_id":108520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:06:59] local.INFO: IMEI packet received {"connection_id":108520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":108520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:07:00] local.INFO: TCP Data received {"connection_id":108520,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:00] local.INFO: Processing buffer {"connection_id":108520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:00] local.INFO: Packet analysis {"connection_id":108520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:00] local.INFO: Extracted packet for processing {"connection_id":108520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:07:00] 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-06-21 00:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:07:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:07:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":108520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:07:00] local.INFO: GPS data processed {"connection_id":108520,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:07:00] local.INFO: Acknowledgment sent {"connection_id":108520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:07:16] local.INFO: TCP Data received {"connection_id":108325,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:07:16] local.INFO: Processing buffer {"connection_id":108325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:07:16] local.INFO: IMEI packet received {"connection_id":108325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":108325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:07:17] local.INFO: TCP Data received {"connection_id":108325,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:07:17] local.INFO: Processing buffer {"connection_id":108325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:07:17] local.INFO: IMEI packet received {"connection_id":108325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":108325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:07:29] local.INFO: TCP Data received {"connection_id":108325,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee650fd80012d85a58006196d180020016032..."} 
[2026-06-21 00:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee650fd80012d85a58006196d180020016032..."} 
[2026-06-21 00:07:29] local.INFO: Processing buffer {"connection_id":108325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee650fd80012d85a58006196d180020016032..."} 
[2026-06-21 00:07:29] local.INFO: Packet analysis {"connection_id":108325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee650"} 
[2026-06-21 00:07:29] local.INFO: Extracted packet for processing {"connection_id":108325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee650"} 
[2026-06-21 00:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763733376,"raw_latitude":102329624,"longitude_deg":76.3733376,"latitude_deg":10.2329624,"altitude":32,"angle":352,"satellites":50,"speed":57,"hex_longitude":"2d85a580","hex_latitude":"06196d18","is_valid_coordinates":true} 
[2026-06-21 00:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187013376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125524327645839360,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8814177763267835904,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781980528000,"timestamp_ms":1781980528000,"timestamp_seconds":1781980528,"priority":1,"record_length":96,"hex_timestamp":"0000019ee650fd80"} 
[2026-06-21 00:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187013376001,"66":27941,"151":206,"9":25344,"24":57,"16":125524327645839360,"45":-8814177763267835904},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,9,24,16,45]} 
[2026-06-21 00:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187013376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:07:29] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-06-21 00:07:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125524327645839360,"km_value":125524327645839.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8814177763267835904,"description":"Unknown IO ID 45"} 
[2026-06-21 00:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187013376001,"power":27941,"unknown_151":206,"unknown_9":25344,"ignition":57,"odometer":null,"unknown_45":-8814177763267835904}} 
[2026-06-21 00:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":108325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:07:29] local.INFO: GPS data processed {"connection_id":108325,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:07:29] local.INFO: Acknowledgment sent {"connection_id":108325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:07:31] local.INFO: TCP Data received {"connection_id":108520,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:31] local.INFO: Processing buffer {"connection_id":108520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:31] local.INFO: Packet analysis {"connection_id":108520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:31] local.INFO: Extracted packet for processing {"connection_id":108520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:07:31] 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-06-21 00:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":108520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:07:31] local.INFO: GPS data processed {"connection_id":108520,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:07:31] local.INFO: Acknowledgment sent {"connection_id":108520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:07:32] local.INFO: TCP Data received {"connection_id":108325,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65118d8012d85a300061992e80022000130..."} 
[2026-06-21 00:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65118d8012d85a300061992e80022000130..."} 
[2026-06-21 00:07:32] local.INFO: Processing buffer {"connection_id":108325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65118d8012d85a300061992e80022000130..."} 
[2026-06-21 00:07:32] local.INFO: Packet analysis {"connection_id":108325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:32] local.INFO: Extracted packet for processing {"connection_id":108325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:32] local.INFO: GPS Element Parsed {"raw_longitude":763732736,"raw_latitude":102339304,"longitude_deg":76.3732736,"latitude_deg":10.2339304,"altitude":34,"angle":1,"satellites":48,"speed":50,"hex_longitude":"2d85a300","hex_latitude":"061992e8","is_valid_coordinates":true} 
[2026-06-21 00:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187015168001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125524800092241920,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8816499931823138816,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781980535000,"timestamp_ms":1781980535000,"timestamp_seconds":1781980535,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65118d8"} 
[2026-06-21 00:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 00:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187015168001,"66":27832,"151":206,"9":25344,"24":50,"16":125524800092241920,"45":-8816499931823138816},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,9,24,16,45]} 
[2026-06-21 00:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187015168001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-06-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":25344,"description":"Unknown IO ID 9"} 
[2026-06-21 00:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125524800092241920,"km_value":125524800092241.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8816499931823138816,"description":"Unknown IO ID 45"} 
[2026-06-21 00:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187015168001,"power":27832,"unknown_151":206,"unknown_9":25344,"ignition":50,"odometer":null,"unknown_45":-8816499931823138816}} 
[2026-06-21 00:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":108325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:07:32] local.INFO: GPS data processed {"connection_id":108325,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:07:32] local.INFO: Acknowledgment sent {"connection_id":108325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:07:53] local.INFO: TCP Data received {"connection_id":110075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:07:53] local.INFO: Processing buffer {"connection_id":110075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:07:53] local.INFO: IMEI packet received {"connection_id":110075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":110075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:07:58] local.INFO: TCP Data received {"connection_id":110075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:07:58] local.INFO: Processing buffer {"connection_id":110075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:07:58] local.INFO: IMEI packet received {"connection_id":110075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":110075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:07:59] local.INFO: TCP Data received {"connection_id":110075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:59] local.INFO: Processing buffer {"connection_id":110075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:07:59] local.INFO: Packet analysis {"connection_id":110075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:59] local.INFO: Extracted packet for processing {"connection_id":110075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:07:59] 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-06-21 00: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-06-21 00:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:07:59] 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-06-21 00:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:07:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":110075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:07:59] local.INFO: GPS data processed {"connection_id":110075,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:07:59] local.INFO: Acknowledgment sent {"connection_id":110075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:08:12] local.INFO: TCP Data received {"connection_id":108326,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:12] local.INFO: Processing buffer {"connection_id":108326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:12] local.INFO: IMEI packet received {"connection_id":108326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":108326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:08:14] local.INFO: TCP Data received {"connection_id":108326,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:14] local.INFO: Processing buffer {"connection_id":108326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:14] local.INFO: IMEI packet received {"connection_id":108326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":108326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:08:19] local.INFO: TCP Data received {"connection_id":108326,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:19] local.INFO: Processing buffer {"connection_id":108326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:08:19] local.INFO: IMEI packet received {"connection_id":108326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":108326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:08:20] local.INFO: TCP Data received {"connection_id":108326,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6528808012d854540061b5cd0001e014030..."} 
[2026-06-21 00:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6528808012d854540061b5cd0001e014030..."} 
[2026-06-21 00:08:20] local.INFO: Processing buffer {"connection_id":108326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6528808012d854540061b5cd0001e014030..."} 
[2026-06-21 00:08:20] local.INFO: Packet analysis {"connection_id":108326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee652"} 
[2026-06-21 00:08:20] local.INFO: Extracted packet for processing {"connection_id":108326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee652"} 
[2026-06-21 00:08:20] local.INFO: GPS Element Parsed {"raw_longitude":763708736,"raw_latitude":102456528,"longitude_deg":76.3708736,"latitude_deg":10.2456528,"altitude":30,"angle":320,"satellites":48,"speed":62,"hex_longitude":"2d854540","hex_latitude":"061b5cd0","is_valid_coordinates":true} 
[2026-06-21 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-06-21 00:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187039488001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125530804456521728,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8836836498859819008,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781980629000,"timestamp_ms":1781980629000,"timestamp_seconds":1781980629,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6528808"} 
[2026-06-21 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-06-21 00:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-21 00:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 00:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187039488001,"66":27930,"111":206,"19":40960,"24":62,"16":125530804456521728,"45":-8836836498859819008},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-06-21 00:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187039488001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:08:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-21 00:08:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125530804456521728,"km_value":125530804456521.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8836836498859819008,"description":"Unknown IO ID 45"} 
[2026-06-21 00:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187039488001,"power":27930,"unknown_111":206,"unknown_19":40960,"ignition":62,"odometer":null,"unknown_45":-8836836498859819008}} 
[2026-06-21 00:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":108326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:08:20] local.INFO: GPS data processed {"connection_id":108326,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:08:20] local.INFO: Acknowledgment sent {"connection_id":108326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:08:31] local.INFO: TCP Data received {"connection_id":110075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:08:31] local.INFO: Processing buffer {"connection_id":110075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:08:31] local.INFO: Packet analysis {"connection_id":110075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:08:31] local.INFO: Extracted packet for processing {"connection_id":110075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:08:31] 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-06-21 00:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":110075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:08:31] local.INFO: GPS data processed {"connection_id":110075,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:08:31] local.INFO: Acknowledgment sent {"connection_id":110075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:08:52] local.INFO: TCP Data received {"connection_id":108326,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6529f78012d852fc0061b7aa0001b01492f..."} 
[2026-06-21 00:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6529f78012d852fc0061b7aa0001b01492f..."} 
[2026-06-21 00:08:52] local.INFO: Processing buffer {"connection_id":108326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6529f78012d852fc0061b7aa0001b01492f..."} 
[2026-06-21 00:08:52] local.INFO: Packet analysis {"connection_id":108326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee652"} 
[2026-06-21 00:08:52] local.INFO: Extracted packet for processing {"connection_id":108326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee652"} 
[2026-06-21 00:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763703232,"raw_latitude":102464160,"longitude_deg":76.3703232,"latitude_deg":10.246416,"altitude":27,"angle":329,"satellites":47,"speed":62,"hex_longitude":"2d852fc0","hex_latitude":"061b7aa0","is_valid_coordinates":true} 
[2026-06-21 00:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187041024001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125531259723055104,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8843591898299052032,"note":"Value kept but may cause issues"} 
[2026-06-21 00:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781980635000,"timestamp_ms":1781980635000,"timestamp_seconds":1781980635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6529f78"} 
[2026-06-21 00:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:08: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-06-21 00:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":108326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":108326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":108326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187041024001,"66":27908,"111":206,"19":40960,"24":62,"16":125531259723055104,"45":-8843591898299052032},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-06-21 00:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187041024001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:08:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-21 00:08:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125531259723055104,"km_value":125531259723055.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8843591898299052032,"description":"Unknown IO ID 45"} 
[2026-06-21 00:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187041024001,"power":27908,"unknown_111":206,"unknown_19":40960,"ignition":62,"odometer":null,"unknown_45":-8843591898299052032}} 
[2026-06-21 00:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":108326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:08:52] local.INFO: GPS data processed {"connection_id":108326,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:08:52] local.INFO: Acknowledgment sent {"connection_id":108326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:08:53] local.INFO: TCP Data received {"connection_id":108521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:08:53] local.INFO: Processing buffer {"connection_id":108521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:08:53] local.INFO: IMEI packet received {"connection_id":108521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":108521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:08:59] local.INFO: TCP Data received {"connection_id":108521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:08:59] local.INFO: Processing buffer {"connection_id":108521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:08:59] local.INFO: IMEI packet received {"connection_id":108521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":108521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:09:00] local.INFO: TCP Data received {"connection_id":108521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:09:00] local.INFO: Processing buffer {"connection_id":108521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:09:00] local.INFO: Packet analysis {"connection_id":108521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:09:00] local.INFO: Extracted packet for processing {"connection_id":108521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:09:00] 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-06-21 00:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:09:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:09:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":108521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:09:00] local.INFO: GPS data processed {"connection_id":108521,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:09:00] local.INFO: Acknowledgment sent {"connection_id":108521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:09:32] local.INFO: TCP Data received {"connection_id":108521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:09:32] local.INFO: Processing buffer {"connection_id":108521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:09:32] local.INFO: Packet analysis {"connection_id":108521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:09:32] local.INFO: Extracted packet for processing {"connection_id":108521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:09:32] 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-06-21 00:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":108521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:09:32] local.INFO: GPS data processed {"connection_id":108521,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:09:32] local.INFO: Acknowledgment sent {"connection_id":108521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:09:49] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:49] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:49] local.INFO: IMEI packet received {"connection_id":109111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":109111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:09:50] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:50] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:50] local.INFO: IMEI packet received {"connection_id":109111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":109111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:09:53] local.INFO: TCP Data received {"connection_id":108327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:09:53] local.INFO: Processing buffer {"connection_id":108327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:09:53] local.INFO: IMEI packet received {"connection_id":108327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":108327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:09:54] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:54] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:09:54] local.INFO: IMEI packet received {"connection_id":109111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":109111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:09:56] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee653b4d0012d848a40061cef800013015632..."} 
[2026-06-21 00:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee653b4d0012d848a40061cef800013015632..."} 
[2026-06-21 00:09:56] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee653b4d0012d848a40061cef800013015632..."} 
[2026-06-21 00:09:56] local.INFO: Packet analysis {"connection_id":109111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee653"} 
[2026-06-21 00:09:56] local.INFO: Extracted packet for processing {"connection_id":109111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee653"} 
[2026-06-21 00:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763660864,"raw_latitude":102559616,"longitude_deg":76.3660864,"latitude_deg":10.2559616,"altitude":19,"angle":342,"satellites":50,"speed":52,"hex_longitude":"2d848a40","hex_latitude":"061cef80","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187058944001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125536319194529792,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8892990756687532032,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781980706000,"timestamp_ms":1781980706000,"timestamp_seconds":1781980706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee653b4d0"} 
[2026-06-21 00:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:09: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-06-21 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:09:56] 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-06-21 00: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-06-21 00:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":109111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":109111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":109111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187058944001,"66":27887,"195":206,"19":40960,"24":52,"16":125536319194529792,"45":-8892990756687532032},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,19,24,16,45]} 
[2026-06-21 00:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187058944001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125536319194529792,"km_value":125536319194529.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8892990756687532032,"description":"Unknown IO ID 45"} 
[2026-06-21 00:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187058944001,"power":27887,"unknown_195":206,"unknown_19":40960,"ignition":52,"odometer":null,"unknown_45":-8892990756687532032}} 
[2026-06-21 00:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":109111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:09:56] local.INFO: GPS data processed {"connection_id":109111,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:09:56] local.INFO: Acknowledgment sent {"connection_id":109111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:09:57] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee653cc40012d847d80061d0da80012014b30..."} 
[2026-06-21 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee653cc40012d847d80061d0da80012014b30..."} 
[2026-06-21 00:09:57] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee653cc40012d847d80061d0da80012014b30..."} 
[2026-06-21 00:09:57] local.INFO: Packet analysis {"connection_id":109111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee653"} 
[2026-06-21 00:09:57] local.INFO: Extracted packet for processing {"connection_id":109111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee653"} 
[2026-06-21 00:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763657600,"raw_latitude":102567336,"longitude_deg":76.36576,"latitude_deg":10.2567336,"altitude":18,"angle":331,"satellites":48,"speed":59,"hex_longitude":"2d847d80","hex_latitude":"061d0da8","is_valid_coordinates":true} 
[2026-06-21 00:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187060736001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125536727216422912,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8896227718917554176,"note":"Value kept but may cause issues"} 
[2026-06-21 00:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781980712000,"timestamp_ms":1781980712000,"timestamp_seconds":1781980712,"priority":1,"record_length":96,"hex_timestamp":"0000019ee653cc40"} 
[2026-06-21 00:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 00:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":109111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":109111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":109111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187060736001,"66":27876,"195":206,"19":40960,"24":59,"16":125536727216422912,"45":-8896227718917554176},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,19,24,16,45]} 
[2026-06-21 00:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187060736001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:09:57] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-21 00:09:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125536727216422912,"km_value":125536727216422.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8896227718917554176,"description":"Unknown IO ID 45"} 
[2026-06-21 00:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187060736001,"power":27876,"unknown_195":206,"unknown_19":40960,"ignition":59,"odometer":null,"unknown_45":-8896227718917554176}} 
[2026-06-21 00:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":109111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:09:57] local.INFO: GPS data processed {"connection_id":109111,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:09:57] local.INFO: Acknowledgment sent {"connection_id":109111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:09:58] local.INFO: TCP Data received {"connection_id":108327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:09:58] local.INFO: Processing buffer {"connection_id":108327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:09:58] local.INFO: IMEI packet received {"connection_id":108327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":108327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:10:00] local.INFO: TCP Data received {"connection_id":108327,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:10:00] local.INFO: Processing buffer {"connection_id":108327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:10:00] local.INFO: Packet analysis {"connection_id":108327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:10:00] local.INFO: Extracted packet for processing {"connection_id":108327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:10:00] 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-06-21 00:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:10:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:10:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":108327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:10:00] local.INFO: GPS data processed {"connection_id":108327,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:10:00] local.INFO: Acknowledgment sent {"connection_id":108327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:10:19] local.INFO: TCP Data received {"connection_id":108522,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:19] local.INFO: Processing buffer {"connection_id":108522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:19] local.INFO: IMEI packet received {"connection_id":108522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":108522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:10:21] local.INFO: TCP Data received {"connection_id":108522,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:21] local.INFO: Processing buffer {"connection_id":108522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:21] local.INFO: IMEI packet received {"connection_id":108522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":108522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:10:24] local.INFO: TCP Data received {"connection_id":108522,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:24] local.INFO: Processing buffer {"connection_id":108522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:10:24] local.INFO: IMEI packet received {"connection_id":108522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":108522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:10:25] local.INFO: TCP Data received {"connection_id":108522,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee653e3b0012d846980061d2b000012014230..."} 
[2026-06-21 00:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee653e3b0012d846980061d2b000012014230..."} 
[2026-06-21 00:10:25] local.INFO: Processing buffer {"connection_id":108522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee653e3b0012d846980061d2b000012014230..."} 
[2026-06-21 00:10:25] local.INFO: Packet analysis {"connection_id":108522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee653"} 
[2026-06-21 00:10:25] local.INFO: Extracted packet for processing {"connection_id":108522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee653"} 
[2026-06-21 00:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763652480,"raw_latitude":102574848,"longitude_deg":76.365248,"latitude_deg":10.2574848,"altitude":18,"angle":322,"satellites":48,"speed":60,"hex_longitude":"2d846980","hex_latitude":"061d2b00","is_valid_coordinates":true} 
[2026-06-21 00:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187062272001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125537165303087104,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8899816524868638720,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781980718000,"timestamp_ms":1781980718000,"timestamp_seconds":1781980718,"priority":1,"record_length":96,"hex_timestamp":"0000019ee653e3b0"} 
[2026-06-21 00:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:10: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-06-21 00:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":108522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":108522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":108522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187062272001,"66":27974,"195":206,"19":40960,"24":60,"16":125537165303087104,"45":-8899816524868638720},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,19,24,16,45]} 
[2026-06-21 00:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187062272001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:10:25] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-21 00:10:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125537165303087104,"km_value":125537165303087.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8899816524868638720,"description":"Unknown IO ID 45"} 
[2026-06-21 00:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187062272001,"power":27974,"unknown_195":206,"unknown_19":40960,"ignition":60,"odometer":null,"unknown_45":-8899816524868638720}} 
[2026-06-21 00:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":108522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:10:25] local.INFO: GPS data processed {"connection_id":108522,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:10:25] local.INFO: Acknowledgment sent {"connection_id":108522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:10:32] local.INFO: TCP Data received {"connection_id":108327,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:10:32] local.INFO: Processing buffer {"connection_id":108327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:10:32] local.INFO: Packet analysis {"connection_id":108327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:10:32] local.INFO: Extracted packet for processing {"connection_id":108327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:10:32] 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-06-21 00:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":108327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:10:32] local.INFO: GPS data processed {"connection_id":108327,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:10:32] local.INFO: Acknowledgment sent {"connection_id":108327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:10:57] local.INFO: TCP Data received {"connection_id":108522,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6551848012d82d3c0061dfda00010012b2d..."} 
[2026-06-21 00:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6551848012d82d3c0061dfda00010012b2d..."} 
[2026-06-21 00:10:57] local.INFO: Processing buffer {"connection_id":108522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6551848012d82d3c0061dfda00010012b2d..."} 
[2026-06-21 00:10:57] local.INFO: Packet analysis {"connection_id":108522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:10:57] local.INFO: Extracted packet for processing {"connection_id":108522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763548608,"raw_latitude":102628768,"longitude_deg":76.3548608,"latitude_deg":10.2628768,"altitude":16,"angle":299,"satellites":45,"speed":56,"hex_longitude":"2d82d3c0","hex_latitude":"061dfda0","is_valid_coordinates":true} 
[2026-06-21 00:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187082240001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125542804595146752,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9009873240747986944,"note":"Value kept but may cause issues"} 
[2026-06-21 00:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781980797000,"timestamp_ms":1781980797000,"timestamp_seconds":1781980797,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6551848"} 
[2026-06-21 00:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:10: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-06-21 00:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-21 00:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":108522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":108522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":108522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187082240001,"66":27952,"86":206,"19":40960,"24":56,"16":125542804595146752,"45":-9009873240747986944},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-06-21 00:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187082240001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:10:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-21 00:10:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125542804595146752,"km_value":125542804595146.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9009873240747986944,"description":"Unknown IO ID 45"} 
[2026-06-21 00:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187082240001,"power":27952,"unknown_86":206,"unknown_19":40960,"ignition":56,"odometer":null,"unknown_45":-9009873240747986944}} 
[2026-06-21 00:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":108522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:10:57] local.INFO: GPS data processed {"connection_id":108522,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:10:57] local.INFO: Acknowledgment sent {"connection_id":108522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:10:58] local.INFO: TCP Data received {"connection_id":108523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:10:58] local.INFO: Processing buffer {"connection_id":108523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:10:58] local.INFO: IMEI packet received {"connection_id":108523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":108523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:11:04] local.INFO: TCP Data received {"connection_id":108523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:04] local.INFO: Processing buffer {"connection_id":108523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:04] local.INFO: IMEI packet received {"connection_id":108523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":108523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:11:06] local.INFO: TCP Data received {"connection_id":108523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:11:06] local.INFO: Processing buffer {"connection_id":108523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:11:06] local.INFO: Packet analysis {"connection_id":108523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:11:06] local.INFO: Extracted packet for processing {"connection_id":108523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00: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-06-21 00:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:11:06] 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-06-21 00:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":108523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":108523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":108523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:11: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-06-21 00:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":108523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:11:06] local.INFO: GPS data processed {"connection_id":108523,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:11:06] local.INFO: Acknowledgment sent {"connection_id":108523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:11:19] local.INFO: TCP Data received {"connection_id":110076,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:11:19] local.INFO: Processing buffer {"connection_id":110076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:11:19] local.INFO: IMEI packet received {"connection_id":110076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":110076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:11:21] local.INFO: TCP Data received {"connection_id":110076,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:11:21] local.INFO: Processing buffer {"connection_id":110076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:11:21] local.INFO: IMEI packet received {"connection_id":110076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":110076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:11:23] local.INFO: TCP Data received {"connection_id":110076,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65533a0012d82b340061e10f00011012e2d..."} 
[2026-06-21 00:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65533a0012d82b340061e10f00011012e2d..."} 
[2026-06-21 00:11:23] local.INFO: Processing buffer {"connection_id":110076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65533a0012d82b340061e10f00011012e2d..."} 
[2026-06-21 00:11:23] local.INFO: Packet analysis {"connection_id":110076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:11:23] local.INFO: Extracted packet for processing {"connection_id":110076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763540288,"raw_latitude":102633712,"longitude_deg":76.3540288,"latitude_deg":10.2633712,"altitude":17,"angle":302,"satellites":45,"speed":54,"hex_longitude":"2d82b340","hex_latitude":"061e10f0","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187084032001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125543268451614720,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019654496187473920,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781980804000,"timestamp_ms":1781980804000,"timestamp_seconds":1781980804,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65533a0"} 
[2026-06-21 00:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:11: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-06-21 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:11:23] 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-06-21 00: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-06-21 00:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":110076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":110076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":110076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187084032001,"66":27887,"86":206,"19":40960,"24":54,"16":125543268451614720,"45":-9019654496187473920},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-06-21 00:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187084032001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:11:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-21 00:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125543268451614720,"km_value":125543268451614.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019654496187473920,"description":"Unknown IO ID 45"} 
[2026-06-21 00:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187084032001,"power":27887,"unknown_86":206,"unknown_19":40960,"ignition":54,"odometer":null,"unknown_45":-9019654496187473920}} 
[2026-06-21 00:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":110076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:11:23] local.INFO: GPS data processed {"connection_id":110076,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:11:23] local.INFO: Acknowledgment sent {"connection_id":110076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:11:37] local.INFO: TCP Data received {"connection_id":108523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:11:37] local.INFO: Processing buffer {"connection_id":108523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6518250012d34c2c006aa3e380002011130..."} 
[2026-06-21 00:11:37] local.INFO: Packet analysis {"connection_id":108523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:11:37] local.INFO: Extracted packet for processing {"connection_id":108523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee651"} 
[2026-06-21 00:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":2,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456186946816001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00: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-06-21 00:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781980562000,"timestamp_ms":1781980562000,"timestamp_seconds":1781980562,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6518250"} 
[2026-06-21 00:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-21 00:11:37] 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-06-21 00:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456186946816001,"66":25952,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456186946816001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456186946816001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":108523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:11:37] local.INFO: GPS data processed {"connection_id":108523,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:11:37] local.INFO: Acknowledgment sent {"connection_id":108523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:11:53] local.INFO: TCP Data received {"connection_id":109112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:53] local.INFO: Processing buffer {"connection_id":109112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:53] local.INFO: IMEI packet received {"connection_id":109112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":109112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:11:57] local.INFO: TCP Data received {"connection_id":110076,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6554ef8012d829440061e2608001201332f..."} 
[2026-06-21 00:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6554ef8012d829440061e2608001201332f..."} 
[2026-06-21 00:11:57] local.INFO: Processing buffer {"connection_id":110076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6554ef8012d829440061e2608001201332f..."} 
[2026-06-21 00:11:57] local.INFO: Packet analysis {"connection_id":110076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:11:57] local.INFO: Extracted packet for processing {"connection_id":110076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763532352,"raw_latitude":102639112,"longitude_deg":76.3532352,"latitude_deg":10.2639112,"altitude":18,"angle":307,"satellites":47,"speed":48,"hex_longitude":"2d829440","hex_latitude":"061e2608","is_valid_coordinates":true} 
[2026-06-21 00:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187085824001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125543732308082688,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028802432929304576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781980811000,"timestamp_ms":1781980811000,"timestamp_seconds":1781980811,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6554ef8"} 
[2026-06-21 00:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:11: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-06-21 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 00:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":110076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":110076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":110076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187085824001,"66":27952,"86":206,"19":40960,"24":48,"16":125543732308082688,"45":-9028802432929304576},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-06-21 00:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187085824001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:11:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-21 00:11:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125543732308082688,"km_value":125543732308082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028802432929304576,"description":"Unknown IO ID 45"} 
[2026-06-21 00:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187085824001,"power":27952,"unknown_86":206,"unknown_19":40960,"ignition":48,"odometer":null,"unknown_45":-9028802432929304576}} 
[2026-06-21 00:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":110076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:11:58] local.INFO: GPS data processed {"connection_id":110076,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:11:58] local.INFO: Acknowledgment sent {"connection_id":110076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:11:58] local.INFO: TCP Data received {"connection_id":109112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:58] local.INFO: Processing buffer {"connection_id":109112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:11:58] local.INFO: IMEI packet received {"connection_id":109112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":109112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:11:59] local.INFO: TCP Data received {"connection_id":109112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:11:59] local.INFO: Processing buffer {"connection_id":109112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:11:59] local.INFO: Packet analysis {"connection_id":109112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:11:59] local.INFO: Extracted packet for processing {"connection_id":109112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:11:59] 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-06-21 00:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":109112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:11:59] local.INFO: GPS data processed {"connection_id":109112,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:11:59] local.INFO: Acknowledgment sent {"connection_id":109112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:12:15] local.INFO: TCP Data received {"connection_id":108524,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:12:15] local.INFO: Processing buffer {"connection_id":108524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:12:15] local.INFO: IMEI packet received {"connection_id":108524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":108524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:12:16] local.INFO: TCP Data received {"connection_id":108524,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:12:16] local.INFO: Processing buffer {"connection_id":108524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:12:16] local.INFO: IMEI packet received {"connection_id":108524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":108524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:12:17] local.INFO: TCP Data received {"connection_id":108524,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65579f0012d8277c0061e3af0001201402c..."} 
[2026-06-21 00:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65579f0012d8277c0061e3af0001201402c..."} 
[2026-06-21 00:12:17] local.INFO: Processing buffer {"connection_id":108524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65579f0012d8277c0061e3af0001201402c..."} 
[2026-06-21 00:12:17] local.INFO: Packet analysis {"connection_id":108524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:12:17] local.INFO: Extracted packet for processing {"connection_id":108524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763525056,"raw_latitude":102644464,"longitude_deg":76.3525056,"latitude_deg":10.2644464,"altitude":18,"angle":320,"satellites":44,"speed":29,"hex_longitude":"2d8277c0","hex_latitude":"061e3af0","is_valid_coordinates":true} 
[2026-06-21 00:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187087616001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125544161804812288,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037528157205952512,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781980822000,"timestamp_ms":1781980822000,"timestamp_seconds":1781980822,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65579f0"} 
[2026-06-21 00:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:12: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-06-21 00:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":108524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":108524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":108524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187087616001,"66":27832,"86":206,"19":40960,"24":29,"16":125544161804812288,"45":-9037528157205952512},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-06-21 00:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187087616001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:12:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-21 00:12:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125544161804812288,"km_value":125544161804812.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037528157205952512,"description":"Unknown IO ID 45"} 
[2026-06-21 00:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187087616001,"power":27832,"unknown_86":206,"unknown_19":40960,"ignition":29,"odometer":null,"unknown_45":-9037528157205952512}} 
[2026-06-21 00:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":108524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:12:17] local.INFO: GPS data processed {"connection_id":108524,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:12:17] local.INFO: Acknowledgment sent {"connection_id":108524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:12:31] local.INFO: TCP Data received {"connection_id":109112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:12:31] local.INFO: Processing buffer {"connection_id":109112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:12:31] local.INFO: Packet analysis {"connection_id":109112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:12:31] local.INFO: Extracted packet for processing {"connection_id":109112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":109112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:12:31] local.INFO: GPS data processed {"connection_id":109112,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:12:31] local.INFO: Acknowledgment sent {"connection_id":109112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:12:49] local.INFO: TCP Data received {"connection_id":108524,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65579f0012d8277c0061e3af0001201402c..."} 
[2026-06-21 00:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65579f0012d8277c0061e3af0001201402c..."} 
[2026-06-21 00:12:49] local.INFO: Processing buffer {"connection_id":108524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65579f0012d8277c0061e3af0001201402c..."} 
[2026-06-21 00:12:49] local.INFO: Packet analysis {"connection_id":108524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:12:49] local.INFO: Extracted packet for processing {"connection_id":108524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee655"} 
[2026-06-21 00:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763525056,"raw_latitude":102644464,"longitude_deg":76.3525056,"latitude_deg":10.2644464,"altitude":18,"angle":320,"satellites":44,"speed":29,"hex_longitude":"2d8277c0","hex_latitude":"061e3af0","is_valid_coordinates":true} 
[2026-06-21 00:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187090432001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125544161804812288,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045550194040836096,"note":"Value kept but may cause issues"} 
[2026-06-21 00:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781980822000,"timestamp_ms":1781980822000,"timestamp_seconds":1781980822,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65579f0"} 
[2026-06-21 00:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 00:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":108524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":108524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":108524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187090432001,"66":27832,"86":206,"19":40960,"24":29,"16":125544161804812288,"45":-9045550194040836096},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,19,24,16,45]} 
[2026-06-21 00:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187090432001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:12:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-21 00:12:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125544161804812288,"km_value":125544161804812.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045550194040836096,"description":"Unknown IO ID 45"} 
[2026-06-21 00:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187090432001,"power":27832,"unknown_86":206,"unknown_19":40960,"ignition":29,"odometer":null,"unknown_45":-9045550194040836096}} 
[2026-06-21 00:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":108524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:12:49] local.INFO: GPS data processed {"connection_id":108524,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:12:49] local.INFO: Acknowledgment sent {"connection_id":108524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:12:53] local.INFO: TCP Data received {"connection_id":108525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:12:53] local.INFO: Processing buffer {"connection_id":108525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:12:53] local.INFO: IMEI packet received {"connection_id":108525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":108525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:12:58] local.INFO: TCP Data received {"connection_id":108525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:12:58] local.INFO: Processing buffer {"connection_id":108525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:12:58] local.INFO: IMEI packet received {"connection_id":108525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":108525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:13:00] local.INFO: TCP Data received {"connection_id":108525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:13:00] local.INFO: Processing buffer {"connection_id":108525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:13:00] local.INFO: Packet analysis {"connection_id":108525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:13:00] local.INFO: Extracted packet for processing {"connection_id":108525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:13:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:13:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":108525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:13:00] local.INFO: GPS data processed {"connection_id":108525,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:13:00] local.INFO: Acknowledgment sent {"connection_id":108525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:13:14] local.INFO: TCP Data received {"connection_id":110077,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:13:14] local.INFO: Processing buffer {"connection_id":110077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:13:14] local.INFO: IMEI packet received {"connection_id":110077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":110077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:13:17] local.INFO: TCP Data received {"connection_id":110077,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:13:17] local.INFO: Processing buffer {"connection_id":110077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:13:17] local.INFO: IMEI packet received {"connection_id":110077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":110077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:13:19] local.INFO: TCP Data received {"connection_id":110077,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65771d8012d81b040061f7088001d01522c..."} 
[2026-06-21 00:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65771d8012d81b040061f7088001d01522c..."} 
[2026-06-21 00:13:19] local.INFO: Processing buffer {"connection_id":110077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65771d8012d81b040061f7088001d01522c..."} 
[2026-06-21 00:13:19] local.INFO: Packet analysis {"connection_id":110077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:13:19] local.INFO: Extracted packet for processing {"connection_id":110077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763473984,"raw_latitude":102723720,"longitude_deg":76.3473984,"latitude_deg":10.272372,"altitude":29,"angle":338,"satellites":44,"speed":44,"hex_longitude":"2d81b040","hex_latitude":"061f7088","is_valid_coordinates":true} 
[2026-06-21 00:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187121152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125548783189622784,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098819333365327872,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781980951000,"timestamp_ms":1781980951000,"timestamp_seconds":1781980951,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65771d8"} 
[2026-06-21 00:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 00:13: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-06-21 00:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187121152001,"66":27789,"199":206,"19":40960,"24":44,"16":125548783189622784,"45":-9098819333365327872},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-06-21 00:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187121152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:13:19] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-06-21 00:13:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125548783189622784,"km_value":125548783189622.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098819333365327872,"description":"Unknown IO ID 45"} 
[2026-06-21 00:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187121152001,"power":27789,"trip_odometer":0.206,"unknown_19":40960,"ignition":44,"odometer":null,"unknown_45":-9098819333365327872}} 
[2026-06-21 00:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":110077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:13:19] local.INFO: GPS data processed {"connection_id":110077,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:13:19] local.INFO: Acknowledgment sent {"connection_id":110077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:13:32] local.INFO: TCP Data received {"connection_id":108525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:13:32] local.INFO: Processing buffer {"connection_id":108525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:13:32] local.INFO: Packet analysis {"connection_id":108525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:13:32] local.INFO: Extracted packet for processing {"connection_id":108525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":108525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:13:32] local.INFO: GPS data processed {"connection_id":108525,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:13:32] local.INFO: Acknowledgment sent {"connection_id":108525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:13:50] local.INFO: TCP Data received {"connection_id":110077,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65771d8012d81b040061f7088001d01522c..."} 
[2026-06-21 00:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65771d8012d81b040061f7088001d01522c..."} 
[2026-06-21 00:13:50] local.INFO: Processing buffer {"connection_id":110077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65771d8012d81b040061f7088001d01522c..."} 
[2026-06-21 00:13:50] local.INFO: Packet analysis {"connection_id":110077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:13:50] local.INFO: Extracted packet for processing {"connection_id":110077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:13:50] local.INFO: GPS Element Parsed {"raw_longitude":763473984,"raw_latitude":102723720,"longitude_deg":76.3473984,"latitude_deg":10.272372,"altitude":29,"angle":338,"satellites":44,"speed":44,"hex_longitude":"2d81b040","hex_latitude":"061f7088","is_valid_coordinates":true} 
[2026-06-21 00:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187123456001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125548783189622784,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101704451874322432,"note":"Value kept but may cause issues"} 
[2026-06-21 00:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781980951000,"timestamp_ms":1781980951000,"timestamp_seconds":1781980951,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65771d8"} 
[2026-06-21 00:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:13: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-06-21 00:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-21 00:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187123456001,"66":27789,"199":206,"19":40960,"24":44,"16":125548783189622784,"45":-9101704451874322432},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-06-21 00:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187123456001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:13:50] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-06-21 00:13:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125548783189622784,"km_value":125548783189622.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101704451874322432,"description":"Unknown IO ID 45"} 
[2026-06-21 00:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187123456001,"power":27789,"trip_odometer":0.206,"unknown_19":40960,"ignition":44,"odometer":null,"unknown_45":-9101704451874322432}} 
[2026-06-21 00:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":110077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:13:50] local.INFO: GPS data processed {"connection_id":110077,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:13:50] local.INFO: Acknowledgment sent {"connection_id":110077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:13:53] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:13:53] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:13:53] local.INFO: IMEI packet received {"connection_id":109113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":109113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:13:58] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:13:58] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:13:58] local.INFO: IMEI packet received {"connection_id":109113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":109113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:14:00] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:14:00] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:14:00] local.INFO: Packet analysis {"connection_id":109113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:14:00] local.INFO: Extracted packet for processing {"connection_id":109113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:14:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:14:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":109113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:14:00] local.INFO: GPS data processed {"connection_id":109113,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:14:00] local.INFO: Acknowledgment sent {"connection_id":109113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:14:14] local.INFO: TCP Data received {"connection_id":110078,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:14] local.INFO: Processing buffer {"connection_id":110078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:14] local.INFO: IMEI packet received {"connection_id":110078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":110078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:14:18] local.INFO: TCP Data received {"connection_id":110078,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:18] local.INFO: Processing buffer {"connection_id":110078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:18] local.INFO: IMEI packet received {"connection_id":110078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":110078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:14:19] local.INFO: TCP Data received {"connection_id":110078,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:19] local.INFO: Processing buffer {"connection_id":110078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:14:19] local.INFO: IMEI packet received {"connection_id":110078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":110078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:14:20] local.INFO: TCP Data received {"connection_id":110078,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6579118012d81a100061f9330001c014c2f..."} 
[2026-06-21 00:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6579118012d81a100061f9330001c014c2f..."} 
[2026-06-21 00:14:20] local.INFO: Processing buffer {"connection_id":110078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6579118012d81a100061f9330001c014c2f..."} 
[2026-06-21 00:14:20] local.INFO: Packet analysis {"connection_id":110078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:14:20] local.INFO: Extracted packet for processing {"connection_id":110078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:14:20] local.INFO: GPS Element Parsed {"raw_longitude":763470080,"raw_latitude":102732592,"longitude_deg":76.347008,"latitude_deg":10.2732592,"altitude":28,"angle":332,"satellites":47,"speed":51,"hex_longitude":"2d81a100","hex_latitude":"061f9330","is_valid_coordinates":true} 
[2026-06-21 00:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187123456001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125549251341058048,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101704451874322432,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781980959000,"timestamp_ms":1781980959000,"timestamp_seconds":1781980959,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6579118"} 
[2026-06-21 00:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:14: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-06-21 00:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-21 00:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187123456001,"66":27821,"199":206,"19":40960,"24":51,"16":125549251341058048,"45":-9101704451874322432},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,19,24,16,45]} 
[2026-06-21 00:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187123456001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:14:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-06-21 00:14:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125549251341058048,"km_value":125549251341058.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101704451874322432,"description":"Unknown IO ID 45"} 
[2026-06-21 00:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187123456001,"power":27821,"trip_odometer":0.206,"unknown_19":40960,"ignition":51,"odometer":null,"unknown_45":-9101704451874322432}} 
[2026-06-21 00:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":110078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:14:20] local.INFO: GPS data processed {"connection_id":110078,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:14:20] local.INFO: Acknowledgment sent {"connection_id":110078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:14:23] local.INFO: TCP Data received {"connection_id":110078,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee657ac70012d818d80061fb210001c01432c..."} 
[2026-06-21 00:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee657ac70012d818d80061fb210001c01432c..."} 
[2026-06-21 00:14:23] local.INFO: Processing buffer {"connection_id":110078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee657ac70012d818d80061fb210001c01432c..."} 
[2026-06-21 00:14:23] local.INFO: Packet analysis {"connection_id":110078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:14:23] local.INFO: Extracted packet for processing {"connection_id":110078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee657"} 
[2026-06-21 00:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763465088,"raw_latitude":102740496,"longitude_deg":76.3465088,"latitude_deg":10.2740496,"altitude":28,"angle":323,"satellites":44,"speed":52,"hex_longitude":"2d818d80","hex_latitude":"061fb210","is_valid_coordinates":true} 
[2026-06-21 00:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187125504001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125549702312624128,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105996945266888704,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781980966000,"timestamp_ms":1781980966000,"timestamp_seconds":1781980966,"priority":1,"record_length":96,"hex_timestamp":"0000019ee657ac70"} 
[2026-06-21 00:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:14: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-06-21 00:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":110078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":110078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":110078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187125504001,"66":27952,"203":206,"19":40960,"24":52,"16":125549702312624128,"45":-9105996945266888704},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-06-21 00:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187125504001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:14:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125549702312624128,"km_value":125549702312624.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105996945266888704,"description":"Unknown IO ID 45"} 
[2026-06-21 00:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187125504001,"power":27952,"mnc":206,"unknown_19":40960,"ignition":52,"odometer":null,"unknown_45":-9105996945266888704}} 
[2026-06-21 00:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":110078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:14:23] local.INFO: GPS data processed {"connection_id":110078,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:14:23] local.INFO: Acknowledgment sent {"connection_id":110078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:14:31] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:14:31] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:14:31] local.INFO: Packet analysis {"connection_id":109113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:14:31] local.INFO: Extracted packet for processing {"connection_id":109113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":109113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:14:31] local.INFO: GPS data processed {"connection_id":109113,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:14:31] local.INFO: Acknowledgment sent {"connection_id":109113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:14:56] local.INFO: TCP Data received {"connection_id":110078,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee658c5b0012d810a8006211f78001d014f2e..."} 
[2026-06-21 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee658c5b0012d810a8006211f78001d014f2e..."} 
[2026-06-21 00:14:56] local.INFO: Processing buffer {"connection_id":110078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee658c5b0012d810a8006211f78001d014f2e..."} 
[2026-06-21 00:14:56] local.INFO: Packet analysis {"connection_id":110078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee658"} 
[2026-06-21 00:14:56] local.INFO: Extracted packet for processing {"connection_id":110078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee658"} 
[2026-06-21 00:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763431552,"raw_latitude":102834040,"longitude_deg":76.3431552,"latitude_deg":10.283404,"altitude":29,"angle":335,"satellites":46,"speed":55,"hex_longitude":"2d810a80","hex_latitude":"06211f78","is_valid_coordinates":true} 
[2026-06-21 00:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187143936001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125554680179720192,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143996067099125760,"note":"Value kept but may cause issues"} 
[2026-06-21 00:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781981038000,"timestamp_ms":1781981038000,"timestamp_seconds":1781981038,"priority":1,"record_length":96,"hex_timestamp":"0000019ee658c5b0"} 
[2026-06-21 00:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:14: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-06-21 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-21 00:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":110078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":110078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":110078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187143936001,"66":27974,"252":206,"19":40960,"24":55,"16":125554680179720192,"45":-9143996067099125760},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,19,24,16,45]} 
[2026-06-21 00:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187143936001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:14:56] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-06-21 00:14:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125554680179720192,"km_value":125554680179720.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143996067099125760,"description":"Unknown IO ID 45"} 
[2026-06-21 00:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187143936001,"power":27974,"unknown_252":206,"unknown_19":40960,"ignition":55,"odometer":null,"unknown_45":-9143996067099125760}} 
[2026-06-21 00:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":110078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:14:56] local.INFO: GPS data processed {"connection_id":110078,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:14:56] local.INFO: Acknowledgment sent {"connection_id":110078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:14:59] local.INFO: TCP Data received {"connection_id":108526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:14:59] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:14:59] local.INFO: IMEI packet received {"connection_id":108526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":108526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:15:03] local.INFO: TCP Data received {"connection_id":108526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:03] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:03] local.INFO: IMEI packet received {"connection_id":108526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":108526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:15:05] local.INFO: TCP Data received {"connection_id":108526,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:05] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:05] local.INFO: Packet analysis {"connection_id":108526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:15:05] local.INFO: Extracted packet for processing {"connection_id":108526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15: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-06-21 00:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":108526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:15:05] local.INFO: GPS data processed {"connection_id":108526,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:15:05] local.INFO: Acknowledgment sent {"connection_id":108526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:15:10] local.INFO: TCP Data received {"connection_id":108526,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:10] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:10] local.INFO: Packet analysis {"connection_id":108526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:15:10] local.INFO: Extracted packet for processing {"connection_id":108526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00: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-06-21 00:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:15: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-06-21 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:15: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-06-21 00:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":108526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:15:10] local.INFO: GPS data processed {"connection_id":108526,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:15:10] local.INFO: Acknowledgment sent {"connection_id":108526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:15:24] local.INFO: TCP Data received {"connection_id":110079,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:15:24] local.INFO: Processing buffer {"connection_id":110079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:15:24] local.INFO: IMEI packet received {"connection_id":110079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":110079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:15:29] local.INFO: TCP Data received {"connection_id":110079,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:15:29] local.INFO: Processing buffer {"connection_id":110079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:15:29] local.INFO: IMEI packet received {"connection_id":110079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":110079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:15:40] local.INFO: TCP Data received {"connection_id":110079,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee658e108012d80f9c006214378001c014e2d..."} 
[2026-06-21 00:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee658e108012d80f9c006214378001c014e2d..."} 
[2026-06-21 00:15:40] local.INFO: Processing buffer {"connection_id":110079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee658e108012d80f9c006214378001c014e2d..."} 
[2026-06-21 00:15:40] local.INFO: Packet analysis {"connection_id":110079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee658"} 
[2026-06-21 00:15:40] local.INFO: Extracted packet for processing {"connection_id":110079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee658"} 
[2026-06-21 00:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763427264,"raw_latitude":102843256,"longitude_deg":76.3427264,"latitude_deg":10.2843256,"altitude":28,"angle":334,"satellites":45,"speed":59,"hex_longitude":"2d80f9c0","hex_latitude":"06214378","is_valid_coordinates":true} 
[2026-06-21 00:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187145728001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125555169805991936,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148358929235871744,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781981045000,"timestamp_ms":1781981045000,"timestamp_seconds":1781981045,"priority":1,"record_length":96,"hex_timestamp":"0000019ee658e108"} 
[2026-06-21 00:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:15: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-06-21 00:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187145728001,"66":27974,"252":206,"19":40960,"24":59,"16":125555169805991936,"45":-9148358929235871744},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,19,24,16,45]} 
[2026-06-21 00:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187145728001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:15:40] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-06-21 00:15:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125555169805991936,"km_value":125555169805991.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148358929235871744,"description":"Unknown IO ID 45"} 
[2026-06-21 00:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187145728001,"power":27974,"unknown_252":206,"unknown_19":40960,"ignition":59,"odometer":null,"unknown_45":-9148358929235871744}} 
[2026-06-21 00:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":110079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:15:40] local.INFO: GPS data processed {"connection_id":110079,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:15:40] local.INFO: Acknowledgment sent {"connection_id":110079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:15:41] local.INFO: TCP Data received {"connection_id":110079,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee658f878012d80ea00062163f8001a014c2f..."} 
[2026-06-21 00:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee658f878012d80ea00062163f8001a014c2f..."} 
[2026-06-21 00:15:41] local.INFO: Processing buffer {"connection_id":110079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee658f878012d80ea00062163f8001a014c2f..."} 
[2026-06-21 00:15:41] local.INFO: Packet analysis {"connection_id":110079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee658"} 
[2026-06-21 00:15:41] local.INFO: Extracted packet for processing {"connection_id":110079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee658"} 
[2026-06-21 00:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763423232,"raw_latitude":102851576,"longitude_deg":76.3423232,"latitude_deg":10.2851576,"altitude":26,"angle":332,"satellites":47,"speed":61,"hex_longitude":"2d80ea00","hex_latitude":"062163f8","is_valid_coordinates":true} 
[2026-06-21 00:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187147520001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125555616482590720,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153073635093415936,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781981051000,"timestamp_ms":1781981051000,"timestamp_seconds":1781981051,"priority":1,"record_length":96,"hex_timestamp":"0000019ee658f878"} 
[2026-06-21 00:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:15: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-06-21 00:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187147520001,"66":27767,"251":206,"19":40960,"24":61,"16":125555616482590720,"45":-9153073635093415936},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-06-21 00:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187147520001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:15:41] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-21 00:15:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125555616482590720,"km_value":125555616482590.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153073635093415936,"description":"Unknown IO ID 45"} 
[2026-06-21 00:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187147520001,"power":27767,"unknown_251":206,"unknown_19":40960,"ignition":61,"odometer":null,"unknown_45":-9153073635093415936}} 
[2026-06-21 00:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":110079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:15:42] local.INFO: GPS data processed {"connection_id":110079,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:15:42] local.INFO: Acknowledgment sent {"connection_id":110079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:15:53] local.INFO: TCP Data received {"connection_id":108328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:53] local.INFO: Processing buffer {"connection_id":108328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:53] local.INFO: IMEI packet received {"connection_id":108328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":108328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:15:58] local.INFO: TCP Data received {"connection_id":108328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:58] local.INFO: Processing buffer {"connection_id":108328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:15:58] local.INFO: IMEI packet received {"connection_id":108328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":108328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:15:59] local.INFO: TCP Data received {"connection_id":108328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:59] local.INFO: Processing buffer {"connection_id":108328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:15:59] local.INFO: Packet analysis {"connection_id":108328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:15:59] local.INFO: Extracted packet for processing {"connection_id":108328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:15:59] 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-06-21 00:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:15:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:15:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":108328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:15:59] local.INFO: GPS data processed {"connection_id":108328,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:15:59] local.INFO: Acknowledgment sent {"connection_id":108328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:16:12] local.INFO: TCP Data received {"connection_id":108527,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:12] local.INFO: Processing buffer {"connection_id":108527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:12] local.INFO: IMEI packet received {"connection_id":108527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":108527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:16:14] local.INFO: TCP Data received {"connection_id":108527,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:14] local.INFO: Processing buffer {"connection_id":108527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:14] local.INFO: IMEI packet received {"connection_id":108527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":108527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:16:19] local.INFO: TCP Data received {"connection_id":108527,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:19] local.INFO: Processing buffer {"connection_id":108527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:16:19] local.INFO: IMEI packet received {"connection_id":108527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":108527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:16:20] local.INFO: TCP Data received {"connection_id":108527,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee659def0012d7fed8006224470000e01582f..."} 
[2026-06-21 00:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee659def0012d7fed8006224470000e01582f..."} 
[2026-06-21 00:16:20] local.INFO: Processing buffer {"connection_id":108527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee659def0012d7fed8006224470000e01582f..."} 
[2026-06-21 00:16:20] local.INFO: Packet analysis {"connection_id":108527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee659"} 
[2026-06-21 00:16:20] local.INFO: Extracted packet for processing {"connection_id":108527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee659"} 
[2026-06-21 00:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763358592,"raw_latitude":102909040,"longitude_deg":76.3358592,"latitude_deg":10.290904,"altitude":14,"angle":344,"satellites":47,"speed":58,"hex_longitude":"2d7fed80","hex_latitude":"06224470","is_valid_coordinates":true} 
[2026-06-21 00:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187164160001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125559937219690496,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218164776130342912,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781981110000,"timestamp_ms":1781981110000,"timestamp_seconds":1781981110,"priority":1,"record_length":96,"hex_timestamp":"0000019ee659def0"} 
[2026-06-21 00:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:16: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-06-21 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:16:20] 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-06-21 00:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187164160001,"66":27952,"70":206,"19":40960,"24":58,"16":125559937219690496,"45":9218164776130342912},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-06-21 00:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187164160001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:16:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-06-21 00:16:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125559937219690496,"km_value":125559937219690.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218164776130342912,"description":"Unknown IO ID 45"} 
[2026-06-21 00:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187164160001,"power":27952,"unknown_70":206,"unknown_19":40960,"ignition":58,"odometer":null,"unknown_45":9218164776130342912}} 
[2026-06-21 00:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":108527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:16:20] local.INFO: GPS data processed {"connection_id":108527,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:16:20] local.INFO: Acknowledgment sent {"connection_id":108527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:16:31] local.INFO: TCP Data received {"connection_id":108328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:16:31] local.INFO: Processing buffer {"connection_id":108328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6561a18012d34c2c006aa3e380006011132..."} 
[2026-06-21 00:16:31] local.INFO: Packet analysis {"connection_id":108328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:16:31] local.INFO: Extracted packet for processing {"connection_id":108328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee656"} 
[2026-06-21 00:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":6,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187023872001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781980863000,"timestamp_ms":1781980863000,"timestamp_seconds":1781980863,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6561a18"} 
[2026-06-21 00:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 00:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187023872001,"66":25875,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187023872001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187023872001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":108328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:16:31] local.INFO: GPS data processed {"connection_id":108328,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:16:31] local.INFO: Acknowledgment sent {"connection_id":108328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:16:54] local.INFO: TCP Data received {"connection_id":108528,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:16:54] local.INFO: Processing buffer {"connection_id":108528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:16:54] local.INFO: IMEI packet received {"connection_id":108528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":108528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:16:57] local.INFO: TCP Data received {"connection_id":108527,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee659f660012d7fe880062266a0000e016430..."} 
[2026-06-21 00:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee659f660012d7fe880062266a0000e016430..."} 
[2026-06-21 00:16:57] local.INFO: Processing buffer {"connection_id":108527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee659f660012d7fe880062266a0000e016430..."} 
[2026-06-21 00:16:57] local.INFO: Packet analysis {"connection_id":108527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee659"} 
[2026-06-21 00:16:57] local.INFO: Extracted packet for processing {"connection_id":108527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee659"} 
[2026-06-21 00:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763357312,"raw_latitude":102917792,"longitude_deg":76.3357312,"latitude_deg":10.2917792,"altitude":14,"angle":356,"satellites":48,"speed":59,"hex_longitude":"2d7fe880","hex_latitude":"062266a0","is_valid_coordinates":true} 
[2026-06-21 00:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187164160001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125560366716420096,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218164776130342912,"note":"Value kept but may cause issues"} 
[2026-06-21 00:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781981116000,"timestamp_ms":1781981116000,"timestamp_seconds":1781981116,"priority":1,"record_length":96,"hex_timestamp":"0000019ee659f660"} 
[2026-06-21 00:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:16: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-06-21 00:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:16:57] 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-06-21 00:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":108527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":108527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":108527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187164160001,"66":27876,"70":206,"19":40960,"24":59,"16":125560366716420096,"45":9218164776130342912},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-06-21 00:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187164160001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:16:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-06-21 00:16:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125560366716420096,"km_value":125560366716420.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218164776130342912,"description":"Unknown IO ID 45"} 
[2026-06-21 00:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187164160001,"power":27876,"unknown_70":206,"unknown_19":40960,"ignition":59,"odometer":null,"unknown_45":9218164776130342912}} 
[2026-06-21 00:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":108527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:16:57] local.INFO: GPS data processed {"connection_id":108527,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:16:57] local.INFO: Acknowledgment sent {"connection_id":108527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:16:59] local.INFO: TCP Data received {"connection_id":108528,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:16:59] local.INFO: Processing buffer {"connection_id":108528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:16:59] local.INFO: IMEI packet received {"connection_id":108528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":108528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:17:00] local.INFO: TCP Data received {"connection_id":108528,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:00] local.INFO: Processing buffer {"connection_id":108528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:00] local.INFO: Packet analysis {"connection_id":108528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:17:00] local.INFO: Extracted packet for processing {"connection_id":108528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:17:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:17:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":108528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:17:00] local.INFO: GPS data processed {"connection_id":108528,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:17:00] local.INFO: Acknowledgment sent {"connection_id":108528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:17:29] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:29] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:29] local.INFO: IMEI packet received {"connection_id":109114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":109114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:17:29] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:29] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:29] local.INFO: IMEI packet received {"connection_id":109114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":109114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:17:32] local.INFO: TCP Data received {"connection_id":108528,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:32] local.INFO: Processing buffer {"connection_id":108528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:32] local.INFO: Packet analysis {"connection_id":108528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:17:32] local.INFO: Extracted packet for processing {"connection_id":108528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:17:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:17:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":108528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:17:32] local.INFO: GPS data processed {"connection_id":108528,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:17:32] local.INFO: Acknowledgment sent {"connection_id":108528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:17:34] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:34] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:17:34] local.INFO: IMEI packet received {"connection_id":109114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":109114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:17:35] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65b0000012d801b000623d380001a015b31..."} 
[2026-06-21 00:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65b0000012d801b000623d380001a015b31..."} 
[2026-06-21 00:17:35] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65b0000012d801b000623d380001a015b31..."} 
[2026-06-21 00:17:35] local.INFO: Packet analysis {"connection_id":109114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65b"} 
[2026-06-21 00:17:35] local.INFO: Extracted packet for processing {"connection_id":109114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65b"} 
[2026-06-21 00:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763370240,"raw_latitude":103011200,"longitude_deg":76.337024,"latitude_deg":10.30112,"altitude":26,"angle":347,"satellites":49,"speed":47,"hex_longitude":"2d801b00","hex_latitude":"0623d380","is_valid_coordinates":true} 
[2026-06-21 00:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187181824001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125565022460968960,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215209236160804864,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781981184000,"timestamp_ms":1781981184000,"timestamp_seconds":1781981184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65b0000"} 
[2026-06-21 00:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-21 00:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187181824001,"66":27821,"137":206,"19":40960,"24":47,"16":125565022460968960,"45":-9215209236160804864},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-06-21 00:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187181824001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:17:35] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-21 00:17:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40960,"description":"Unknown IO ID 19"} 
[2026-06-21 00:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125565022460968960,"km_value":125565022460968.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215209236160804864,"description":"Unknown IO ID 45"} 
[2026-06-21 00:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187181824001,"power":27821,"unknown_137":206,"unknown_19":40960,"ignition":47,"odometer":null,"unknown_45":-9215209236160804864}} 
[2026-06-21 00:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":109114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:17:35] local.INFO: GPS data processed {"connection_id":109114,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:17:35] local.INFO: Acknowledgment sent {"connection_id":109114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:17:53] local.INFO: TCP Data received {"connection_id":110080,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:17:53] local.INFO: Processing buffer {"connection_id":110080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:17:53] local.INFO: IMEI packet received {"connection_id":110080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":110080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:17:58] local.INFO: TCP Data received {"connection_id":110080,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:17:58] local.INFO: Processing buffer {"connection_id":110080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:17:58] local.INFO: IMEI packet received {"connection_id":110080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":110080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:17:59] local.INFO: TCP Data received {"connection_id":110080,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:59] local.INFO: Processing buffer {"connection_id":110080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:17:59] local.INFO: Packet analysis {"connection_id":110080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:17:59] local.INFO: Extracted packet for processing {"connection_id":110080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:17:59] 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-06-21 00:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:17:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:17:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":110080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:17:59] local.INFO: GPS data processed {"connection_id":110080,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:17:59] local.INFO: Acknowledgment sent {"connection_id":110080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:18:31] local.INFO: TCP Data received {"connection_id":110080,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:18:31] local.INFO: Processing buffer {"connection_id":110080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:18:31] local.INFO: Packet analysis {"connection_id":110080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:18:31] local.INFO: Extracted packet for processing {"connection_id":110080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":110080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:18:31] local.INFO: GPS data processed {"connection_id":110080,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:18:31] local.INFO: Acknowledgment sent {"connection_id":110080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:18:53] local.INFO: TCP Data received {"connection_id":108529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:18:53] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:18:53] local.INFO: IMEI packet received {"connection_id":108529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":108529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:18:59] local.INFO: TCP Data received {"connection_id":108529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:18:59] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:18:59] local.INFO: IMEI packet received {"connection_id":108529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":108529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:19:00] local.INFO: TCP Data received {"connection_id":108529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:19:00] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:19:00] local.INFO: Packet analysis {"connection_id":108529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:19:00] local.INFO: Extracted packet for processing {"connection_id":108529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:19:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:19:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":108529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:19:00] local.INFO: GPS data processed {"connection_id":108529,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:19:00] local.INFO: Acknowledgment sent {"connection_id":108529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:19:07] local.INFO: TCP Data received {"connection_id":110081,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:19:07] local.INFO: Processing buffer {"connection_id":110081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:19:07] local.INFO: IMEI packet received {"connection_id":110081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":110081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:19:16] local.INFO: TCP Data received {"connection_id":110081,"ip":"117.224.107.152","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110081,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 00:19:16] local.INFO: Processing buffer {"connection_id":110081,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 00:19:16] local.INFO: IMEI packet received {"connection_id":110081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":110081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:19:31] local.INFO: TCP Data received {"connection_id":108529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:19:31] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:19:31] local.INFO: Packet analysis {"connection_id":108529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:19:31] local.INFO: Extracted packet for processing {"connection_id":108529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":108529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:19:31] local.INFO: GPS data processed {"connection_id":108529,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:19:31] local.INFO: Acknowledgment sent {"connection_id":108529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:19:58] local.INFO: TCP Data received {"connection_id":108530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:19:58] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:19:58] local.INFO: IMEI packet received {"connection_id":108530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":108530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:20:03] local.INFO: TCP Data received {"connection_id":108530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:03] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:03] local.INFO: IMEI packet received {"connection_id":108530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":108530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:20:05] local.INFO: TCP Data received {"connection_id":108530,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:05] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:05] local.INFO: Packet analysis {"connection_id":108530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:20:05] local.INFO: Extracted packet for processing {"connection_id":108530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:20: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-06-21 00:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:20: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-06-21 00:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":108530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:20:05] local.INFO: GPS data processed {"connection_id":108530,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:20:05] local.INFO: Acknowledgment sent {"connection_id":108530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:20:09] local.INFO: TCP Data received {"connection_id":108530,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:09] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:09] local.INFO: Packet analysis {"connection_id":108530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:20:09] local.INFO: Extracted packet for processing {"connection_id":108530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20: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-06-21 00:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:20: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-06-21 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:20:09] 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-06-21 00:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":108530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:20:09] local.INFO: GPS data processed {"connection_id":108530,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:20:09] local.INFO: Acknowledgment sent {"connection_id":108530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:20:54] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:54] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:54] local.INFO: IMEI packet received {"connection_id":109116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":109116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:20:58] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:58] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:20:58] local.INFO: IMEI packet received {"connection_id":109116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":109116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:20:59] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:59] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:20:59] local.INFO: Packet analysis {"connection_id":109116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:20:59] local.INFO: Extracted packet for processing {"connection_id":109116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:20:59] 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-06-21 00:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:20:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:20:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":109116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:20:59] local.INFO: GPS data processed {"connection_id":109116,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:20:59] local.INFO: Acknowledgment sent {"connection_id":109116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:21:31] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:21:31] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65ab1e0012d34c2c006aa3e380007011131..."} 
[2026-06-21 00:21:31] local.INFO: Packet analysis {"connection_id":109116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:21:31] local.INFO: Extracted packet for processing {"connection_id":109116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65a"} 
[2026-06-21 00:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":7,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187100928001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981164000,"timestamp_ms":1781981164000,"timestamp_seconds":1781981164,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65ab1e0"} 
[2026-06-21 00:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 00:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187100928001,"66":25756,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187100928001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:21:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187100928001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":109116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:21:31] local.INFO: GPS data processed {"connection_id":109116,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:21:31] local.INFO: Acknowledgment sent {"connection_id":109116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:21:53] local.INFO: TCP Data received {"connection_id":110083,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:21:53] local.INFO: Processing buffer {"connection_id":110083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:21:53] local.INFO: IMEI packet received {"connection_id":110083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":110083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:21:58] local.INFO: TCP Data received {"connection_id":110083,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:21:58] local.INFO: Processing buffer {"connection_id":110083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:21:58] local.INFO: IMEI packet received {"connection_id":110083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":110083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:22:00] local.INFO: TCP Data received {"connection_id":110083,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:22:00] local.INFO: Processing buffer {"connection_id":110083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:22:00] local.INFO: Packet analysis {"connection_id":110083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:22:00] local.INFO: Extracted packet for processing {"connection_id":110083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:22:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:22:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":110083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:22:00] local.INFO: GPS data processed {"connection_id":110083,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:22:00] local.INFO: Acknowledgment sent {"connection_id":110083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:22:32] local.INFO: TCP Data received {"connection_id":110083,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:22:32] local.INFO: Processing buffer {"connection_id":110083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:22:32] local.INFO: Packet analysis {"connection_id":110083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:22:32] local.INFO: Extracted packet for processing {"connection_id":110083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":110083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:22:32] local.INFO: GPS data processed {"connection_id":110083,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:22:32] local.INFO: Acknowledgment sent {"connection_id":110083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:22:58] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:22:58] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:22:58] local.INFO: IMEI packet received {"connection_id":109119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":109119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:23:03] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:03] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:03] local.INFO: IMEI packet received {"connection_id":109119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":109119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:23:05] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:23:05] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:23:05] local.INFO: Packet analysis {"connection_id":109119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:23:05] local.INFO: Extracted packet for processing {"connection_id":109119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":109119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":109119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":109119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":109119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:23:05] local.INFO: GPS data processed {"connection_id":109119,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:23:05] local.INFO: Acknowledgment sent {"connection_id":109119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:23:09] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:23:09] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:23:09] local.INFO: Packet analysis {"connection_id":109119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:23:09] local.INFO: Extracted packet for processing {"connection_id":109119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:23: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-06-21 00:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:23: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-06-21 00:23: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":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:23:09] 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-06-21 00:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":109119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:23:09] local.INFO: GPS data processed {"connection_id":109119,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:23:09] local.INFO: Acknowledgment sent {"connection_id":109119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:23:53] local.INFO: TCP Data received {"connection_id":108330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:53] local.INFO: Processing buffer {"connection_id":108330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:53] local.INFO: IMEI packet received {"connection_id":108330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":108330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:23:58] local.INFO: TCP Data received {"connection_id":108330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:58] local.INFO: Processing buffer {"connection_id":108330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:23:58] local.INFO: IMEI packet received {"connection_id":108330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":108330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:24:00] local.INFO: TCP Data received {"connection_id":108330,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:00] local.INFO: Processing buffer {"connection_id":108330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:00] local.INFO: Packet analysis {"connection_id":108330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:24:00] local.INFO: Extracted packet for processing {"connection_id":108330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:24:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:24:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":108330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:24:00] local.INFO: GPS data processed {"connection_id":108330,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:24:00] local.INFO: Acknowledgment sent {"connection_id":108330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:24:12] local.INFO: TCP Data received {"connection_id":109120,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:12] local.INFO: Processing buffer {"connection_id":109120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:12] local.INFO: IMEI packet received {"connection_id":109120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":109120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:24:14] local.INFO: TCP Data received {"connection_id":109120,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:14] local.INFO: Processing buffer {"connection_id":109120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:14] local.INFO: IMEI packet received {"connection_id":109120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":109120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:24:18] local.INFO: TCP Data received {"connection_id":109120,"ip":"117.224.107.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:18] local.INFO: Processing buffer {"connection_id":109120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:24:18] local.INFO: IMEI packet received {"connection_id":109120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":109120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:24:19] local.INFO: TCP Data received {"connection_id":109120,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6610310012d7d2d40062ba3f0001d015831..."} 
[2026-06-21 00:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6610310012d7d2d40062ba3f0001d015831..."} 
[2026-06-21 00:24:19] local.INFO: Processing buffer {"connection_id":109120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6610310012d7d2d40062ba3f0001d015831..."} 
[2026-06-21 00:24:19] local.INFO: Packet analysis {"connection_id":109120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee661"} 
[2026-06-21 00:24:19] local.INFO: Extracted packet for processing {"connection_id":109120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee661"} 
[2026-06-21 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":103523312,"longitude_deg":76.3178304,"latitude_deg":10.3523312,"altitude":29,"angle":344,"satellites":49,"speed":59,"hex_longitude":"2d7d2d40","hex_latitude":"062ba3f0","is_valid_coordinates":true} 
[2026-06-21 00:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187282176001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125592239668723712,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087779843149824,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781981578000,"timestamp_ms":1781981578000,"timestamp_seconds":1781981578,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6610310"} 
[2026-06-21 00:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 00:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":109120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":109120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":109120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187282176001,"66":27832,"124":206,"19":40192,"24":59,"16":125592239668723712,"45":9024087779843149824},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,19,24,16,45]} 
[2026-06-21 00:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187282176001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:24:19] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-21 00:24:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125592239668723712,"km_value":125592239668723.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087779843149824,"description":"Unknown IO ID 45"} 
[2026-06-21 00:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187282176001,"power":27832,"unknown_124":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":9024087779843149824}} 
[2026-06-21 00:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":109120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:24:19] local.INFO: GPS data processed {"connection_id":109120,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:24:19] local.INFO: Acknowledgment sent {"connection_id":109120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:24:31] local.INFO: TCP Data received {"connection_id":108330,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:31] local.INFO: Processing buffer {"connection_id":108330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:31] local.INFO: Packet analysis {"connection_id":108330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:24:31] local.INFO: Extracted packet for processing {"connection_id":108330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":108330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:24:31] local.INFO: GPS data processed {"connection_id":108330,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:24:31] local.INFO: Acknowledgment sent {"connection_id":108330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:24:50] local.INFO: TCP Data received {"connection_id":109120,"ip":"117.224.107.152","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66208c8012d7cf380062d25900013015d33..."} 
[2026-06-21 00:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66208c8012d7cf380062d25900013015d33..."} 
[2026-06-21 00:24:50] local.INFO: Processing buffer {"connection_id":109120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66208c8012d7cf380062d25900013015d33..."} 
[2026-06-21 00:24:50] local.INFO: Packet analysis {"connection_id":109120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee662"} 
[2026-06-21 00:24:50] local.INFO: Extracted packet for processing {"connection_id":109120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee662"} 
[2026-06-21 00:24:50] local.INFO: GPS Element Parsed {"raw_longitude":763163520,"raw_latitude":103622032,"longitude_deg":76.316352,"latitude_deg":10.3622032,"altitude":19,"angle":349,"satellites":51,"speed":59,"hex_longitude":"2d7cf380","hex_latitude":"062d2590","is_valid_coordinates":true} 
[2026-06-21 00:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187299584001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125597118751571968,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004384531498856448,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781981645000,"timestamp_ms":1781981645000,"timestamp_seconds":1781981645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66208c8"} 
[2026-06-21 00:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:24: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-06-21 00:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-21 00:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":109120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":109120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":109120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.107.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187299584001,"66":27952,"123":206,"19":40192,"24":59,"16":125597118751571968,"45":9004384531498856448},"client_ip":"117.224.107.152","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,19,24,16,45]} 
[2026-06-21 00:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187299584001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:24:50] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-21 00:24:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125597118751571968,"km_value":125597118751571.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004384531498856448,"description":"Unknown IO ID 45"} 
[2026-06-21 00:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187299584001,"power":27952,"unknown_123":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":9004384531498856448}} 
[2026-06-21 00:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":109120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:24:50] local.INFO: GPS data processed {"connection_id":109120,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:24:50] local.INFO: Acknowledgment sent {"connection_id":109120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:24:53] local.INFO: TCP Data received {"connection_id":110084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:24:53] local.INFO: Processing buffer {"connection_id":110084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:24:53] local.INFO: IMEI packet received {"connection_id":110084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":110084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:24:58] local.INFO: TCP Data received {"connection_id":110084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:24:58] local.INFO: Processing buffer {"connection_id":110084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:24:58] local.INFO: IMEI packet received {"connection_id":110084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":110084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:24:59] local.INFO: TCP Data received {"connection_id":110084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:59] local.INFO: Processing buffer {"connection_id":110084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:24:59] local.INFO: Packet analysis {"connection_id":110084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:24:59] local.INFO: Extracted packet for processing {"connection_id":110084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:24: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-06-21 00:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:24:59] 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-06-21 00:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:24:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:24:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":110084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:24:59] local.INFO: GPS data processed {"connection_id":110084,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:24:59] local.INFO: Acknowledgment sent {"connection_id":110084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:25:31] local.INFO: TCP Data received {"connection_id":110084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:25:31] local.INFO: Processing buffer {"connection_id":110084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:25:31] local.INFO: Packet analysis {"connection_id":110084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:25:31] local.INFO: Extracted packet for processing {"connection_id":110084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":110084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:25:31] local.INFO: GPS data processed {"connection_id":110084,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:25:31] local.INFO: Acknowledgment sent {"connection_id":110084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:25:53] local.INFO: TCP Data received {"connection_id":108531,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:25:53] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:25:53] local.INFO: IMEI packet received {"connection_id":108531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":108531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:25:58] local.INFO: TCP Data received {"connection_id":108531,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:25:58] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:25:58] local.INFO: IMEI packet received {"connection_id":108531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":108531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:26:00] local.INFO: TCP Data received {"connection_id":108531,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:26:00] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:26:00] local.INFO: Packet analysis {"connection_id":108531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:26:00] local.INFO: Extracted packet for processing {"connection_id":108531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:26:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:26:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":108531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:26:00] local.INFO: GPS data processed {"connection_id":108531,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:26:00] local.INFO: Acknowledgment sent {"connection_id":108531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:26:31] local.INFO: TCP Data received {"connection_id":108531,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:26:31] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee65f49a8012d34c2c006aa3e380009011130..."} 
[2026-06-21 00:26:31] local.INFO: Packet analysis {"connection_id":108531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:26:31] local.INFO: Extracted packet for processing {"connection_id":108531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee65f"} 
[2026-06-21 00:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187177984001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981465000,"timestamp_ms":1781981465000,"timestamp_seconds":1781981465,"priority":1,"record_length":96,"hex_timestamp":"0000019ee65f49a8"} 
[2026-06-21 00:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-21 00:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187177984001,"66":25702,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187177984001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187177984001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":108531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:26:31] local.INFO: GPS data processed {"connection_id":108531,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:26:31] local.INFO: Acknowledgment sent {"connection_id":108531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:26:50] local.INFO: TCP Data received {"connection_id":108331,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:50] local.INFO: Processing buffer {"connection_id":108331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:50] local.INFO: IMEI packet received {"connection_id":108331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":108331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:26:51] local.INFO: TCP Data received {"connection_id":108331,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:51] local.INFO: Processing buffer {"connection_id":108331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:51] local.INFO: IMEI packet received {"connection_id":108331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":108331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:26:53] local.INFO: TCP Data received {"connection_id":109121,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:26:53] local.INFO: Processing buffer {"connection_id":109121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:26:53] local.INFO: IMEI packet received {"connection_id":109121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":109121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:26:54] local.INFO: TCP Data received {"connection_id":108331,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:54] local.INFO: Processing buffer {"connection_id":108331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:26:54] local.INFO: IMEI packet received {"connection_id":108331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":108331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:26:55] local.INFO: TCP Data received {"connection_id":108331,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6633590012d7c07c0062e5ee8000f012930..."} 
[2026-06-21 00:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6633590012d7c07c0062e5ee8000f012930..."} 
[2026-06-21 00:26:55] local.INFO: Processing buffer {"connection_id":108331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6633590012d7c07c0062e5ee8000f012930..."} 
[2026-06-21 00:26:55] local.INFO: Packet analysis {"connection_id":108331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:26:55] local.INFO: Extracted packet for processing {"connection_id":108331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:26:55] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":103702248,"longitude_deg":76.3103168,"latitude_deg":10.3702248,"altitude":15,"angle":297,"satellites":48,"speed":60,"hex_longitude":"2d7c07c0","hex_latitude":"062e5ee8","is_valid_coordinates":true} 
[2026-06-21 00:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187319296001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125602130978406400,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978473852956672,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781981722000,"timestamp_ms":1781981722000,"timestamp_seconds":1781981722,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6633590"} 
[2026-06-21 00:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 00:26:55] 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-06-21 00:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":108331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":108331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":108331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187319296001,"66":27767,"122":206,"19":40192,"24":60,"16":125602130978406400,"45":8945978473852956672},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-21 00:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187319296001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:26:55] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-21 00:26:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125602130978406400,"km_value":125602130978406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978473852956672,"description":"Unknown IO ID 45"} 
[2026-06-21 00:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187319296001,"power":27767,"unknown_122":206,"unknown_19":40192,"ignition":60,"odometer":null,"unknown_45":8945978473852956672}} 
[2026-06-21 00:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":108331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:26:55] local.INFO: GPS data processed {"connection_id":108331,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:26:55] local.INFO: Acknowledgment sent {"connection_id":108331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:26:56] local.INFO: TCP Data received {"connection_id":108331,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6634d00012d7be700062e6bf0000d011e30..."} 
[2026-06-21 00:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6634d00012d7be700062e6bf0000d011e30..."} 
[2026-06-21 00:26:56] local.INFO: Processing buffer {"connection_id":108331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6634d00012d7be700062e6bf0000d011e30..."} 
[2026-06-21 00:26:56] local.INFO: Packet analysis {"connection_id":108331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:26:56] local.INFO: Extracted packet for processing {"connection_id":108331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":103705584,"longitude_deg":76.3094784,"latitude_deg":10.3705584,"altitude":13,"angle":286,"satellites":48,"speed":59,"hex_longitude":"2d7be700","hex_latitude":"062e6bf0","is_valid_coordinates":true} 
[2026-06-21 00:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187320832001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125602560475136000,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323118320347136,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781981728000,"timestamp_ms":1781981728000,"timestamp_seconds":1781981728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6634d00"} 
[2026-06-21 00:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-21 00:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":108331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":108331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":108331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187320832001,"66":27887,"122":206,"19":40192,"24":59,"16":125602560475136000,"45":8937323118320347136},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-21 00:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187320832001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:26:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-21 00:26:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125602560475136000,"km_value":125602560475136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323118320347136,"description":"Unknown IO ID 45"} 
[2026-06-21 00:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187320832001,"power":27887,"unknown_122":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":8937323118320347136}} 
[2026-06-21 00:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":108331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:26:56] local.INFO: GPS data processed {"connection_id":108331,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:26:56] local.INFO: Acknowledgment sent {"connection_id":108331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:26:58] local.INFO: TCP Data received {"connection_id":109121,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:26:58] local.INFO: Processing buffer {"connection_id":109121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:26:58] local.INFO: IMEI packet received {"connection_id":109121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":109121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:26:59] local.INFO: TCP Data received {"connection_id":109121,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:26:59] local.INFO: Processing buffer {"connection_id":109121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:26:59] local.INFO: Packet analysis {"connection_id":109121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:26:59] local.INFO: Extracted packet for processing {"connection_id":109121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:26:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":109121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:26:59] local.INFO: GPS data processed {"connection_id":109121,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:26:59] local.INFO: Acknowledgment sent {"connection_id":109121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:27:19] local.INFO: TCP Data received {"connection_id":110085,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:19] local.INFO: Processing buffer {"connection_id":110085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:19] local.INFO: IMEI packet received {"connection_id":110085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":110085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:27:20] local.INFO: TCP Data received {"connection_id":110085,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:20] local.INFO: Processing buffer {"connection_id":110085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:20] local.INFO: IMEI packet received {"connection_id":110085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":110085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:27:24] local.INFO: TCP Data received {"connection_id":110085,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:24] local.INFO: Processing buffer {"connection_id":110085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:27:24] local.INFO: IMEI packet received {"connection_id":110085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":110085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:27:26] local.INFO: TCP Data received {"connection_id":110085,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6643f30012d7ac3c0062ee5d80010014734..."} 
[2026-06-21 00:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6643f30012d7ac3c0062ee5d80010014734..."} 
[2026-06-21 00:27:26] local.INFO: Processing buffer {"connection_id":110085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6643f30012d7ac3c0062ee5d80010014734..."} 
[2026-06-21 00:27:26] local.INFO: Packet analysis {"connection_id":110085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:27:26] local.INFO: Extracted packet for processing {"connection_id":110085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763020224,"raw_latitude":103736792,"longitude_deg":76.3020224,"latitude_deg":10.3736792,"altitude":16,"angle":327,"satellites":52,"speed":63,"hex_longitude":"2d7ac3c0","hex_latitude":"062ee5d8","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187336704001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125606756658184192,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402881686190080,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781981790000,"timestamp_ms":1781981790000,"timestamp_seconds":1781981790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6643f30"} 
[2026-06-21 00:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":110085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":110085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":110085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187336704001,"66":27789,"127":206,"19":40192,"24":63,"16":125606756658184192,"45":8851402881686190080},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-06-21 00:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187336704001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:27:26] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-21 00:27:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125606756658184192,"km_value":125606756658184.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402881686190080,"description":"Unknown IO ID 45"} 
[2026-06-21 00:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187336704001,"power":27789,"unknown_127":206,"unknown_19":40192,"ignition":63,"odometer":null,"unknown_45":8851402881686190080}} 
[2026-06-21 00:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":110085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:27:26] local.INFO: GPS data processed {"connection_id":110085,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:27:26] local.INFO: Acknowledgment sent {"connection_id":110085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:27:31] local.INFO: TCP Data received {"connection_id":109121,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:27:31] local.INFO: Processing buffer {"connection_id":109121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:27:31] local.INFO: Packet analysis {"connection_id":109121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:27:31] local.INFO: Extracted packet for processing {"connection_id":109121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":109121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:27:31] local.INFO: GPS data processed {"connection_id":109121,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:27:31] local.INFO: Acknowledgment sent {"connection_id":109121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:27:53] local.INFO: TCP Data received {"connection_id":108332,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:27:53] local.INFO: Processing buffer {"connection_id":108332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:27:53] local.INFO: IMEI packet received {"connection_id":108332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":108332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:27:58] local.INFO: TCP Data received {"connection_id":110085,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66456a0012d7aaf40062f0500000e014434..."} 
[2026-06-21 00:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66456a0012d7aaf40062f0500000e014434..."} 
[2026-06-21 00:27:58] local.INFO: Processing buffer {"connection_id":110085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66456a0012d7aaf40062f0500000e014434..."} 
[2026-06-21 00:27:58] local.INFO: Packet analysis {"connection_id":110085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:27:58] local.INFO: Extracted packet for processing {"connection_id":110085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763014976,"raw_latitude":103744768,"longitude_deg":76.3014976,"latitude_deg":10.3744768,"altitude":14,"angle":324,"satellites":52,"speed":63,"hex_longitude":"2d7aaf40","hex_latitude":"062f0500","is_valid_coordinates":true} 
[2026-06-21 00:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187338240001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125607220514652160,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846125225874937856,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781981796000,"timestamp_ms":1781981796000,"timestamp_seconds":1781981796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66456a0"} 
[2026-06-21 00:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-21 00:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187338240001,"66":27908,"127":206,"19":40192,"24":63,"16":125607220514652160,"45":8846125225874937856},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-06-21 00:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187338240001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:27:58] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-21 00:27:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125607220514652160,"km_value":125607220514652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846125225874937856,"description":"Unknown IO ID 45"} 
[2026-06-21 00:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187338240001,"power":27908,"unknown_127":206,"unknown_19":40192,"ignition":63,"odometer":null,"unknown_45":8846125225874937856}} 
[2026-06-21 00:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":110085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:27:58] local.INFO: GPS data processed {"connection_id":110085,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:27:58] local.INFO: Acknowledgment sent {"connection_id":110085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:27:58] local.INFO: TCP Data received {"connection_id":108332,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:27:58] local.INFO: Processing buffer {"connection_id":108332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:27:58] local.INFO: IMEI packet received {"connection_id":108332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":108332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:27:59] local.INFO: TCP Data received {"connection_id":108332,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:27:59] local.INFO: Processing buffer {"connection_id":108332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:27:59] local.INFO: Packet analysis {"connection_id":108332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:27:59] local.INFO: Extracted packet for processing {"connection_id":108332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:27: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-06-21 00:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:27:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":108332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:27:59] local.INFO: GPS data processed {"connection_id":108332,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:27:59] local.INFO: Acknowledgment sent {"connection_id":108332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:28:17] local.INFO: TCP Data received {"connection_id":108532,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:28:17] local.INFO: Processing buffer {"connection_id":108532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:28:17] local.INFO: IMEI packet received {"connection_id":108532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":108532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:28:18] local.INFO: TCP Data received {"connection_id":108532,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:28:18] local.INFO: Processing buffer {"connection_id":108532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:28:18] local.INFO: IMEI packet received {"connection_id":108532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":108532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:28:19] local.INFO: TCP Data received {"connection_id":108532,"ip":"117.224.216.206","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019ee6..."} 
[2026-06-21 00:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108532,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019ee6..."} 
[2026-06-21 00:28:19] local.INFO: Processing buffer {"connection_id":108532,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019ee6..."} 
[2026-06-21 00:28:19] local.INFO: IMEI packet received {"connection_id":108532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":108532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:28:24] local.INFO: TCP Data received {"connection_id":108532,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6648580012d7a86c0062f3f48000e014531..."} 
[2026-06-21 00:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6648580012d7a86c0062f3f48000e014531..."} 
[2026-06-21 00:28:24] local.INFO: Processing buffer {"connection_id":108532,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ee6646e10012d7a9ac0062f2230000e014633..."} 
[2026-06-21 00:28:24] local.INFO: Packet analysis {"connection_id":108532,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:28:24] local.INFO: Extracted packet for processing {"connection_id":108532,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763009728,"raw_latitude":103752240,"longitude_deg":76.3009728,"latitude_deg":10.375224,"altitude":14,"angle":326,"satellites":51,"speed":59,"hex_longitude":"2d7a9ac0","hex_latitude":"062f2230","is_valid_coordinates":true} 
[2026-06-21 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187339776001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125607658601316352,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840354988854411264,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781981802000,"timestamp_ms":1781981802000,"timestamp_seconds":1781981802,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6646e10"} 
[2026-06-21 00:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:28: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-06-21 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":108532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":108532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":108532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187339776001,"66":27941,"127":206,"19":40192,"24":59,"16":125607658601316352,"45":8840354988854411264},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-06-21 00:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187339776001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:28:24] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-21 00:28:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125607658601316352,"km_value":125607658601316.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840354988854411264,"description":"Unknown IO ID 45"} 
[2026-06-21 00:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187339776001,"power":27941,"unknown_127":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":8840354988854411264}} 
[2026-06-21 00:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":108532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:28:25] local.INFO: GPS data processed {"connection_id":108532,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:28:25] local.INFO: Acknowledgment sent {"connection_id":108532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:28:25] local.INFO: Packet analysis {"connection_id":108532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:28:25] local.INFO: Extracted packet for processing {"connection_id":108532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee664"} 
[2026-06-21 00:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763004608,"raw_latitude":103759688,"longitude_deg":76.3004608,"latitude_deg":10.3759688,"altitude":14,"angle":325,"satellites":49,"speed":59,"hex_longitude":"2d7a86c0","hex_latitude":"062f3f48","is_valid_coordinates":true} 
[2026-06-21 00:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187341312001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125608096687980544,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834584751833755648,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781981808000,"timestamp_ms":1781981808000,"timestamp_seconds":1781981808,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6648580"} 
[2026-06-21 00:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:28: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-06-21 00:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 00:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":108532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":108532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":108532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187341312001,"66":27821,"127":206,"19":40192,"24":59,"16":125608096687980544,"45":8834584751833755648},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,19,24,16,45]} 
[2026-06-21 00:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187341312001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:28:25] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-21 00:28:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125608096687980544,"km_value":125608096687980.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834584751833755648,"description":"Unknown IO ID 45"} 
[2026-06-21 00:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187341312001,"power":27821,"unknown_127":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":8834584751833755648}} 
[2026-06-21 00:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":108532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:28:25] local.INFO: GPS data processed {"connection_id":108532,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:28:25] local.INFO: Acknowledgment sent {"connection_id":108532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:28:31] local.INFO: TCP Data received {"connection_id":108332,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:28:31] local.INFO: Processing buffer {"connection_id":108332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:28:31] local.INFO: Packet analysis {"connection_id":108332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:28:31] local.INFO: Extracted packet for processing {"connection_id":108332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":108332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:28:31] local.INFO: GPS data processed {"connection_id":108332,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:28:31] local.INFO: Acknowledgment sent {"connection_id":108332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:28:54] local.INFO: TCP Data received {"connection_id":108533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:28:54] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:28:54] local.INFO: IMEI packet received {"connection_id":108533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":108533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:28:56] local.INFO: TCP Data received {"connection_id":108532,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee665a690012d795bc006306418000c013433..."} 
[2026-06-21 00:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee665a690012d795bc006306418000c013433..."} 
[2026-06-21 00:28:56] local.INFO: Processing buffer {"connection_id":108532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee665a690012d795bc006306418000c013433..."} 
[2026-06-21 00:28:56] local.INFO: Packet analysis {"connection_id":108532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee665"} 
[2026-06-21 00:28:56] local.INFO: Extracted packet for processing {"connection_id":108532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee665"} 
[2026-06-21 00:28:56] local.INFO: GPS Element Parsed {"raw_longitude":762928064,"raw_latitude":103834648,"longitude_deg":76.2928064,"latitude_deg":10.3834648,"altitude":12,"angle":308,"satellites":51,"speed":58,"hex_longitude":"2d795bc0","hex_latitude":"06306418","is_valid_coordinates":true} 
[2026-06-21 00:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187360512001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125613405267558400,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8751831108700923904,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781981882000,"timestamp_ms":1781981882000,"timestamp_seconds":1781981882,"priority":1,"record_length":96,"hex_timestamp":"0000019ee665a690"} 
[2026-06-21 00:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:28: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-06-21 00:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 00:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":108532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":108532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":108532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187360512001,"66":27767,"132":206,"19":40192,"24":58,"16":125613405267558400,"45":8751831108700923904},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,19,24,16,45]} 
[2026-06-21 00:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187360512001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:28:56] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-21 00:28:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125613405267558400,"km_value":125613405267558.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8751831108700923904,"description":"Unknown IO ID 45"} 
[2026-06-21 00:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187360512001,"power":27767,"unknown_132":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":8751831108700923904}} 
[2026-06-21 00:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":108532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:28:56] local.INFO: GPS data processed {"connection_id":108532,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:28:56] local.INFO: Acknowledgment sent {"connection_id":108532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:28:58] local.INFO: TCP Data received {"connection_id":108533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:28:58] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:28:58] local.INFO: IMEI packet received {"connection_id":108533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":108533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:28:59] local.INFO: TCP Data received {"connection_id":108533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:28:59] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:28:59] local.INFO: Packet analysis {"connection_id":108533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:28:59] local.INFO: Extracted packet for processing {"connection_id":108533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:28: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-06-21 00:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":108533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:28:59] local.INFO: GPS data processed {"connection_id":108533,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:28:59] local.INFO: Acknowledgment sent {"connection_id":108533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:29:18] local.INFO: TCP Data received {"connection_id":109122,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:18] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:18] local.INFO: IMEI packet received {"connection_id":109122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":109122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:29:19] local.INFO: TCP Data received {"connection_id":109122,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:19] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:19] local.INFO: IMEI packet received {"connection_id":109122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":109122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:29:19] local.INFO: TCP Data received {"connection_id":109122,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:19] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:19] local.INFO: IMEI packet received {"connection_id":109122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":109122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:29:23] local.INFO: TCP Data received {"connection_id":109122,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:23] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:29:23] local.INFO: IMEI packet received {"connection_id":109122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":109122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:29:25] local.INFO: TCP Data received {"connection_id":109122,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee665be00012d79424006307bf0000c013b32..."} 
[2026-06-21 00:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee665be00012d79424006307bf0000c013b32..."} 
[2026-06-21 00:29:25] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee665be00012d79424006307bf0000c013b32..."} 
[2026-06-21 00:29:25] local.INFO: Packet analysis {"connection_id":109122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee665"} 
[2026-06-21 00:29:25] local.INFO: Extracted packet for processing {"connection_id":109122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee665"} 
[2026-06-21 00:29:25] local.INFO: GPS Element Parsed {"raw_longitude":762921536,"raw_latitude":103840752,"longitude_deg":76.2921536,"latitude_deg":10.3840752,"altitude":12,"angle":315,"satellites":50,"speed":59,"hex_longitude":"2d794240","hex_latitude":"06307bf0","is_valid_coordinates":true} 
[2026-06-21 00:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187361792001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125613834764288000,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8744794234284152832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781981888000,"timestamp_ms":1781981888000,"timestamp_seconds":1781981888,"priority":1,"record_length":96,"hex_timestamp":"0000019ee665be00"} 
[2026-06-21 00:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:29: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-06-21 00:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-21 00:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":109122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":109122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":109122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187361792001,"66":27767,"132":206,"19":40192,"24":59,"16":125613834764288000,"45":8744794234284152832},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,19,24,16,45]} 
[2026-06-21 00:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187361792001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:29:25] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-21 00:29:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125613834764288000,"km_value":125613834764288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8744794234284152832,"description":"Unknown IO ID 45"} 
[2026-06-21 00:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187361792001,"power":27767,"unknown_132":206,"unknown_19":40192,"ignition":59,"odometer":null,"unknown_45":8744794234284152832}} 
[2026-06-21 00:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":109122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:29:25] local.INFO: GPS data processed {"connection_id":109122,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:29:25] local.INFO: Acknowledgment sent {"connection_id":109122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:29:31] local.INFO: TCP Data received {"connection_id":108533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:29:31] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:29:31] local.INFO: Packet analysis {"connection_id":108533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:29:31] local.INFO: Extracted packet for processing {"connection_id":108533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":108533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:29:31] local.INFO: GPS data processed {"connection_id":108533,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:29:31] local.INFO: Acknowledgment sent {"connection_id":108533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:29:53] local.INFO: TCP Data received {"connection_id":108333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:29:53] local.INFO: Processing buffer {"connection_id":108333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:29:53] local.INFO: IMEI packet received {"connection_id":108333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":108333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:29:58] local.INFO: TCP Data received {"connection_id":108333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:29:58] local.INFO: Processing buffer {"connection_id":108333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:29:58] local.INFO: IMEI packet received {"connection_id":108333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":108333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:29:59] local.INFO: TCP Data received {"connection_id":108333,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:29:59] local.INFO: Processing buffer {"connection_id":108333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:29:59] local.INFO: Packet analysis {"connection_id":108333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:29:59] local.INFO: Extracted packet for processing {"connection_id":108333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:29: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-06-21 00:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":108333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:29:59] local.INFO: GPS data processed {"connection_id":108333,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:29:59] local.INFO: Acknowledgment sent {"connection_id":108333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:30:07] local.INFO: TCP Data received {"connection_id":109122,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee665d570012d79284006309370000b013431..."} 
[2026-06-21 00:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee665d570012d79284006309370000b013431..."} 
[2026-06-21 00:30:07] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee665d570012d79284006309370000b013431..."} 
[2026-06-21 00:30:07] local.INFO: Packet analysis {"connection_id":109122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee665"} 
[2026-06-21 00:30:07] local.INFO: Extracted packet for processing {"connection_id":109122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee665"} 
[2026-06-21 00:30:07] local.INFO: GPS Element Parsed {"raw_longitude":762914880,"raw_latitude":103846768,"longitude_deg":76.291488,"latitude_deg":10.3846768,"altitude":11,"angle":308,"satellites":49,"speed":58,"hex_longitude":"2d792840","hex_latitude":"06309370","is_valid_coordinates":true} 
[2026-06-21 00:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187363328001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125614264261017600,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8737616622379593728,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781981894000,"timestamp_ms":1781981894000,"timestamp_seconds":1781981894,"priority":1,"record_length":96,"hex_timestamp":"0000019ee665d570"} 
[2026-06-21 00:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-21 00:30: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-06-21 00:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187363328001,"66":27767,"132":206,"19":40192,"24":58,"16":125614264261017600,"45":8737616622379593728},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,19,24,16,45]} 
[2026-06-21 00:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187363328001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:30:07] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-21 00:30:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125614264261017600,"km_value":125614264261017.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8737616622379593728,"description":"Unknown IO ID 45"} 
[2026-06-21 00:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187363328001,"power":27767,"unknown_132":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":8737616622379593728}} 
[2026-06-21 00:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":109122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:30:07] local.INFO: GPS data processed {"connection_id":109122,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:30:07] local.INFO: Acknowledgment sent {"connection_id":109122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:30:25] local.INFO: TCP Data received {"connection_id":109123,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:25] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:25] local.INFO: IMEI packet received {"connection_id":109123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":109123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:30:26] local.INFO: TCP Data received {"connection_id":109123,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:26] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:26] local.INFO: IMEI packet received {"connection_id":109123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":109123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:30:29] local.INFO: TCP Data received {"connection_id":109123,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:29] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:30:29] local.INFO: IMEI packet received {"connection_id":109123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":109123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:30:30] local.INFO: TCP Data received {"connection_id":109123,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee666c3b8012d789cc00631c328000b015432..."} 
[2026-06-21 00:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee666c3b8012d789cc00631c328000b015432..."} 
[2026-06-21 00:30:30] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee666c3b8012d789cc00631c328000b015432..."} 
[2026-06-21 00:30:30] local.INFO: Packet analysis {"connection_id":109123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee666"} 
[2026-06-21 00:30:30] local.INFO: Extracted packet for processing {"connection_id":109123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee666"} 
[2026-06-21 00:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762879168,"raw_latitude":103924520,"longitude_deg":76.2879168,"latitude_deg":10.392452,"altitude":11,"angle":340,"satellites":50,"speed":58,"hex_longitude":"2d789cc0","hex_latitude":"0631c328","is_valid_coordinates":true} 
[2026-06-21 00:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187378944001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125618649422626816,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8693847263520344064,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781981955000,"timestamp_ms":1781981955000,"timestamp_seconds":1781981955,"priority":1,"record_length":96,"hex_timestamp":"0000019ee666c3b8"} 
[2026-06-21 00:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187378944001,"66":27821,"131":206,"19":40192,"24":58,"16":125618649422626816,"45":8693847263520344064},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-06-21 00:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187378944001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:30:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-21 00:30:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125618649422626816,"km_value":125618649422626.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8693847263520344064,"description":"Unknown IO ID 45"} 
[2026-06-21 00:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187378944001,"power":27821,"unknown_131":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":8693847263520344064}} 
[2026-06-21 00:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":109123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:30:30] local.INFO: GPS data processed {"connection_id":109123,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:30:30] local.INFO: Acknowledgment sent {"connection_id":109123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:30:31] local.INFO: TCP Data received {"connection_id":108333,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:30:31] local.INFO: Processing buffer {"connection_id":108333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:30:31] local.INFO: Packet analysis {"connection_id":108333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:30:31] local.INFO: Extracted packet for processing {"connection_id":108333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":108333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:30:31] local.INFO: GPS data processed {"connection_id":108333,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:30:31] local.INFO: Acknowledgment sent {"connection_id":108333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:30:31] local.INFO: TCP Data received {"connection_id":109123,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee666df10012d788c800631e818000b014c31..."} 
[2026-06-21 00:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee666df10012d788c800631e818000b014c31..."} 
[2026-06-21 00:30:31] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee666df10012d788c800631e818000b014c31..."} 
[2026-06-21 00:30:31] local.INFO: Packet analysis {"connection_id":109123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee666"} 
[2026-06-21 00:30:31] local.INFO: Extracted packet for processing {"connection_id":109123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee666"} 
[2026-06-21 00:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762875008,"raw_latitude":103933976,"longitude_deg":76.2875008,"latitude_deg":10.3933976,"altitude":11,"angle":332,"satellites":49,"speed":58,"hex_longitude":"2d788c80","hex_latitude":"0631e818","is_valid_coordinates":true} 
[2026-06-21 00:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187380480001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125619147638833152,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8691032513755424768,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981962000,"timestamp_ms":1781981962000,"timestamp_seconds":1781981962,"priority":1,"record_length":96,"hex_timestamp":"0000019ee666df10"} 
[2026-06-21 00:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:30: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-06-21 00:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187380480001,"66":27974,"131":206,"19":40192,"24":58,"16":125619147638833152,"45":8691032513755424768},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-06-21 00:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187380480001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125619147638833152,"km_value":125619147638833.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8691032513755424768,"description":"Unknown IO ID 45"} 
[2026-06-21 00:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187380480001,"power":27974,"unknown_131":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":8691032513755424768}} 
[2026-06-21 00:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":109123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:30:31] local.INFO: GPS data processed {"connection_id":109123,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:30:31] local.INFO: Acknowledgment sent {"connection_id":109123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:30:34] local.INFO: TCP Data received {"connection_id":109123,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee666f680012d787b0006320668000a014933..."} 
[2026-06-21 00:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee666f680012d787b0006320668000a014933..."} 
[2026-06-21 00:30:34] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee666f680012d787b0006320668000a014933..."} 
[2026-06-21 00:30:34] local.INFO: Packet analysis {"connection_id":109123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee666"} 
[2026-06-21 00:30:34] local.INFO: Extracted packet for processing {"connection_id":109123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee666"} 
[2026-06-21 00:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762870528,"raw_latitude":103941736,"longitude_deg":76.2870528,"latitude_deg":10.3941736,"altitude":10,"angle":329,"satellites":51,"speed":58,"hex_longitude":"2d787b00","hex_latitude":"06320668","is_valid_coordinates":true} 
[2026-06-21 00:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187382272001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125619581430530048,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8686458545386297344,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781981968000,"timestamp_ms":1781981968000,"timestamp_seconds":1781981968,"priority":1,"record_length":96,"hex_timestamp":"0000019ee666f680"} 
[2026-06-21 00:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187382272001,"66":27876,"131":206,"19":40192,"24":58,"16":125619581430530048,"45":8686458545386297344},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,19,24,16,45]} 
[2026-06-21 00:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187382272001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:30:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-06-21 00:30:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125619581430530048,"km_value":125619581430530.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8686458545386297344,"description":"Unknown IO ID 45"} 
[2026-06-21 00:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187382272001,"power":27876,"unknown_131":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":8686458545386297344}} 
[2026-06-21 00:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":109123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:30:34] local.INFO: GPS data processed {"connection_id":109123,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:30:34] local.INFO: Acknowledgment sent {"connection_id":109123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:30:53] local.INFO: TCP Data received {"connection_id":108534,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:30:53] local.INFO: Processing buffer {"connection_id":108534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:30:53] local.INFO: IMEI packet received {"connection_id":108534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":108534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:30:58] local.INFO: TCP Data received {"connection_id":108534,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:30:58] local.INFO: Processing buffer {"connection_id":108534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:30:58] local.INFO: IMEI packet received {"connection_id":108534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":108534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:30:59] local.INFO: TCP Data received {"connection_id":108534,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:30:59] local.INFO: Processing buffer {"connection_id":108534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:30:59] local.INFO: Packet analysis {"connection_id":108534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:30:59] local.INFO: Extracted packet for processing {"connection_id":108534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:30: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-06-21 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:30:59] 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-06-21 00:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:30:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:30:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":108534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:30:59] local.INFO: GPS data processed {"connection_id":108534,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:30:59] local.INFO: Acknowledgment sent {"connection_id":108534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:31:31] local.INFO: TCP Data received {"connection_id":108534,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:31:31] local.INFO: Processing buffer {"connection_id":108534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee663e170012d34c2c006aa3e380008011132..."} 
[2026-06-21 00:31:31] local.INFO: Packet analysis {"connection_id":108534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:31:31] local.INFO: Extracted packet for processing {"connection_id":108534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee663"} 
[2026-06-21 00:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":50,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187255040001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781981766000,"timestamp_ms":1781981766000,"timestamp_seconds":1781981766,"priority":1,"record_length":96,"hex_timestamp":"0000019ee663e170"} 
[2026-06-21 00:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187255040001,"66":25625,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187255040001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187255040001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":108534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:31:31] local.INFO: GPS data processed {"connection_id":108534,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:31:31] local.INFO: Acknowledgment sent {"connection_id":108534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:31:32] local.INFO: TCP Data received {"connection_id":108334,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:32] local.INFO: Processing buffer {"connection_id":108334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:32] local.INFO: IMEI packet received {"connection_id":108334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":108334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:31:33] local.INFO: TCP Data received {"connection_id":108334,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:33] local.INFO: Processing buffer {"connection_id":108334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:33] local.INFO: IMEI packet received {"connection_id":108334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":108334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:31:34] local.INFO: TCP Data received {"connection_id":108334,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:34] local.INFO: Processing buffer {"connection_id":108334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:34] local.INFO: IMEI packet received {"connection_id":108334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":108334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:31:37] local.INFO: TCP Data received {"connection_id":108334,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:37] local.INFO: Processing buffer {"connection_id":108334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:31:37] local.INFO: IMEI packet received {"connection_id":108334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":108334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:31:43] local.INFO: TCP Data received {"connection_id":108334,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6680408012d77838006334098000a013931..."} 
[2026-06-21 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6680408012d77838006334098000a013931..."} 
[2026-06-21 00:31:43] local.INFO: Processing buffer {"connection_id":108334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6680408012d77838006334098000a013931..."} 
[2026-06-21 00:31:43] local.INFO: Packet analysis {"connection_id":108334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:31:43] local.INFO: Extracted packet for processing {"connection_id":108334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":762807168,"raw_latitude":104022168,"longitude_deg":76.2807168,"latitude_deg":10.4022168,"altitude":10,"angle":313,"satellites":49,"speed":58,"hex_longitude":"2d778380","hex_latitude":"06334098","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187399936001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125624533527822336,"note":"Value kept but may cause issues"} 
[2026-06-21 00:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8618904550996717568,"note":"Value kept but may cause issues"} 
[2026-06-21 00:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781982037000,"timestamp_ms":1781982037000,"timestamp_seconds":1781982037,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6680408"} 
[2026-06-21 00:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:31: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-06-21 00: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 00:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":108334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":108334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":108334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187399936001,"66":27800,"65":206,"19":40192,"24":58,"16":125624533527822336,"45":8618904550996717568},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,19,24,16,45]} 
[2026-06-21 00:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187399936001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125624533527822336,"km_value":125624533527822.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8618904550996717568,"description":"Unknown IO ID 45"} 
[2026-06-21 00:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187399936001,"power":27800,"unknown_65":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":8618904550996717568}} 
[2026-06-21 00:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":108334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:31:43] local.INFO: GPS data processed {"connection_id":108334,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:31:43] local.INFO: Acknowledgment sent {"connection_id":108334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:31:53] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:31:53] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:31:53] local.INFO: IMEI packet received {"connection_id":109124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":109124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:31:58] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:31:58] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:31:58] local.INFO: IMEI packet received {"connection_id":109124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":109124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:32:00] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:00] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:00] local.INFO: Packet analysis {"connection_id":109124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:00] local.INFO: Extracted packet for processing {"connection_id":109124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:32:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:32:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":109124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:32:00] local.INFO: GPS data processed {"connection_id":109124,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:32:00] local.INFO: Acknowledgment sent {"connection_id":109124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:32:13] local.INFO: TCP Data received {"connection_id":110086,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:13] local.INFO: Processing buffer {"connection_id":110086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:13] local.INFO: IMEI packet received {"connection_id":110086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":110086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:32:14] local.INFO: TCP Data received {"connection_id":110086,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:14] local.INFO: Processing buffer {"connection_id":110086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:14] local.INFO: IMEI packet received {"connection_id":110086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":110086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:32:26] local.INFO: TCP Data received {"connection_id":110086,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:26] local.INFO: Processing buffer {"connection_id":110086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:32:26] local.INFO: IMEI packet received {"connection_id":110086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":110086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:32:27] local.INFO: TCP Data received {"connection_id":110086,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6681f60012d77644006335ae8000a013532..."} 
[2026-06-21 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6681f60012d77644006335ae8000a013532..."} 
[2026-06-21 00:32:27] local.INFO: Processing buffer {"connection_id":110086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6681f60012d77644006335ae8000a013532..."} 
[2026-06-21 00:32:27] local.INFO: Packet analysis {"connection_id":110086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:27] local.INFO: Extracted packet for processing {"connection_id":110086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:27] local.INFO: GPS Element Parsed {"raw_longitude":762799168,"raw_latitude":104028904,"longitude_deg":76.2799168,"latitude_deg":10.4028904,"altitude":10,"angle":309,"satellites":50,"speed":58,"hex_longitude":"2d776440","hex_latitude":"06335ae8","is_valid_coordinates":true} 
[2026-06-21 00:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187401472001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125625036038995968,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8611867676580550656,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781982044000,"timestamp_ms":1781982044000,"timestamp_seconds":1781982044,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6681f60"} 
[2026-06-21 00:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:32: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-06-21 00:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 00:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":110086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":110086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":110086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187401472001,"66":27952,"65":206,"19":40192,"24":58,"16":125625036038995968,"45":8611867676580550656},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,19,24,16,45]} 
[2026-06-21 00:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187401472001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:32:27] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-21 00:32:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-21 00:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125625036038995968,"km_value":125625036038995.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8611867676580550656,"description":"Unknown IO ID 45"} 
[2026-06-21 00:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187401472001,"power":27952,"unknown_65":206,"unknown_19":40192,"ignition":58,"odometer":null,"unknown_45":8611867676580550656}} 
[2026-06-21 00:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":110086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:32:27] local.INFO: GPS data processed {"connection_id":110086,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:32:27] local.INFO: Acknowledgment sent {"connection_id":110086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:32:31] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:31] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:31] local.INFO: Packet analysis {"connection_id":109124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:31] local.INFO: Extracted packet for processing {"connection_id":109124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":109124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:32:32] local.INFO: GPS data processed {"connection_id":109124,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:32:32] local.INFO: Acknowledgment sent {"connection_id":109124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:32:53] local.INFO: TCP Data received {"connection_id":108535,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:32:53] local.INFO: Processing buffer {"connection_id":108535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:32:53] local.INFO: IMEI packet received {"connection_id":108535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":108535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:32:58] local.INFO: TCP Data received {"connection_id":108535,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:32:58] local.INFO: Processing buffer {"connection_id":108535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:32:58] local.INFO: IMEI packet received {"connection_id":108535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":108535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:32:58] local.INFO: TCP Data received {"connection_id":110086,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6696398012d762bc00634bb90000e013b30..."} 
[2026-06-21 00:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6696398012d762bc00634bb90000e013b30..."} 
[2026-06-21 00:32:58] local.INFO: Processing buffer {"connection_id":110086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6696398012d762bc00634bb90000e013b30..."} 
[2026-06-21 00:32:58] local.INFO: Packet analysis {"connection_id":110086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:32:58] local.INFO: Extracted packet for processing {"connection_id":110086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:32:58] local.INFO: GPS Element Parsed {"raw_longitude":762719168,"raw_latitude":104119184,"longitude_deg":76.2719168,"latitude_deg":10.4119184,"altitude":14,"angle":315,"satellites":48,"speed":59,"hex_longitude":"2d762bc0","hex_latitude":"0634bb90","is_valid_coordinates":true} 
[2026-06-21 00:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187422720001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125630975978766336,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8523273427683852288,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781982127000,"timestamp_ms":1781982127000,"timestamp_seconds":1781982127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6696398"} 
[2026-06-21 00:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187422720001,"66":27800,"2":206,"19":38400,"24":59,"16":125630975978766336,"45":8523273427683852288},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-21 00:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187422720001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:32:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125630975978766336,"km_value":125630975978766.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8523273427683852288,"description":"Unknown IO ID 45"} 
[2026-06-21 00:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187422720001,"power":27800,"power_alt":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":8523273427683852288}} 
[2026-06-21 00:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":110086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:32:58] local.INFO: GPS data processed {"connection_id":110086,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:32:58] local.INFO: Acknowledgment sent {"connection_id":110086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:32:59] local.INFO: TCP Data received {"connection_id":108535,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:59] local.INFO: Processing buffer {"connection_id":108535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:32:59] local.INFO: Packet analysis {"connection_id":108535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:59] local.INFO: Extracted packet for processing {"connection_id":108535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:32:59] 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-06-21 00:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:32:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":108535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:32:59] local.INFO: GPS data processed {"connection_id":108535,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:32:59] local.INFO: Acknowledgment sent {"connection_id":108535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:33:14] local.INFO: TCP Data received {"connection_id":109125,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:14] local.INFO: Processing buffer {"connection_id":109125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:14] local.INFO: IMEI packet received {"connection_id":109125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":109125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:33:14] local.INFO: TCP Data received {"connection_id":109125,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:14] local.INFO: Processing buffer {"connection_id":109125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:14] local.INFO: IMEI packet received {"connection_id":109125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":109125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:33:19] local.INFO: TCP Data received {"connection_id":109125,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:19] local.INFO: Processing buffer {"connection_id":109125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:33:19] local.INFO: IMEI packet received {"connection_id":109125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":109125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:33:20] local.INFO: TCP Data received {"connection_id":109125,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6697b08012d7613800634d480000e013d31..."} 
[2026-06-21 00:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6697b08012d7613800634d480000e013d31..."} 
[2026-06-21 00:33:20] local.INFO: Processing buffer {"connection_id":109125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6697b08012d7613800634d480000e013d31..."} 
[2026-06-21 00:33:20] local.INFO: Packet analysis {"connection_id":109125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:33:20] local.INFO: Extracted packet for processing {"connection_id":109125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:33:20] local.INFO: GPS Element Parsed {"raw_longitude":762712960,"raw_latitude":104125568,"longitude_deg":76.271296,"latitude_deg":10.4125568,"altitude":14,"angle":317,"satellites":49,"speed":59,"hex_longitude":"2d761380","hex_latitude":"0634d480","is_valid_coordinates":true} 
[2026-06-21 00:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187424512001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125631405475495936,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8515110653361098752,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781982133000,"timestamp_ms":1781982133000,"timestamp_seconds":1781982133,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6697b08"} 
[2026-06-21 00:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:33: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-06-21 00:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 00:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":109125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":109125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":109125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187424512001,"66":27865,"2":206,"19":38400,"24":59,"16":125631405475495936,"45":8515110653361098752},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-21 00:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187424512001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:33:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125631405475495936,"km_value":125631405475495.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8515110653361098752,"description":"Unknown IO ID 45"} 
[2026-06-21 00:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187424512001,"power":27865,"power_alt":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":8515110653361098752}} 
[2026-06-21 00:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":109125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:33:21] local.INFO: GPS data processed {"connection_id":109125,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:33:21] local.INFO: Acknowledgment sent {"connection_id":109125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:33:32] local.INFO: TCP Data received {"connection_id":108535,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:33:32] local.INFO: Processing buffer {"connection_id":108535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:33:32] local.INFO: Packet analysis {"connection_id":108535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:33:32] local.INFO: Extracted packet for processing {"connection_id":108535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":108535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:33:32] local.INFO: GPS data processed {"connection_id":108535,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:33:32] local.INFO: Acknowledgment sent {"connection_id":108535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:33:51] local.INFO: TCP Data received {"connection_id":109125,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6698e90012d7601800634eba8000c014931..."} 
[2026-06-21 00:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6698e90012d7601800634eba8000c014931..."} 
[2026-06-21 00:33:51] local.INFO: Processing buffer {"connection_id":109125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6698e90012d7601800634eba8000c014931..."} 
[2026-06-21 00:33:51] local.INFO: Packet analysis {"connection_id":109125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:33:51] local.INFO: Extracted packet for processing {"connection_id":109125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:33:51] local.INFO: GPS Element Parsed {"raw_longitude":762708352,"raw_latitude":104131496,"longitude_deg":76.2708352,"latitude_deg":10.4131496,"altitude":12,"angle":329,"satellites":49,"speed":58,"hex_longitude":"2d760180","hex_latitude":"0634eba8","is_valid_coordinates":true} 
[2026-06-21 00:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187426048001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125631766252748800,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8508284885177499648,"note":"Value kept but may cause issues"} 
[2026-06-21 00:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781982138000,"timestamp_ms":1781982138000,"timestamp_seconds":1781982138,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6698e90"} 
[2026-06-21 00:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-21 00:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":109125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":109125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":109125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187426048001,"66":27832,"2":206,"19":38400,"24":58,"16":125631766252748800,"45":8508284885177499648},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-21 00:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187426048001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:33:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125631766252748800,"km_value":125631766252748.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8508284885177499648,"description":"Unknown IO ID 45"} 
[2026-06-21 00:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187426048001,"power":27832,"power_alt":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":8508284885177499648}} 
[2026-06-21 00:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":109125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:33:51] local.INFO: GPS data processed {"connection_id":109125,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:33:51] local.INFO: Acknowledgment sent {"connection_id":109125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:33:54] local.INFO: TCP Data received {"connection_id":108536,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:33:54] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:33:54] local.INFO: IMEI packet received {"connection_id":108536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":108536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:33:58] local.INFO: TCP Data received {"connection_id":108536,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:33:58] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:33:58] local.INFO: IMEI packet received {"connection_id":108536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":108536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:34:03] local.INFO: TCP Data received {"connection_id":108536,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:03] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:03] local.INFO: IMEI packet received {"connection_id":108536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":108536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:34:05] local.INFO: TCP Data received {"connection_id":108536,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:34:05] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:34:05] local.INFO: Packet analysis {"connection_id":108536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:34:05] local.INFO: Extracted packet for processing {"connection_id":108536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34: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-06-21 00:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:34: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-06-21 00:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:34:05] 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-06-21 00:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":108536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:34:05] local.INFO: GPS data processed {"connection_id":108536,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:34:05] local.INFO: Acknowledgment sent {"connection_id":108536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:34:13] local.INFO: TCP Data received {"connection_id":110087,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:14] local.INFO: Processing buffer {"connection_id":110087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:14] local.INFO: IMEI packet received {"connection_id":110087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":110087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:34:16] local.INFO: TCP Data received {"connection_id":110087,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:16] local.INFO: Processing buffer {"connection_id":110087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:16] local.INFO: IMEI packet received {"connection_id":110087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":110087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:34:18] local.INFO: TCP Data received {"connection_id":110087,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:18] local.INFO: Processing buffer {"connection_id":110087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:34:18] local.INFO: IMEI packet received {"connection_id":110087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":110087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:34:20] local.INFO: TCP Data received {"connection_id":110087,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee669a218012d75f600063504c8000b015533..."} 
[2026-06-21 00:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee669a218012d75f600063504c8000b015533..."} 
[2026-06-21 00:34:20] local.INFO: Processing buffer {"connection_id":110087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee669a218012d75f600063504c8000b015533..."} 
[2026-06-21 00:34:20] local.INFO: Packet analysis {"connection_id":110087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:34:20] local.INFO: Extracted packet for processing {"connection_id":110087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:34:20] local.INFO: GPS Element Parsed {"raw_longitude":762705408,"raw_latitude":104137928,"longitude_deg":76.2705408,"latitude_deg":10.4137928,"altitude":11,"angle":341,"satellites":51,"speed":53,"hex_longitude":"2d75f600","hex_latitude":"063504c8","is_valid_coordinates":true} 
[2026-06-21 00:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187427328001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125632109850132480,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8503218335598225408,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781982143000,"timestamp_ms":1781982143000,"timestamp_seconds":1781982143,"priority":1,"record_length":96,"hex_timestamp":"0000019ee669a218"} 
[2026-06-21 00:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:34: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-06-21 00: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 00:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187427328001,"66":27930,"2":206,"19":38400,"24":53,"16":125632109850132480,"45":8503218335598225408},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-21 00:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187427328001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:34:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125632109850132480,"km_value":125632109850132.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8503218335598225408,"description":"Unknown IO ID 45"} 
[2026-06-21 00:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187427328001,"power":27930,"power_alt":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":8503218335598225408}} 
[2026-06-21 00:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":110087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:34:20] local.INFO: GPS data processed {"connection_id":110087,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:34:20] local.INFO: Acknowledgment sent {"connection_id":110087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:34:25] local.INFO: TCP Data received {"connection_id":110087,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee669b988012d75ef0006352470000a016231..."} 
[2026-06-21 00:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee669b988012d75ef0006352470000a016231..."} 
[2026-06-21 00:34:25] local.INFO: Processing buffer {"connection_id":110087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee669b988012d75ef0006352470000a016231..."} 
[2026-06-21 00:34:25] local.INFO: Packet analysis {"connection_id":110087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:34:25] local.INFO: Extracted packet for processing {"connection_id":110087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:34:25] local.INFO: GPS Element Parsed {"raw_longitude":762703616,"raw_latitude":104146032,"longitude_deg":76.2703616,"latitude_deg":10.4146032,"altitude":10,"angle":354,"satellites":49,"speed":56,"hex_longitude":"2d75ef00","hex_latitude":"06352470","is_valid_coordinates":true} 
[2026-06-21 00:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187428608001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125632509282091008,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8499981373367699456,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781982149000,"timestamp_ms":1781982149000,"timestamp_seconds":1781982149,"priority":1,"record_length":96,"hex_timestamp":"0000019ee669b988"} 
[2026-06-21 00:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:34: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-06-21 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187428608001,"66":27691,"2":206,"19":38400,"24":56,"16":125632509282091008,"45":8499981373367699456},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-21 00:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187428608001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:34:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125632509282091008,"km_value":125632509282091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8499981373367699456,"description":"Unknown IO ID 45"} 
[2026-06-21 00:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187428608001,"power":27691,"power_alt":206,"unknown_19":38400,"ignition":56,"odometer":null,"unknown_45":8499981373367699456}} 
[2026-06-21 00:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":110087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:34:25] local.INFO: GPS data processed {"connection_id":110087,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:34:25] local.INFO: Acknowledgment sent {"connection_id":110087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:34:36] local.INFO: TCP Data received {"connection_id":108536,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:34:36] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:34:36] local.INFO: Packet analysis {"connection_id":108536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:34:36] local.INFO: Extracted packet for processing {"connection_id":108536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34: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-06-21 00:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:34: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-06-21 00:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:34:36] 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-06-21 00:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":108536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:34:36] local.INFO: GPS data processed {"connection_id":108536,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:34:36] local.INFO: Acknowledgment sent {"connection_id":108536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:34:53] local.INFO: TCP Data received {"connection_id":108335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:53] local.INFO: Processing buffer {"connection_id":108335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:53] local.INFO: IMEI packet received {"connection_id":108335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":108335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:34:57] local.INFO: TCP Data received {"connection_id":110087,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee669d4e0012d75ef0006354c80000a00012f..."} 
[2026-06-21 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee669d4e0012d75ef0006354c80000a00012f..."} 
[2026-06-21 00:34:57] local.INFO: Processing buffer {"connection_id":110087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee669d4e0012d75ef0006354c80000a00012f..."} 
[2026-06-21 00:34:57] local.INFO: Packet analysis {"connection_id":110087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:34:57] local.INFO: Extracted packet for processing {"connection_id":110087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:34:57] local.INFO: GPS Element Parsed {"raw_longitude":762703616,"raw_latitude":104156288,"longitude_deg":76.2703616,"latitude_deg":10.4156288,"altitude":10,"angle":1,"satellites":47,"speed":59,"hex_longitude":"2d75ef00","hex_latitude":"06354c80","is_valid_coordinates":true} 
[2026-06-21 00:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187430144001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125633007498297344,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8498011048532799488,"note":"Value kept but may cause issues"} 
[2026-06-21 00:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781982156000,"timestamp_ms":1781982156000,"timestamp_seconds":1781982156,"priority":1,"record_length":96,"hex_timestamp":"0000019ee669d4e0"} 
[2026-06-21 00:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-21 00:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":110087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":110087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":110087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187430144001,"66":27908,"2":206,"19":38400,"24":59,"16":125633007498297344,"45":8498011048532799488},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-21 00:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187430144001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:34:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125633007498297344,"km_value":125633007498297.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8498011048532799488,"description":"Unknown IO ID 45"} 
[2026-06-21 00:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187430144001,"power":27908,"power_alt":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":8498011048532799488}} 
[2026-06-21 00:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":110087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:34:57] local.INFO: GPS data processed {"connection_id":110087,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:34:57] local.INFO: Acknowledgment sent {"connection_id":110087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:34:58] local.INFO: TCP Data received {"connection_id":108335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:58] local.INFO: Processing buffer {"connection_id":108335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:34:58] local.INFO: IMEI packet received {"connection_id":108335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":108335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:35:00] local.INFO: TCP Data received {"connection_id":108335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:35:00] local.INFO: Processing buffer {"connection_id":108335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:35:00] local.INFO: Packet analysis {"connection_id":108335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:35:00] local.INFO: Extracted packet for processing {"connection_id":108335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:35:00] 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-06-21 00:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:35:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:35:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":108335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:35:00] local.INFO: GPS data processed {"connection_id":108335,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:35:00] local.INFO: Acknowledgment sent {"connection_id":108335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:35:13] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:13] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:13] local.INFO: IMEI packet received {"connection_id":108537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":108537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:35:13] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:13] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:13] local.INFO: IMEI packet received {"connection_id":108537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":108537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:35:14] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:14] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:14] local.INFO: IMEI packet received {"connection_id":108537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":108537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:35:19] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:19] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:35:19] local.INFO: IMEI packet received {"connection_id":108537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":108537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:35:22] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee669ec50012d75f00006356fb8000b000133..."} 
[2026-06-21 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee669ec50012d75f00006356fb8000b000133..."} 
[2026-06-21 00:35:22] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee669ec50012d75f00006356fb8000b000133..."} 
[2026-06-21 00:35:22] local.INFO: Packet analysis {"connection_id":108537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:35:22] local.INFO: Extracted packet for processing {"connection_id":108537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee669"} 
[2026-06-21 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":762703872,"raw_latitude":104165304,"longitude_deg":76.2703872,"latitude_deg":10.4165304,"altitude":11,"angle":1,"satellites":51,"speed":59,"hex_longitude":"2d75f000","hex_latitude":"06356fb8","is_valid_coordinates":true} 
[2026-06-21 00:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187431936001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125633445584961536,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8498011048535425024,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781982162000,"timestamp_ms":1781982162000,"timestamp_seconds":1781982162,"priority":1,"record_length":96,"hex_timestamp":"0000019ee669ec50"} 
[2026-06-21 00:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":108537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":108537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":108537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187431936001,"66":27832,"2":206,"19":38400,"24":59,"16":125633445584961536,"45":8498011048535425024},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-21 00:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187431936001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:35:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125633445584961536,"km_value":125633445584961.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8498011048535425024,"description":"Unknown IO ID 45"} 
[2026-06-21 00:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187431936001,"power":27832,"power_alt":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":8498011048535425024}} 
[2026-06-21 00:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":108537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:35:22] local.INFO: GPS data processed {"connection_id":108537,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:35:22] local.INFO: Acknowledgment sent {"connection_id":108537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:35:31] local.INFO: TCP Data received {"connection_id":108335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:35:31] local.INFO: Processing buffer {"connection_id":108335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:35:31] local.INFO: Packet analysis {"connection_id":108335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:35:31] local.INFO: Extracted packet for processing {"connection_id":108335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":108335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:35:31] local.INFO: GPS data processed {"connection_id":108335,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:35:31] local.INFO: Acknowledgment sent {"connection_id":108335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:35:53] local.INFO: TCP Data received {"connection_id":109126,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:35:53] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:35:53] local.INFO: IMEI packet received {"connection_id":109126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":109126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:35:54] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66bf7c0012d757a400636e448000d015733..."} 
[2026-06-21 00:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66bf7c0012d757a400636e448000d015733..."} 
[2026-06-21 00:35:54] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66bf7c0012d757a400636e448000d015733..."} 
[2026-06-21 00:35:54] local.INFO: Packet analysis {"connection_id":108537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66b"} 
[2026-06-21 00:35:54] local.INFO: Extracted packet for processing {"connection_id":108537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66b"} 
[2026-06-21 00:35:54] local.INFO: GPS Element Parsed {"raw_longitude":762673728,"raw_latitude":104260680,"longitude_deg":76.2673728,"latitude_deg":10.426068,"altitude":13,"angle":343,"satellites":51,"speed":61,"hex_longitude":"2d757a40","hex_latitude":"0636e448","is_valid_coordinates":true} 
[2026-06-21 00:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187466240001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125638436336959488,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8468667282237902848,"note":"Value kept but may cause issues"} 
[2026-06-21 00:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781982296000,"timestamp_ms":1781982296000,"timestamp_seconds":1781982296,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66bf7c0"} 
[2026-06-21 00:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:35: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-06-21 00:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":108537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":108537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":108537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187466240001,"66":27908,"3":206,"19":38400,"24":61,"16":125638436336959488,"45":8468667282237902848},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-21 00:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187466240001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:35:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-21 00:35:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125638436336959488,"km_value":125638436336959.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8468667282237902848,"description":"Unknown IO ID 45"} 
[2026-06-21 00:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187466240001,"power":27908,"unknown_3":206,"unknown_19":38400,"ignition":61,"odometer":null,"unknown_45":8468667282237902848}} 
[2026-06-21 00:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":108537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:35:54] local.INFO: GPS data processed {"connection_id":108537,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:35:54] local.INFO: Acknowledgment sent {"connection_id":108537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:35:58] local.INFO: TCP Data received {"connection_id":109126,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:35:58] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:35:58] local.INFO: IMEI packet received {"connection_id":109126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":109126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:36:00] local.INFO: TCP Data received {"connection_id":109126,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:36:00] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:36:00] local.INFO: Packet analysis {"connection_id":109126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:36:00] local.INFO: Extracted packet for processing {"connection_id":109126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:36:00] 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-06-21 00:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:36:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:36:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":109126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:36:00] local.INFO: GPS data processed {"connection_id":109126,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:36:00] local.INFO: Acknowledgment sent {"connection_id":109126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:36:14] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:14] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:14] local.INFO: IMEI packet received {"connection_id":109127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":109127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:36:17] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:17] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:17] local.INFO: IMEI packet received {"connection_id":109127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":109127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:36:19] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:19] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:36:19] local.INFO: IMEI packet received {"connection_id":109127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":109127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:36:20] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66c0f30012d7570c006370620000c015731..."} 
[2026-06-21 00:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66c0f30012d7570c006370620000c015731..."} 
[2026-06-21 00:36:20] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66c0f30012d7570c006370620000c015731..."} 
[2026-06-21 00:36:20] local.INFO: Packet analysis {"connection_id":109127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:36:20] local.INFO: Extracted packet for processing {"connection_id":109127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:36:20] local.INFO: GPS Element Parsed {"raw_longitude":762671296,"raw_latitude":104269344,"longitude_deg":76.2671296,"latitude_deg":10.4269344,"altitude":12,"angle":343,"satellites":49,"speed":57,"hex_longitude":"2d7570c0","hex_latitude":"06370620","is_valid_coordinates":true} 
[2026-06-21 00:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187467776001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125638870128656384,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465148845031180288,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781982302000,"timestamp_ms":1781982302000,"timestamp_seconds":1781982302,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66c0f30"} 
[2026-06-21 00:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:36: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-06-21 00:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":109127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":109127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":109127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187467776001,"66":27941,"3":206,"19":38400,"24":57,"16":125638870128656384,"45":8465148845031180288},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-21 00:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187467776001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:36:20] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-21 00:36:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125638870128656384,"km_value":125638870128656.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465148845031180288,"description":"Unknown IO ID 45"} 
[2026-06-21 00:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187467776001,"power":27941,"unknown_3":206,"unknown_19":38400,"ignition":57,"odometer":null,"unknown_45":8465148845031180288}} 
[2026-06-21 00:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":109127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:36:20] local.INFO: GPS data processed {"connection_id":109127,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:36:20] local.INFO: Acknowledgment sent {"connection_id":109127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:36:24] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66c2e70012d756440063728e8000c014c32..."} 
[2026-06-21 00:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66c2e70012d756440063728e8000c014c32..."} 
[2026-06-21 00:36:24] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66c2e70012d756440063728e8000c014c32..."} 
[2026-06-21 00:36:24] local.INFO: Packet analysis {"connection_id":109127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:36:24] local.INFO: Extracted packet for processing {"connection_id":109127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:36:24] local.INFO: GPS Element Parsed {"raw_longitude":762668096,"raw_latitude":104278248,"longitude_deg":76.2668096,"latitude_deg":10.4278248,"altitude":12,"angle":332,"satellites":50,"speed":29,"hex_longitude":"2d756440","hex_latitude":"063728e8","is_valid_coordinates":true} 
[2026-06-21 00:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187469312001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125639329690157056,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8462474832754647040,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781982310000,"timestamp_ms":1781982310000,"timestamp_seconds":1781982310,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66c2e70"} 
[2026-06-21 00:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:36: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-06-21 00: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 00:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":109127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":109127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":109127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187469312001,"66":27821,"3":206,"19":38400,"24":29,"16":125639329690157056,"45":8462474832754647040},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-21 00:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187469312001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:36:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-21 00:36:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125639329690157056,"km_value":125639329690157.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8462474832754647040,"description":"Unknown IO ID 45"} 
[2026-06-21 00:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187469312001,"power":27821,"unknown_3":206,"unknown_19":38400,"ignition":29,"odometer":null,"unknown_45":8462474832754647040}} 
[2026-06-21 00:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":109127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:36:24] local.INFO: GPS data processed {"connection_id":109127,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:36:24] local.INFO: Acknowledgment sent {"connection_id":109127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:36:32] local.INFO: TCP Data received {"connection_id":109126,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:36:32] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6687938012d34c2c006aa3e38000801112f..."} 
[2026-06-21 00:36:32] local.INFO: Packet analysis {"connection_id":109126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:36:32] local.INFO: Extracted packet for processing {"connection_id":109126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee668"} 
[2026-06-21 00:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187332096001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781982067000,"timestamp_ms":1781982067000,"timestamp_seconds":1781982067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6687938"} 
[2026-06-21 00:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 00:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187332096001,"66":25604,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187332096001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187332096001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":109126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:36:32] local.INFO: GPS data processed {"connection_id":109126,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:36:32] local.INFO: Acknowledgment sent {"connection_id":109126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:36:53] local.INFO: TCP Data received {"connection_id":108538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:36:53] local.INFO: Processing buffer {"connection_id":108538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:36:53] local.INFO: IMEI packet received {"connection_id":108538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":108538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:36:56] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66c49c8012d755d8006373a00000b015932..."} 
[2026-06-21 00:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66c49c8012d755d8006373a00000b015932..."} 
[2026-06-21 00:36:56] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66c49c8012d755d8006373a00000b015932..."} 
[2026-06-21 00:36:56] local.INFO: Packet analysis {"connection_id":109127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:36:56] local.INFO: Extracted packet for processing {"connection_id":109127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:36:56] local.INFO: GPS Element Parsed {"raw_longitude":762666368,"raw_latitude":104282624,"longitude_deg":76.2666368,"latitude_deg":10.4282624,"altitude":11,"angle":345,"satellites":50,"speed":29,"hex_longitude":"2d755d80","hex_latitude":"06373a00","is_valid_coordinates":true} 
[2026-06-21 00:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187471360001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125639557323423744,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8458956395548043264,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781982317000,"timestamp_ms":1781982317000,"timestamp_seconds":1781982317,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66c49c8"} 
[2026-06-21 00:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":109127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":109127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":109127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187471360001,"66":27843,"3":206,"19":38400,"24":29,"16":125639557323423744,"45":8458956395548043264},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-21 00:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187471360001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:36:56] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-21 00:36:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125639557323423744,"km_value":125639557323423.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8458956395548043264,"description":"Unknown IO ID 45"} 
[2026-06-21 00:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187471360001,"power":27843,"unknown_3":206,"unknown_19":38400,"ignition":29,"odometer":null,"unknown_45":8458956395548043264}} 
[2026-06-21 00:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":109127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:36:56] local.INFO: GPS data processed {"connection_id":109127,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:36:56] local.INFO: Acknowledgment sent {"connection_id":109127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:36:58] local.INFO: TCP Data received {"connection_id":108538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:36:58] local.INFO: Processing buffer {"connection_id":108538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:36:58] local.INFO: IMEI packet received {"connection_id":108538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":108538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:36:59] local.INFO: TCP Data received {"connection_id":108538,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:36:59] local.INFO: Processing buffer {"connection_id":108538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:36:59] local.INFO: Packet analysis {"connection_id":108538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:36:59] local.INFO: Extracted packet for processing {"connection_id":108538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:36:59] 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-06-21 00:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":108538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:36:59] local.INFO: GPS data processed {"connection_id":108538,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:36:59] local.INFO: Acknowledgment sent {"connection_id":108538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:37:17] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:17] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:17] local.INFO: IMEI packet received {"connection_id":109128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":109128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:37:19] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:19] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:19] local.INFO: IMEI packet received {"connection_id":109128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":109128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:37:23] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:23] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:37:23] local.INFO: IMEI packet received {"connection_id":109128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":109128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:37:24] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66c74c0012d7554c006375c50000a015931..."} 
[2026-06-21 00:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66c74c0012d7554c006375c50000a015931..."} 
[2026-06-21 00:37:24] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66c74c0012d7554c006375c50000a015931..."} 
[2026-06-21 00:37:24] local.INFO: Packet analysis {"connection_id":109128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:37:24] local.INFO: Extracted packet for processing {"connection_id":109128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:37:24] local.INFO: GPS Element Parsed {"raw_longitude":762664128,"raw_latitude":104291408,"longitude_deg":76.2664128,"latitude_deg":10.4291408,"altitude":10,"angle":345,"satellites":49,"speed":35,"hex_longitude":"2d7554c0","hex_latitude":"06375c50","is_valid_coordinates":true} 
[2026-06-21 00:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187473152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125639995410087936,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8457056439456366592,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781982328000,"timestamp_ms":1781982328000,"timestamp_seconds":1781982328,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66c74c0"} 
[2026-06-21 00:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:37: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-06-21 00:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 00:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":109128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":109128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":109128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187473152001,"66":28028,"3":206,"19":38400,"24":35,"16":125639995410087936,"45":8457056439456366592},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-21 00:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187473152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:37:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-21 00:37:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125639995410087936,"km_value":125639995410087.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8457056439456366592,"description":"Unknown IO ID 45"} 
[2026-06-21 00:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187473152001,"power":28028,"unknown_3":206,"unknown_19":38400,"ignition":35,"odometer":null,"unknown_45":8457056439456366592}} 
[2026-06-21 00:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":109128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:37:24] local.INFO: GPS data processed {"connection_id":109128,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:37:24] local.INFO: Acknowledgment sent {"connection_id":109128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:37:31] local.INFO: TCP Data received {"connection_id":108538,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:37:31] local.INFO: Processing buffer {"connection_id":108538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:37:31] local.INFO: Packet analysis {"connection_id":108538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:37:31] local.INFO: Extracted packet for processing {"connection_id":108538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":108538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:37:31] local.INFO: GPS data processed {"connection_id":108538,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:37:31] local.INFO: Acknowledgment sent {"connection_id":108538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:37:53] local.INFO: TCP Data received {"connection_id":110088,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:37:53] local.INFO: Processing buffer {"connection_id":110088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:37:53] local.INFO: IMEI packet received {"connection_id":110088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":110088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:37:55] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66c9bd0012d754cc006377ea80009015d2f..."} 
[2026-06-21 00:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66c9bd0012d754cc006377ea80009015d2f..."} 
[2026-06-21 00:37:55] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66c9bd0012d754cc006377ea80009015d2f..."} 
[2026-06-21 00:37:55] local.INFO: Packet analysis {"connection_id":109128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:37:55] local.INFO: Extracted packet for processing {"connection_id":109128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66c"} 
[2026-06-21 00:37:55] local.INFO: GPS Element Parsed {"raw_longitude":762662080,"raw_latitude":104300200,"longitude_deg":76.266208,"latitude_deg":10.43002,"altitude":9,"angle":349,"satellites":47,"speed":33,"hex_longitude":"2d754cc0","hex_latitude":"06377ea8","is_valid_coordinates":true} 
[2026-06-21 00:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187475968001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125640433496752128,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8454593533412397056,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781982338000,"timestamp_ms":1781982338000,"timestamp_seconds":1781982338,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66c9bd0"} 
[2026-06-21 00:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-21 00:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":109128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":109128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":109128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187475968001,"66":27984,"3":206,"19":38400,"24":33,"16":125640433496752128,"45":8454593533412397056},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-21 00:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187475968001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:37:55] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-21 00:37:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125640433496752128,"km_value":125640433496752.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8454593533412397056,"description":"Unknown IO ID 45"} 
[2026-06-21 00:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187475968001,"power":27984,"unknown_3":206,"unknown_19":38400,"ignition":33,"odometer":null,"unknown_45":8454593533412397056}} 
[2026-06-21 00:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":109128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:37:55] local.INFO: GPS data processed {"connection_id":109128,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:37:55] local.INFO: Acknowledgment sent {"connection_id":109128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:37:58] local.INFO: TCP Data received {"connection_id":110088,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:37:58] local.INFO: Processing buffer {"connection_id":110088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:37:58] local.INFO: IMEI packet received {"connection_id":110088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":110088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:37:59] local.INFO: TCP Data received {"connection_id":110088,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:37:59] local.INFO: Processing buffer {"connection_id":110088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:37:59] local.INFO: Packet analysis {"connection_id":110088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:37:59] local.INFO: Extracted packet for processing {"connection_id":110088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:37:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:37:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":110088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:37:59] local.INFO: GPS data processed {"connection_id":110088,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:37:59] local.INFO: Acknowledgment sent {"connection_id":110088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:38:31] local.INFO: TCP Data received {"connection_id":110088,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:38:31] local.INFO: Processing buffer {"connection_id":110088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:38:31] local.INFO: Packet analysis {"connection_id":110088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:38:31] local.INFO: Extracted packet for processing {"connection_id":110088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":110088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:38:31] local.INFO: GPS data processed {"connection_id":110088,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:38:31] local.INFO: Acknowledgment sent {"connection_id":110088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:38:49] local.INFO: TCP Data received {"connection_id":109129,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:49] local.INFO: Processing buffer {"connection_id":109129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:49] local.INFO: IMEI packet received {"connection_id":109129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":109129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:38:49] local.INFO: TCP Data received {"connection_id":109129,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:49] local.INFO: Processing buffer {"connection_id":109129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:49] local.INFO: IMEI packet received {"connection_id":109129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":109129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:38:53] local.INFO: TCP Data received {"connection_id":110089,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:38:53] local.INFO: Processing buffer {"connection_id":110089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:38:53] local.INFO: IMEI packet received {"connection_id":110089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":110089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:38:54] local.INFO: TCP Data received {"connection_id":109129,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:54] local.INFO: Processing buffer {"connection_id":109129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:38:54] local.INFO: IMEI packet received {"connection_id":109129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":109129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:38:55] local.INFO: TCP Data received {"connection_id":109129,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66e6ca8012d751bc006389df8000e015131..."} 
[2026-06-21 00:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66e6ca8012d751bc006389df8000e015131..."} 
[2026-06-21 00:38:55] local.INFO: Processing buffer {"connection_id":109129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66e6ca8012d751bc006389df8000e015131..."} 
[2026-06-21 00:38:55] local.INFO: Packet analysis {"connection_id":109129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:38:55] local.INFO: Extracted packet for processing {"connection_id":109129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:38:55] local.INFO: GPS Element Parsed {"raw_longitude":762649536,"raw_latitude":104373752,"longitude_deg":76.2649536,"latitude_deg":10.4373752,"altitude":14,"angle":337,"satellites":49,"speed":34,"hex_longitude":"2d751bc0","hex_latitude":"06389df8","is_valid_coordinates":true} 
[2026-06-21 00:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187507712001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125644084218953728,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8439534622178443264,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781982457000,"timestamp_ms":1781982457000,"timestamp_seconds":1781982457,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66e6ca8"} 
[2026-06-21 00:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":109129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":109129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":109129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187507712001,"66":27984,"217":206,"19":38400,"24":34,"16":125644084218953728,"45":8439534622178443264},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,19,24,16,45]} 
[2026-06-21 00:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187507712001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:38:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-21 00:38:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125644084218953728,"km_value":125644084218953.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8439534622178443264,"description":"Unknown IO ID 45"} 
[2026-06-21 00:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187507712001,"power":27984,"unknown_217":206,"unknown_19":38400,"ignition":34,"odometer":null,"unknown_45":8439534622178443264}} 
[2026-06-21 00:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":109129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:38:55] local.INFO: GPS data processed {"connection_id":109129,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:38:55] local.INFO: Acknowledgment sent {"connection_id":109129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:38:56] local.INFO: TCP Data received {"connection_id":109129,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66e8fd0012d750b000638bcf8000d014533..."} 
[2026-06-21 00:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66e8fd0012d750b000638bcf8000d014533..."} 
[2026-06-21 00:38:56] local.INFO: Processing buffer {"connection_id":109129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66e8fd0012d750b000638bcf8000d014533..."} 
[2026-06-21 00:38:56] local.INFO: Packet analysis {"connection_id":109129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:38:56] local.INFO: Extracted packet for processing {"connection_id":109129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:38:56] local.INFO: GPS Element Parsed {"raw_longitude":762645248,"raw_latitude":104381688,"longitude_deg":76.2645248,"latitude_deg":10.4381688,"altitude":13,"angle":325,"satellites":51,"speed":42,"hex_longitude":"2d750b00","hex_latitude":"0638bcf8","is_valid_coordinates":true} 
[2026-06-21 00:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187508992001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125644522305617920,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8438549459760969728,"note":"Value kept but may cause issues"} 
[2026-06-21 00:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781982466000,"timestamp_ms":1781982466000,"timestamp_seconds":1781982466,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66e8fd0"} 
[2026-06-21 00:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:38: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-06-21 00:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 00:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":109129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":109129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":109129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187508992001,"66":27952,"217":206,"19":38400,"24":42,"16":125644522305617920,"45":8438549459760969728},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,19,24,16,45]} 
[2026-06-21 00:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187508992001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:38:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-21 00:38:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125644522305617920,"km_value":125644522305617.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8438549459760969728,"description":"Unknown IO ID 45"} 
[2026-06-21 00:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187508992001,"power":27952,"unknown_217":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":8438549459760969728}} 
[2026-06-21 00:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":109129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:38:56] local.INFO: GPS data processed {"connection_id":109129,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:38:56] local.INFO: Acknowledgment sent {"connection_id":109129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:38:59] local.INFO: TCP Data received {"connection_id":110089,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:38:59] local.INFO: Processing buffer {"connection_id":110089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:38:59] local.INFO: IMEI packet received {"connection_id":110089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":110089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:39:00] local.INFO: TCP Data received {"connection_id":110089,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:39:00] local.INFO: Processing buffer {"connection_id":110089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:39:00] local.INFO: Packet analysis {"connection_id":110089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:39:00] local.INFO: Extracted packet for processing {"connection_id":110089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:39:00] 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-06-21 00:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:39:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":110089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:39:00] local.INFO: GPS data processed {"connection_id":110089,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:39:00] local.INFO: Acknowledgment sent {"connection_id":110089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:39:19] local.INFO: TCP Data received {"connection_id":108336,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:39:19] local.INFO: Processing buffer {"connection_id":108336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:39:19] local.INFO: IMEI packet received {"connection_id":108336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":108336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:39:24] local.INFO: TCP Data received {"connection_id":108336,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:39:24] local.INFO: Processing buffer {"connection_id":108336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:39:24] local.INFO: IMEI packet received {"connection_id":108336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":108336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:39:26] local.INFO: TCP Data received {"connection_id":108336,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66e8fd0012d750b000638bcf8000d014533..."} 
[2026-06-21 00:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66e8fd0012d750b000638bcf8000d014533..."} 
[2026-06-21 00:39:26] local.INFO: Processing buffer {"connection_id":108336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66e8fd0012d750b000638bcf8000d014533..."} 
[2026-06-21 00:39:26] local.INFO: Packet analysis {"connection_id":108336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:39:26] local.INFO: Extracted packet for processing {"connection_id":108336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:39:26] local.INFO: GPS Element Parsed {"raw_longitude":762645248,"raw_latitude":104381688,"longitude_deg":76.2645248,"latitude_deg":10.4381688,"altitude":13,"angle":325,"satellites":51,"speed":42,"hex_longitude":"2d750b00","hex_latitude":"0638bcf8","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187511296001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125644522305617920,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8433834753903097856,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781982466000,"timestamp_ms":1781982466000,"timestamp_seconds":1781982466,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66e8fd0"} 
[2026-06-21 00:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:39:26] 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-06-21 00: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-06-21 00:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":108336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":108336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":108336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187511296001,"66":27952,"217":206,"19":38400,"24":42,"16":125644522305617920,"45":8433834753903097856},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,19,24,16,45]} 
[2026-06-21 00:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187511296001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:39:26] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-21 00:39:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125644522305617920,"km_value":125644522305617.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8433834753903097856,"description":"Unknown IO ID 45"} 
[2026-06-21 00:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187511296001,"power":27952,"unknown_217":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":8433834753903097856}} 
[2026-06-21 00:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":108336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:39:26] local.INFO: GPS data processed {"connection_id":108336,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:39:26] local.INFO: Acknowledgment sent {"connection_id":108336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:39:29] local.INFO: TCP Data received {"connection_id":108336,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66eb2f8012d74f3400638d9b8000e013b33..."} 
[2026-06-21 00:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66eb2f8012d74f3400638d9b8000e013b33..."} 
[2026-06-21 00:39:29] local.INFO: Processing buffer {"connection_id":108336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66eb2f8012d74f3400638d9b8000e013b33..."} 
[2026-06-21 00:39:29] local.INFO: Packet analysis {"connection_id":108336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:39:29] local.INFO: Extracted packet for processing {"connection_id":108336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:39:29] local.INFO: GPS Element Parsed {"raw_longitude":762639168,"raw_latitude":104389048,"longitude_deg":76.2639168,"latitude_deg":10.4389048,"altitude":14,"angle":315,"satellites":51,"speed":44,"hex_longitude":"2d74f340","hex_latitude":"0638d9b8","is_valid_coordinates":true} 
[2026-06-21 00:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187511296001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125644981867118592,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8433834753903097856,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781982475000,"timestamp_ms":1781982475000,"timestamp_seconds":1781982475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66eb2f8"} 
[2026-06-21 00:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:39:29] 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-06-21 00:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187511296001,"66":27876,"217":206,"19":38400,"24":44,"16":125644981867118592,"45":8433834753903097856},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,19,24,16,45]} 
[2026-06-21 00:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187511296001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:39:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-21 00:39:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125644981867118592,"km_value":125644981867118.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8433834753903097856,"description":"Unknown IO ID 45"} 
[2026-06-21 00:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187511296001,"power":27876,"unknown_217":206,"unknown_19":38400,"ignition":44,"odometer":null,"unknown_45":8433834753903097856}} 
[2026-06-21 00:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":108336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:39:29] local.INFO: GPS data processed {"connection_id":108336,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:39:29] local.INFO: Acknowledgment sent {"connection_id":108336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:39:33] local.INFO: TCP Data received {"connection_id":110089,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:39:33] local.INFO: Processing buffer {"connection_id":110089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:39:33] local.INFO: Packet analysis {"connection_id":110089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:39:33] local.INFO: Extracted packet for processing {"connection_id":110089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:39:33] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":110089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:39:33] local.INFO: GPS data processed {"connection_id":110089,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:39:33] local.INFO: Acknowledgment sent {"connection_id":110089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:39:53] local.INFO: TCP Data received {"connection_id":108539,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:39:53] local.INFO: Processing buffer {"connection_id":108539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:39:53] local.INFO: IMEI packet received {"connection_id":108539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":108539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:39:58] local.INFO: TCP Data received {"connection_id":108539,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:39:58] local.INFO: Processing buffer {"connection_id":108539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:39:58] local.INFO: IMEI packet received {"connection_id":108539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":108539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:40:03] local.INFO: TCP Data received {"connection_id":108539,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:03] local.INFO: Processing buffer {"connection_id":108539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:03] local.INFO: IMEI packet received {"connection_id":108539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":108539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:40:04] local.INFO: TCP Data received {"connection_id":108539,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:40:04] local.INFO: Processing buffer {"connection_id":108539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:40:04] local.INFO: Packet analysis {"connection_id":108539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:40:04] local.INFO: Extracted packet for processing {"connection_id":108539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":108539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:40:04] local.INFO: GPS data processed {"connection_id":108539,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:40:04] local.INFO: Acknowledgment sent {"connection_id":108539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:40:15] local.INFO: TCP Data received {"connection_id":108337,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:15] local.INFO: Processing buffer {"connection_id":108337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:15] local.INFO: IMEI packet received {"connection_id":108337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":108337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:40:15] local.INFO: TCP Data received {"connection_id":108337,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:15] local.INFO: Processing buffer {"connection_id":108337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:15] local.INFO: IMEI packet received {"connection_id":108337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":108337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:40:19] local.INFO: TCP Data received {"connection_id":108337,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:19] local.INFO: Processing buffer {"connection_id":108337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:40:19] local.INFO: IMEI packet received {"connection_id":108337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":108337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:40:21] local.INFO: TCP Data received {"connection_id":108337,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66ed238012d74d9400638f188000e013730..."} 
[2026-06-21 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66ed238012d74d9400638f188000e013730..."} 
[2026-06-21 00:40:21] local.INFO: Processing buffer {"connection_id":108337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66ed238012d74d9400638f188000e013730..."} 
[2026-06-21 00:40:21] local.INFO: Packet analysis {"connection_id":108337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:40:21] local.INFO: Extracted packet for processing {"connection_id":108337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:40:21] local.INFO: GPS Element Parsed {"raw_longitude":762632512,"raw_latitude":104395144,"longitude_deg":76.2632512,"latitude_deg":10.4395144,"altitude":14,"angle":311,"satellites":48,"speed":46,"hex_longitude":"2d74d940","hex_latitude":"0638f188","is_valid_coordinates":true} 
[2026-06-21 00:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187513600001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125645415658815488,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8427149723208103936,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781982483000,"timestamp_ms":1781982483000,"timestamp_seconds":1781982483,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66ed238"} 
[2026-06-21 00:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":108337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":108337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":108337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187513600001,"66":27821,"217":206,"19":38400,"24":46,"16":125645415658815488,"45":8427149723208103936},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,19,24,16,45]} 
[2026-06-21 00:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187513600001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:40:21] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-21 00:40:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125645415658815488,"km_value":125645415658815.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8427149723208103936,"description":"Unknown IO ID 45"} 
[2026-06-21 00:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187513600001,"power":27821,"unknown_217":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":8427149723208103936}} 
[2026-06-21 00:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":108337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:40:21] local.INFO: GPS data processed {"connection_id":108337,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:40:21] local.INFO: Acknowledgment sent {"connection_id":108337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:40:24] local.INFO: TCP Data received {"connection_id":108337,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66ef178012d74bb0006390a30000e013733..."} 
[2026-06-21 00:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66ef178012d74bb0006390a30000e013733..."} 
[2026-06-21 00:40:24] local.INFO: Processing buffer {"connection_id":108337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66ef178012d74bb0006390a30000e013733..."} 
[2026-06-21 00:40:24] local.INFO: Packet analysis {"connection_id":108337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:40:24] local.INFO: Extracted packet for processing {"connection_id":108337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66e"} 
[2026-06-21 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":762624768,"raw_latitude":104401456,"longitude_deg":76.2624768,"latitude_deg":10.4401456,"altitude":14,"angle":311,"satellites":51,"speed":52,"hex_longitude":"2d74bb00","hex_latitude":"06390a30","is_valid_coordinates":true} 
[2026-06-21 00:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187515648001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125645896695152640,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8419831373815187456,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781982491000,"timestamp_ms":1781982491000,"timestamp_seconds":1781982491,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66ef178"} 
[2026-06-21 00:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:40: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-06-21 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":108337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":108337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":108337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187515648001,"66":27767,"6":206,"19":38400,"24":52,"16":125645896695152640,"45":8419831373815187456},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-21 00:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187515648001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:40:24] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-21 00:40:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125645896695152640,"km_value":125645896695152.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8419831373815187456,"description":"Unknown IO ID 45"} 
[2026-06-21 00:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187515648001,"power":27767,"unknown_6":206,"unknown_19":38400,"ignition":52,"odometer":null,"unknown_45":8419831373815187456}} 
[2026-06-21 00:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":108337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:40:24] local.INFO: GPS data processed {"connection_id":108337,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:40:24] local.INFO: Acknowledgment sent {"connection_id":108337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:40:36] local.INFO: TCP Data received {"connection_id":108539,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:40:36] local.INFO: Processing buffer {"connection_id":108539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:40:36] local.INFO: Packet analysis {"connection_id":108539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:40:36] local.INFO: Extracted packet for processing {"connection_id":108539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:40:36] 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-06-21 00:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":108539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:40:36] local.INFO: GPS data processed {"connection_id":108539,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:40:36] local.INFO: Acknowledgment sent {"connection_id":108539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:40:53] local.INFO: TCP Data received {"connection_id":108540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:53] local.INFO: Processing buffer {"connection_id":108540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:53] local.INFO: IMEI packet received {"connection_id":108540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":108540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:40:56] local.INFO: TCP Data received {"connection_id":108337,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66f0cd0012d749fc006392370000e013b32..."} 
[2026-06-21 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66f0cd0012d749fc006392370000e013b32..."} 
[2026-06-21 00:40:56] local.INFO: Processing buffer {"connection_id":108337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66f0cd0012d749fc006392370000e013b32..."} 
[2026-06-21 00:40:56] local.INFO: Packet analysis {"connection_id":108337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66f"} 
[2026-06-21 00:40:56] local.INFO: Extracted packet for processing {"connection_id":108337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66f"} 
[2026-06-21 00:40:56] local.INFO: GPS Element Parsed {"raw_longitude":762617792,"raw_latitude":104407920,"longitude_deg":76.2617792,"latitude_deg":10.440792,"altitude":14,"angle":315,"satellites":50,"speed":53,"hex_longitude":"2d749fc0","hex_latitude":"06392370","is_valid_coordinates":true} 
[2026-06-21 00:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187517696001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125646351961686016,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8411316755771305984,"note":"Value kept but may cause issues"} 
[2026-06-21 00:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781982498000,"timestamp_ms":1781982498000,"timestamp_seconds":1781982498,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66f0cd0"} 
[2026-06-21 00:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-21 00:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":108337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":108337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":108337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187517696001,"66":27930,"6":206,"19":38400,"24":53,"16":125646351961686016,"45":8411316755771305984},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-21 00:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187517696001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:40:56] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-21 00:40:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125646351961686016,"km_value":125646351961686.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8411316755771305984,"description":"Unknown IO ID 45"} 
[2026-06-21 00:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187517696001,"power":27930,"unknown_6":206,"unknown_19":38400,"ignition":53,"odometer":null,"unknown_45":8411316755771305984}} 
[2026-06-21 00:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":108337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:40:57] local.INFO: GPS data processed {"connection_id":108337,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:40:57] local.INFO: Acknowledgment sent {"connection_id":108337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:40:58] local.INFO: TCP Data received {"connection_id":108540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:58] local.INFO: Processing buffer {"connection_id":108540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:40:58] local.INFO: IMEI packet received {"connection_id":108540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":108540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:41:00] local.INFO: TCP Data received {"connection_id":108540,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:41:00] local.INFO: Processing buffer {"connection_id":108540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:41:00] local.INFO: Packet analysis {"connection_id":108540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:41:00] local.INFO: Extracted packet for processing {"connection_id":108540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:41:00] 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-06-21 00:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:41:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:41:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":108540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:41:00] local.INFO: GPS data processed {"connection_id":108540,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:41:00] local.INFO: Acknowledgment sent {"connection_id":108540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:41:14] local.INFO: TCP Data received {"connection_id":110090,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:41:14] local.INFO: Processing buffer {"connection_id":110090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:41:14] local.INFO: IMEI packet received {"connection_id":110090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":110090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:41:18] local.INFO: TCP Data received {"connection_id":110090,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:41:18] local.INFO: Processing buffer {"connection_id":110090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:41:18] local.INFO: IMEI packet received {"connection_id":110090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":110090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:41:19] local.INFO: TCP Data received {"connection_id":110090,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66f2828012d74880006393d68000d014032..."} 
[2026-06-21 00:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66f2828012d74880006393d68000d014032..."} 
[2026-06-21 00:41:19] local.INFO: Processing buffer {"connection_id":110090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66f2828012d74880006393d68000d014032..."} 
[2026-06-21 00:41:19] local.INFO: Packet analysis {"connection_id":110090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66f"} 
[2026-06-21 00:41:19] local.INFO: Extracted packet for processing {"connection_id":110090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66f"} 
[2026-06-21 00:41:19] local.INFO: GPS Element Parsed {"raw_longitude":762611712,"raw_latitude":104414568,"longitude_deg":76.2611712,"latitude_deg":10.4414568,"altitude":13,"angle":320,"satellites":50,"speed":48,"hex_longitude":"2d748800","hex_latitude":"06393d68","is_valid_coordinates":true} 
[2026-06-21 00:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187519488001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125646785753382912,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8403646562657595392,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781982505000,"timestamp_ms":1781982505000,"timestamp_seconds":1781982505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66f2828"} 
[2026-06-21 00:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187519488001,"66":28104,"6":206,"19":38400,"24":48,"16":125646785753382912,"45":8403646562657595392},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,19,24,16,45]} 
[2026-06-21 00:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187519488001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:41:19] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-21 00:41:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125646785753382912,"km_value":125646785753382.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8403646562657595392,"description":"Unknown IO ID 45"} 
[2026-06-21 00:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187519488001,"power":28104,"unknown_6":206,"unknown_19":38400,"ignition":48,"odometer":null,"unknown_45":8403646562657595392}} 
[2026-06-21 00:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":110090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:41:19] local.INFO: GPS data processed {"connection_id":110090,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:41:19] local.INFO: Acknowledgment sent {"connection_id":110090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:41:32] local.INFO: TCP Data received {"connection_id":108540,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:41:32] local.INFO: Processing buffer {"connection_id":108540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee66d1100012d34c2c006aa3e38000901112e..."} 
[2026-06-21 00:41:32] local.INFO: Packet analysis {"connection_id":108540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:41:32] local.INFO: Extracted packet for processing {"connection_id":108540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee66d"} 
[2026-06-21 00:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":9,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187409152001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781982368000,"timestamp_ms":1781982368000,"timestamp_seconds":1781982368,"priority":1,"record_length":96,"hex_timestamp":"0000019ee66d1100"} 
[2026-06-21 00:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187409152001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187409152001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187409152001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":108540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:41:32] local.INFO: GPS data processed {"connection_id":108540,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:41:32] local.INFO: Acknowledgment sent {"connection_id":108540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:41:50] local.INFO: TCP Data received {"connection_id":110090,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67181b8012d740dc0063b27a80011016433..."} 
[2026-06-21 00:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67181b8012d740dc0063b27a80011016433..."} 
[2026-06-21 00:41:50] local.INFO: Processing buffer {"connection_id":110090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67181b8012d740dc0063b27a80011016433..."} 
[2026-06-21 00:41:50] local.INFO: Packet analysis {"connection_id":110090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:41:50] local.INFO: Extracted packet for processing {"connection_id":110090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:41:50] local.INFO: GPS Element Parsed {"raw_longitude":762580416,"raw_latitude":104540072,"longitude_deg":76.2580416,"latitude_deg":10.4540072,"altitude":17,"angle":356,"satellites":51,"speed":59,"hex_longitude":"2d740dc0","hex_latitude":"063b27a8","is_valid_coordinates":true} 
[2026-06-21 00:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187559168001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125651372778455040,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8363043797298599936,"note":"Value kept but may cause issues"} 
[2026-06-21 00:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781982659000,"timestamp_ms":1781982659000,"timestamp_seconds":1781982659,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67181b8"} 
[2026-06-21 00:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:41: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-06-21 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:41:50] 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-06-21 00:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187559168001,"66":27876,"5":206,"19":38400,"24":59,"16":125651372778455040,"45":8363043797298599936},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-06-21 00:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187559168001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:41:50] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-21 00:41:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125651372778455040,"km_value":125651372778455.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8363043797298599936,"description":"Unknown IO ID 45"} 
[2026-06-21 00:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187559168001,"power":27876,"unknown_5":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":8363043797298599936}} 
[2026-06-21 00:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":110090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:41:50] local.INFO: GPS data processed {"connection_id":110090,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:41:50] local.INFO: Acknowledgment sent {"connection_id":110090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:41:58] local.INFO: TCP Data received {"connection_id":108338,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:41:58] local.INFO: Processing buffer {"connection_id":108338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:41:58] local.INFO: IMEI packet received {"connection_id":108338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":108338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:42:04] local.INFO: TCP Data received {"connection_id":108338,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:04] local.INFO: Processing buffer {"connection_id":108338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:04] local.INFO: IMEI packet received {"connection_id":108338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":108338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:42:05] local.INFO: TCP Data received {"connection_id":108338,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:05] local.INFO: Processing buffer {"connection_id":108338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:05] local.INFO: Packet analysis {"connection_id":108338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:05] local.INFO: Extracted packet for processing {"connection_id":108338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42: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-06-21 00:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:42: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-06-21 00: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":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:42:05] 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-06-21 00:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":108338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:42:05] local.INFO: GPS data processed {"connection_id":108338,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:42:05] local.INFO: Acknowledgment sent {"connection_id":108338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:42:09] local.INFO: TCP Data received {"connection_id":108338,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:09] local.INFO: Processing buffer {"connection_id":108338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:09] local.INFO: Packet analysis {"connection_id":108338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:09] local.INFO: Extracted packet for processing {"connection_id":108338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:42: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-06-21 00:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:42:09] 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-06-21 00:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":108338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:42:09] local.INFO: GPS data processed {"connection_id":108338,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:42:09] local.INFO: Acknowledgment sent {"connection_id":108338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:42:13] local.INFO: TCP Data received {"connection_id":110091,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:42:13] local.INFO: Processing buffer {"connection_id":110091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:42:13] local.INFO: IMEI packet received {"connection_id":110091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":110091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:42:19] local.INFO: TCP Data received {"connection_id":110091,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:42:19] local.INFO: Processing buffer {"connection_id":110091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:42:19] local.INFO: IMEI packet received {"connection_id":110091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":110091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:42:24] local.INFO: TCP Data received {"connection_id":110091,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6719928012d740bc0063b4a900011016531..."} 
[2026-06-21 00:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6719928012d740bc0063b4a900011016531..."} 
[2026-06-21 00:42:24] local.INFO: Processing buffer {"connection_id":110091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6719928012d740bc0063b4a900011016531..."} 
[2026-06-21 00:42:24] local.INFO: Packet analysis {"connection_id":110091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:24] local.INFO: Extracted packet for processing {"connection_id":110091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:24] local.INFO: GPS Element Parsed {"raw_longitude":762579904,"raw_latitude":104549008,"longitude_deg":76.2579904,"latitude_deg":10.4549008,"altitude":17,"angle":357,"satellites":49,"speed":58,"hex_longitude":"2d740bc0","hex_latitude":"063b4a90","is_valid_coordinates":true} 
[2026-06-21 00:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187560704001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125651806570151936,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8362551216091670528,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781982665000,"timestamp_ms":1781982665000,"timestamp_seconds":1781982665,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6719928"} 
[2026-06-21 00:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:42: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-06-21 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187560704001,"66":27843,"5":206,"19":38400,"24":58,"16":125651806570151936,"45":8362551216091670528},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-06-21 00:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187560704001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:42:24] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-21 00:42:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125651806570151936,"km_value":125651806570151.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8362551216091670528,"description":"Unknown IO ID 45"} 
[2026-06-21 00:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187560704001,"power":27843,"unknown_5":206,"unknown_19":38400,"ignition":58,"odometer":null,"unknown_45":8362551216091670528}} 
[2026-06-21 00:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":110091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:42:24] local.INFO: GPS data processed {"connection_id":110091,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:42:24] local.INFO: Acknowledgment sent {"connection_id":110091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:42:53] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:53] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:53] local.INFO: IMEI packet received {"connection_id":109130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":109130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:42:55] local.INFO: TCP Data received {"connection_id":110091,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671b098012d740a80063b6d480011016632..."} 
[2026-06-21 00:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671b098012d740a80063b6d480011016632..."} 
[2026-06-21 00:42:55] local.INFO: Processing buffer {"connection_id":110091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671b098012d740a80063b6d480011016632..."} 
[2026-06-21 00:42:55] local.INFO: Packet analysis {"connection_id":110091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:55] local.INFO: Extracted packet for processing {"connection_id":110091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:55] local.INFO: GPS Element Parsed {"raw_longitude":762579584,"raw_latitude":104557896,"longitude_deg":76.2579584,"latitude_deg":10.4557896,"altitude":17,"angle":358,"satellites":50,"speed":59,"hex_longitude":"2d740a80","hex_latitude":"063b6d48","is_valid_coordinates":true} 
[2026-06-21 00:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187562240001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125652236066881536,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8361988266140536832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781982671000,"timestamp_ms":1781982671000,"timestamp_seconds":1781982671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671b098"} 
[2026-06-21 00:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 00:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187562240001,"66":27821,"5":206,"19":38400,"24":59,"16":125652236066881536,"45":8361988266140536832},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16,45]} 
[2026-06-21 00:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187562240001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:42:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-21 00:42:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125652236066881536,"km_value":125652236066881.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8361988266140536832,"description":"Unknown IO ID 45"} 
[2026-06-21 00:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187562240001,"power":27821,"unknown_5":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":8361988266140536832}} 
[2026-06-21 00:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":110091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:42:55] local.INFO: GPS data processed {"connection_id":110091,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:42:55] local.INFO: Acknowledgment sent {"connection_id":110091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:42:58] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:58] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:42:58] local.INFO: IMEI packet received {"connection_id":109130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":109130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:42:59] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:59] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:42:59] local.INFO: Packet analysis {"connection_id":109130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:59] local.INFO: Extracted packet for processing {"connection_id":109130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:42:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":109130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:42:59] local.INFO: GPS data processed {"connection_id":109130,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:42:59] local.INFO: Acknowledgment sent {"connection_id":109130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:43:13] local.INFO: TCP Data received {"connection_id":108541,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:13] local.INFO: Processing buffer {"connection_id":108541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:13] local.INFO: IMEI packet received {"connection_id":108541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":108541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:43:17] local.INFO: TCP Data received {"connection_id":108541,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:17] local.INFO: Processing buffer {"connection_id":108541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:17] local.INFO: IMEI packet received {"connection_id":108541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":108541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:43:18] local.INFO: TCP Data received {"connection_id":108541,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:18] local.INFO: Processing buffer {"connection_id":108541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:43:18] local.INFO: IMEI packet received {"connection_id":108541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":108541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:43:19] local.INFO: TCP Data received {"connection_id":108541,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67293280100000000000000000000000000..."} 
[2026-06-21 00:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67293280100000000000000000000000000..."} 
[2026-06-21 00:43:19] local.INFO: Processing buffer {"connection_id":108541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67293280100000000000000000000000000..."} 
[2026-06-21 00:43:19] local.INFO: Packet analysis {"connection_id":108541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee672"} 
[2026-06-21 00:43:19] local.INFO: Extracted packet for processing {"connection_id":108541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee672"} 
[2026-06-21 00:43:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 00:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563776001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125652596844134400,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8361636422421923840,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781982729000,"timestamp_ms":1781982729000,"timestamp_seconds":1781982729,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6729328"} 
[2026-06-21 00:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":108541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":108541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":108541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":108541,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 00:43:19] local.INFO: GPS data processed {"connection_id":108541,"processed":0,"errors":0,"total":1} 
[2026-06-21 00:43:19] local.INFO: Acknowledgment sent {"connection_id":108541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:43:24] local.INFO: TCP Data received {"connection_id":108541,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee672b268012d740280063ce6c0001401672c..."} 
[2026-06-21 00:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee672b268012d740280063ce6c0001401672c..."} 
[2026-06-21 00:43:24] local.INFO: Processing buffer {"connection_id":108541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee672b268012d740280063ce6c0001401672c..."} 
[2026-06-21 00:43:24] local.INFO: Packet analysis {"connection_id":108541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee672"} 
[2026-06-21 00:43:24] local.INFO: Extracted packet for processing {"connection_id":108541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee672"} 
[2026-06-21 00:43:24] local.INFO: GPS Element Parsed {"raw_longitude":762577536,"raw_latitude":104654528,"longitude_deg":76.2577536,"latitude_deg":10.4654528,"altitude":20,"angle":359,"satellites":44,"speed":54,"hex_longitude":"2d740280","hex_latitude":"063ce6c0","is_valid_coordinates":true} 
[2026-06-21 00:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125653082175438848,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 00:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781982737000,"timestamp_ms":1781982737000,"timestamp_seconds":1781982737,"priority":1,"record_length":96,"hex_timestamp":"0000019ee672b268"} 
[2026-06-21 00:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:43: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":108541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":108541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":108541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"5":206,"19":38400,"24":54,"16":125653082175438848},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,19,24,16]} 
[2026-06-21 00:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-21 00:43:24] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-21 00:43:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-21 00:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125653082175438848,"km_value":125653082175438.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:43:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_5":206,"unknown_19":38400,"ignition":54,"odometer":null}} 
[2026-06-21 00:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":108541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:43:24] local.INFO: GPS data processed {"connection_id":108541,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:43:24] local.INFO: Acknowledgment sent {"connection_id":108541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:43:31] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:43:31] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:43:31] local.INFO: Packet analysis {"connection_id":109130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:43:31] local.INFO: Extracted packet for processing {"connection_id":109130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":109130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:43:31] local.INFO: GPS data processed {"connection_id":109130,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:43:31] local.INFO: Acknowledgment sent {"connection_id":109130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:43:53] local.INFO: TCP Data received {"connection_id":108542,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:43:53] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:43:53] local.INFO: IMEI packet received {"connection_id":108542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":108542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:43:58] local.INFO: TCP Data received {"connection_id":108541,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee672cdc0012d740100063d0c080017016432..."} 
[2026-06-21 00:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee672cdc0012d740100063d0c080017016432..."} 
[2026-06-21 00:43:58] local.INFO: Processing buffer {"connection_id":108541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee672cdc0012d740100063d0c080017016432..."} 
[2026-06-21 00:43:58] local.INFO: Packet analysis {"connection_id":108541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee672"} 
[2026-06-21 00:43:58] local.INFO: Extracted packet for processing {"connection_id":108541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee672"} 
[2026-06-21 00:43:58] local.INFO: GPS Element Parsed {"raw_longitude":762577152,"raw_latitude":104664072,"longitude_deg":76.2577152,"latitude_deg":10.4664072,"altitude":23,"angle":356,"satellites":50,"speed":53,"hex_longitude":"2d740100","hex_latitude":"063d0c08","is_valid_coordinates":true} 
[2026-06-21 00:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187580672001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125653541736939520,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8359384622632976384,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781982744000,"timestamp_ms":1781982744000,"timestamp_seconds":1781982744,"priority":1,"record_length":96,"hex_timestamp":"0000019ee672cdc0"} 
[2026-06-21 00:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 00:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187580672001,"66":27908,"100":206,"19":37632,"24":53,"16":125653541736939520,"45":8359384622632976384},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,19,24,16,45]} 
[2026-06-21 00:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187580672001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:43:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-21 00:43:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125653541736939520,"km_value":125653541736939.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8359384622632976384,"description":"Unknown IO ID 45"} 
[2026-06-21 00:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187580672001,"power":27908,"unknown_100":206,"unknown_19":37632,"ignition":53,"odometer":null,"unknown_45":8359384622632976384}} 
[2026-06-21 00:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":108541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:43:58] local.INFO: GPS data processed {"connection_id":108541,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:43:58] local.INFO: Acknowledgment sent {"connection_id":108541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:43:58] local.INFO: TCP Data received {"connection_id":108542,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:43:58] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:43:58] local.INFO: IMEI packet received {"connection_id":108542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":108542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:43:59] local.INFO: TCP Data received {"connection_id":108542,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:43:59] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:43:59] local.INFO: Packet analysis {"connection_id":108542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:43:59] local.INFO: Extracted packet for processing {"connection_id":108542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:43:59] 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-06-21 00:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:43:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:43:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":108542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:43:59] local.INFO: GPS data processed {"connection_id":108542,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:43:59] local.INFO: Acknowledgment sent {"connection_id":108542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:44:14] local.INFO: TCP Data received {"connection_id":110092,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:14] local.INFO: Processing buffer {"connection_id":110092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:14] local.INFO: IMEI packet received {"connection_id":110092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":110092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:44:14] local.INFO: TCP Data received {"connection_id":110092,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:14] local.INFO: Processing buffer {"connection_id":110092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:14] local.INFO: IMEI packet received {"connection_id":110092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":110092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:44:31] local.INFO: TCP Data received {"connection_id":108542,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:44:31] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:44:31] local.INFO: Packet analysis {"connection_id":108542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:44:31] local.INFO: Extracted packet for processing {"connection_id":108542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:44:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":108542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:44:31] local.INFO: GPS data processed {"connection_id":108542,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:44:31] local.INFO: Acknowledgment sent {"connection_id":108542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:44:38] local.INFO: TCP Data received {"connection_id":110092,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:38] local.INFO: Processing buffer {"connection_id":110092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:44:38] local.INFO: IMEI packet received {"connection_id":110092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":110092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:44:44] local.INFO: TCP Data received {"connection_id":110092,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee673e700012d740140063ea5f00017000031..."} 
[2026-06-21 00:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee673e700012d740140063ea5f00017000031..."} 
[2026-06-21 00:44:44] local.INFO: Processing buffer {"connection_id":110092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee673e700012d740140063ea5f00017000031..."} 
[2026-06-21 00:44:44] local.INFO: Packet analysis {"connection_id":110092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee673"} 
[2026-06-21 00:44:44] local.INFO: Extracted packet for processing {"connection_id":110092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee673"} 
[2026-06-21 00:44:44] local.INFO: GPS Element Parsed {"raw_longitude":762577216,"raw_latitude":104769008,"longitude_deg":76.2577216,"latitude_deg":10.4769008,"altitude":23,"angle":0,"satellites":49,"speed":58,"hex_longitude":"2d740140","hex_latitude":"063ea5f0","is_valid_coordinates":true} 
[2026-06-21 00:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187599360001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125658631273185280,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8358892041450752000,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781982816000,"timestamp_ms":1781982816000,"timestamp_seconds":1781982816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee673e700"} 
[2026-06-21 00:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-21 00:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187599360001,"66":27767,"101":206,"19":37632,"24":58,"16":125658631273185280,"45":8358892041450752000},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,19,24,16,45]} 
[2026-06-21 00:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187599360001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:44:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-21 00:44:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125658631273185280,"km_value":125658631273185.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8358892041450752000,"description":"Unknown IO ID 45"} 
[2026-06-21 00:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187599360001,"power":27767,"unknown_101":206,"unknown_19":37632,"ignition":58,"odometer":null,"unknown_45":8358892041450752000}} 
[2026-06-21 00:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":110092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:44:44] local.INFO: GPS data processed {"connection_id":110092,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:44:44] local.INFO: Acknowledgment sent {"connection_id":110092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:44:53] local.INFO: TCP Data received {"connection_id":108543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:44:53] local.INFO: Processing buffer {"connection_id":108543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:44:53] local.INFO: IMEI packet received {"connection_id":108543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":108543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:44:58] local.INFO: TCP Data received {"connection_id":108543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:44:58] local.INFO: Processing buffer {"connection_id":108543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:44:58] local.INFO: IMEI packet received {"connection_id":108543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":108543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:44:59] local.INFO: TCP Data received {"connection_id":108543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:44:59] local.INFO: Processing buffer {"connection_id":108543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:44:59] local.INFO: Packet analysis {"connection_id":108543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:44:59] local.INFO: Extracted packet for processing {"connection_id":108543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:44:59] 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-06-21 00:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:44:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:44:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":108543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:44:59] local.INFO: GPS data processed {"connection_id":108543,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:44:59] local.INFO: Acknowledgment sent {"connection_id":108543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:45:18] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:45:18] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:45:18] local.INFO: IMEI packet received {"connection_id":108544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":108544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:45:20] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:45:20] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:45:20] local.INFO: IMEI packet received {"connection_id":108544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":108544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:45:22] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee673fe70012d740140063ec8b80017000031..."} 
[2026-06-21 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee673fe70012d740140063ec8b80017000031..."} 
[2026-06-21 00:45:22] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee673fe70012d740140063ec8b80017000031..."} 
[2026-06-21 00:45:22] local.INFO: Packet analysis {"connection_id":108544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee673"} 
[2026-06-21 00:45:22] local.INFO: Extracted packet for processing {"connection_id":108544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee673"} 
[2026-06-21 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":762577216,"raw_latitude":104777912,"longitude_deg":76.2577216,"latitude_deg":10.4777912,"altitude":23,"angle":0,"satellites":49,"speed":59,"hex_longitude":"2d740140","hex_latitude":"063ec8b8","is_valid_coordinates":true} 
[2026-06-21 00:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187600896001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125659065064882176,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8359032778941394944,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781982822000,"timestamp_ms":1781982822000,"timestamp_seconds":1781982822,"priority":1,"record_length":96,"hex_timestamp":"0000019ee673fe70"} 
[2026-06-21 00:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-21 00:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":108544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":108544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":108544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187600896001,"66":27952,"101":206,"19":37632,"24":59,"16":125659065064882176,"45":8359032778941394944},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,19,24,16,45]} 
[2026-06-21 00:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187600896001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:45:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-21 00:45:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125659065064882176,"km_value":125659065064882.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8359032778941394944,"description":"Unknown IO ID 45"} 
[2026-06-21 00:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187600896001,"power":27952,"unknown_101":206,"unknown_19":37632,"ignition":59,"odometer":null,"unknown_45":8359032778941394944}} 
[2026-06-21 00:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":108544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:45:22] local.INFO: GPS data processed {"connection_id":108544,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:45:22] local.INFO: Acknowledgment sent {"connection_id":108544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:45:24] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67415e0012d740180063eebb00017000032..."} 
[2026-06-21 00:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67415e0012d740180063eebb00017000032..."} 
[2026-06-21 00:45:24] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67415e0012d740180063eebb00017000032..."} 
[2026-06-21 00:45:24] local.INFO: Packet analysis {"connection_id":108544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee674"} 
[2026-06-21 00:45:24] local.INFO: Extracted packet for processing {"connection_id":108544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee674"} 
[2026-06-21 00:45:24] local.INFO: GPS Element Parsed {"raw_longitude":762577280,"raw_latitude":104786864,"longitude_deg":76.257728,"latitude_deg":10.4786864,"altitude":23,"angle":0,"satellites":50,"speed":59,"hex_longitude":"2d740180","hex_latitude":"063eebb0","is_valid_coordinates":true} 
[2026-06-21 00:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187602432001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125659498856579072,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8359032778943674368,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781982828000,"timestamp_ms":1781982828000,"timestamp_seconds":1781982828,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67415e0"} 
[2026-06-21 00:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:45: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-06-21 00:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:45:24] 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-06-21 00:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":108544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":108544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":108544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187602432001,"66":27767,"101":206,"19":37632,"24":59,"16":125659498856579072,"45":8359032778943674368},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,19,24,16,45]} 
[2026-06-21 00:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187602432001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:45:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-21 00:45:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125659498856579072,"km_value":125659498856579.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8359032778943674368,"description":"Unknown IO ID 45"} 
[2026-06-21 00:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187602432001,"power":27767,"unknown_101":206,"unknown_19":37632,"ignition":59,"odometer":null,"unknown_45":8359032778943674368}} 
[2026-06-21 00:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":108544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:45:24] local.INFO: GPS data processed {"connection_id":108544,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:45:24] local.INFO: Acknowledgment sent {"connection_id":108544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:45:31] local.INFO: TCP Data received {"connection_id":108543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:45:31] local.INFO: Processing buffer {"connection_id":108543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:45:31] local.INFO: Packet analysis {"connection_id":108543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:45:31] local.INFO: Extracted packet for processing {"connection_id":108543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":108543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:45:31] local.INFO: GPS data processed {"connection_id":108543,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:45:31] local.INFO: Acknowledgment sent {"connection_id":108543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:45:53] local.INFO: TCP Data received {"connection_id":108339,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:45:53] local.INFO: Processing buffer {"connection_id":108339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:45:53] local.INFO: IMEI packet received {"connection_id":108339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":108339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:45:56] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6753ad8012d74070006409d000017000130..."} 
[2026-06-21 00:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6753ad8012d74070006409d000017000130..."} 
[2026-06-21 00:45:56] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6753ad8012d74070006409d000017000130..."} 
[2026-06-21 00:45:56] local.INFO: Packet analysis {"connection_id":108544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:45:56] local.INFO: Extracted packet for processing {"connection_id":108544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:45:56] local.INFO: GPS Element Parsed {"raw_longitude":762578688,"raw_latitude":104897792,"longitude_deg":76.2578688,"latitude_deg":10.4897792,"altitude":23,"angle":1,"satellites":48,"speed":57,"hex_longitude":"2d740700","hex_latitude":"06409d00","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187621376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125664876155633664,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8360369785111109632,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781982903000,"timestamp_ms":1781982903000,"timestamp_seconds":1781982903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6753ad8"} 
[2026-06-21 00:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":108544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":108544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":108544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187621376001,"66":27887,"147":206,"19":37888,"24":57,"16":125664876155633664,"45":8360369785111109632},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,19,24,16,45]} 
[2026-06-21 00:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187621376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:45:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-06-21 00:45:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125664876155633664,"km_value":125664876155633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8360369785111109632,"description":"Unknown IO ID 45"} 
[2026-06-21 00:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187621376001,"power":27887,"unknown_147":206,"unknown_19":37888,"ignition":57,"odometer":null,"unknown_45":8360369785111109632}} 
[2026-06-21 00:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":108544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:45:57] local.INFO: GPS data processed {"connection_id":108544,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:45:57] local.INFO: Acknowledgment sent {"connection_id":108544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:45:58] local.INFO: TCP Data received {"connection_id":108339,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:45:58] local.INFO: Processing buffer {"connection_id":108339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:45:58] local.INFO: IMEI packet received {"connection_id":108339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":108339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:45:59] local.INFO: TCP Data received {"connection_id":108339,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:45:59] local.INFO: Processing buffer {"connection_id":108339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:45:59] local.INFO: Packet analysis {"connection_id":108339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:45:59] local.INFO: Extracted packet for processing {"connection_id":108339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:45:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:45:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":108339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:45:59] local.INFO: GPS data processed {"connection_id":108339,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:45:59] local.INFO: Acknowledgment sent {"connection_id":108339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:46:11] local.INFO: TCP Data received {"connection_id":108340,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:11] local.INFO: Processing buffer {"connection_id":108340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:11] local.INFO: IMEI packet received {"connection_id":108340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":108340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:46:14] local.INFO: TCP Data received {"connection_id":108340,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:14] local.INFO: Processing buffer {"connection_id":108340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:14] local.INFO: IMEI packet received {"connection_id":108340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":108340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:46:19] local.INFO: TCP Data received {"connection_id":108340,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:19] local.INFO: Processing buffer {"connection_id":108340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:46:19] local.INFO: IMEI packet received {"connection_id":108340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":108340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:46:19] local.INFO: TCP Data received {"connection_id":108340,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6755630012d7407c00640c380001a000033..."} 
[2026-06-21 00:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6755630012d7407c00640c380001a000033..."} 
[2026-06-21 00:46:19] local.INFO: Processing buffer {"connection_id":108340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6755630012d7407c00640c380001a000033..."} 
[2026-06-21 00:46:19] local.INFO: Packet analysis {"connection_id":108340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:46:19] local.INFO: Extracted packet for processing {"connection_id":108340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:46:19] local.INFO: GPS Element Parsed {"raw_longitude":762578880,"raw_latitude":104907648,"longitude_deg":76.257888,"latitude_deg":10.4907648,"altitude":26,"angle":0,"satellites":51,"speed":54,"hex_longitude":"2d7407c0","hex_latitude":"0640c380","is_valid_coordinates":true} 
[2026-06-21 00:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187623168001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125665352897003520,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8360651260090449920,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781982910000,"timestamp_ms":1781982910000,"timestamp_seconds":1781982910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6755630"} 
[2026-06-21 00:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:46: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-06-21 00:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 00:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":108340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":108340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":108340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187623168001,"66":27974,"132":206,"19":37888,"24":54,"16":125665352897003520,"45":8360651260090449920},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,19,24,16,45]} 
[2026-06-21 00:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187623168001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:46:19] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-21 00:46:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125665352897003520,"km_value":125665352897003.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8360651260090449920,"description":"Unknown IO ID 45"} 
[2026-06-21 00:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187623168001,"power":27974,"unknown_132":206,"unknown_19":37888,"ignition":54,"odometer":null,"unknown_45":8360651260090449920}} 
[2026-06-21 00:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":108340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:46:19] local.INFO: GPS data processed {"connection_id":108340,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:46:19] local.INFO: Acknowledgment sent {"connection_id":108340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:46:20] local.INFO: TCP Data received {"connection_id":108340,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6757188012d7408800640e738001d000034..."} 
[2026-06-21 00:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6757188012d7408800640e738001d000034..."} 
[2026-06-21 00:46:20] local.INFO: Processing buffer {"connection_id":108340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6757188012d7408800640e738001d000034..."} 
[2026-06-21 00:46:20] local.INFO: Packet analysis {"connection_id":108340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:46:20] local.INFO: Extracted packet for processing {"connection_id":108340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:46:20] local.INFO: GPS Element Parsed {"raw_longitude":762579072,"raw_latitude":104916792,"longitude_deg":76.2579072,"latitude_deg":10.4916792,"altitude":29,"angle":0,"satellites":52,"speed":49,"hex_longitude":"2d740880","hex_latitude":"0640e738","is_valid_coordinates":true} 
[2026-06-21 00:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187624960001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125665795278635008,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8360862366325506048,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781982917000,"timestamp_ms":1781982917000,"timestamp_seconds":1781982917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6757188"} 
[2026-06-21 00:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:46: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-06-21 00:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187624960001,"66":27930,"132":206,"19":37888,"24":49,"16":125665795278635008,"45":8360862366325506048},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,19,24,16,45]} 
[2026-06-21 00:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187624960001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125665795278635008,"km_value":125665795278635.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8360862366325506048,"description":"Unknown IO ID 45"} 
[2026-06-21 00:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187624960001,"power":27930,"unknown_132":206,"unknown_19":37888,"ignition":49,"odometer":null,"unknown_45":8360862366325506048}} 
[2026-06-21 00:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":108340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:46:20] local.INFO: GPS data processed {"connection_id":108340,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:46:20] local.INFO: Acknowledgment sent {"connection_id":108340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:46:31] local.INFO: TCP Data received {"connection_id":108339,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:46:31] local.INFO: Processing buffer {"connection_id":108339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee671a8c8012d34c2c006aa3e38000a01112f..."} 
[2026-06-21 00:46:31] local.INFO: Packet analysis {"connection_id":108339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:46:31] local.INFO: Extracted packet for processing {"connection_id":108339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee671"} 
[2026-06-21 00:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":10,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187486208001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982669000,"timestamp_ms":1781982669000,"timestamp_seconds":1781982669,"priority":1,"record_length":96,"hex_timestamp":"0000019ee671a8c8"} 
[2026-06-21 00:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187486208001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187486208001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187486208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":108339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:46:31] local.INFO: GPS data processed {"connection_id":108339,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:46:31] local.INFO: Acknowledgment sent {"connection_id":108339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:46:51] local.INFO: TCP Data received {"connection_id":108340,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67590c8012d74094006410d00001f000133..."} 
[2026-06-21 00:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67590c8012d74094006410d00001f000133..."} 
[2026-06-21 00:46:51] local.INFO: Processing buffer {"connection_id":108340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67590c8012d74094006410d00001f000133..."} 
[2026-06-21 00:46:51] local.INFO: Packet analysis {"connection_id":108340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:46:51] local.INFO: Extracted packet for processing {"connection_id":108340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:46:51] local.INFO: GPS Element Parsed {"raw_longitude":762579264,"raw_latitude":104926464,"longitude_deg":76.2579264,"latitude_deg":10.4926464,"altitude":31,"angle":1,"satellites":51,"speed":46,"hex_longitude":"2d740940","hex_latitude":"06410d00","is_valid_coordinates":true} 
[2026-06-21 00:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187626752001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125666267725037568,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8361073472560379904,"note":"Value kept but may cause issues"} 
[2026-06-21 00:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781982925000,"timestamp_ms":1781982925000,"timestamp_seconds":1781982925,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67590c8"} 
[2026-06-21 00:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:46: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-06-21 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":108340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":108340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":108340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187626752001,"66":27941,"132":206,"19":37888,"24":46,"16":125666267725037568,"45":8361073472560379904},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,19,24,16,45]} 
[2026-06-21 00:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187626752001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:46:51] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-21 00:46:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125666267725037568,"km_value":125666267725037.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8361073472560379904,"description":"Unknown IO ID 45"} 
[2026-06-21 00:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187626752001,"power":27941,"unknown_132":206,"unknown_19":37888,"ignition":46,"odometer":null,"unknown_45":8361073472560379904}} 
[2026-06-21 00:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":108340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:46:51] local.INFO: GPS data processed {"connection_id":108340,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:46:51] local.INFO: Acknowledgment sent {"connection_id":108340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:46:58] local.INFO: TCP Data received {"connection_id":108545,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:46:58] local.INFO: Processing buffer {"connection_id":108545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:46:58] local.INFO: IMEI packet received {"connection_id":108545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":108545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:47:03] local.INFO: TCP Data received {"connection_id":108545,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:03] local.INFO: Processing buffer {"connection_id":108545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:03] local.INFO: IMEI packet received {"connection_id":108545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":108545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:47:04] local.INFO: TCP Data received {"connection_id":108545,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:04] local.INFO: Processing buffer {"connection_id":108545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:04] local.INFO: Packet analysis {"connection_id":108545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:04] local.INFO: Extracted packet for processing {"connection_id":108545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:47: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-06-21 00:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":108545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:47:04] local.INFO: GPS data processed {"connection_id":108545,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:47:04] local.INFO: Acknowledgment sent {"connection_id":108545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:47:09] local.INFO: TCP Data received {"connection_id":108545,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:09] local.INFO: Processing buffer {"connection_id":108545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:09] local.INFO: Packet analysis {"connection_id":108545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:09] local.INFO: Extracted packet for processing {"connection_id":108545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:47: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-06-21 00:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":108545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:47:09] local.INFO: GPS data processed {"connection_id":108545,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:47:09] local.INFO: Acknowledgment sent {"connection_id":108545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:47:14] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:14] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:14] local.INFO: IMEI packet received {"connection_id":109131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":109131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:47:15] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:15] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:15] local.INFO: IMEI packet received {"connection_id":109131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":109131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:47:19] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:19] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:47:19] local.INFO: IMEI packet received {"connection_id":109131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":109131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:47:20] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee675b008012d740a40064132100020000133..."} 
[2026-06-21 00:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee675b008012d740a40064132100020000133..."} 
[2026-06-21 00:47:20] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee675b008012d740a40064132100020000133..."} 
[2026-06-21 00:47:20] local.INFO: Packet analysis {"connection_id":109131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:47:20] local.INFO: Extracted packet for processing {"connection_id":109131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:47:20] local.INFO: GPS Element Parsed {"raw_longitude":762579520,"raw_latitude":104935952,"longitude_deg":76.257952,"latitude_deg":10.4935952,"altitude":32,"angle":1,"satellites":51,"speed":48,"hex_longitude":"2d740a40","hex_latitude":"06413210","is_valid_coordinates":true} 
[2026-06-21 00:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187628800001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125666727286538240,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8361284578795388928,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781982933000,"timestamp_ms":1781982933000,"timestamp_seconds":1781982933,"priority":1,"record_length":96,"hex_timestamp":"0000019ee675b008"} 
[2026-06-21 00:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 00:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":109131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":109131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":109131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187628800001,"66":27930,"222":206,"19":37888,"24":48,"16":125666727286538240,"45":8361284578795388928},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,19,24,16,45]} 
[2026-06-21 00:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187628800001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:47:20] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-21 00:47:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125666727286538240,"km_value":125666727286538.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8361284578795388928,"description":"Unknown IO ID 45"} 
[2026-06-21 00:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187628800001,"power":27930,"unknown_222":206,"unknown_19":37888,"ignition":48,"odometer":null,"unknown_45":8361284578795388928}} 
[2026-06-21 00:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":109131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:47:20] local.INFO: GPS data processed {"connection_id":109131,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:47:20] local.INFO: Acknowledgment sent {"connection_id":109131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:47:23] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee675cf48012d740b4006415980001f000135..."} 
[2026-06-21 00:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee675cf48012d740b4006415980001f000135..."} 
[2026-06-21 00:47:23] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee675cf48012d740b4006415980001f000135..."} 
[2026-06-21 00:47:23] local.INFO: Packet analysis {"connection_id":109131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:47:23] local.INFO: Extracted packet for processing {"connection_id":109131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee675"} 
[2026-06-21 00:47:23] local.INFO: GPS Element Parsed {"raw_longitude":762579776,"raw_latitude":104946048,"longitude_deg":76.2579776,"latitude_deg":10.4946048,"altitude":31,"angle":1,"satellites":53,"speed":53,"hex_longitude":"2d740b40","hex_latitude":"06415980","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187630848001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125667216912809984,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8361566053774528512,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781982941000,"timestamp_ms":1781982941000,"timestamp_seconds":1781982941,"priority":1,"record_length":96,"hex_timestamp":"0000019ee675cf48"} 
[2026-06-21 00:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":109131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":109131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":109131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187630848001,"66":27517,"222":206,"19":37888,"24":53,"16":125667216912809984,"45":8361566053774528512},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,19,24,16,45]} 
[2026-06-21 00:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187630848001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:47:23] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-21 00:47:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125667216912809984,"km_value":125667216912809.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8361566053774528512,"description":"Unknown IO ID 45"} 
[2026-06-21 00:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187630848001,"power":27517,"unknown_222":206,"unknown_19":37888,"ignition":53,"odometer":null,"unknown_45":8361566053774528512}} 
[2026-06-21 00:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":109131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:47:23] local.INFO: GPS data processed {"connection_id":109131,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:47:23] local.INFO: Acknowledgment sent {"connection_id":109131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:47:53] local.INFO: TCP Data received {"connection_id":110093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:53] local.INFO: Processing buffer {"connection_id":110093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:53] local.INFO: IMEI packet received {"connection_id":110093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":110093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:47:55] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee676f058012d741480064306380016000034..."} 
[2026-06-21 00:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee676f058012d741480064306380016000034..."} 
[2026-06-21 00:47:55] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee676f058012d741480064306380016000034..."} 
[2026-06-21 00:47:55] local.INFO: Packet analysis {"connection_id":109131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:55] local.INFO: Extracted packet for processing {"connection_id":109131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:55] local.INFO: GPS Element Parsed {"raw_longitude":762582144,"raw_latitude":105055800,"longitude_deg":76.2582144,"latitude_deg":10.50558,"altitude":22,"angle":0,"satellites":52,"speed":59,"hex_longitude":"2d741480","hex_latitude":"06430638","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187650304001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125672538377289728,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8364240066081677312,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781983015000,"timestamp_ms":1781983015000,"timestamp_seconds":1781983015,"priority":1,"record_length":96,"hex_timestamp":"0000019ee676f058"} 
[2026-06-21 00:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 00:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":109131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":109131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":109131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187650304001,"66":27691,"222":206,"19":37888,"24":59,"16":125672538377289728,"45":8364240066081677312},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,19,24,16,45]} 
[2026-06-21 00:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187650304001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:47:55] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-21 00:47:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125672538377289728,"km_value":125672538377289.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8364240066081677312,"description":"Unknown IO ID 45"} 
[2026-06-21 00:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187650304001,"power":27691,"unknown_222":206,"unknown_19":37888,"ignition":59,"odometer":null,"unknown_45":8364240066081677312}} 
[2026-06-21 00:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":109131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:47:55] local.INFO: GPS data processed {"connection_id":109131,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:47:55] local.INFO: Acknowledgment sent {"connection_id":109131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:47:58] local.INFO: TCP Data received {"connection_id":110093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:58] local.INFO: Processing buffer {"connection_id":110093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:47:58] local.INFO: IMEI packet received {"connection_id":110093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":110093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:47:59] local.INFO: TCP Data received {"connection_id":110093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:59] local.INFO: Processing buffer {"connection_id":110093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:47:59] local.INFO: Packet analysis {"connection_id":110093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:59] local.INFO: Extracted packet for processing {"connection_id":110093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:47:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:47:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":110093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:47:59] local.INFO: GPS data processed {"connection_id":110093,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:47:59] local.INFO: Acknowledgment sent {"connection_id":110093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:48:14] local.INFO: TCP Data received {"connection_id":108341,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:14] local.INFO: Processing buffer {"connection_id":108341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:14] local.INFO: IMEI packet received {"connection_id":108341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":108341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:48:16] local.INFO: TCP Data received {"connection_id":108341,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:16] local.INFO: Processing buffer {"connection_id":108341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:16] local.INFO: IMEI packet received {"connection_id":108341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":108341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:48:17] local.INFO: TCP Data received {"connection_id":108341,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:17] local.INFO: Processing buffer {"connection_id":108341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:48:17] local.INFO: IMEI packet received {"connection_id":108341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":108341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:48:18] local.INFO: TCP Data received {"connection_id":108341,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6770bb0012d7415c006432e800016000132..."} 
[2026-06-21 00:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6770bb0012d7415c006432e800016000132..."} 
[2026-06-21 00:48:18] local.INFO: Processing buffer {"connection_id":108341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6770bb0012d7415c006432e800016000132..."} 
[2026-06-21 00:48:18] local.INFO: Packet analysis {"connection_id":108341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:48:18] local.INFO: Extracted packet for processing {"connection_id":108341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:48:18] local.INFO: GPS Element Parsed {"raw_longitude":762582464,"raw_latitude":105066112,"longitude_deg":76.2582464,"latitude_deg":10.5066112,"altitude":22,"angle":1,"satellites":50,"speed":57,"hex_longitude":"2d7415c0","hex_latitude":"06432e80","is_valid_coordinates":true} 
[2026-06-21 00:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187651840001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125673040888463360,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8364451172316493824,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781983022000,"timestamp_ms":1781983022000,"timestamp_seconds":1781983022,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6770bb0"} 
[2026-06-21 00:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:48: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-06-21 00: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-21 00:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":108341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":108341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":108341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187651840001,"66":27789,"222":206,"19":37888,"24":57,"16":125673040888463360,"45":8364451172316493824},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,19,24,16,45]} 
[2026-06-21 00:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187651840001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:48:18] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-21 00:48:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125673040888463360,"km_value":125673040888463.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8364451172316493824,"description":"Unknown IO ID 45"} 
[2026-06-21 00:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187651840001,"power":27789,"unknown_222":206,"unknown_19":37888,"ignition":57,"odometer":null,"unknown_45":8364451172316493824}} 
[2026-06-21 00:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":108341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:48:18] local.INFO: GPS data processed {"connection_id":108341,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:48:18] local.INFO: Acknowledgment sent {"connection_id":108341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:48:20] local.INFO: TCP Data received {"connection_id":108341,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6772708012d741700064356780017000132..."} 
[2026-06-21 00:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6772708012d741700064356780017000132..."} 
[2026-06-21 00:48:20] local.INFO: Processing buffer {"connection_id":108341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6772708012d741700064356780017000132..."} 
[2026-06-21 00:48:20] local.INFO: Packet analysis {"connection_id":108341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:48:20] local.INFO: Extracted packet for processing {"connection_id":108341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:48:20] local.INFO: GPS Element Parsed {"raw_longitude":762582784,"raw_latitude":105076344,"longitude_deg":76.2582784,"latitude_deg":10.5076344,"altitude":23,"angle":1,"satellites":50,"speed":58,"hex_longitude":"2d741700","hex_latitude":"06435678","is_valid_coordinates":true} 
[2026-06-21 00:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187653632001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125673534809702400,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8364803016040022016,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781983029000,"timestamp_ms":1781983029000,"timestamp_seconds":1781983029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6772708"} 
[2026-06-21 00:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:48: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-06-21 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-21 00:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187653632001,"66":27821,"222":206,"19":37888,"24":58,"16":125673534809702400,"45":8364803016040022016},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,19,24,16,45]} 
[2026-06-21 00:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187653632001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:48:20] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-21 00:48:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125673534809702400,"km_value":125673534809702.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8364803016040022016,"description":"Unknown IO ID 45"} 
[2026-06-21 00:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187653632001,"power":27821,"unknown_222":206,"unknown_19":37888,"ignition":58,"odometer":null,"unknown_45":8364803016040022016}} 
[2026-06-21 00:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":108341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:48:20] local.INFO: GPS data processed {"connection_id":108341,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:48:20] local.INFO: Acknowledgment sent {"connection_id":108341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:48:31] local.INFO: TCP Data received {"connection_id":110093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:48:31] local.INFO: Processing buffer {"connection_id":110093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:48:31] local.INFO: Packet analysis {"connection_id":110093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:48:31] local.INFO: Extracted packet for processing {"connection_id":110093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":110093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:48:31] local.INFO: GPS data processed {"connection_id":110093,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:48:31] local.INFO: Acknowledgment sent {"connection_id":110093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:48:51] local.INFO: TCP Data received {"connection_id":108341,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6774260012d7417c006437ce00019000230..."} 
[2026-06-21 00:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6774260012d7417c006437ce00019000230..."} 
[2026-06-21 00:48:51] local.INFO: Processing buffer {"connection_id":108341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6774260012d7417c006437ce00019000230..."} 
[2026-06-21 00:48:51] local.INFO: Packet analysis {"connection_id":108341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:48:51] local.INFO: Extracted packet for processing {"connection_id":108341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:48:51] local.INFO: GPS Element Parsed {"raw_longitude":762582976,"raw_latitude":105086176,"longitude_deg":76.2582976,"latitude_deg":10.5086176,"altitude":25,"angle":2,"satellites":48,"speed":54,"hex_longitude":"2d7417c0","hex_latitude":"06437ce0","is_valid_coordinates":true} 
[2026-06-21 00:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187655424001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125674011551072256,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8365154859763529728,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781983036000,"timestamp_ms":1781983036000,"timestamp_seconds":1781983036,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6774260"} 
[2026-06-21 00:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:48: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-06-21 00:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":108341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":108341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":108341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187655424001,"66":28006,"222":206,"19":37888,"24":54,"16":125674011551072256,"45":8365154859763529728},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,19,24,16,45]} 
[2026-06-21 00:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187655424001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:48:51] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-21 00:48:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125674011551072256,"km_value":125674011551072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8365154859763529728,"description":"Unknown IO ID 45"} 
[2026-06-21 00:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187655424001,"power":28006,"unknown_222":206,"unknown_19":37888,"ignition":54,"odometer":null,"unknown_45":8365154859763529728}} 
[2026-06-21 00:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":108341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:48:51] local.INFO: GPS data processed {"connection_id":108341,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:48:51] local.INFO: Acknowledgment sent {"connection_id":108341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:48:53] local.INFO: TCP Data received {"connection_id":108342,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:48:53] local.INFO: Processing buffer {"connection_id":108342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:48:53] local.INFO: IMEI packet received {"connection_id":108342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":108342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:48:58] local.INFO: TCP Data received {"connection_id":108342,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:48:58] local.INFO: Processing buffer {"connection_id":108342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:48:58] local.INFO: IMEI packet received {"connection_id":108342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":108342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:48:59] local.INFO: TCP Data received {"connection_id":108342,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:48:59] local.INFO: Processing buffer {"connection_id":108342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:48:59] local.INFO: Packet analysis {"connection_id":108342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:48:59] local.INFO: Extracted packet for processing {"connection_id":108342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:48:59] 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-06-21 00:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:48:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:48:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":108342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:48:59] local.INFO: GPS data processed {"connection_id":108342,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:48:59] local.INFO: Acknowledgment sent {"connection_id":108342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:49:13] local.INFO: TCP Data received {"connection_id":109132,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:49:13] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:49:13] local.INFO: IMEI packet received {"connection_id":109132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":109132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:49:19] local.INFO: TCP Data received {"connection_id":109132,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:49:19] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:49:19] local.INFO: IMEI packet received {"connection_id":109132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":109132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:49:21] local.INFO: TCP Data received {"connection_id":109132,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6775db8012d7418c00643a218001a000230..."} 
[2026-06-21 00:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6775db8012d7418c00643a218001a000230..."} 
[2026-06-21 00:49:21] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6775db8012d7418c00643a218001a000230..."} 
[2026-06-21 00:49:21] local.INFO: Packet analysis {"connection_id":109132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:49:21] local.INFO: Extracted packet for processing {"connection_id":109132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee677"} 
[2026-06-21 00:49:21] local.INFO: GPS Element Parsed {"raw_longitude":762583232,"raw_latitude":105095704,"longitude_deg":76.2583232,"latitude_deg":10.5095704,"altitude":26,"angle":2,"satellites":48,"speed":53,"hex_longitude":"2d7418c0","hex_latitude":"0643a218","is_valid_coordinates":true} 
[2026-06-21 00:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187657216001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125674475407540224,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8365365965998579712,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781983043000,"timestamp_ms":1781983043000,"timestamp_seconds":1781983043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6775db8"} 
[2026-06-21 00:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":109132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":109132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":109132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187657216001,"66":27908,"222":206,"19":37888,"24":53,"16":125674475407540224,"45":8365365965998579712},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,19,24,16,45]} 
[2026-06-21 00:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187657216001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:49:21] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-21 00:49:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125674475407540224,"km_value":125674475407540.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8365365965998579712,"description":"Unknown IO ID 45"} 
[2026-06-21 00:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187657216001,"power":27908,"unknown_222":206,"unknown_19":37888,"ignition":53,"odometer":null,"unknown_45":8365365965998579712}} 
[2026-06-21 00:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":109132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:49:21] local.INFO: GPS data processed {"connection_id":109132,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:49:21] local.INFO: Acknowledgment sent {"connection_id":109132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:49:31] local.INFO: TCP Data received {"connection_id":108342,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:49:31] local.INFO: Processing buffer {"connection_id":108342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:49:31] local.INFO: Packet analysis {"connection_id":108342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:49:31] local.INFO: Extracted packet for processing {"connection_id":108342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":108342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:49:31] local.INFO: GPS data processed {"connection_id":108342,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:49:31] local.INFO: Acknowledgment sent {"connection_id":108342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:49:52] local.INFO: TCP Data received {"connection_id":109132,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6786370012d73510006441168001701052d..."} 
[2026-06-21 00:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6786370012d73510006441168001701052d..."} 
[2026-06-21 00:49:52] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6786370012d73510006441168001701052d..."} 
[2026-06-21 00:49:52] local.INFO: Packet analysis {"connection_id":109132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee678"} 
[2026-06-21 00:49:52] local.INFO: Extracted packet for processing {"connection_id":109132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee678"} 
[2026-06-21 00:49:52] local.INFO: GPS Element Parsed {"raw_longitude":762532096,"raw_latitude":105124200,"longitude_deg":76.2532096,"latitude_deg":10.51242,"altitude":23,"angle":261,"satellites":45,"speed":54,"hex_longitude":"2d735100","hex_latitude":"06441168","is_valid_coordinates":true} 
[2026-06-21 00:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187671552001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8334544456059340800,"note":"Value kept but may cause issues"} 
[2026-06-21 00:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781983110000,"timestamp_ms":1781983110000,"timestamp_seconds":1781983110,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6786370"} 
[2026-06-21 00:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 00:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":109132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":109132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":109132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187671552001,"66":27930,"223":206,"19":37888,"24":54,"16":125676889179160576,"45":8334544456059340800},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,19,24,16,45]} 
[2026-06-21 00:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187671552001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:49:52] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-21 00:49:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8334544456059340800,"description":"Unknown IO ID 45"} 
[2026-06-21 00:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187671552001,"power":27930,"unknown_223":206,"unknown_19":37888,"ignition":54,"odometer":null,"unknown_45":8334544456059340800}} 
[2026-06-21 00:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":109132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:49:52] local.INFO: GPS data processed {"connection_id":109132,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:49:52] local.INFO: Acknowledgment sent {"connection_id":109132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:49:53] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:49:53] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:49:53] local.INFO: IMEI packet received {"connection_id":109133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":109133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:49:58] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:49:58] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:49:58] local.INFO: IMEI packet received {"connection_id":109133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":109133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:50:00] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:50:00] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:50:00] local.INFO: Packet analysis {"connection_id":109133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:50:00] local.INFO: Extracted packet for processing {"connection_id":109133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:50:00] 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-06-21 00:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:50:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":109133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:50:00] local.INFO: GPS data processed {"connection_id":109133,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:50:00] local.INFO: Acknowledgment sent {"connection_id":109133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:50:14] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:50:14] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:50:14] local.INFO: IMEI packet received {"connection_id":108546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":108546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:50:19] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.216.206","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 00:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 00:50:19] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 00:50:19] local.INFO: IMEI packet received {"connection_id":108546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":108546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:50:22] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.216.206","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019ee6..."} 
[2026-06-21 00:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019ee6..."} 
[2026-06-21 00:50:22] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":829,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 00:50:22] local.INFO: IMEI packet received {"connection_id":108546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":108546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:50:24] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67998080100000000000000000000000000..."} 
[2026-06-21 00:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67998080100000000000000000000000000..."} 
[2026-06-21 00:50:24] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":1607,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019ee6..."} 
[2026-06-21 00:50:24] local.INFO: IMEI packet received {"connection_id":108546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":108546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:50:30] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67922d8012d72628006440ba0001501142d..."} 
[2026-06-21 00:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67922d8012d72628006440ba0001501142d..."} 
[2026-06-21 00:50:30] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019ee678b578012d72f94006440730001b010d2c..."} 
[2026-06-21 00:50:30] local.INFO: Packet analysis {"connection_id":108546,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ee678"} 
[2026-06-21 00:50:30] local.INFO: Extracted packet for processing {"connection_id":108546,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ee678"} 
[2026-06-21 00:50:30] local.INFO: GPS Element Parsed {"raw_longitude":762509632,"raw_latitude":105121584,"longitude_deg":76.2509632,"latitude_deg":10.5121584,"altitude":27,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d72f940","hex_latitude":"06440730","is_valid_coordinates":true} 
[2026-06-21 00:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187676160001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8309422814387070976,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781983131000,"timestamp_ms":1781983131000,"timestamp_seconds":1781983131,"priority":1,"record_length":96,"hex_timestamp":"0000019ee678b578"} 
[2026-06-21 00:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 00:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187676160001,"66":27789,"223":206,"19":37888,"24":0,"16":125676889179160576,"45":8309422814387070976},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,19,24,16,45]} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187676160001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:50:30] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-21 00:50:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8309422814387070976,"description":"Unknown IO ID 45"} 
[2026-06-21 00:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187676160001,"power":27789,"unknown_223":206,"unknown_19":37888,"ignition":0,"odometer":null,"unknown_45":8309422814387070976}} 
[2026-06-21 00:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":108546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:50:30] local.INFO: GPS data processed {"connection_id":108546,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:50:30] local.INFO: Acknowledgment sent {"connection_id":108546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:50:30] local.INFO: Packet analysis {"connection_id":108546,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:50:30] local.INFO: Extracted packet for processing {"connection_id":108546,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:50:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 00:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187681536001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8284723385180041216,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781983189000,"timestamp_ms":1781983189000,"timestamp_seconds":1781983189,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6799808"} 
[2026-06-21 00:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-21 00:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":108546,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 00:50:30] local.INFO: GPS data processed {"connection_id":108546,"processed":0,"errors":0,"total":1} 
[2026-06-21 00:50:30] local.INFO: Acknowledgment sent {"connection_id":108546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:50:30] local.INFO: Packet analysis {"connection_id":108546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:50:30] local.INFO: Extracted packet for processing {"connection_id":108546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:50:30] local.INFO: GPS Element Parsed {"raw_longitude":762471040,"raw_latitude":105122720,"longitude_deg":76.247104,"latitude_deg":10.512272,"altitude":21,"angle":276,"satellites":45,"speed":23,"hex_longitude":"2d726280","hex_latitude":"06440ba0","is_valid_coordinates":true} 
[2026-06-21 00:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,223,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 00:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781983159000,"timestamp_ms":1781983159000,"timestamp_seconds":1781983159,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67922d8"} 
[2026-06-21 00:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27974,"223":206,"19":37888,"24":23,"16":125676889179160576},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,19,24,16]} 
[2026-06-21 00:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-21 00:50:30] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-21 00:50:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:50:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27974,"unknown_223":206,"unknown_19":37888,"ignition":23,"odometer":null}} 
[2026-06-21 00:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":108546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:50:30] local.INFO: GPS data processed {"connection_id":108546,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:50:30] local.INFO: Acknowledgment sent {"connection_id":108546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:50:32] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:50:32] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:50:32] local.INFO: Packet analysis {"connection_id":109133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:50:32] local.INFO: Extracted packet for processing {"connection_id":109133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":109133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:50:32] local.INFO: GPS data processed {"connection_id":109133,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:50:32] local.INFO: Acknowledgment sent {"connection_id":109133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:50:58] local.INFO: TCP Data received {"connection_id":108343,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:50:58] local.INFO: Processing buffer {"connection_id":108343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:50:58] local.INFO: IMEI packet received {"connection_id":108343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":108343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:51:03] local.INFO: TCP Data received {"connection_id":108343,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:03] local.INFO: Processing buffer {"connection_id":108343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:03] local.INFO: IMEI packet received {"connection_id":108343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":108343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:51:04] local.INFO: TCP Data received {"connection_id":108343,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:51:04] local.INFO: Processing buffer {"connection_id":108343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:51:04] local.INFO: Packet analysis {"connection_id":108343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:51:04] local.INFO: Extracted packet for processing {"connection_id":108343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:51: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-06-21 00:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:51:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":108343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:51:04] local.INFO: GPS data processed {"connection_id":108343,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:51:04] local.INFO: Acknowledgment sent {"connection_id":108343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:51:11] local.INFO: TCP Data received {"connection_id":108343,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:51:11] local.INFO: Processing buffer {"connection_id":108343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6764090012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:51:11] local.INFO: Packet analysis {"connection_id":108343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:51:11] local.INFO: Extracted packet for processing {"connection_id":108343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee676"} 
[2026-06-21 00:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187563264001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00: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-06-21 00:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781982970000,"timestamp_ms":1781982970000,"timestamp_seconds":1781982970,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6764090"} 
[2026-06-21 00:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00: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":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187563264001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187563264001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:51:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187563264001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":108343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:51:11] local.INFO: GPS data processed {"connection_id":108343,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:51:11] local.INFO: Acknowledgment sent {"connection_id":108343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:51:24] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:51:24] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:51:24] local.INFO: IMEI packet received {"connection_id":108547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":108547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:51:26] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:51:26] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:51:26] local.INFO: IMEI packet received {"connection_id":108547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":108547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:51:27] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67974e0012d72220006441ec80017012b2c..."} 
[2026-06-21 00:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67974e0012d72220006441ec80017012b2c..."} 
[2026-06-21 00:51:27] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67974e0012d72220006441ec80017012b2c..."} 
[2026-06-21 00:51:27] local.INFO: Packet analysis {"connection_id":108547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:51:27] local.INFO: Extracted packet for processing {"connection_id":108547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:51:27] local.INFO: GPS Element Parsed {"raw_longitude":762454528,"raw_latitude":105127624,"longitude_deg":76.2454528,"latitude_deg":10.5127624,"altitude":23,"angle":299,"satellites":44,"speed":39,"hex_longitude":"2d722200","hex_latitude":"06441ec8","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187688704001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8242291032441200640,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781983180000,"timestamp_ms":1781983180000,"timestamp_seconds":1781983180,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67974e0"} 
[2026-06-21 00:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00: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-06-21 00: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 00:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":108547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":108547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":108547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187688704001,"66":27800,"223":206,"19":37888,"24":39,"16":125676889179160576,"45":8242291032441200640},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,19,24,16,45]} 
[2026-06-21 00:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187688704001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:51:27] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-21 00:51:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8242291032441200640,"description":"Unknown IO ID 45"} 
[2026-06-21 00:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187688704001,"power":27800,"unknown_223":206,"unknown_19":37888,"ignition":39,"odometer":null,"unknown_45":8242291032441200640}} 
[2026-06-21 00:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":108547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:51:27] local.INFO: GPS data processed {"connection_id":108547,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:51:27] local.INFO: Acknowledgment sent {"connection_id":108547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:51:28] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67974e0012d72220006441ec80017012b2c..."} 
[2026-06-21 00:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67974e0012d72220006441ec80017012b2c..."} 
[2026-06-21 00:51:28] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67974e0012d72220006441ec80017012b2c..."} 
[2026-06-21 00:51:28] local.INFO: Packet analysis {"connection_id":108547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:51:28] local.INFO: Extracted packet for processing {"connection_id":108547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:51:28] local.INFO: GPS Element Parsed {"raw_longitude":762454528,"raw_latitude":105127624,"longitude_deg":76.2454528,"latitude_deg":10.5127624,"altitude":23,"angle":299,"satellites":44,"speed":39,"hex_longitude":"2d722200","hex_latitude":"06441ec8","is_valid_coordinates":true} 
[2026-06-21 00:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187694080001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8224135896444618752,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781983180000,"timestamp_ms":1781983180000,"timestamp_seconds":1781983180,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67974e0"} 
[2026-06-21 00:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 00:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187694080001,"66":27800,"223":206,"19":37888,"24":39,"16":125676889179160576,"45":8224135896444618752},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,19,24,16,45]} 
[2026-06-21 00:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187694080001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:51:28] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-21 00:51:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8224135896444618752,"description":"Unknown IO ID 45"} 
[2026-06-21 00:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187694080001,"power":27800,"unknown_223":206,"unknown_19":37888,"ignition":39,"odometer":null,"unknown_45":8224135896444618752}} 
[2026-06-21 00:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":108547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:51:28] local.INFO: GPS data processed {"connection_id":108547,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:51:28] local.INFO: Acknowledgment sent {"connection_id":108547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:51:49] local.INFO: TCP Data received {"connection_id":108344,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:49] local.INFO: Processing buffer {"connection_id":108344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:49] local.INFO: IMEI packet received {"connection_id":108344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":108344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:51:53] local.INFO: TCP Data received {"connection_id":108344,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:53] local.INFO: Processing buffer {"connection_id":108344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:53] local.INFO: IMEI packet received {"connection_id":108344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":108344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:51:58] local.INFO: TCP Data received {"connection_id":108344,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:58] local.INFO: Processing buffer {"connection_id":108344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:51:58] local.INFO: IMEI packet received {"connection_id":108344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":108344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:51:59] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee679c6e8012d71e10006444440001d012d2b..."} 
[2026-06-21 00:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee679c6e8012d71e10006444440001d012d2b..."} 
[2026-06-21 00:51:59] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee679c6e8012d71e10006444440001d012d2b..."} 
[2026-06-21 00:51:59] local.INFO: Packet analysis {"connection_id":108547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:51:59] local.INFO: Extracted packet for processing {"connection_id":108547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee679"} 
[2026-06-21 00:51:59] local.INFO: GPS Element Parsed {"raw_longitude":762437888,"raw_latitude":105137216,"longitude_deg":76.2437888,"latitude_deg":10.5137216,"altitude":29,"angle":301,"satellites":43,"speed":0,"hex_longitude":"2d71e100","hex_latitude":"06444440","is_valid_coordinates":true} 
[2026-06-21 00:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187694080001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8224135896444618752,"note":"Value kept but may cause issues"} 
[2026-06-21 00:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983201000,"timestamp_ms":1781983201000,"timestamp_seconds":1781983201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee679c6e8"} 
[2026-06-21 00:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:51: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-06-21 00:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 00:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187694080001,"66":27908,"220":206,"19":37888,"24":0,"16":125676889179160576,"45":8224135896444618752},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-06-21 00:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187694080001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:51:59] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-21 00:51:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8224135896444618752,"description":"Unknown IO ID 45"} 
[2026-06-21 00:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187694080001,"power":27908,"unknown_220":206,"unknown_19":37888,"ignition":0,"odometer":null,"unknown_45":8224135896444618752}} 
[2026-06-21 00:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":108547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:51:59] local.INFO: GPS data processed {"connection_id":108547,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:51:59] local.INFO: Acknowledgment sent {"connection_id":108547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:52:00] local.INFO: TCP Data received {"connection_id":108344,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:52:00] local.INFO: Processing buffer {"connection_id":108344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:52:00] local.INFO: Packet analysis {"connection_id":108344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:00] local.INFO: Extracted packet for processing {"connection_id":108344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:52:00] 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-06-21 00:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:52:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:52:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":108344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:52:00] local.INFO: GPS data processed {"connection_id":108344,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:52:00] local.INFO: Acknowledgment sent {"connection_id":108344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:52:14] local.INFO: TCP Data received {"connection_id":108548,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:52:14] local.INFO: Processing buffer {"connection_id":108548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:52:14] local.INFO: IMEI packet received {"connection_id":108548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":108548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:52:19] local.INFO: TCP Data received {"connection_id":108548,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:52:19] local.INFO: Processing buffer {"connection_id":108548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:52:19] local.INFO: IMEI packet received {"connection_id":108548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":108548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:52:20] local.INFO: TCP Data received {"connection_id":108548,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67a18f0012d71980006446ef0001a012c2d..."} 
[2026-06-21 00:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67a18f0012d71980006446ef0001a012c2d..."} 
[2026-06-21 00:52:20] local.INFO: Processing buffer {"connection_id":108548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67a18f0012d71980006446ef0001a012c2d..."} 
[2026-06-21 00:52:20] local.INFO: Packet analysis {"connection_id":108548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:20] local.INFO: Extracted packet for processing {"connection_id":108548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:20] local.INFO: GPS Element Parsed {"raw_longitude":762419200,"raw_latitude":105148144,"longitude_deg":76.24192,"latitude_deg":10.5148144,"altitude":26,"angle":300,"satellites":45,"speed":0,"hex_longitude":"2d719800","hex_latitude":"06446ef0","is_valid_coordinates":true} 
[2026-06-21 00:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187699456001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8205840022960881664,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781983222000,"timestamp_ms":1781983222000,"timestamp_seconds":1781983222,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67a18f0"} 
[2026-06-21 00:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:52: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-06-21 00:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 00:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187699456001,"66":28006,"220":206,"19":37888,"24":0,"16":125676889179160576,"45":8205840022960881664},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-06-21 00:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187699456001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:52:20] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-21 00:52:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8205840022960881664,"description":"Unknown IO ID 45"} 
[2026-06-21 00:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187699456001,"power":28006,"unknown_220":206,"unknown_19":37888,"ignition":0,"odometer":null,"unknown_45":8205840022960881664}} 
[2026-06-21 00:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":108548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:52:20] local.INFO: GPS data processed {"connection_id":108548,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:52:20] local.INFO: Acknowledgment sent {"connection_id":108548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:52:52] local.INFO: TCP Data received {"connection_id":108548,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67afb800100000000000000000000000000..."} 
[2026-06-21 00:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67afb800100000000000000000000000000..."} 
[2026-06-21 00:52:52] local.INFO: Processing buffer {"connection_id":108548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67afb800100000000000000000000000000..."} 
[2026-06-21 00:52:52] local.INFO: Packet analysis {"connection_id":108548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:52] local.INFO: Extracted packet for processing {"connection_id":108548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 00:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187704832001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8185292349663801344,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781983280000,"timestamp_ms":1781983280000,"timestamp_seconds":1781983280,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67afb80"} 
[2026-06-21 00:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":108548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":108548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":108548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":108548,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 00:52:52] local.INFO: GPS data processed {"connection_id":108548,"processed":0,"errors":0,"total":1} 
[2026-06-21 00:52:52] local.INFO: Acknowledgment sent {"connection_id":108548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:52:53] local.INFO: TCP Data received {"connection_id":108345,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:52:53] local.INFO: Processing buffer {"connection_id":108345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:52:53] local.INFO: IMEI packet received {"connection_id":108345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":108345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:52:58] local.INFO: TCP Data received {"connection_id":108345,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:52:58] local.INFO: Processing buffer {"connection_id":108345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:52:58] local.INFO: IMEI packet received {"connection_id":108345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":108345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:52:59] local.INFO: TCP Data received {"connection_id":108345,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:52:59] local.INFO: Processing buffer {"connection_id":108345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:52:59] local.INFO: Packet analysis {"connection_id":108345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:59] local.INFO: Extracted packet for processing {"connection_id":108345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:52:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:52:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":108345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:52:59] local.INFO: GPS data processed {"connection_id":108345,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:52:59] local.INFO: Acknowledgment sent {"connection_id":108345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:53:29] local.INFO: TCP Data received {"connection_id":110094,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:53:29] local.INFO: Processing buffer {"connection_id":110094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:53:29] local.INFO: IMEI packet received {"connection_id":110094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":110094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:53:30] local.INFO: TCP Data received {"connection_id":108345,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:53:30] local.INFO: Processing buffer {"connection_id":108345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:53:30] local.INFO: Packet analysis {"connection_id":108345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:30] local.INFO: Extracted packet for processing {"connection_id":108345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:53:30] 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-06-21 00:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:53:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":108345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:53:30] local.INFO: GPS data processed {"connection_id":108345,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:53:30] local.INFO: Acknowledgment sent {"connection_id":108345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:53:32] local.INFO: TCP Data received {"connection_id":110094,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:53:32] local.INFO: Processing buffer {"connection_id":110094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:53:32] local.INFO: IMEI packet received {"connection_id":110094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":110094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:53:33] local.INFO: TCP Data received {"connection_id":110094,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67a8a38012d70f8400644aa50001b011431..."} 
[2026-06-21 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67a8a38012d70f8400644aa50001b011431..."} 
[2026-06-21 00:53:33] local.INFO: Processing buffer {"connection_id":110094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67a8a38012d70f8400644aa50001b011431..."} 
[2026-06-21 00:53:33] local.INFO: Packet analysis {"connection_id":110094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:33] local.INFO: Extracted packet for processing {"connection_id":110094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":762378304,"raw_latitude":105163344,"longitude_deg":76.2378304,"latitude_deg":10.5163344,"altitude":27,"angle":276,"satellites":49,"speed":49,"hex_longitude":"2d70f840","hex_latitude":"0644aa50","is_valid_coordinates":true} 
[2026-06-21 00:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 00:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781983251000,"timestamp_ms":1781983251000,"timestamp_seconds":1781983251,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67a8a38"} 
[2026-06-21 00:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:53: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 00:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"186":206,"19":37888,"24":49,"16":125676889179160576},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16]} 
[2026-06-21 00:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-21 00:53:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-21 00:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:53:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_186":206,"unknown_19":37888,"ignition":49,"odometer":null}} 
[2026-06-21 00:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":110094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:53:33] local.INFO: GPS data processed {"connection_id":110094,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:53:33] local.INFO: Acknowledgment sent {"connection_id":110094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:53:34] local.INFO: TCP Data received {"connection_id":110094,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67adc40012d70a7c00644b3d8001901132e..."} 
[2026-06-21 00:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67adc40012d70a7c00644b3d8001901132e..."} 
[2026-06-21 00:53:34] local.INFO: Processing buffer {"connection_id":110094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67adc40012d70a7c00644b3d8001901132e..."} 
[2026-06-21 00:53:34] local.INFO: Packet analysis {"connection_id":110094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:34] local.INFO: Extracted packet for processing {"connection_id":110094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":762357696,"raw_latitude":105165784,"longitude_deg":76.2357696,"latitude_deg":10.5165784,"altitude":25,"angle":275,"satellites":46,"speed":0,"hex_longitude":"2d70a7c0","hex_latitude":"0644b3d8","is_valid_coordinates":true} 
[2026-06-21 00:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187712256001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125676889179160576,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8140326722138165248,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781983272000,"timestamp_ms":1781983272000,"timestamp_seconds":1781983272,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67adc40"} 
[2026-06-21 00:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 00:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187712256001,"66":28028,"186":206,"19":37888,"24":0,"16":125676889179160576,"45":8140326722138165248},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-21 00:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187712256001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:53:34] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-21 00:53:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":37888,"description":"Unknown IO ID 19"} 
[2026-06-21 00:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125676889179160576,"km_value":125676889179160.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8140326722138165248,"description":"Unknown IO ID 45"} 
[2026-06-21 00:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187712256001,"power":28028,"unknown_186":206,"unknown_19":37888,"ignition":0,"odometer":null,"unknown_45":8140326722138165248}} 
[2026-06-21 00:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":110094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:53:34] local.INFO: GPS data processed {"connection_id":110094,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:53:34] local.INFO: Acknowledgment sent {"connection_id":110094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:53:53] local.INFO: TCP Data received {"connection_id":108549,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:53:53] local.INFO: Processing buffer {"connection_id":108549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:53:53] local.INFO: IMEI packet received {"connection_id":108549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":108549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:53:58] local.INFO: TCP Data received {"connection_id":108549,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:53:58] local.INFO: Processing buffer {"connection_id":108549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:53:58] local.INFO: IMEI packet received {"connection_id":108549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":108549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:53:59] local.INFO: TCP Data received {"connection_id":108549,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:53:59] local.INFO: Processing buffer {"connection_id":108549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:53:59] local.INFO: Packet analysis {"connection_id":108549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:59] local.INFO: Extracted packet for processing {"connection_id":108549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:53:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":108549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:53:59] local.INFO: GPS data processed {"connection_id":108549,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:53:59] local.INFO: Acknowledgment sent {"connection_id":108549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:54:13] local.INFO: TCP Data received {"connection_id":109134,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:54:13] local.INFO: Processing buffer {"connection_id":109134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:54:13] local.INFO: IMEI packet received {"connection_id":109134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":109134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:54:28] local.INFO: TCP Data received {"connection_id":109134,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:54:28] local.INFO: Processing buffer {"connection_id":109134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:54:28] local.INFO: IMEI packet received {"connection_id":109134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":109134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:54:31] local.INFO: TCP Data received {"connection_id":108549,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:54:31] local.INFO: Processing buffer {"connection_id":108549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:54:31] local.INFO: Packet analysis {"connection_id":108549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:54:31] local.INFO: Extracted packet for processing {"connection_id":108549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":108549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:54:31] local.INFO: GPS data processed {"connection_id":108549,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:54:31] local.INFO: Acknowledgment sent {"connection_id":108549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:54:33] local.INFO: TCP Data received {"connection_id":109134,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67cb8d0012d6f1e8006456b380019000525..."} 
[2026-06-21 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67cb8d0012d6f1e8006456b380019000525..."} 
[2026-06-21 00:54:33] local.INFO: Processing buffer {"connection_id":109134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67cb8d0012d6f1e8006456b380019000525..."} 
[2026-06-21 00:54:33] local.INFO: Packet analysis {"connection_id":109134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67c"} 
[2026-06-21 00:54:33] local.INFO: Extracted packet for processing {"connection_id":109134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67c"} 
[2026-06-21 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":762257024,"raw_latitude":105212728,"longitude_deg":76.2257024,"latitude_deg":10.5212728,"altitude":25,"angle":5,"satellites":37,"speed":30,"hex_longitude":"2d6f1e80","hex_latitude":"06456b38","is_valid_coordinates":true} 
[2026-06-21 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187748608001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125677559194058752,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8006977951933941760,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781983394000,"timestamp_ms":1781983394000,"timestamp_seconds":1781983394,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67cb8d0"} 
[2026-06-21 00:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:54: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-06-21 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-21 00:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187748608001,"66":27995,"192":206,"19":37632,"24":30,"16":125677559194058752,"45":8006977951933941760},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,19,24,16,45]} 
[2026-06-21 00:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187748608001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:54:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 00:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125677559194058752,"km_value":125677559194058.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8006977951933941760,"description":"Unknown IO ID 45"} 
[2026-06-21 00:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187748608001,"power":27995,"unknown_192":206,"unknown_19":37632,"ignition":30,"odometer":null,"unknown_45":8006977951933941760}} 
[2026-06-21 00:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":109134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:54:33] local.INFO: GPS data processed {"connection_id":109134,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:54:33] local.INFO: Acknowledgment sent {"connection_id":109134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:54:53] local.INFO: TCP Data received {"connection_id":108346,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:54:53] local.INFO: Processing buffer {"connection_id":108346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:54:53] local.INFO: IMEI packet received {"connection_id":108346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":108346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:54:58] local.INFO: TCP Data received {"connection_id":108346,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:54:58] local.INFO: Processing buffer {"connection_id":108346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:54:58] local.INFO: IMEI packet received {"connection_id":108346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":108346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:54:59] local.INFO: TCP Data received {"connection_id":108346,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:54:59] local.INFO: Processing buffer {"connection_id":108346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:54:59] local.INFO: Packet analysis {"connection_id":108346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:54:59] local.INFO: Extracted packet for processing {"connection_id":108346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:54:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":108346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:54:59] local.INFO: GPS data processed {"connection_id":108346,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:54:59] local.INFO: Acknowledgment sent {"connection_id":108346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:55:14] local.INFO: TCP Data received {"connection_id":108550,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:55:14] local.INFO: Processing buffer {"connection_id":108550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:55:14] local.INFO: IMEI packet received {"connection_id":108550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":108550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:55:16] local.INFO: TCP Data received {"connection_id":108550,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:55:16] local.INFO: Processing buffer {"connection_id":108550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:55:16] local.INFO: IMEI packet received {"connection_id":108550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":108550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:55:17] local.INFO: TCP Data received {"connection_id":108550,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67cbcb8012d6f1f0006456df80018001324..."} 
[2026-06-21 00:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67cbcb8012d6f1f0006456df80018001324..."} 
[2026-06-21 00:55:17] local.INFO: Processing buffer {"connection_id":108550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67cbcb8012d6f1f0006456df80018001324..."} 
[2026-06-21 00:55:17] local.INFO: Packet analysis {"connection_id":108550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67c"} 
[2026-06-21 00:55:17] local.INFO: Extracted packet for processing {"connection_id":108550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67c"} 
[2026-06-21 00:55:17] local.INFO: GPS Element Parsed {"raw_longitude":762257152,"raw_latitude":105213432,"longitude_deg":76.2257152,"latitude_deg":10.5213432,"altitude":24,"angle":19,"satellites":36,"speed":28,"hex_longitude":"2d6f1f00","hex_latitude":"06456df8","is_valid_coordinates":true} 
[2026-06-21 00:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187748864001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125677593553797120,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8006977951934134272,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781983395000,"timestamp_ms":1781983395000,"timestamp_seconds":1781983395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67cbcb8"} 
[2026-06-21 00:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-21 00:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":108550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":108550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":108550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187748864001,"66":27843,"192":206,"19":37632,"24":28,"16":125677593553797120,"45":8006977951934134272},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,19,24,16,45]} 
[2026-06-21 00:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187748864001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:55:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 00:55:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125677593553797120,"km_value":125677593553797.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8006977951934134272,"description":"Unknown IO ID 45"} 
[2026-06-21 00:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187748864001,"power":27843,"unknown_192":206,"unknown_19":37632,"ignition":28,"odometer":null,"unknown_45":8006977951934134272}} 
[2026-06-21 00:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":108550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:55:17] local.INFO: GPS data processed {"connection_id":108550,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:55:17] local.INFO: Acknowledgment sent {"connection_id":108550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:55:21] local.INFO: TCP Data received {"connection_id":108550,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67cd810012d6f248006458278001b00052e..."} 
[2026-06-21 00:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67cd810012d6f248006458278001b00052e..."} 
[2026-06-21 00:55:21] local.INFO: Processing buffer {"connection_id":108550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67cd810012d6f248006458278001b00052e..."} 
[2026-06-21 00:55:21] local.INFO: Packet analysis {"connection_id":108550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67c"} 
[2026-06-21 00:55:21] local.INFO: Extracted packet for processing {"connection_id":108550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67c"} 
[2026-06-21 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":762258560,"raw_latitude":105218680,"longitude_deg":76.225856,"latitude_deg":10.521868,"altitude":27,"angle":5,"satellites":46,"speed":33,"hex_longitude":"2d6f2480","hex_latitude":"06458278","is_valid_coordinates":true} 
[2026-06-21 00:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187749120001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125677855546802176,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8007118689422669824,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781983402000,"timestamp_ms":1781983402000,"timestamp_seconds":1781983402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67cd810"} 
[2026-06-21 00:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 00:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":108550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":108550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":108550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187749120001,"66":27876,"192":206,"19":37632,"24":33,"16":125677855546802176,"45":8007118689422669824},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,19,24,16,45]} 
[2026-06-21 00:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187749120001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:55:21] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 00:55:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125677855546802176,"km_value":125677855546802.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8007118689422669824,"description":"Unknown IO ID 45"} 
[2026-06-21 00:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187749120001,"power":27876,"unknown_192":206,"unknown_19":37632,"ignition":33,"odometer":null,"unknown_45":8007118689422669824}} 
[2026-06-21 00:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":108550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:55:21] local.INFO: GPS data processed {"connection_id":108550,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:55:21] local.INFO: Acknowledgment sent {"connection_id":108550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:55:31] local.INFO: TCP Data received {"connection_id":108346,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:55:31] local.INFO: Processing buffer {"connection_id":108346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:55:31] local.INFO: Packet analysis {"connection_id":108346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:55:31] local.INFO: Extracted packet for processing {"connection_id":108346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":108346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:55:31] local.INFO: GPS data processed {"connection_id":108346,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:55:31] local.INFO: Acknowledgment sent {"connection_id":108346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:55:53] local.INFO: TCP Data received {"connection_id":108550,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67e56e0012d6f30400646e660001201452d..."} 
[2026-06-21 00:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67e56e0012d6f30400646e660001201452d..."} 
[2026-06-21 00:55:53] local.INFO: Processing buffer {"connection_id":108550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67e56e0012d6f30400646e660001201452d..."} 
[2026-06-21 00:55:53] local.INFO: Packet analysis {"connection_id":108550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67e"} 
[2026-06-21 00:55:53] local.INFO: Extracted packet for processing {"connection_id":108550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67e"} 
[2026-06-21 00:55:53] local.INFO: GPS Element Parsed {"raw_longitude":762261568,"raw_latitude":105309792,"longitude_deg":76.2261568,"latitude_deg":10.5309792,"altitude":18,"angle":325,"satellites":45,"speed":17,"hex_longitude":"2d6f3040","hex_latitude":"0646e660","is_valid_coordinates":true} 
[2026-06-21 00:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187775744001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125682296542986240,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8012255607772203008,"note":"Value kept but may cause issues"} 
[2026-06-21 00:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781983500000,"timestamp_ms":1781983500000,"timestamp_seconds":1781983500,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67e56e0"} 
[2026-06-21 00:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 00:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":108550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":108550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":108550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187775744001,"66":27745,"21":206,"19":37632,"24":17,"16":125682296542986240,"45":8012255607772203008},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-06-21 00:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187775744001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:55:53] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-21 00:55:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125682296542986240,"km_value":125682296542986.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8012255607772203008,"description":"Unknown IO ID 45"} 
[2026-06-21 00:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187775744001,"power":27745,"unknown_21":206,"unknown_19":37632,"ignition":17,"odometer":null,"unknown_45":8012255607772203008}} 
[2026-06-21 00:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":108550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:55:53] local.INFO: GPS data processed {"connection_id":108550,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:55:53] local.INFO: Acknowledgment sent {"connection_id":108550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:55:58] local.INFO: TCP Data received {"connection_id":109135,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:55:58] local.INFO: Processing buffer {"connection_id":109135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:55:58] local.INFO: IMEI packet received {"connection_id":109135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":109135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:56:03] local.INFO: TCP Data received {"connection_id":109135,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:03] local.INFO: Processing buffer {"connection_id":109135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:03] local.INFO: IMEI packet received {"connection_id":109135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":109135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:56:04] local.INFO: TCP Data received {"connection_id":109135,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:56:04] local.INFO: Processing buffer {"connection_id":109135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:56:04] local.INFO: Packet analysis {"connection_id":109135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:56:04] local.INFO: Extracted packet for processing {"connection_id":109135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:56: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-06-21 00:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":109135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:56:04] local.INFO: GPS data processed {"connection_id":109135,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:56:04] local.INFO: Acknowledgment sent {"connection_id":109135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:56:09] local.INFO: TCP Data received {"connection_id":109135,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:56:09] local.INFO: Processing buffer {"connection_id":109135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67ad858012d34c2c006aa3e380008011131..."} 
[2026-06-21 00:56:09] local.INFO: Packet analysis {"connection_id":109135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:56:09] local.INFO: Extracted packet for processing {"connection_id":109135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67a"} 
[2026-06-21 00:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":8,"angle":273,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187640320001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56: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-06-21 00:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781983271000,"timestamp_ms":1781983271000,"timestamp_seconds":1781983271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67ad858"} 
[2026-06-21 00:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:56: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-06-21 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:56:09] 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-06-21 00:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187640320001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187640320001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187640320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":109135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:56:09] local.INFO: GPS data processed {"connection_id":109135,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:56:09] local.INFO: Acknowledgment sent {"connection_id":109135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:56:14] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:56:14] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:56:14] local.INFO: IMEI packet received {"connection_id":108551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":108551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:56:19] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:56:19] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:56:19] local.INFO: IMEI packet received {"connection_id":108551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 00:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":108551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:56:20] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67e5ac8012d6f2f000646e7500012012f2e..."} 
[2026-06-21 00:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67e5ac8012d6f2f000646e7500012012f2e..."} 
[2026-06-21 00:56:20] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67e5ac8012d6f2f000646e7500012012f2e..."} 
[2026-06-21 00:56:20] local.INFO: Packet analysis {"connection_id":108551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67e"} 
[2026-06-21 00:56:20] local.INFO: Extracted packet for processing {"connection_id":108551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67e"} 
[2026-06-21 00:56:20] local.INFO: GPS Element Parsed {"raw_longitude":762261248,"raw_latitude":105310032,"longitude_deg":76.2261248,"latitude_deg":10.5310032,"altitude":18,"angle":303,"satellites":46,"speed":13,"hex_longitude":"2d6f2f00","hex_latitude":"0646e750","is_valid_coordinates":true} 
[2026-06-21 00:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187776000001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125682313722855424,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8011974132795596800,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781983501000,"timestamp_ms":1781983501000,"timestamp_seconds":1781983501,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67e5ac8"} 
[2026-06-21 00:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 00:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187776000001,"66":28006,"21":206,"19":37632,"24":13,"16":125682313722855424,"45":8011974132795596800},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-06-21 00:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187776000001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:56:20] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-21 00:56:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125682313722855424,"km_value":125682313722855.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8011974132795596800,"description":"Unknown IO ID 45"} 
[2026-06-21 00:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187776000001,"power":28006,"unknown_21":206,"unknown_19":37632,"ignition":13,"odometer":null,"unknown_45":8011974132795596800}} 
[2026-06-21 00:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":108551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:56:20] local.INFO: GPS data processed {"connection_id":108551,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:56:20] local.INFO: Acknowledgment sent {"connection_id":108551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:56:50] local.INFO: TCP Data received {"connection_id":110095,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:50] local.INFO: Processing buffer {"connection_id":110095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:50] local.INFO: IMEI packet received {"connection_id":110095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":110095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:56:53] local.INFO: TCP Data received {"connection_id":110095,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:53] local.INFO: Processing buffer {"connection_id":110095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:53] local.INFO: IMEI packet received {"connection_id":110095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":110095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:56:57] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.216.206","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67e5eb0012d6f2e000646e7b00012011a2e..."} 
[2026-06-21 00:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67e5eb0012d6f2e000646e7b00012011a2e..."} 
[2026-06-21 00:56:57] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67e5eb0012d6f2e000646e7b00012011a2e..."} 
[2026-06-21 00:56:57] local.INFO: Packet analysis {"connection_id":108551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67e"} 
[2026-06-21 00:56:57] local.INFO: Extracted packet for processing {"connection_id":108551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67e"} 
[2026-06-21 00:56:57] local.INFO: GPS Element Parsed {"raw_longitude":762260992,"raw_latitude":105310128,"longitude_deg":76.2260992,"latitude_deg":10.5310128,"altitude":18,"angle":282,"satellites":46,"speed":11,"hex_longitude":"2d6f2e00","hex_latitude":"0646e7b0","is_valid_coordinates":true} 
[2026-06-21 00:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187776256001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125682330902724608,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8011622289074769920,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781983502000,"timestamp_ms":1781983502000,"timestamp_seconds":1781983502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67e5eb0"} 
[2026-06-21 00:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 00: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 00:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":108551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":108551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":108551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 00:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.216.206","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 00:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 00:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187776256001,"66":28006,"21":206,"19":37632,"24":11,"16":125682330902724608,"45":8011622289074769920},"client_ip":"117.224.216.206","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,19,24,16,45]} 
[2026-06-21 00:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 00:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 00:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187776256001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:56:57] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-21 00:56:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":37632,"description":"Unknown IO ID 19"} 
[2026-06-21 00:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125682330902724608,"km_value":125682330902724.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8011622289074769920,"description":"Unknown IO ID 45"} 
[2026-06-21 00:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187776256001,"power":28006,"unknown_21":206,"unknown_19":37632,"ignition":11,"odometer":null,"unknown_45":8011622289074769920}} 
[2026-06-21 00:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":108551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:56:57] local.INFO: GPS data processed {"connection_id":108551,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:56:57] local.INFO: Acknowledgment sent {"connection_id":108551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:56:58] local.INFO: TCP Data received {"connection_id":110095,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:58] local.INFO: Processing buffer {"connection_id":110095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:56:58] local.INFO: IMEI packet received {"connection_id":110095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":110095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:56:59] local.INFO: TCP Data received {"connection_id":110095,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:56:59] local.INFO: Processing buffer {"connection_id":110095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:56:59] local.INFO: Packet analysis {"connection_id":110095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:56:59] local.INFO: Extracted packet for processing {"connection_id":110095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 00:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:56:59] 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-06-21 00:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:56:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":110095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:56:59] local.INFO: GPS data processed {"connection_id":110095,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:56:59] local.INFO: Acknowledgment sent {"connection_id":110095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:57:31] local.INFO: TCP Data received {"connection_id":110095,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:57:31] local.INFO: Processing buffer {"connection_id":110095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:57:31] local.INFO: Packet analysis {"connection_id":110095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:57:31] local.INFO: Extracted packet for processing {"connection_id":110095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 00:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":110095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:57:31] local.INFO: GPS data processed {"connection_id":110095,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:57:31] local.INFO: Acknowledgment sent {"connection_id":110095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:57:53] local.INFO: TCP Data received {"connection_id":108552,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:57:53] local.INFO: Processing buffer {"connection_id":108552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:57:53] local.INFO: IMEI packet received {"connection_id":108552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":108552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:57:58] local.INFO: TCP Data received {"connection_id":108552,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:57:58] local.INFO: Processing buffer {"connection_id":108552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:57:58] local.INFO: IMEI packet received {"connection_id":108552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":108552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:57:59] local.INFO: TCP Data received {"connection_id":108552,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:57:59] local.INFO: Processing buffer {"connection_id":108552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:57:59] local.INFO: Packet analysis {"connection_id":108552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:57:59] local.INFO: Extracted packet for processing {"connection_id":108552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 00:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:57:59] 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-06-21 00:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":108552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:57:59] local.INFO: GPS data processed {"connection_id":108552,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:57:59] local.INFO: Acknowledgment sent {"connection_id":108552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:58:15] local.INFO: TCP Data received {"connection_id":108347,"ip":"117.224.216.206","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:58:15] local.INFO: Processing buffer {"connection_id":108347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:58:15] local.INFO: IMEI packet received {"connection_id":108347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":108347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:58:31] local.INFO: TCP Data received {"connection_id":108552,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:58:31] local.INFO: Processing buffer {"connection_id":108552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:58:31] local.INFO: Packet analysis {"connection_id":108552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:58:31] local.INFO: Extracted packet for processing {"connection_id":108552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 00:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":108552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:58:31] local.INFO: GPS data processed {"connection_id":108552,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:58:31] local.INFO: Acknowledgment sent {"connection_id":108552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:58:49] local.INFO: TCP Data received {"connection_id":109136,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:58:49] local.INFO: Processing buffer {"connection_id":109136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 00:58:49] local.INFO: IMEI packet received {"connection_id":109136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 00:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":109136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:58:53] local.INFO: TCP Data received {"connection_id":108348,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:58:53] local.INFO: Processing buffer {"connection_id":108348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:58:53] local.INFO: IMEI packet received {"connection_id":108348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":108348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:58:58] local.INFO: TCP Data received {"connection_id":108348,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:58:58] local.INFO: Processing buffer {"connection_id":108348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:58:58] local.INFO: IMEI packet received {"connection_id":108348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":108348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:58:59] local.INFO: TCP Data received {"connection_id":108348,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:58:59] local.INFO: Processing buffer {"connection_id":108348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:58:59] local.INFO: Packet analysis {"connection_id":108348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:58:59] local.INFO: Extracted packet for processing {"connection_id":108348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 00:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:58:59] 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-06-21 00:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:58:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:58:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":108348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:58:59] local.INFO: GPS data processed {"connection_id":108348,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:58:59] local.INFO: Acknowledgment sent {"connection_id":108348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:59:31] local.INFO: TCP Data received {"connection_id":108348,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:59:31] local.INFO: Processing buffer {"connection_id":108348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:59:31] local.INFO: Packet analysis {"connection_id":108348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:59:31] local.INFO: Extracted packet for processing {"connection_id":108348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 00:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 00:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 00:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 00:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":108348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:59:31] local.INFO: GPS data processed {"connection_id":108348,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:59:31] local.INFO: Acknowledgment sent {"connection_id":108348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 00:59:53] local.INFO: TCP Data received {"connection_id":109137,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:59:53] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:59:53] local.INFO: IMEI packet received {"connection_id":109137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 00:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":109137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 00:59:58] local.INFO: TCP Data received {"connection_id":109137,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:59:58] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 00:59:58] local.INFO: IMEI packet received {"connection_id":109137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 00:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":109137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 00:59:59] local.INFO: TCP Data received {"connection_id":109137,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:59:59] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 00:59:59] local.INFO: Packet analysis {"connection_id":109137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:59:59] local.INFO: Extracted packet for processing {"connection_id":109137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 00:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 00: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-06-21 00:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 00:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 00:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 00:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 00:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 00:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 00:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 00:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 00: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-06-21 00:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 00:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 00:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 00:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 00:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 00:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 00:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 00:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 00:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 00:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 00:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 00:59:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 00:59:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 00:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 00:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 00:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 00:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":109137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 00:59:59] local.INFO: GPS data processed {"connection_id":109137,"processed":1,"errors":0,"total":1} 
[2026-06-21 00:59:59] local.INFO: Acknowledgment sent {"connection_id":109137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:00:30] local.INFO: TCP Data received {"connection_id":109137,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:00:30] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:00:30] local.INFO: Packet analysis {"connection_id":109137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 01:00:30] local.INFO: Extracted packet for processing {"connection_id":109137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 01:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 01:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 01:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:00:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":109137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:00:30] local.INFO: GPS data processed {"connection_id":109137,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:00:30] local.INFO: Acknowledgment sent {"connection_id":109137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:00:58] local.INFO: TCP Data received {"connection_id":108553,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:00:58] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:00:58] local.INFO: IMEI packet received {"connection_id":108553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":108553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:01:03] local.INFO: TCP Data received {"connection_id":108553,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:03] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:03] local.INFO: IMEI packet received {"connection_id":108553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":108553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:01:04] local.INFO: TCP Data received {"connection_id":108553,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:01:04] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:01:04] local.INFO: Packet analysis {"connection_id":108553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 01:01:04] local.INFO: Extracted packet for processing {"connection_id":108553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 01:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 01:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 01:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:01: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-06-21 01:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":108553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:01:04] local.INFO: GPS data processed {"connection_id":108553,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:01:04] local.INFO: Acknowledgment sent {"connection_id":108553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:01:10] local.INFO: TCP Data received {"connection_id":108553,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:01:10] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee67f7020012d34c2c006aa3e38000b011130..."} 
[2026-06-21 01:01:10] local.INFO: Packet analysis {"connection_id":108553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 01:01:10] local.INFO: Extracted packet for processing {"connection_id":108553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee67f"} 
[2026-06-21 01:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111820344,"longitude_deg":75.8432448,"latitude_deg":11.1820344,"altitude":11,"angle":273,"satellites":48,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-06-21 01:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187717376001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01: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-06-21 01:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781983572000,"timestamp_ms":1781983572000,"timestamp_seconds":1781983572,"priority":1,"record_length":96,"hex_timestamp":"0000019ee67f7020"} 
[2026-06-21 01:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:01: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-06-21 01:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187717376001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187717376001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187717376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":108553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:01:10] local.INFO: GPS data processed {"connection_id":108553,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:01:10] local.INFO: Acknowledgment sent {"connection_id":108553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:01:51] local.INFO: TCP Data received {"connection_id":109138,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:51] local.INFO: Processing buffer {"connection_id":109138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:51] local.INFO: IMEI packet received {"connection_id":109138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":109138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:01:53] local.INFO: TCP Data received {"connection_id":109138,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:53] local.INFO: Processing buffer {"connection_id":109138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:53] local.INFO: IMEI packet received {"connection_id":109138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":109138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:01:58] local.INFO: TCP Data received {"connection_id":109138,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:58] local.INFO: Processing buffer {"connection_id":109138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:01:58] local.INFO: IMEI packet received {"connection_id":109138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":109138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:01:59] local.INFO: TCP Data received {"connection_id":109138,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:01:59] local.INFO: Processing buffer {"connection_id":109138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:01:59] local.INFO: Packet analysis {"connection_id":109138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:01:59] local.INFO: Extracted packet for processing {"connection_id":109138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":109138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:01:59] local.INFO: GPS data processed {"connection_id":109138,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:01:59] local.INFO: Acknowledgment sent {"connection_id":109138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:02:31] local.INFO: TCP Data received {"connection_id":109138,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:02:31] local.INFO: Processing buffer {"connection_id":109138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:02:31] local.INFO: Packet analysis {"connection_id":109138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:02:31] local.INFO: Extracted packet for processing {"connection_id":109138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":109138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:02:31] local.INFO: GPS data processed {"connection_id":109138,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:02:31] local.INFO: Acknowledgment sent {"connection_id":109138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:02:53] local.INFO: TCP Data received {"connection_id":108555,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:02:53] local.INFO: Processing buffer {"connection_id":108555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:02:53] local.INFO: IMEI packet received {"connection_id":108555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":108555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:02:58] local.INFO: TCP Data received {"connection_id":108555,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:02:58] local.INFO: Processing buffer {"connection_id":108555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:02:58] local.INFO: IMEI packet received {"connection_id":108555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":108555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:03:00] local.INFO: TCP Data received {"connection_id":108555,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:00] local.INFO: Processing buffer {"connection_id":108555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:00] local.INFO: Packet analysis {"connection_id":108555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:03:00] local.INFO: Extracted packet for processing {"connection_id":108555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:03:00] 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-06-21 01:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 01:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:03:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:03:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":108555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:03:00] local.INFO: GPS data processed {"connection_id":108555,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:03:00] local.INFO: Acknowledgment sent {"connection_id":108555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:03:31] local.INFO: TCP Data received {"connection_id":108555,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:31] local.INFO: Processing buffer {"connection_id":108555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:31] local.INFO: Packet analysis {"connection_id":108555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:03:31] local.INFO: Extracted packet for processing {"connection_id":108555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 01:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":108555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:03:31] local.INFO: GPS data processed {"connection_id":108555,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:03:31] local.INFO: Acknowledgment sent {"connection_id":108555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:03:53] local.INFO: TCP Data received {"connection_id":108351,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:03:53] local.INFO: Processing buffer {"connection_id":108351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:03:53] local.INFO: IMEI packet received {"connection_id":108351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":108351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:03:54] local.INFO: TCP Data received {"connection_id":108350,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:03:54] local.INFO: Processing buffer {"connection_id":108350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:03:54] local.INFO: IMEI packet received {"connection_id":108350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":108350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:03:56] local.INFO: TCP Data received {"connection_id":108350,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68515700100000000000000000000000000..."} 
[2026-06-21 01:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68515700100000000000000000000000000..."} 
[2026-06-21 01:03:56] local.INFO: Processing buffer {"connection_id":108350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68515700100000000000000000000000000..."} 
[2026-06-21 01:03:56] local.INFO: Packet analysis {"connection_id":108350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee685"} 
[2026-06-21 01:03:56] local.INFO: Extracted packet for processing {"connection_id":108350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee685"} 
[2026-06-21 01:03:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 01:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187874304001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125684757559246848,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7658230455835547648,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781983942000,"timestamp_ms":1781983942000,"timestamp_seconds":1781983942,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6851570"} 
[2026-06-21 01:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 01:03:56] 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-06-21 01:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":108350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":108350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":108350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":108350,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 01:03:56] local.INFO: GPS data processed {"connection_id":108350,"processed":0,"errors":0,"total":1} 
[2026-06-21 01:03:56] local.INFO: Acknowledgment sent {"connection_id":108350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:03:58] local.INFO: TCP Data received {"connection_id":108351,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:03:58] local.INFO: Processing buffer {"connection_id":108351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:03:58] local.INFO: IMEI packet received {"connection_id":108351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":108351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:03:59] local.INFO: TCP Data received {"connection_id":108351,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:59] local.INFO: Processing buffer {"connection_id":108351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:03:59] local.INFO: Packet analysis {"connection_id":108351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:03:59] local.INFO: Extracted packet for processing {"connection_id":108351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:03:59] 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-06-21 01:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 01:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:03:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:03:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":108351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:03:59] local.INFO: GPS data processed {"connection_id":108351,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:03:59] local.INFO: Acknowledgment sent {"connection_id":108351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:04:14] local.INFO: TCP Data received {"connection_id":108556,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:04:14] local.INFO: Processing buffer {"connection_id":108556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:04:14] local.INFO: IMEI packet received {"connection_id":108556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":108556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:04:18] local.INFO: TCP Data received {"connection_id":108556,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:04:18] local.INFO: Processing buffer {"connection_id":108556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:04:18] local.INFO: IMEI packet received {"connection_id":108556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":108556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:04:20] local.INFO: TCP Data received {"connection_id":108556,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee684a810012d69a440064869d00009012430..."} 
[2026-06-21 01:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee684a810012d69a440064869d00009012430..."} 
[2026-06-21 01:04:20] local.INFO: Processing buffer {"connection_id":108556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee684a810012d69a440064869d00009012430..."} 
[2026-06-21 01:04:20] local.INFO: Packet analysis {"connection_id":108556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:20] local.INFO: Extracted packet for processing {"connection_id":108556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:20] local.INFO: GPS Element Parsed {"raw_longitude":761898048,"raw_latitude":105408976,"longitude_deg":76.1898048,"latitude_deg":10.5408976,"altitude":9,"angle":292,"satellites":48,"speed":56,"hex_longitude":"2d69a440","hex_latitude":"064869d0","is_valid_coordinates":true} 
[2026-06-21 01:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125684757559246848,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,201,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 01:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781983914000,"timestamp_ms":1781983914000,"timestamp_seconds":1781983914,"priority":1,"record_length":96,"hex_timestamp":"0000019ee684a810"} 
[2026-06-21 01:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:04: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 01:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"201":206,"19":38144,"24":56,"16":125684757559246848},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16]} 
[2026-06-21 01:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-21 01:04:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-21 01:04:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125684757559246848,"km_value":125684757559246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:04:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_201":206,"unknown_19":38144,"ignition":56,"odometer":null}} 
[2026-06-21 01:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":108556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:04:20] local.INFO: GPS data processed {"connection_id":108556,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:04:20] local.INFO: Acknowledgment sent {"connection_id":108556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:04:31] local.INFO: TCP Data received {"connection_id":108351,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:04:31] local.INFO: Processing buffer {"connection_id":108351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:04:31] local.INFO: Packet analysis {"connection_id":108351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:31] local.INFO: Extracted packet for processing {"connection_id":108351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 01:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":108351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:04:31] local.INFO: GPS data processed {"connection_id":108351,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:04:31] local.INFO: Acknowledgment sent {"connection_id":108351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:04:52] local.INFO: TCP Data received {"connection_id":108556,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee684fa18012d69524006488d50000801262f..."} 
[2026-06-21 01:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee684fa18012d69524006488d50000801262f..."} 
[2026-06-21 01:04:52] local.INFO: Processing buffer {"connection_id":108556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee684fa18012d69524006488d50000801262f..."} 
[2026-06-21 01:04:52] local.INFO: Packet analysis {"connection_id":108556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:52] local.INFO: Extracted packet for processing {"connection_id":108556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:52] local.INFO: GPS Element Parsed {"raw_longitude":761877056,"raw_latitude":105418064,"longitude_deg":76.1877056,"latitude_deg":10.5418064,"altitude":8,"angle":294,"satellites":47,"speed":0,"hex_longitude":"2d695240","hex_latitude":"06488d50","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187881984001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125684757559246848,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7612279665891856384,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781983935000,"timestamp_ms":1781983935000,"timestamp_seconds":1781983935,"priority":1,"record_length":96,"hex_timestamp":"0000019ee684fa18"} 
[2026-06-21 01:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:04: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-06-21 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 01:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":108556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":108556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":108556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187881984001,"66":27908,"201":206,"19":38144,"24":0,"16":125684757559246848,"45":7612279665891856384},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-06-21 01:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187881984001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:04:52] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-21 01:04:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125684757559246848,"km_value":125684757559246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7612279665891856384,"description":"Unknown IO ID 45"} 
[2026-06-21 01:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187881984001,"power":27908,"unknown_201":206,"unknown_19":38144,"ignition":0,"odometer":null,"unknown_45":7612279665891856384}} 
[2026-06-21 01:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":108556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:04:52] local.INFO: GPS data processed {"connection_id":108556,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:04:52] local.INFO: Acknowledgment sent {"connection_id":108556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:04:53] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:04:53] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:04:53] local.INFO: IMEI packet received {"connection_id":109140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":109140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:04:58] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:04:58] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:04:58] local.INFO: IMEI packet received {"connection_id":109140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":109140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:04:59] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:04:59] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:04:59] local.INFO: Packet analysis {"connection_id":109140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:59] local.INFO: Extracted packet for processing {"connection_id":109140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:04:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:04:59] local.INFO: GPS data processed {"connection_id":109140,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:04:59] local.INFO: Acknowledgment sent {"connection_id":109140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:05:14] local.INFO: TCP Data received {"connection_id":108352,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:14] local.INFO: Processing buffer {"connection_id":108352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:14] local.INFO: IMEI packet received {"connection_id":108352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":108352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:05:15] local.INFO: TCP Data received {"connection_id":108352,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:15] local.INFO: Processing buffer {"connection_id":108352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:15] local.INFO: IMEI packet received {"connection_id":108352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":108352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:05:18] local.INFO: TCP Data received {"connection_id":108352,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:18] local.INFO: Processing buffer {"connection_id":108352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:18] local.INFO: IMEI packet received {"connection_id":108352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":108352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:05:24] local.INFO: TCP Data received {"connection_id":108352,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:24] local.INFO: Processing buffer {"connection_id":108352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:05:24] local.INFO: IMEI packet received {"connection_id":108352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":108352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:05:27] local.INFO: TCP Data received {"connection_id":108352,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee685dca80100000000000000000000000000..."} 
[2026-06-21 01:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee685dca80100000000000000000000000000..."} 
[2026-06-21 01:05:27] local.INFO: Processing buffer {"connection_id":108352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee685dca80100000000000000000000000000..."} 
[2026-06-21 01:05:27] local.INFO: Packet analysis {"connection_id":108352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee685"} 
[2026-06-21 01:05:27] local.INFO: Extracted packet for processing {"connection_id":108352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee685"} 
[2026-06-21 01:05:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 01:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187887360001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125684757559246848,"note":"Value kept but may cause issues"} 
[2026-06-21 01:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7589198717803909120,"note":"Value kept but may cause issues"} 
[2026-06-21 01:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781983993000,"timestamp_ms":1781983993000,"timestamp_seconds":1781983993,"priority":1,"record_length":96,"hex_timestamp":"0000019ee685dca8"} 
[2026-06-21 01:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 01:05: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-06-21 01:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":108352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":108352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":108352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":108352,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 01:05:27] local.INFO: GPS data processed {"connection_id":108352,"processed":0,"errors":0,"total":1} 
[2026-06-21 01:05:27] local.INFO: Acknowledgment sent {"connection_id":108352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:05:28] local.INFO: TCP Data received {"connection_id":108352,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6856390012d68b1400648d0a0000801252f..."} 
[2026-06-21 01:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6856390012d68b1400648d0a0000801252f..."} 
[2026-06-21 01:05:28] local.INFO: Processing buffer {"connection_id":108352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6856390012d68b1400648d0a0000801252f..."} 
[2026-06-21 01:05:28] local.INFO: Packet analysis {"connection_id":108352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee685"} 
[2026-06-21 01:05:28] local.INFO: Extracted packet for processing {"connection_id":108352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee685"} 
[2026-06-21 01:05:28] local.INFO: GPS Element Parsed {"raw_longitude":761835840,"raw_latitude":105435296,"longitude_deg":76.183584,"latitude_deg":10.5435296,"altitude":8,"angle":293,"satellites":47,"speed":54,"hex_longitude":"2d68b140","hex_latitude":"0648d0a0","is_valid_coordinates":true} 
[2026-06-21 01:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125684757559246848,"note":"Value kept but may cause issues"} 
[2026-06-21 01:05:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,205,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 01:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781983962000,"timestamp_ms":1781983962000,"timestamp_seconds":1781983962,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6856390"} 
[2026-06-21 01:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-21 01:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"205":206,"19":38144,"24":54,"16":125684757559246848},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,19,24,16]} 
[2026-06-21 01:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-21 01:05:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125684757559246848,"km_value":125684757559246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:05:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"cell_id":206,"unknown_19":38144,"ignition":54,"odometer":null}} 
[2026-06-21 01:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":108352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:05:28] local.INFO: GPS data processed {"connection_id":108352,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:05:28] local.INFO: Acknowledgment sent {"connection_id":108352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:05:31] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:05:31] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:05:31] local.INFO: Packet analysis {"connection_id":109140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:05:31] local.INFO: Extracted packet for processing {"connection_id":109140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":109140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:05:31] local.INFO: GPS data processed {"connection_id":109140,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:05:31] local.INFO: Acknowledgment sent {"connection_id":109140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:05:58] local.INFO: TCP Data received {"connection_id":108557,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:05:58] local.INFO: Processing buffer {"connection_id":108557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:05:58] local.INFO: IMEI packet received {"connection_id":108557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":108557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:06:03] local.INFO: TCP Data received {"connection_id":108557,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:03] local.INFO: Processing buffer {"connection_id":108557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:03] local.INFO: IMEI packet received {"connection_id":108557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":108557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:06:04] local.INFO: TCP Data received {"connection_id":108557,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:06:04] local.INFO: Processing buffer {"connection_id":108557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:06:04] local.INFO: Packet analysis {"connection_id":108557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:06:04] local.INFO: Extracted packet for processing {"connection_id":108557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:06: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-06-21 01:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:06:04] 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-06-21 01:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 01:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":108557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:06:04] local.INFO: GPS data processed {"connection_id":108557,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:06:04] local.INFO: Acknowledgment sent {"connection_id":108557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:06:09] local.INFO: TCP Data received {"connection_id":108557,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:06:09] local.INFO: Processing buffer {"connection_id":108557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68407e8012d34c18006aa3d600007011732..."} 
[2026-06-21 01:06:09] local.INFO: Packet analysis {"connection_id":108557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:06:09] local.INFO: Extracted packet for processing {"connection_id":108557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee684"} 
[2026-06-21 01:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187794432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312660992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06: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-06-21 01:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781983873000,"timestamp_ms":1781983873000,"timestamp_seconds":1781983873,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68407e8"} 
[2026-06-21 01:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:06: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-06-21 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 01:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:06:09] 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-06-21 01:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187794432001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801812170312660992},"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-06-21 01:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187794432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312660992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187794432001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170312660992}} 
[2026-06-21 01:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":108557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:06:09] local.INFO: GPS data processed {"connection_id":108557,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:06:09] local.INFO: Acknowledgment sent {"connection_id":108557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:06:14] local.INFO: TCP Data received {"connection_id":109141,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:06:14] local.INFO: Processing buffer {"connection_id":109141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:06:14] local.INFO: IMEI packet received {"connection_id":109141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":109141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:06:15] local.INFO: TCP Data received {"connection_id":109141,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:06:15] local.INFO: Processing buffer {"connection_id":109141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:06:15] local.INFO: IMEI packet received {"connection_id":109141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":109141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:06:18] local.INFO: TCP Data received {"connection_id":109141,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6879de0012d670000064af258001c014c2d..."} 
[2026-06-21 01:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6879de0012d670000064af258001c014c2d..."} 
[2026-06-21 01:06:18] local.INFO: Processing buffer {"connection_id":109141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6879de0012d670000064af258001c014c2d..."} 
[2026-06-21 01:06:18] local.INFO: Packet analysis {"connection_id":109141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee687"} 
[2026-06-21 01:06:18] local.INFO: Extracted packet for processing {"connection_id":109141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee687"} 
[2026-06-21 01:06:18] local.INFO: GPS Element Parsed {"raw_longitude":761724928,"raw_latitude":105575000,"longitude_deg":76.1724928,"latitude_deg":10.5575,"altitude":28,"angle":332,"satellites":45,"speed":46,"hex_longitude":"2d670000","hex_latitude":"064af258","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187929856001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125687596532629504,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7426646918791546880,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781984108000,"timestamp_ms":1781984108000,"timestamp_seconds":1781984108,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6879de0"} 
[2026-06-21 01:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:06: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-06-21 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 01:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":109141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":109141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":109141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187929856001,"66":27821,"152":206,"19":38144,"24":46,"16":125687596532629504,"45":7426646918791546880},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,19,24,16,45]} 
[2026-06-21 01:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187929856001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:06:18] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-06-21 01:06:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125687596532629504,"km_value":125687596532629.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7426646918791546880,"description":"Unknown IO ID 45"} 
[2026-06-21 01:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187929856001,"power":27821,"unknown_152":206,"unknown_19":38144,"ignition":46,"odometer":null,"unknown_45":7426646918791546880}} 
[2026-06-21 01:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":109141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:06:18] local.INFO: GPS data processed {"connection_id":109141,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:06:18] local.INFO: Acknowledgment sent {"connection_id":109141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:06:19] local.INFO: TCP Data received {"connection_id":109141,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee687bd20012d66ecc0064b1060001e013f2e..."} 
[2026-06-21 01:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee687bd20012d66ecc0064b1060001e013f2e..."} 
[2026-06-21 01:06:19] local.INFO: Processing buffer {"connection_id":109141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee687bd20012d66ecc0064b1060001e013f2e..."} 
[2026-06-21 01:06:19] local.INFO: Packet analysis {"connection_id":109141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee687"} 
[2026-06-21 01:06:19] local.INFO: Extracted packet for processing {"connection_id":109141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee687"} 
[2026-06-21 01:06:19] local.INFO: GPS Element Parsed {"raw_longitude":761720000,"raw_latitude":105582688,"longitude_deg":76.172,"latitude_deg":10.5582688,"altitude":30,"angle":319,"satellites":46,"speed":44,"hex_longitude":"2d66ecc0","hex_latitude":"064b1060","is_valid_coordinates":true} 
[2026-06-21 01:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187931648001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125688038914260992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7421932212933777408,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781984116000,"timestamp_ms":1781984116000,"timestamp_seconds":1781984116,"priority":1,"record_length":96,"hex_timestamp":"0000019ee687bd20"} 
[2026-06-21 01:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:06: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-06-21 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 01:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":109141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":109141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":109141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187931648001,"66":27876,"152":206,"19":38144,"24":44,"16":125688038914260992,"45":7421932212933777408},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,19,24,16,45]} 
[2026-06-21 01:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187931648001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:06:19] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-06-21 01:06:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125688038914260992,"km_value":125688038914260.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7421932212933777408,"description":"Unknown IO ID 45"} 
[2026-06-21 01:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187931648001,"power":27876,"unknown_152":206,"unknown_19":38144,"ignition":44,"odometer":null,"unknown_45":7421932212933777408}} 
[2026-06-21 01:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":109141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:06:19] local.INFO: GPS data processed {"connection_id":109141,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:06:19] local.INFO: Acknowledgment sent {"connection_id":109141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:06:52] local.INFO: TCP Data received {"connection_id":108353,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:52] local.INFO: Processing buffer {"connection_id":108353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:52] local.INFO: IMEI packet received {"connection_id":108353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":108353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:06:53] local.INFO: TCP Data received {"connection_id":108353,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:53] local.INFO: Processing buffer {"connection_id":108353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:53] local.INFO: IMEI packet received {"connection_id":108353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":108353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:06:58] local.INFO: TCP Data received {"connection_id":108353,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:58] local.INFO: Processing buffer {"connection_id":108353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:06:58] local.INFO: IMEI packet received {"connection_id":108353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":108353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:06:59] local.INFO: TCP Data received {"connection_id":108353,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:06:59] local.INFO: Processing buffer {"connection_id":108353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:06:59] local.INFO: Packet analysis {"connection_id":108353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:06:59] local.INFO: Extracted packet for processing {"connection_id":108353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:06:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:06:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":108353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:06:59] local.INFO: GPS data processed {"connection_id":108353,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:06:59] local.INFO: Acknowledgment sent {"connection_id":108353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:07:30] local.INFO: TCP Data received {"connection_id":108353,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:07:30] local.INFO: Processing buffer {"connection_id":108353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:07:30] local.INFO: Packet analysis {"connection_id":108353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:07:30] local.INFO: Extracted packet for processing {"connection_id":108353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:07:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:07:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":108353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:07:30] local.INFO: GPS data processed {"connection_id":108353,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:07:30] local.INFO: Acknowledgment sent {"connection_id":108353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:07:32] local.INFO: TCP Data received {"connection_id":109141,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee687bd20012d66ecc0064b1060001e013f2e..."} 
[2026-06-21 01:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee687bd20012d66ecc0064b1060001e013f2e..."} 
[2026-06-21 01:07:32] local.INFO: Processing buffer {"connection_id":109141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee687bd20012d66ecc0064b1060001e013f2e..."} 
[2026-06-21 01:07:32] local.INFO: Packet analysis {"connection_id":109141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee687"} 
[2026-06-21 01:07:32] local.INFO: Extracted packet for processing {"connection_id":109141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee687"} 
[2026-06-21 01:07:32] local.INFO: GPS Element Parsed {"raw_longitude":761720000,"raw_latitude":105582688,"longitude_deg":76.172,"latitude_deg":10.5582688,"altitude":30,"angle":319,"satellites":46,"speed":44,"hex_longitude":"2d66ecc0","hex_latitude":"064b1060","is_valid_coordinates":true} 
[2026-06-21 01:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187933696001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125688038914260992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7416513819634065408,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781984116000,"timestamp_ms":1781984116000,"timestamp_seconds":1781984116,"priority":1,"record_length":96,"hex_timestamp":"0000019ee687bd20"} 
[2026-06-21 01:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 01:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187933696001,"66":27876,"152":206,"19":38144,"24":44,"16":125688038914260992,"45":7416513819634065408},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,19,24,16,45]} 
[2026-06-21 01:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187933696001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:07:32] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-06-21 01:07:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125688038914260992,"km_value":125688038914260.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7416513819634065408,"description":"Unknown IO ID 45"} 
[2026-06-21 01:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187933696001,"power":27876,"unknown_152":206,"unknown_19":38144,"ignition":44,"odometer":null,"unknown_45":7416513819634065408}} 
[2026-06-21 01:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":109141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:07:32] local.INFO: GPS data processed {"connection_id":109141,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:07:32] local.INFO: Acknowledgment sent {"connection_id":109141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:07:53] local.INFO: TCP Data received {"connection_id":108354,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:07:53] local.INFO: Processing buffer {"connection_id":108354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:07:53] local.INFO: IMEI packet received {"connection_id":108354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":108354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:07:57] local.INFO: TCP Data received {"connection_id":108558,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:07:57] local.INFO: Processing buffer {"connection_id":108558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:07:57] local.INFO: IMEI packet received {"connection_id":108558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":108558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:07:58] local.INFO: TCP Data received {"connection_id":108354,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:07:58] local.INFO: Processing buffer {"connection_id":108354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:07:58] local.INFO: IMEI packet received {"connection_id":108354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":108354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:07:59] local.INFO: TCP Data received {"connection_id":108354,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:07:59] local.INFO: Processing buffer {"connection_id":108354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:07:59] local.INFO: Packet analysis {"connection_id":108354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:07:59] local.INFO: Extracted packet for processing {"connection_id":108354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:07:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":108354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:07:59] local.INFO: GPS data processed {"connection_id":108354,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:07:59] local.INFO: Acknowledgment sent {"connection_id":108354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:08:01] local.INFO: TCP Data received {"connection_id":108558,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:01] local.INFO: Processing buffer {"connection_id":108558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:01] local.INFO: IMEI packet received {"connection_id":108558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":108558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:08:14] local.INFO: TCP Data received {"connection_id":109142,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:14] local.INFO: Processing buffer {"connection_id":109142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:14] local.INFO: IMEI packet received {"connection_id":109142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":109142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:08:16] local.INFO: TCP Data received {"connection_id":109142,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:16] local.INFO: Processing buffer {"connection_id":109142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:08:16] local.INFO: IMEI packet received {"connection_id":109142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":109142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:08:30] local.INFO: TCP Data received {"connection_id":108354,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:08:30] local.INFO: Processing buffer {"connection_id":108354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:08:30] local.INFO: Packet analysis {"connection_id":108354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:08:30] local.INFO: Extracted packet for processing {"connection_id":108354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:08:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":108354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:08:30] local.INFO: GPS data processed {"connection_id":108354,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:08:30] local.INFO: Acknowledgment sent {"connection_id":108354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:08:53] local.INFO: TCP Data received {"connection_id":108355,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:08:53] local.INFO: Processing buffer {"connection_id":108355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:08:53] local.INFO: IMEI packet received {"connection_id":108355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":108355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:08:58] local.INFO: TCP Data received {"connection_id":108355,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:08:58] local.INFO: Processing buffer {"connection_id":108355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:08:58] local.INFO: IMEI packet received {"connection_id":108355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":108355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:08:59] local.INFO: TCP Data received {"connection_id":108355,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:08:59] local.INFO: Processing buffer {"connection_id":108355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:08:59] local.INFO: Packet analysis {"connection_id":108355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:08:59] local.INFO: Extracted packet for processing {"connection_id":108355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:08:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:08:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":108355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:08:59] local.INFO: GPS data processed {"connection_id":108355,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:08:59] local.INFO: Acknowledgment sent {"connection_id":108355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:09:30] local.INFO: TCP Data received {"connection_id":108355,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:09:30] local.INFO: Processing buffer {"connection_id":108355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:09:30] local.INFO: Packet analysis {"connection_id":108355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:09:30] local.INFO: Extracted packet for processing {"connection_id":108355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:09:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":108355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:09:30] local.INFO: GPS data processed {"connection_id":108355,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:09:30] local.INFO: Acknowledgment sent {"connection_id":108355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:09:53] local.INFO: TCP Data received {"connection_id":108559,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:09:53] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:09:53] local.INFO: IMEI packet received {"connection_id":108559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":108559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:09:58] local.INFO: TCP Data received {"connection_id":108559,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:09:58] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:09:58] local.INFO: IMEI packet received {"connection_id":108559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":108559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:10:03] local.INFO: TCP Data received {"connection_id":108559,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:10:03] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:10:03] local.INFO: IMEI packet received {"connection_id":108559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":108559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:10:05] local.INFO: TCP Data received {"connection_id":108559,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:10:05] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:10:05] local.INFO: Packet analysis {"connection_id":108559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:10:05] local.INFO: Extracted packet for processing {"connection_id":108559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:10: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-06-21 01:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":108559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:10:05] local.INFO: GPS data processed {"connection_id":108559,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:10:05] local.INFO: Acknowledgment sent {"connection_id":108559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:10:37] local.INFO: TCP Data received {"connection_id":108559,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:10:37] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:10:37] local.INFO: Packet analysis {"connection_id":108559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:10:37] local.INFO: Extracted packet for processing {"connection_id":108559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01: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-06-21 01:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:10: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-06-21 01:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":108559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:10:37] local.INFO: GPS data processed {"connection_id":108559,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:10:37] local.INFO: Acknowledgment sent {"connection_id":108559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:10:58] local.INFO: TCP Data received {"connection_id":110097,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:10:58] local.INFO: Processing buffer {"connection_id":110097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:10:58] local.INFO: IMEI packet received {"connection_id":110097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":110097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:11:03] local.INFO: TCP Data received {"connection_id":110097,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:03] local.INFO: Processing buffer {"connection_id":110097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:03] local.INFO: IMEI packet received {"connection_id":110097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":110097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:11:04] local.INFO: TCP Data received {"connection_id":110097,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:11:04] local.INFO: Processing buffer {"connection_id":110097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:11:04] local.INFO: Packet analysis {"connection_id":110097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:11:04] local.INFO: Extracted packet for processing {"connection_id":110097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:11: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-06-21 01:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":110097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:11:04] local.INFO: GPS data processed {"connection_id":110097,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:11:04] local.INFO: Acknowledgment sent {"connection_id":110097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:11:09] local.INFO: TCP Data received {"connection_id":110097,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:11:09] local.INFO: Processing buffer {"connection_id":110097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6889fb0012d34c18006aa3d600009011731..."} 
[2026-06-21 01:11:09] local.INFO: Packet analysis {"connection_id":110097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:11:09] local.INFO: Extracted packet for processing {"connection_id":110097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee688"} 
[2026-06-21 01:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187871488001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11: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-06-21 01:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781984174000,"timestamp_ms":1781984174000,"timestamp_seconds":1781984174,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6889fb0"} 
[2026-06-21 01:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:11: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-06-21 01:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:11:09] 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-06-21 01:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187871488001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187871488001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187871488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":110097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:11:09] local.INFO: GPS data processed {"connection_id":110097,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:11:09] local.INFO: Acknowledgment sent {"connection_id":110097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:11:53] local.INFO: TCP Data received {"connection_id":109145,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:53] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:53] local.INFO: IMEI packet received {"connection_id":109145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":109145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:11:54] local.INFO: TCP Data received {"connection_id":109145,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:54] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:54] local.INFO: IMEI packet received {"connection_id":109145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":109145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:11:58] local.INFO: TCP Data received {"connection_id":109145,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:58] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:11:58] local.INFO: IMEI packet received {"connection_id":109145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":109145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:11:59] local.INFO: TCP Data received {"connection_id":109145,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:11:59] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:11:59] local.INFO: Packet analysis {"connection_id":109145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:11:59] local.INFO: Extracted packet for processing {"connection_id":109145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:11:59] 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-06-21 01:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":109145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:11:59] local.INFO: GPS data processed {"connection_id":109145,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:11:59] local.INFO: Acknowledgment sent {"connection_id":109145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:12:04] local.INFO: TCP Data received {"connection_id":109145,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:04] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:04] local.INFO: Packet analysis {"connection_id":109145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:12:04] local.INFO: Extracted packet for processing {"connection_id":109145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:12: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-06-21 01:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:12:04] 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-06-21 01:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":109145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:12:04] local.INFO: GPS data processed {"connection_id":109145,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:12:04] local.INFO: Acknowledgment sent {"connection_id":109145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:12:35] local.INFO: TCP Data received {"connection_id":109145,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:35] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:35] local.INFO: Packet analysis {"connection_id":109145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:12:35] local.INFO: Extracted packet for processing {"connection_id":109145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12: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-06-21 01:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:12:35] 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-06-21 01:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":109145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:12:35] local.INFO: GPS data processed {"connection_id":109145,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:12:35] local.INFO: Acknowledgment sent {"connection_id":109145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:12:53] local.INFO: TCP Data received {"connection_id":108560,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:12:53] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:12:53] local.INFO: IMEI packet received {"connection_id":108560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":108560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:12:58] local.INFO: TCP Data received {"connection_id":108560,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:12:58] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:12:58] local.INFO: IMEI packet received {"connection_id":108560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":108560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:12:59] local.INFO: TCP Data received {"connection_id":108560,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:59] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:12:59] local.INFO: Packet analysis {"connection_id":108560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:12:59] local.INFO: Extracted packet for processing {"connection_id":108560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:12:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":108560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:12:59] local.INFO: GPS data processed {"connection_id":108560,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:12:59] local.INFO: Acknowledgment sent {"connection_id":108560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:13:19] local.INFO: TCP Data received {"connection_id":108357,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:13:19] local.INFO: Processing buffer {"connection_id":108357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:13:19] local.INFO: IMEI packet received {"connection_id":108357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":108357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:13:21] local.INFO: TCP Data received {"connection_id":108357,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68dc418012d62324006526840000a013a2b..."} 
[2026-06-21 01:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68dc418012d62324006526840000a013a2b..."} 
[2026-06-21 01:13:21] local.INFO: Processing buffer {"connection_id":108357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68dc418012d62324006526840000a013a2b..."} 
[2026-06-21 01:13:21] local.INFO: Packet analysis {"connection_id":108357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:21] local.INFO: Extracted packet for processing {"connection_id":108357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:21] local.INFO: GPS Element Parsed {"raw_longitude":761410112,"raw_latitude":106063936,"longitude_deg":76.1410112,"latitude_deg":10.6063936,"altitude":10,"angle":314,"satellites":43,"speed":58,"hex_longitude":"2d623240","hex_latitude":"06526840","is_valid_coordinates":true} 
[2026-06-21 01:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188033024001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125716295504101376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7084091872260145152,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781984511000,"timestamp_ms":1781984511000,"timestamp_seconds":1781984511,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68dc418"} 
[2026-06-21 01:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 01:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":108357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":108357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":108357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188033024001,"66":27767,"179":206,"19":38144,"24":58,"16":125716295504101376,"45":7084091872260145152},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-06-21 01:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188033024001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:13:21] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-21 01:13:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125716295504101376,"km_value":125716295504101.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7084091872260145152,"description":"Unknown IO ID 45"} 
[2026-06-21 01:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188033024001,"power":27767,"unknown_179":206,"unknown_19":38144,"ignition":58,"odometer":null,"unknown_45":7084091872260145152}} 
[2026-06-21 01:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":108357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:13:21] local.INFO: GPS data processed {"connection_id":108357,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:13:21] local.INFO: Acknowledgment sent {"connection_id":108357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:13:30] local.INFO: TCP Data received {"connection_id":108560,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:13:30] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:13:30] local.INFO: Packet analysis {"connection_id":108560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:30] local.INFO: Extracted packet for processing {"connection_id":108560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:13:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":108560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:13:30] local.INFO: GPS data processed {"connection_id":108560,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:13:30] local.INFO: Acknowledgment sent {"connection_id":108560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:13:53] local.INFO: TCP Data received {"connection_id":108358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:13:53] local.INFO: Processing buffer {"connection_id":108358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:13:53] local.INFO: IMEI packet received {"connection_id":108358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":108358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:13:53] local.INFO: TCP Data received {"connection_id":108357,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68ddf70012d62154006528430000a01392a..."} 
[2026-06-21 01:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68ddf70012d62154006528430000a01392a..."} 
[2026-06-21 01:13:53] local.INFO: Processing buffer {"connection_id":108357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68ddf70012d62154006528430000a01392a..."} 
[2026-06-21 01:13:53] local.INFO: Packet analysis {"connection_id":108357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:53] local.INFO: Extracted packet for processing {"connection_id":108357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:53] local.INFO: GPS Element Parsed {"raw_longitude":761402688,"raw_latitude":106071088,"longitude_deg":76.1402688,"latitude_deg":10.6071088,"altitude":10,"angle":313,"satellites":42,"speed":57,"hex_longitude":"2d621540","hex_latitude":"06528430","is_valid_coordinates":true} 
[2026-06-21 01:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188034816001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125716789425340416,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7075788360449015808,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781984518000,"timestamp_ms":1781984518000,"timestamp_seconds":1781984518,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68ddf70"} 
[2026-06-21 01:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-21 01:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":108357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":108357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":108357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188034816001,"66":27821,"179":206,"19":38144,"24":57,"16":125716789425340416,"45":7075788360449015808},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-06-21 01:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188034816001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:13:53] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-21 01:13:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125716789425340416,"km_value":125716789425340.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7075788360449015808,"description":"Unknown IO ID 45"} 
[2026-06-21 01:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188034816001,"power":27821,"unknown_179":206,"unknown_19":38144,"ignition":57,"odometer":null,"unknown_45":7075788360449015808}} 
[2026-06-21 01:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":108357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:13:53] local.INFO: GPS data processed {"connection_id":108357,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:13:53] local.INFO: Acknowledgment sent {"connection_id":108357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:13:58] local.INFO: TCP Data received {"connection_id":108358,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:13:58] local.INFO: Processing buffer {"connection_id":108358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:13:58] local.INFO: IMEI packet received {"connection_id":108358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":108358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:13:59] local.INFO: TCP Data received {"connection_id":108358,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:13:59] local.INFO: Processing buffer {"connection_id":108358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:13:59] local.INFO: Packet analysis {"connection_id":108358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:59] local.INFO: Extracted packet for processing {"connection_id":108358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":108358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:13:59] local.INFO: GPS data processed {"connection_id":108358,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:13:59] local.INFO: Acknowledgment sent {"connection_id":108358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:14:31] local.INFO: TCP Data received {"connection_id":108358,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:14:31] local.INFO: Processing buffer {"connection_id":108358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:14:31] local.INFO: Packet analysis {"connection_id":108358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:14:31] local.INFO: Extracted packet for processing {"connection_id":108358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":108358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:14:31] local.INFO: GPS data processed {"connection_id":108358,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:14:31] local.INFO: Acknowledgment sent {"connection_id":108358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:14:35] local.INFO: TCP Data received {"connection_id":109146,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:14:35] local.INFO: Processing buffer {"connection_id":109146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:14:35] local.INFO: IMEI packet received {"connection_id":109146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":109146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:14:37] local.INFO: TCP Data received {"connection_id":109146,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:14:37] local.INFO: Processing buffer {"connection_id":109146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:14:37] local.INFO: IMEI packet received {"connection_id":109146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":109146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:14:37] local.INFO: TCP Data received {"connection_id":109146,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68f23a8012d60ca0006538138000f012b2b..."} 
[2026-06-21 01:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68f23a8012d60ca0006538138000f012b2b..."} 
[2026-06-21 01:14:37] local.INFO: Processing buffer {"connection_id":109146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68f23a8012d60ca0006538138000f012b2b..."} 
[2026-06-21 01:14:37] local.INFO: Packet analysis {"connection_id":109146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:14:37] local.INFO: Extracted packet for processing {"connection_id":109146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":761317888,"raw_latitude":106135864,"longitude_deg":76.1317888,"latitude_deg":10.6135864,"altitude":15,"angle":299,"satellites":43,"speed":53,"hex_longitude":"2d60ca00","hex_latitude":"06538138","is_valid_coordinates":true} 
[2026-06-21 01:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188056064001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125721913321324544,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6983464568104957952,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781984601000,"timestamp_ms":1781984601000,"timestamp_seconds":1781984601,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68f23a8"} 
[2026-06-21 01:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 01:14: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-06-21 01:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188056064001,"66":27876,"49":206,"19":38144,"24":53,"16":125721913321324544,"45":6983464568104957952},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-06-21 01:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188056064001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:14:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-21 01:14:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125721913321324544,"km_value":125721913321324.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6983464568104957952,"description":"Unknown IO ID 45"} 
[2026-06-21 01:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188056064001,"power":27876,"unknown_49":206,"unknown_19":38144,"ignition":53,"odometer":null,"unknown_45":6983464568104957952}} 
[2026-06-21 01:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":109146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:14:38] local.INFO: GPS data processed {"connection_id":109146,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:14:38] local.INFO: Acknowledgment sent {"connection_id":109146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:14:39] local.INFO: TCP Data received {"connection_id":109146,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68f3f00012d60a940065394a8000c01292b..."} 
[2026-06-21 01:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68f3f00012d60a940065394a8000c01292b..."} 
[2026-06-21 01:14:39] local.INFO: Processing buffer {"connection_id":109146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68f3f00012d60a940065394a8000c01292b..."} 
[2026-06-21 01:14:39] local.INFO: Packet analysis {"connection_id":109146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:14:39] local.INFO: Extracted packet for processing {"connection_id":109146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:14:39] local.INFO: GPS Element Parsed {"raw_longitude":761309504,"raw_latitude":106140840,"longitude_deg":76.1309504,"latitude_deg":10.614084,"altitude":12,"angle":297,"satellites":43,"speed":55,"hex_longitude":"2d60a940","hex_latitude":"065394a8","is_valid_coordinates":true} 
[2026-06-21 01:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188057856001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125722377177792512,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6974387000107415552,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781984608000,"timestamp_ms":1781984608000,"timestamp_seconds":1781984608,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68f3f00"} 
[2026-06-21 01:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01: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-06-21 01:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":109146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":109146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":109146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188057856001,"66":27984,"49":206,"19":38144,"24":55,"16":125722377177792512,"45":6974387000107415552},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-06-21 01:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188057856001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:14:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-21 01:14:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125722377177792512,"km_value":125722377177792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6974387000107415552,"description":"Unknown IO ID 45"} 
[2026-06-21 01:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188057856001,"power":27984,"unknown_49":206,"unknown_19":38144,"ignition":55,"odometer":null,"unknown_45":6974387000107415552}} 
[2026-06-21 01:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":109146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:14:39] local.INFO: GPS data processed {"connection_id":109146,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:14:39] local.INFO: Acknowledgment sent {"connection_id":109146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:14:53] local.INFO: TCP Data received {"connection_id":108561,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:14:53] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:14:53] local.INFO: IMEI packet received {"connection_id":108561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":108561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:14:58] local.INFO: TCP Data received {"connection_id":108561,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:14:58] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:14:58] local.INFO: IMEI packet received {"connection_id":108561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":108561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:14:59] local.INFO: TCP Data received {"connection_id":108561,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:14:59] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:14:59] local.INFO: Packet analysis {"connection_id":108561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:14:59] local.INFO: Extracted packet for processing {"connection_id":108561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:14:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:14:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":108561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:14:59] local.INFO: GPS data processed {"connection_id":108561,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:14:59] local.INFO: Acknowledgment sent {"connection_id":108561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:15:14] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:14] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:14] local.INFO: IMEI packet received {"connection_id":108562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":108562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:15:15] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:15] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:15] local.INFO: IMEI packet received {"connection_id":108562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":108562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:15:19] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:19] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:15:19] local.INFO: IMEI packet received {"connection_id":108562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":108562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:15:20] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68f5a58012d6086c00653a680000a01292b..."} 
[2026-06-21 01:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68f5a58012d6086c00653a680000a01292b..."} 
[2026-06-21 01:15:20] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68f5a58012d6086c00653a680000a01292b..."} 
[2026-06-21 01:15:20] local.INFO: Packet analysis {"connection_id":108562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:15:20] local.INFO: Extracted packet for processing {"connection_id":108562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:15:20] local.INFO: GPS Element Parsed {"raw_longitude":761300672,"raw_latitude":106145408,"longitude_deg":76.1300672,"latitude_deg":10.6145408,"altitude":10,"angle":297,"satellites":43,"speed":56,"hex_longitude":"2d6086c0","hex_latitude":"0653a680","is_valid_coordinates":true} 
[2026-06-21 01:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188059648001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125722853919162368,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6965168694621415424,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781984615000,"timestamp_ms":1781984615000,"timestamp_seconds":1781984615,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68f5a58"} 
[2026-06-21 01:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:15: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-06-21 01:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 01:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188059648001,"66":27832,"49":206,"19":38144,"24":56,"16":125722853919162368,"45":6965168694621415424},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-06-21 01:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188059648001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:15:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-21 01:15:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125722853919162368,"km_value":125722853919162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6965168694621415424,"description":"Unknown IO ID 45"} 
[2026-06-21 01:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188059648001,"power":27832,"unknown_49":206,"unknown_19":38144,"ignition":56,"odometer":null,"unknown_45":6965168694621415424}} 
[2026-06-21 01:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":108562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:15:20] local.INFO: GPS data processed {"connection_id":108562,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:15:20] local.INFO: Acknowledgment sent {"connection_id":108562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:15:22] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68f75b0012d6063c00653b780000901292c..."} 
[2026-06-21 01:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68f75b0012d6063c00653b780000901292c..."} 
[2026-06-21 01:15:22] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68f75b0012d6063c00653b780000901292c..."} 
[2026-06-21 01:15:22] local.INFO: Packet analysis {"connection_id":108562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:15:22] local.INFO: Extracted packet for processing {"connection_id":108562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:15:22] local.INFO: GPS Element Parsed {"raw_longitude":761291712,"raw_latitude":106149760,"longitude_deg":76.1291712,"latitude_deg":10.614976,"altitude":9,"angle":297,"satellites":44,"speed":54,"hex_longitude":"2d6063c0","hex_latitude":"0653b780","is_valid_coordinates":true} 
[2026-06-21 01:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188061440001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125723330660532224,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6955457807926067200,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781984622000,"timestamp_ms":1781984622000,"timestamp_seconds":1781984622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68f75b0"} 
[2026-06-21 01:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 01:15:22] 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-06-21 01:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":108562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":108562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":108562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188061440001,"66":27887,"49":206,"19":38144,"24":54,"16":125723330660532224,"45":6955457807926067200},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-06-21 01:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188061440001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:15:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-21 01:15:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125723330660532224,"km_value":125723330660532.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6955457807926067200,"description":"Unknown IO ID 45"} 
[2026-06-21 01:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188061440001,"power":27887,"unknown_49":206,"unknown_19":38144,"ignition":54,"odometer":null,"unknown_45":6955457807926067200}} 
[2026-06-21 01:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":108562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:15:22] local.INFO: GPS data processed {"connection_id":108562,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:15:22] local.INFO: Acknowledgment sent {"connection_id":108562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:15:31] local.INFO: TCP Data received {"connection_id":108561,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:15:31] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:15:31] local.INFO: Packet analysis {"connection_id":108561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:15:31] local.INFO: Extracted packet for processing {"connection_id":108561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":108561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:15:31] local.INFO: GPS data processed {"connection_id":108561,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:15:31] local.INFO: Acknowledgment sent {"connection_id":108561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:15:54] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68f94f0012d6041c00653c950000b012a2c..."} 
[2026-06-21 01:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68f94f0012d6041c00653c950000b012a2c..."} 
[2026-06-21 01:15:54] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68f94f0012d6041c00653c950000b012a2c..."} 
[2026-06-21 01:15:54] local.INFO: Packet analysis {"connection_id":108562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:15:54] local.INFO: Extracted packet for processing {"connection_id":108562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:15:54] local.INFO: GPS Element Parsed {"raw_longitude":761283008,"raw_latitude":106154320,"longitude_deg":76.1283008,"latitude_deg":10.615432,"altitude":11,"angle":298,"satellites":44,"speed":41,"hex_longitude":"2d6041c0","hex_latitude":"0653c950","is_valid_coordinates":true} 
[2026-06-21 01:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188063232001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125723798811967488,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6945606183742308352,"note":"Value kept but may cause issues"} 
[2026-06-21 01:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781984630000,"timestamp_ms":1781984630000,"timestamp_seconds":1781984630,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68f94f0"} 
[2026-06-21 01:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 01:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":108562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":108562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":108562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188063232001,"66":27832,"49":206,"19":38144,"24":41,"16":125723798811967488,"45":6945606183742308352},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-06-21 01:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188063232001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:15:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-21 01:15:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125723798811967488,"km_value":125723798811967.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6945606183742308352,"description":"Unknown IO ID 45"} 
[2026-06-21 01:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188063232001,"power":27832,"unknown_49":206,"unknown_19":38144,"ignition":41,"odometer":null,"unknown_45":6945606183742308352}} 
[2026-06-21 01:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":108562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:15:54] local.INFO: GPS data processed {"connection_id":108562,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:15:54] local.INFO: Acknowledgment sent {"connection_id":108562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:15:58] local.INFO: TCP Data received {"connection_id":110099,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:15:58] local.INFO: Processing buffer {"connection_id":110099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:15:58] local.INFO: IMEI packet received {"connection_id":110099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":110099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:16:03] local.INFO: TCP Data received {"connection_id":110099,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:03] local.INFO: Processing buffer {"connection_id":110099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:03] local.INFO: IMEI packet received {"connection_id":110099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":110099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:16:04] local.INFO: TCP Data received {"connection_id":110099,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:16:04] local.INFO: Processing buffer {"connection_id":110099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:16:04] local.INFO: Packet analysis {"connection_id":110099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:16:04] local.INFO: Extracted packet for processing {"connection_id":110099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01: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-06-21 01:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:16:04] local.INFO: GPS data processed {"connection_id":110099,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:16:04] local.INFO: Acknowledgment sent {"connection_id":110099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:16:09] local.INFO: TCP Data received {"connection_id":110099,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:16:09] local.INFO: Processing buffer {"connection_id":110099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68d3778012d34c18006aa3d60000b011730..."} 
[2026-06-21 01:16:09] local.INFO: Packet analysis {"connection_id":110099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:16:09] local.INFO: Extracted packet for processing {"connection_id":110099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68d"} 
[2026-06-21 01:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456187948544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16: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-06-21 01:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781984475000,"timestamp_ms":1781984475000,"timestamp_seconds":1781984475,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68d3778"} 
[2026-06-21 01:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:16: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-06-21 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:16:09] 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-06-21 01:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456187948544001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456187948544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456187948544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":110099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:16:09] local.INFO: GPS data processed {"connection_id":110099,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:16:09] local.INFO: Acknowledgment sent {"connection_id":110099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:16:14] local.INFO: TCP Data received {"connection_id":108359,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:14] local.INFO: Processing buffer {"connection_id":108359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:14] local.INFO: IMEI packet received {"connection_id":108359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":108359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:16:14] local.INFO: TCP Data received {"connection_id":108359,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:14] local.INFO: Processing buffer {"connection_id":108359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:14] local.INFO: IMEI packet received {"connection_id":108359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":108359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:16:19] local.INFO: TCP Data received {"connection_id":108359,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:19] local.INFO: Processing buffer {"connection_id":108359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:16:19] local.INFO: IMEI packet received {"connection_id":108359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":108359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:16:21] local.INFO: TCP Data received {"connection_id":108359,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee68fb818012d6022800653da30000c01292c..."} 
[2026-06-21 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee68fb818012d6022800653da30000c01292c..."} 
[2026-06-21 01:16:21] local.INFO: Processing buffer {"connection_id":108359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee68fb818012d6022800653da30000c01292c..."} 
[2026-06-21 01:16:21] local.INFO: Packet analysis {"connection_id":108359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:16:21] local.INFO: Extracted packet for processing {"connection_id":108359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee68f"} 
[2026-06-21 01:16:21] local.INFO: GPS Element Parsed {"raw_longitude":761275008,"raw_latitude":106158640,"longitude_deg":76.1275008,"latitude_deg":10.615864,"altitude":12,"angle":297,"satellites":44,"speed":39,"hex_longitude":"2d602280","hex_latitude":"0653da30","is_valid_coordinates":true} 
[2026-06-21 01:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188065280001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125724236898631680,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6936036034535313408,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781984639000,"timestamp_ms":1781984639000,"timestamp_seconds":1781984639,"priority":1,"record_length":96,"hex_timestamp":"0000019ee68fb818"} 
[2026-06-21 01:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 01:16:21] 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-06-21 01:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":108359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":108359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":108359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188065280001,"66":28006,"49":206,"19":38144,"24":39,"16":125724236898631680,"45":6936036034535313408},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,19,24,16,45]} 
[2026-06-21 01:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188065280001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:16:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-21 01:16:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125724236898631680,"km_value":125724236898631.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6936036034535313408,"description":"Unknown IO ID 45"} 
[2026-06-21 01:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188065280001,"power":28006,"unknown_49":206,"unknown_19":38144,"ignition":39,"odometer":null,"unknown_45":6936036034535313408}} 
[2026-06-21 01:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":108359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:16:21] local.INFO: GPS data processed {"connection_id":108359,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:16:21] local.INFO: Acknowledgment sent {"connection_id":108359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:16:53] local.INFO: TCP Data received {"connection_id":109147,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:53] local.INFO: Processing buffer {"connection_id":109147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:53] local.INFO: IMEI packet received {"connection_id":109147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":109147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:16:54] local.INFO: TCP Data received {"connection_id":109147,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:54] local.INFO: Processing buffer {"connection_id":109147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:54] local.INFO: IMEI packet received {"connection_id":109147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":109147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:16:58] local.INFO: TCP Data received {"connection_id":109147,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:58] local.INFO: Processing buffer {"connection_id":109147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:16:58] local.INFO: IMEI packet received {"connection_id":109147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":109147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:16:59] local.INFO: TCP Data received {"connection_id":109147,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:16:59] local.INFO: Processing buffer {"connection_id":109147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:16:59] local.INFO: Packet analysis {"connection_id":109147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:16:59] local.INFO: Extracted packet for processing {"connection_id":109147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:16:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:16:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":109147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:16:59] local.INFO: GPS data processed {"connection_id":109147,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:16:59] local.INFO: Acknowledgment sent {"connection_id":109147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:17:30] local.INFO: TCP Data received {"connection_id":109147,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:17:30] local.INFO: Processing buffer {"connection_id":109147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:17:30] local.INFO: Packet analysis {"connection_id":109147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:17:30] local.INFO: Extracted packet for processing {"connection_id":109147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:17:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:17:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":109147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:17:30] local.INFO: GPS data processed {"connection_id":109147,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:17:30] local.INFO: Acknowledgment sent {"connection_id":109147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:17:53] local.INFO: TCP Data received {"connection_id":108360,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:17:53] local.INFO: Processing buffer {"connection_id":108360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:17:53] local.INFO: IMEI packet received {"connection_id":108360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":108360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:17:58] local.INFO: TCP Data received {"connection_id":108360,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:17:58] local.INFO: Processing buffer {"connection_id":108360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:17:58] local.INFO: IMEI packet received {"connection_id":108360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":108360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:17:59] local.INFO: TCP Data received {"connection_id":108360,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:17:59] local.INFO: Processing buffer {"connection_id":108360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:17:59] local.INFO: Packet analysis {"connection_id":108360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:17:59] local.INFO: Extracted packet for processing {"connection_id":108360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:17:59] 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-06-21 01:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:17:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:17:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":108360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:17:59] local.INFO: GPS data processed {"connection_id":108360,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:17:59] local.INFO: Acknowledgment sent {"connection_id":108360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:18:07] local.INFO: TCP Data received {"connection_id":108359,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6918508012d5f54000654b948001701662d..."} 
[2026-06-21 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6918508012d5f54000654b948001701662d..."} 
[2026-06-21 01:18:07] local.INFO: Processing buffer {"connection_id":108359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6918508012d5f54000654b948001701662d..."} 
[2026-06-21 01:18:07] local.INFO: Packet analysis {"connection_id":108359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:18:07] local.INFO: Extracted packet for processing {"connection_id":108359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":761222144,"raw_latitude":106215752,"longitude_deg":76.1222144,"latitude_deg":10.6215752,"altitude":23,"angle":358,"satellites":45,"speed":48,"hex_longitude":"2d5f5400","hex_latitude":"0654b948","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188095744001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125728269872922624,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6869185727579910144,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781984757000,"timestamp_ms":1781984757000,"timestamp_seconds":1781984757,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6918508"} 
[2026-06-21 01:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":173,"data_length":795,"current_offset":136} 
[2026-06-21 01:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188095744001,"66":27821,"59":206,"19":38144,"24":48,"16":125728269872922624,"45":6869185727579910144},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-06-21 01:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188095744001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:18:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-21 01:18:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-21 01:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125728269872922624,"km_value":125728269872922.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6869185727579910144,"description":"Unknown IO ID 45"} 
[2026-06-21 01:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188095744001,"power":27821,"unknown_59":206,"unknown_19":38144,"ignition":48,"odometer":null,"unknown_45":6869185727579910144}} 
[2026-06-21 01:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":108359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:18:07] local.INFO: GPS data processed {"connection_id":108359,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:18:07] local.INFO: Acknowledgment sent {"connection_id":108359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:18:22] local.INFO: TCP Data received {"connection_id":108361,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:22] local.INFO: Processing buffer {"connection_id":108361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:22] local.INFO: IMEI packet received {"connection_id":108361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":108361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:18:23] local.INFO: TCP Data received {"connection_id":108361,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:23] local.INFO: Processing buffer {"connection_id":108361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:23] local.INFO: IMEI packet received {"connection_id":108361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":108361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:18:29] local.INFO: TCP Data received {"connection_id":108361,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:29] local.INFO: Processing buffer {"connection_id":108361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:18:29] local.INFO: IMEI packet received {"connection_id":108361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":108361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:18:30] local.INFO: TCP Data received {"connection_id":108361,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69282f0012d5f2ec00655f308001901532d..."} 
[2026-06-21 01:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69282f0012d5f2ec00655f308001901532d..."} 
[2026-06-21 01:18:30] local.INFO: Processing buffer {"connection_id":108361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69282f0012d5f2ec00655f308001901532d..."} 
[2026-06-21 01:18:30] local.INFO: Packet analysis {"connection_id":108361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee692"} 
[2026-06-21 01:18:30] local.INFO: Extracted packet for processing {"connection_id":108361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee692"} 
[2026-06-21 01:18:30] local.INFO: GPS Element Parsed {"raw_longitude":761212608,"raw_latitude":106296072,"longitude_deg":76.1212608,"latitude_deg":10.6296072,"altitude":25,"angle":339,"satellites":45,"speed":42,"hex_longitude":"2d5f2ec0","hex_latitude":"0655f308","is_valid_coordinates":true} 
[2026-06-21 01:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188113920001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125732242717671424,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6859122997184888832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781984822000,"timestamp_ms":1781984822000,"timestamp_seconds":1781984822,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69282f0"} 
[2026-06-21 01:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:18: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-06-21 01:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 01:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188113920001,"66":27941,"205":206,"9":3328,"24":42,"16":125732242717671424,"45":6859122997184888832},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,45]} 
[2026-06-21 01:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188113920001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:18:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125732242717671424,"km_value":125732242717671.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6859122997184888832,"description":"Unknown IO ID 45"} 
[2026-06-21 01:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188113920001,"power":27941,"cell_id":206,"unknown_9":3328,"ignition":42,"odometer":null,"unknown_45":6859122997184888832}} 
[2026-06-21 01:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":108361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:18:30] local.INFO: GPS data processed {"connection_id":108361,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:18:30] local.INFO: Acknowledgment sent {"connection_id":108361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:18:30] local.INFO: TCP Data received {"connection_id":108360,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:18:30] local.INFO: Processing buffer {"connection_id":108360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:18:30] local.INFO: Packet analysis {"connection_id":108360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:18:30] local.INFO: Extracted packet for processing {"connection_id":108360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:18:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:18:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":108360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:18:30] local.INFO: GPS data processed {"connection_id":108360,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:18:30] local.INFO: Acknowledgment sent {"connection_id":108360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:18:31] local.INFO: TCP Data received {"connection_id":108361,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6928ac0012d5f2a800655fa18001801402d..."} 
[2026-06-21 01:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6928ac0012d5f2a800655fa18001801402d..."} 
[2026-06-21 01:18:31] local.INFO: Processing buffer {"connection_id":108361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6928ac0012d5f2a800655fa18001801402d..."} 
[2026-06-21 01:18:31] local.INFO: Packet analysis {"connection_id":108361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee692"} 
[2026-06-21 01:18:31] local.INFO: Extracted packet for processing {"connection_id":108361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee692"} 
[2026-06-21 01:18:31] local.INFO: GPS Element Parsed {"raw_longitude":761211520,"raw_latitude":106297880,"longitude_deg":76.121152,"latitude_deg":10.629788,"altitude":24,"angle":320,"satellites":45,"speed":42,"hex_longitude":"2d5f2a80","hex_latitude":"0655fa18","is_valid_coordinates":true} 
[2026-06-21 01:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188114432001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125732345796886528,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6858630415976171520,"note":"Value kept but may cause issues"} 
[2026-06-21 01:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781984824000,"timestamp_ms":1781984824000,"timestamp_seconds":1781984824,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6928ac0"} 
[2026-06-21 01:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:18: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-06-21 01: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 01:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188114432001,"66":27213,"205":206,"9":3328,"24":42,"16":125732345796886528,"45":6858630415976171520},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,9,24,16,45]} 
[2026-06-21 01:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188114432001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:18:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125732345796886528,"km_value":125732345796886.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6858630415976171520,"description":"Unknown IO ID 45"} 
[2026-06-21 01:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188114432001,"power":27213,"cell_id":206,"unknown_9":3328,"ignition":42,"odometer":null,"unknown_45":6858630415976171520}} 
[2026-06-21 01:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":108361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:18:31] local.INFO: GPS data processed {"connection_id":108361,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:18:31] local.INFO: Acknowledgment sent {"connection_id":108361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:18:58] local.INFO: TCP Data received {"connection_id":108362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:18:58] local.INFO: Processing buffer {"connection_id":108362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:18:58] local.INFO: IMEI packet received {"connection_id":108362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":108362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:19:03] local.INFO: TCP Data received {"connection_id":108362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:03] local.INFO: Processing buffer {"connection_id":108362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:03] local.INFO: IMEI packet received {"connection_id":108362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":108362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:19:04] local.INFO: TCP Data received {"connection_id":108362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:04] local.INFO: Processing buffer {"connection_id":108362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:04] local.INFO: Packet analysis {"connection_id":108362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:19:04] local.INFO: Extracted packet for processing {"connection_id":108362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:19: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-06-21 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":108362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:19:04] local.INFO: GPS data processed {"connection_id":108362,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:19:04] local.INFO: Acknowledgment sent {"connection_id":108362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:19:09] local.INFO: TCP Data received {"connection_id":108362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:09] local.INFO: Processing buffer {"connection_id":108362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:09] local.INFO: Packet analysis {"connection_id":108362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:19:09] local.INFO: Extracted packet for processing {"connection_id":108362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19: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-06-21 01:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:19: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-06-21 01:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:19: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-06-21 01:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":108362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:19:09] local.INFO: GPS data processed {"connection_id":108362,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:19:09] local.INFO: Acknowledgment sent {"connection_id":108362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:19:13] local.INFO: TCP Data received {"connection_id":110100,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:19:13] local.INFO: Processing buffer {"connection_id":110100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:19:13] local.INFO: IMEI packet received {"connection_id":110100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":110100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:19:14] local.INFO: TCP Data received {"connection_id":108362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:14] local.INFO: Processing buffer {"connection_id":108362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:19:14] local.INFO: Packet analysis {"connection_id":108362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:19:14] local.INFO: Extracted packet for processing {"connection_id":108362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:19: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-06-21 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":108362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":108362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":108362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":108362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:19:14] local.INFO: GPS data processed {"connection_id":108362,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:19:14] local.INFO: Acknowledgment sent {"connection_id":108362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:19:18] local.INFO: TCP Data received {"connection_id":110100,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:19:18] local.INFO: Processing buffer {"connection_id":110100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:19:18] local.INFO: IMEI packet received {"connection_id":110100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":110100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:19:19] local.INFO: TCP Data received {"connection_id":110100,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6937520012d5f0cc0065721380009015f2a..."} 
[2026-06-21 01:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6937520012d5f0cc0065721380009015f2a..."} 
[2026-06-21 01:19:19] local.INFO: Processing buffer {"connection_id":110100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6937520012d5f0cc0065721380009015f2a..."} 
[2026-06-21 01:19:19] local.INFO: Packet analysis {"connection_id":110100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee693"} 
[2026-06-21 01:19:19] local.INFO: Extracted packet for processing {"connection_id":110100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee693"} 
[2026-06-21 01:19:19] local.INFO: GPS Element Parsed {"raw_longitude":761203904,"raw_latitude":106373432,"longitude_deg":76.1203904,"latitude_deg":10.6373432,"altitude":9,"angle":351,"satellites":42,"speed":50,"hex_longitude":"2d5f0cc0","hex_latitude":"06572138","is_valid_coordinates":true} 
[2026-06-21 01:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188128768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125736146842943488,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6849482479250880512,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781984884000,"timestamp_ms":1781984884000,"timestamp_seconds":1781984884,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6937520"} 
[2026-06-21 01:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:19: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-06-21 01:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 01:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188128768001,"66":27821,"183":206,"9":3328,"24":50,"16":125736146842943488,"45":6849482479250880512},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,9,24,16,45]} 
[2026-06-21 01:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188128768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:19:19] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-21 01:19:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125736146842943488,"km_value":125736146842943.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6849482479250880512,"description":"Unknown IO ID 45"} 
[2026-06-21 01:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188128768001,"power":27821,"unknown_183":206,"unknown_9":3328,"ignition":50,"odometer":null,"unknown_45":6849482479250880512}} 
[2026-06-21 01:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":110100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:19:19] local.INFO: GPS data processed {"connection_id":110100,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:19:19] local.INFO: Acknowledgment sent {"connection_id":110100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:19:50] local.INFO: TCP Data received {"connection_id":110100,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6943870012d5eaac00657e5180008015e2d..."} 
[2026-06-21 01:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6943870012d5eaac00657e5180008015e2d..."} 
[2026-06-21 01:19:50] local.INFO: Processing buffer {"connection_id":110100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6943870012d5eaac00657e5180008015e2d..."} 
[2026-06-21 01:19:50] local.INFO: Packet analysis {"connection_id":110100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee694"} 
[2026-06-21 01:19:50] local.INFO: Extracted packet for processing {"connection_id":110100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee694"} 
[2026-06-21 01:19:50] local.INFO: GPS Element Parsed {"raw_longitude":761178816,"raw_latitude":106423576,"longitude_deg":76.1178816,"latitude_deg":10.6423576,"altitude":8,"angle":350,"satellites":45,"speed":53,"hex_longitude":"2d5eaac0","hex_latitude":"0657e518","is_valid_coordinates":true} 
[2026-06-21 01:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188142080001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125739179089854464,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6822883093965254656,"note":"Value kept but may cause issues"} 
[2026-06-21 01:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781984934000,"timestamp_ms":1781984934000,"timestamp_seconds":1781984934,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6943870"} 
[2026-06-21 01:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:19: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-06-21 01:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-21 01:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188142080001,"66":27843,"183":206,"9":3328,"24":53,"16":125739179089854464,"45":6822883093965254656},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,9,24,16,45]} 
[2026-06-21 01:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188142080001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:19:50] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-21 01:19:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125739179089854464,"km_value":125739179089854.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6822883093965254656,"description":"Unknown IO ID 45"} 
[2026-06-21 01:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188142080001,"power":27843,"unknown_183":206,"unknown_9":3328,"ignition":53,"odometer":null,"unknown_45":6822883093965254656}} 
[2026-06-21 01:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":110100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:19:50] local.INFO: GPS data processed {"connection_id":110100,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:19:50] local.INFO: Acknowledgment sent {"connection_id":110100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:19:53] local.INFO: TCP Data received {"connection_id":110101,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:53] local.INFO: Processing buffer {"connection_id":110101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:53] local.INFO: IMEI packet received {"connection_id":110101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":110101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:19:59] local.INFO: TCP Data received {"connection_id":110101,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:59] local.INFO: Processing buffer {"connection_id":110101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:19:59] local.INFO: IMEI packet received {"connection_id":110101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":110101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:20:00] local.INFO: TCP Data received {"connection_id":110101,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:20:00] local.INFO: Processing buffer {"connection_id":110101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:20:00] local.INFO: Packet analysis {"connection_id":110101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:20:00] local.INFO: Extracted packet for processing {"connection_id":110101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:20:00] 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-06-21 01:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:20:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:20:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":110101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:20:00] local.INFO: GPS data processed {"connection_id":110101,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:20:00] local.INFO: Acknowledgment sent {"connection_id":110101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:20:13] local.INFO: TCP Data received {"connection_id":108363,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:13] local.INFO: Processing buffer {"connection_id":108363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:13] local.INFO: IMEI packet received {"connection_id":108363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":108363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:20:14] local.INFO: TCP Data received {"connection_id":108363,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:14] local.INFO: Processing buffer {"connection_id":108363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:14] local.INFO: IMEI packet received {"connection_id":108363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":108363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:20:19] local.INFO: TCP Data received {"connection_id":108363,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:19] local.INFO: Processing buffer {"connection_id":108363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:20:19] local.INFO: IMEI packet received {"connection_id":108363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":108363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:20:20] local.INFO: TCP Data received {"connection_id":108363,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69453c8012d5ea68006580ae0000701602d..."} 
[2026-06-21 01:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69453c8012d5ea68006580ae0000701602d..."} 
[2026-06-21 01:20:20] local.INFO: Processing buffer {"connection_id":108363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69453c8012d5ea68006580ae0000701602d..."} 
[2026-06-21 01:20:20] local.INFO: Packet analysis {"connection_id":108363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee694"} 
[2026-06-21 01:20:20] local.INFO: Extracted packet for processing {"connection_id":108363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee694"} 
[2026-06-21 01:20:20] local.INFO: GPS Element Parsed {"raw_longitude":761177728,"raw_latitude":106433248,"longitude_deg":76.1177728,"latitude_deg":10.6433248,"altitude":7,"angle":352,"satellites":45,"speed":56,"hex_longitude":"2d5ea680","hex_latitude":"06580ae0","is_valid_coordinates":true} 
[2026-06-21 01:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188143104001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125739651536257024,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6821475719083005952,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781984941000,"timestamp_ms":1781984941000,"timestamp_seconds":1781984941,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69453c8"} 
[2026-06-21 01:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:20: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-06-21 01:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 01:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188143104001,"66":28006,"183":206,"9":3328,"24":56,"16":125739651536257024,"45":6821475719083005952},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,9,24,16,45]} 
[2026-06-21 01:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188143104001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125739651536257024,"km_value":125739651536257.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6821475719083005952,"description":"Unknown IO ID 45"} 
[2026-06-21 01:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188143104001,"power":28006,"unknown_183":206,"unknown_9":3328,"ignition":56,"odometer":null,"unknown_45":6821475719083005952}} 
[2026-06-21 01:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":108363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:20:20] local.INFO: GPS data processed {"connection_id":108363,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:20:20] local.INFO: Acknowledgment sent {"connection_id":108363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:20:31] local.INFO: TCP Data received {"connection_id":110101,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:20:31] local.INFO: Processing buffer {"connection_id":110101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:20:31] local.INFO: Packet analysis {"connection_id":110101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:20:31] local.INFO: Extracted packet for processing {"connection_id":110101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":110101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:20:31] local.INFO: GPS data processed {"connection_id":110101,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:20:31] local.INFO: Acknowledgment sent {"connection_id":110101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:20:53] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:20:53] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:20:53] local.INFO: IMEI packet received {"connection_id":109148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":109148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:20:59] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:20:59] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:20:59] local.INFO: IMEI packet received {"connection_id":109148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":109148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:21:00] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:21:00] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:21:00] local.INFO: Packet analysis {"connection_id":109148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:21:00] local.INFO: Extracted packet for processing {"connection_id":109148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:21:00] 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-06-21 01:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:21:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:21:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":109148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:21:00] local.INFO: GPS data processed {"connection_id":109148,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:21:00] local.INFO: Acknowledgment sent {"connection_id":109148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:21:16] local.INFO: TCP Data received {"connection_id":108363,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6946f20012d5ea20006583088000701612e..."} 
[2026-06-21 01:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6946f20012d5ea20006583088000701612e..."} 
[2026-06-21 01:21:16] local.INFO: Processing buffer {"connection_id":108363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6946f20012d5ea20006583088000701612e..."} 
[2026-06-21 01:21:16] local.INFO: Packet analysis {"connection_id":108363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee694"} 
[2026-06-21 01:21:16] local.INFO: Extracted packet for processing {"connection_id":108363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee694"} 
[2026-06-21 01:21:16] local.INFO: GPS Element Parsed {"raw_longitude":761176576,"raw_latitude":106442888,"longitude_deg":76.1176576,"latitude_deg":10.6442888,"altitude":7,"angle":353,"satellites":46,"speed":53,"hex_longitude":"2d5ea200","hex_latitude":"06583088","is_valid_coordinates":true} 
[2026-06-21 01:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188144896001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125740123982659584,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6820279450434461696,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781984948000,"timestamp_ms":1781984948000,"timestamp_seconds":1781984948,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6946f20"} 
[2026-06-21 01:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":102,"data_length":795,"current_offset":136} 
[2026-06-21 01:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":108363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":108363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":108363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188144896001,"66":27876,"183":206,"9":3328,"24":53,"16":125740123982659584,"45":6820279450434461696},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,9,24,16,45]} 
[2026-06-21 01:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188144896001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:21:16] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-21 01:21:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125740123982659584,"km_value":125740123982659.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6820279450434461696,"description":"Unknown IO ID 45"} 
[2026-06-21 01:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188144896001,"power":27876,"unknown_183":206,"unknown_9":3328,"ignition":53,"odometer":null,"unknown_45":6820279450434461696}} 
[2026-06-21 01:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":108363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:21:17] local.INFO: GPS data processed {"connection_id":108363,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:21:17] local.INFO: Acknowledgment sent {"connection_id":108363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:21:25] local.INFO: TCP Data received {"connection_id":110102,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:25] local.INFO: Processing buffer {"connection_id":110102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:25] local.INFO: IMEI packet received {"connection_id":110102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":110102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:21:26] local.INFO: TCP Data received {"connection_id":110102,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:26] local.INFO: Processing buffer {"connection_id":110102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:26] local.INFO: IMEI packet received {"connection_id":110102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":110102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:21:28] local.INFO: TCP Data received {"connection_id":110102,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:28] local.INFO: Processing buffer {"connection_id":110102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:21:28] local.INFO: IMEI packet received {"connection_id":110102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":110102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:21:29] local.INFO: TCP Data received {"connection_id":110102,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6958090012d5e88400659a468001600012f..."} 
[2026-06-21 01:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6958090012d5e88400659a468001600012f..."} 
[2026-06-21 01:21:29] local.INFO: Processing buffer {"connection_id":110102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6958090012d5e88400659a468001600012f..."} 
[2026-06-21 01:21:29] local.INFO: Packet analysis {"connection_id":110102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee695"} 
[2026-06-21 01:21:29] local.INFO: Extracted packet for processing {"connection_id":110102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee695"} 
[2026-06-21 01:21:29] local.INFO: GPS Element Parsed {"raw_longitude":761169984,"raw_latitude":106538088,"longitude_deg":76.1169984,"latitude_deg":10.6538088,"altitude":22,"angle":1,"satellites":47,"speed":43,"hex_longitude":"2d5e8840","hex_latitude":"0659a468","is_valid_coordinates":true} 
[2026-06-21 01:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188163328001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125744766842306560,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6812327782367846400,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781985018000,"timestamp_ms":1781985018000,"timestamp_seconds":1781985018,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6958090"} 
[2026-06-21 01:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-21 01:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188163328001,"66":27843,"182":206,"9":3328,"24":43,"16":125744766842306560,"45":6812327782367846400},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,9,24,16,45]} 
[2026-06-21 01:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188163328001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:21:29] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-21 01:21:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125744766842306560,"km_value":125744766842306.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6812327782367846400,"description":"Unknown IO ID 45"} 
[2026-06-21 01:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188163328001,"power":27843,"unknown_182":206,"unknown_9":3328,"ignition":43,"odometer":null,"unknown_45":6812327782367846400}} 
[2026-06-21 01:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":110102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:21:29] local.INFO: GPS data processed {"connection_id":110102,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:21:29] local.INFO: Acknowledgment sent {"connection_id":110102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:21:32] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:21:32] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee691cf40012d34c18006aa3d600008011730..."} 
[2026-06-21 01:21:32] local.INFO: Packet analysis {"connection_id":109148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:21:32] local.INFO: Extracted packet for processing {"connection_id":109148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee691"} 
[2026-06-21 01:21:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188025600001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781984776000,"timestamp_ms":1781984776000,"timestamp_seconds":1781984776,"priority":1,"record_length":96,"hex_timestamp":"0000019ee691cf40"} 
[2026-06-21 01:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188025600001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188025600001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188025600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":109148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:21:32] local.INFO: GPS data processed {"connection_id":109148,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:21:32] local.INFO: Acknowledgment sent {"connection_id":109148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:21:54] local.INFO: TCP Data received {"connection_id":108563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:54] local.INFO: Processing buffer {"connection_id":108563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:54] local.INFO: IMEI packet received {"connection_id":108563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":108563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:21:55] local.INFO: TCP Data received {"connection_id":108563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:55] local.INFO: Processing buffer {"connection_id":108563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:55] local.INFO: IMEI packet received {"connection_id":108563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":108563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:21:59] local.INFO: TCP Data received {"connection_id":108563,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:59] local.INFO: Processing buffer {"connection_id":108563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:21:59] local.INFO: IMEI packet received {"connection_id":108563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":108563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:22:00] local.INFO: TCP Data received {"connection_id":108563,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:00] local.INFO: Processing buffer {"connection_id":108563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:00] local.INFO: Packet analysis {"connection_id":108563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:00] local.INFO: Extracted packet for processing {"connection_id":108563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:22:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:22:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":108563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:22:00] local.INFO: GPS data processed {"connection_id":108563,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:22:00] local.INFO: Acknowledgment sent {"connection_id":108563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:22:18] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:22:18] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:22:18] local.INFO: IMEI packet received {"connection_id":108564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":108564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:22:20] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:22:20] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:22:20] local.INFO: IMEI packet received {"connection_id":108564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":108564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:22:20] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6969200012d5e01c0065ae878001c01542b..."} 
[2026-06-21 01:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6969200012d5e01c0065ae878001c01542b..."} 
[2026-06-21 01:22:20] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6969200012d5e01c0065ae878001c01542b..."} 
[2026-06-21 01:22:20] local.INFO: Packet analysis {"connection_id":108564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:20] local.INFO: Extracted packet for processing {"connection_id":108564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:20] local.INFO: GPS Element Parsed {"raw_longitude":761135552,"raw_latitude":106621048,"longitude_deg":76.1135552,"latitude_deg":10.6621048,"altitude":28,"angle":340,"satellites":43,"speed":44,"hex_longitude":"2d5e01c0","hex_latitude":"065ae878","is_valid_coordinates":true} 
[2026-06-21 01:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188181504001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125749194953588736,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6776439722858831872,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781985088000,"timestamp_ms":1781985088000,"timestamp_seconds":1781985088,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6969200"} 
[2026-06-21 01:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:22: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-06-21 01:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 01:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188181504001,"66":27952,"125":206,"9":3328,"24":44,"16":125749194953588736,"45":6776439722858831872},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,9,24,16,45]} 
[2026-06-21 01:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188181504001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:22:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-21 01:22:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125749194953588736,"km_value":125749194953588.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6776439722858831872,"description":"Unknown IO ID 45"} 
[2026-06-21 01:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188181504001,"power":27952,"unknown_125":206,"unknown_9":3328,"ignition":44,"odometer":null,"unknown_45":6776439722858831872}} 
[2026-06-21 01:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":108564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:22:20] local.INFO: GPS data processed {"connection_id":108564,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:22:20] local.INFO: Acknowledgment sent {"connection_id":108564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:22:24] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69699d0012d5e0040065af138001c01672a..."} 
[2026-06-21 01:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69699d0012d5e0040065af138001c01672a..."} 
[2026-06-21 01:22:24] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69699d0012d5e0040065af138001c01672a..."} 
[2026-06-21 01:22:24] local.INFO: Packet analysis {"connection_id":108564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:24] local.INFO: Extracted packet for processing {"connection_id":108564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:24] local.INFO: GPS Element Parsed {"raw_longitude":761135168,"raw_latitude":106623288,"longitude_deg":76.1135168,"latitude_deg":10.6623288,"altitude":28,"angle":359,"satellites":42,"speed":45,"hex_longitude":"2d5e0040","hex_latitude":"065af138","is_valid_coordinates":true} 
[2026-06-21 01:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188182528001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125749306622738432,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6773906448069457920,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781985090000,"timestamp_ms":1781985090000,"timestamp_seconds":1781985090,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69699d0"} 
[2026-06-21 01:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:22: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-06-21 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 01:22:24] 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-06-21 01:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":108564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":108564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":108564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188182528001,"66":27908,"125":206,"9":3328,"24":45,"16":125749306622738432,"45":6773906448069457920},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,9,24,16,45]} 
[2026-06-21 01:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188182528001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:22:24] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-21 01:22:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125749306622738432,"km_value":125749306622738.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6773906448069457920,"description":"Unknown IO ID 45"} 
[2026-06-21 01:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188182528001,"power":27908,"unknown_125":206,"unknown_9":3328,"ignition":45,"odometer":null,"unknown_45":6773906448069457920}} 
[2026-06-21 01:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":108564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:22:24] local.INFO: GPS data processed {"connection_id":108564,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:22:24] local.INFO: Acknowledgment sent {"connection_id":108564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:22:32] local.INFO: TCP Data received {"connection_id":108563,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:32] local.INFO: Processing buffer {"connection_id":108563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:32] local.INFO: Packet analysis {"connection_id":108563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:32] local.INFO: Extracted packet for processing {"connection_id":108563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":108563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:22:32] local.INFO: GPS data processed {"connection_id":108563,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:22:32] local.INFO: Acknowledgment sent {"connection_id":108563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:22:53] local.INFO: TCP Data received {"connection_id":110103,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:22:53] local.INFO: Processing buffer {"connection_id":110103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:22:53] local.INFO: IMEI packet received {"connection_id":110103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":110103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:22:55] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee696a970012d5e0300065b03e0001b000a2b..."} 
[2026-06-21 01:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee696a970012d5e0300065b03e0001b000a2b..."} 
[2026-06-21 01:22:55] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee696a970012d5e0300065b03e0001b000a2b..."} 
[2026-06-21 01:22:55] local.INFO: Packet analysis {"connection_id":108564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:55] local.INFO: Extracted packet for processing {"connection_id":108564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:55] local.INFO: GPS Element Parsed {"raw_longitude":761135872,"raw_latitude":106628064,"longitude_deg":76.1135872,"latitude_deg":10.6628064,"altitude":27,"angle":10,"satellites":43,"speed":47,"hex_longitude":"2d5e0300","hex_latitude":"065b03e0","is_valid_coordinates":true} 
[2026-06-21 01:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188183040001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125749538550972416,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6773484235604965376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781985094000,"timestamp_ms":1781985094000,"timestamp_seconds":1781985094,"priority":1,"record_length":96,"hex_timestamp":"0000019ee696a970"} 
[2026-06-21 01:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 01:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":108564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":108564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":108564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188183040001,"66":27832,"125":206,"9":3328,"24":47,"16":125749538550972416,"45":6773484235604965376},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,9,24,16,45]} 
[2026-06-21 01:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188183040001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:22:55] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-21 01:22:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125749538550972416,"km_value":125749538550972.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6773484235604965376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188183040001,"power":27832,"unknown_125":206,"unknown_9":3328,"ignition":47,"odometer":null,"unknown_45":6773484235604965376}} 
[2026-06-21 01:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":108564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:22:55] local.INFO: GPS data processed {"connection_id":108564,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:22:55] local.INFO: Acknowledgment sent {"connection_id":108564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:22:58] local.INFO: TCP Data received {"connection_id":110103,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:22:58] local.INFO: Processing buffer {"connection_id":110103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:22:58] local.INFO: IMEI packet received {"connection_id":110103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":110103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:22:59] local.INFO: TCP Data received {"connection_id":110103,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:59] local.INFO: Processing buffer {"connection_id":110103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:22:59] local.INFO: Packet analysis {"connection_id":110103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:59] local.INFO: Extracted packet for processing {"connection_id":110103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:22:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":110103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:22:59] local.INFO: GPS data processed {"connection_id":110103,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:22:59] local.INFO: Acknowledgment sent {"connection_id":110103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:23:11] local.INFO: TCP Data received {"connection_id":110104,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:11] local.INFO: Processing buffer {"connection_id":110104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:11] local.INFO: IMEI packet received {"connection_id":110104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":110104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:23:14] local.INFO: TCP Data received {"connection_id":110104,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:14] local.INFO: Processing buffer {"connection_id":110104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:14] local.INFO: IMEI packet received {"connection_id":110104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":110104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:23:19] local.INFO: TCP Data received {"connection_id":110104,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:19] local.INFO: Processing buffer {"connection_id":110104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:23:19] local.INFO: IMEI packet received {"connection_id":110104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":110104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:23:21] local.INFO: TCP Data received {"connection_id":110104,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee696c8b0012d5e08c0065b2940001500032f..."} 
[2026-06-21 01:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee696c8b0012d5e08c0065b2940001500032f..."} 
[2026-06-21 01:23:21] local.INFO: Processing buffer {"connection_id":110104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee696c8b0012d5e08c0065b2940001500032f..."} 
[2026-06-21 01:23:21] local.INFO: Packet analysis {"connection_id":110104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:23:21] local.INFO: Extracted packet for processing {"connection_id":110104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:23:21] local.INFO: GPS Element Parsed {"raw_longitude":761137344,"raw_latitude":106637632,"longitude_deg":76.1137344,"latitude_deg":10.6637632,"altitude":21,"angle":3,"satellites":47,"speed":50,"hex_longitude":"2d5e08c0","hex_latitude":"065b2940","is_valid_coordinates":true} 
[2026-06-21 01:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188184064001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125750006702407680,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6774258291792142336,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781985102000,"timestamp_ms":1781985102000,"timestamp_seconds":1781985102,"priority":1,"record_length":96,"hex_timestamp":"0000019ee696c8b0"} 
[2026-06-21 01:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 01:23:21] 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-06-21 01:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188184064001,"66":28006,"125":206,"9":3328,"24":50,"16":125750006702407680,"45":6774258291792142336},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,9,24,16,45]} 
[2026-06-21 01:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188184064001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:23:21] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-21 01:23:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125750006702407680,"km_value":125750006702407.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6774258291792142336,"description":"Unknown IO ID 45"} 
[2026-06-21 01:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188184064001,"power":28006,"unknown_125":206,"unknown_9":3328,"ignition":50,"odometer":null,"unknown_45":6774258291792142336}} 
[2026-06-21 01:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":110104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:23:21] local.INFO: GPS data processed {"connection_id":110104,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:23:21] local.INFO: Acknowledgment sent {"connection_id":110104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:23:22] local.INFO: TCP Data received {"connection_id":110104,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee696dc38012d5e0800065b4240001101612d..."} 
[2026-06-21 01:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee696dc38012d5e0800065b4240001101612d..."} 
[2026-06-21 01:23:22] local.INFO: Processing buffer {"connection_id":110104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee696dc38012d5e0800065b4240001101612d..."} 
[2026-06-21 01:23:22] local.INFO: Packet analysis {"connection_id":110104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:23:22] local.INFO: Extracted packet for processing {"connection_id":110104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":761137152,"raw_latitude":106644032,"longitude_deg":76.1137152,"latitude_deg":10.6644032,"altitude":17,"angle":353,"satellites":45,"speed":50,"hex_longitude":"2d5e0800","hex_latitude":"065b4240","is_valid_coordinates":true} 
[2026-06-21 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188186112001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125750320235020288,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6775876772910678016,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781985107000,"timestamp_ms":1781985107000,"timestamp_seconds":1781985107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee696dc38"} 
[2026-06-21 01:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 01:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188186112001,"66":27984,"125":206,"9":3328,"24":50,"16":125750320235020288,"45":6775876772910678016},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,9,24,16,45]} 
[2026-06-21 01:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188186112001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:23:22] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-21 01:23:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125750320235020288,"km_value":125750320235020.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6775876772910678016,"description":"Unknown IO ID 45"} 
[2026-06-21 01:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188186112001,"power":27984,"unknown_125":206,"unknown_9":3328,"ignition":50,"odometer":null,"unknown_45":6775876772910678016}} 
[2026-06-21 01:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":110104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:23:22] local.INFO: GPS data processed {"connection_id":110104,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:23:22] local.INFO: Acknowledgment sent {"connection_id":110104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:23:31] local.INFO: TCP Data received {"connection_id":110103,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:23:31] local.INFO: Processing buffer {"connection_id":110103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:23:31] local.INFO: Packet analysis {"connection_id":110103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:23:31] local.INFO: Extracted packet for processing {"connection_id":110103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":110103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:23:31] local.INFO: GPS data processed {"connection_id":110103,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:23:31] local.INFO: Acknowledgment sent {"connection_id":110103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:23:58] local.INFO: TCP Data received {"connection_id":108364,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:23:58] local.INFO: Processing buffer {"connection_id":108364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:23:58] local.INFO: IMEI packet received {"connection_id":108364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":108364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:24:03] local.INFO: TCP Data received {"connection_id":108364,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:03] local.INFO: Processing buffer {"connection_id":108364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:03] local.INFO: IMEI packet received {"connection_id":108364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":108364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:24:05] local.INFO: TCP Data received {"connection_id":110104,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6980130012d5dea80065c79680017014d2f..."} 
[2026-06-21 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6980130012d5dea80065c79680017014d2f..."} 
[2026-06-21 01:24:05] local.INFO: Processing buffer {"connection_id":110104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6980130012d5dea80065c79680017014d2f..."} 
[2026-06-21 01:24:05] local.INFO: Packet analysis {"connection_id":110104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee698"} 
[2026-06-21 01:24:05] local.INFO: Extracted packet for processing {"connection_id":110104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee698"} 
[2026-06-21 01:24:05] local.INFO: GPS Element Parsed {"raw_longitude":761129600,"raw_latitude":106723688,"longitude_deg":76.11296,"latitude_deg":10.6723688,"altitude":23,"angle":333,"satellites":47,"speed":38,"hex_longitude":"2d5dea80","hex_latitude":"065c7968","is_valid_coordinates":true} 
[2026-06-21 01:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188204800001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125754301669703680,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6772076860745797632,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781985182000,"timestamp_ms":1781985182000,"timestamp_seconds":1781985182,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6980130"} 
[2026-06-21 01:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 01:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188204800001,"66":27876,"122":206,"9":3328,"24":38,"16":125754301669703680,"45":6772076860745797632},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,45]} 
[2026-06-21 01:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188204800001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125754301669703680,"km_value":125754301669703.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6772076860745797632,"description":"Unknown IO ID 45"} 
[2026-06-21 01:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188204800001,"power":27876,"unknown_122":206,"unknown_9":3328,"ignition":38,"odometer":null,"unknown_45":6772076860745797632}} 
[2026-06-21 01:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":110104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:24:05] local.INFO: GPS data processed {"connection_id":110104,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:24:05] local.INFO: Acknowledgment sent {"connection_id":110104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:24:05] local.INFO: TCP Data received {"connection_id":108364,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:05] local.INFO: Processing buffer {"connection_id":108364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:05] local.INFO: Packet analysis {"connection_id":108364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:24:05] local.INFO: Extracted packet for processing {"connection_id":108364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24: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-06-21 01:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:24: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-06-21 01:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:24: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-06-21 01:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:24:05] 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-06-21 01:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":108364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:24:05] local.INFO: GPS data processed {"connection_id":108364,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:24:05] local.INFO: Acknowledgment sent {"connection_id":108364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:24:10] local.INFO: TCP Data received {"connection_id":108364,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:10] local.INFO: Processing buffer {"connection_id":108364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:10] local.INFO: Packet analysis {"connection_id":108364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:24:10] local.INFO: Extracted packet for processing {"connection_id":108364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24: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-06-21 01:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:24: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-06-21 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:24: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-06-21 01: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-06-21 01:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":108364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:24:10] local.INFO: GPS data processed {"connection_id":108364,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:24:10] local.INFO: Acknowledgment sent {"connection_id":108364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:24:19] local.INFO: TCP Data received {"connection_id":109149,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:19] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:19] local.INFO: IMEI packet received {"connection_id":109149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":109149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:24:19] local.INFO: TCP Data received {"connection_id":109149,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:19] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:19] local.INFO: IMEI packet received {"connection_id":109149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":109149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:24:25] local.INFO: TCP Data received {"connection_id":109149,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:25] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:24:25] local.INFO: IMEI packet received {"connection_id":109149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":109149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:24:27] local.INFO: TCP Data received {"connection_id":109149,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6981c88012d5dde80065c90f80017013c2d..."} 
[2026-06-21 01:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6981c88012d5dde80065c90f80017013c2d..."} 
[2026-06-21 01:24:27] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6981c88012d5dde80065c90f80017013c2d..."} 
[2026-06-21 01:24:27] local.INFO: Packet analysis {"connection_id":109149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee698"} 
[2026-06-21 01:24:27] local.INFO: Extracted packet for processing {"connection_id":109149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee698"} 
[2026-06-21 01:24:27] local.INFO: GPS Element Parsed {"raw_longitude":761126528,"raw_latitude":106729720,"longitude_deg":76.1126528,"latitude_deg":10.672972,"altitude":23,"angle":316,"satellites":45,"speed":39,"hex_longitude":"2d5dde80","hex_latitude":"065c90f8","is_valid_coordinates":true} 
[2026-06-21 01:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188206592001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125754628087218176,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6767362154887211008,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781985189000,"timestamp_ms":1781985189000,"timestamp_seconds":1781985189,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6981c88"} 
[2026-06-21 01:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:24: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-06-21 01:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 01:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":109149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":109149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":109149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188206592001,"66":27876,"122":206,"9":3328,"24":39,"16":125754628087218176,"45":6767362154887211008},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,45]} 
[2026-06-21 01:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188206592001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:24:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-21 01:24:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125754628087218176,"km_value":125754628087218.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6767362154887211008,"description":"Unknown IO ID 45"} 
[2026-06-21 01:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188206592001,"power":27876,"unknown_122":206,"unknown_9":3328,"ignition":39,"odometer":null,"unknown_45":6767362154887211008}} 
[2026-06-21 01:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":109149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:24:27] local.INFO: GPS data processed {"connection_id":109149,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:24:27] local.INFO: Acknowledgment sent {"connection_id":109149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:24:53] local.INFO: TCP Data received {"connection_id":108365,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:53] local.INFO: Processing buffer {"connection_id":108365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:53] local.INFO: IMEI packet received {"connection_id":108365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":108365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:24:58] local.INFO: TCP Data received {"connection_id":108365,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:58] local.INFO: Processing buffer {"connection_id":108365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:24:58] local.INFO: IMEI packet received {"connection_id":108365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":108365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:24:59] local.INFO: TCP Data received {"connection_id":108365,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:59] local.INFO: Processing buffer {"connection_id":108365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:24:59] local.INFO: Packet analysis {"connection_id":108365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:24:59] local.INFO: Extracted packet for processing {"connection_id":108365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:24:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:24:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":108365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:24:59] local.INFO: GPS data processed {"connection_id":108365,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:24:59] local.INFO: Acknowledgment sent {"connection_id":108365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:25:00] local.INFO: TCP Data received {"connection_id":109149,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69906e8012d5d0c40065d23c0001d01312c..."} 
[2026-06-21 01:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69906e8012d5d0c40065d23c0001d01312c..."} 
[2026-06-21 01:25:00] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69906e8012d5d0c40065d23c0001d01312c..."} 
[2026-06-21 01:25:00] local.INFO: Packet analysis {"connection_id":109149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee699"} 
[2026-06-21 01:25:00] local.INFO: Extracted packet for processing {"connection_id":109149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee699"} 
[2026-06-21 01:25:00] local.INFO: GPS Element Parsed {"raw_longitude":761072704,"raw_latitude":106767296,"longitude_deg":76.1072704,"latitude_deg":10.6767296,"altitude":29,"angle":305,"satellites":44,"speed":46,"hex_longitude":"2d5d0c40","hex_latitude":"065d23c0","is_valid_coordinates":true} 
[2026-06-21 01:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188222464001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125757802068049920,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6709378309694932992,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781985249000,"timestamp_ms":1781985249000,"timestamp_seconds":1781985249,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69906e8"} 
[2026-06-21 01:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 01:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188222464001,"66":27767,"7":206,"9":3328,"24":46,"16":125757802068049920,"45":6709378309694932992},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,9,24,16,45]} 
[2026-06-21 01:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188222464001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:25:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-06-21 01:25:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125757802068049920,"km_value":125757802068049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6709378309694932992,"description":"Unknown IO ID 45"} 
[2026-06-21 01:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188222464001,"power":27767,"unknown_7":206,"unknown_9":3328,"ignition":46,"odometer":null,"unknown_45":6709378309694932992}} 
[2026-06-21 01:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":109149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:25:00] local.INFO: GPS data processed {"connection_id":109149,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:25:00] local.INFO: Acknowledgment sent {"connection_id":109149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:25:13] local.INFO: TCP Data received {"connection_id":108366,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:25:13] local.INFO: Processing buffer {"connection_id":108366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:25:13] local.INFO: IMEI packet received {"connection_id":108366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":108366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:25:15] local.INFO: TCP Data received {"connection_id":108366,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:25:15] local.INFO: Processing buffer {"connection_id":108366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:25:15] local.INFO: IMEI packet received {"connection_id":108366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":108366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:25:30] local.INFO: TCP Data received {"connection_id":108365,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:25:30] local.INFO: Processing buffer {"connection_id":108365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:25:30] local.INFO: Packet analysis {"connection_id":108365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:25:30] local.INFO: Extracted packet for processing {"connection_id":108365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:25:30] 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-06-21 01:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:25:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:25:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":108365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:25:30] local.INFO: GPS data processed {"connection_id":108365,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:25:30] local.INFO: Acknowledgment sent {"connection_id":108365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:25:43] local.INFO: TCP Data received {"connection_id":108366,"ip":"117.225.151.41","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 01:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108366,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 01:25:43] local.INFO: Processing buffer {"connection_id":108366,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-06-21 01:25:43] local.INFO: IMEI packet received {"connection_id":108366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":108366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:25:53] local.INFO: TCP Data received {"connection_id":109150,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:25:53] local.INFO: Processing buffer {"connection_id":109150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:25:53] local.INFO: IMEI packet received {"connection_id":109150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":109150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:25:58] local.INFO: TCP Data received {"connection_id":109150,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:25:58] local.INFO: Processing buffer {"connection_id":109150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:25:58] local.INFO: IMEI packet received {"connection_id":109150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":109150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:25:59] local.INFO: TCP Data received {"connection_id":109150,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:25:59] local.INFO: Processing buffer {"connection_id":109150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:25:59] local.INFO: Packet analysis {"connection_id":109150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:25:59] local.INFO: Extracted packet for processing {"connection_id":109150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:25:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:25:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":109150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:25:59] local.INFO: GPS data processed {"connection_id":109150,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:25:59] local.INFO: Acknowledgment sent {"connection_id":109150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:26:30] local.INFO: TCP Data received {"connection_id":109150,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:26:30] local.INFO: Processing buffer {"connection_id":109150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6966708012d34c18006aa3d600006011731..."} 
[2026-06-21 01:26:30] local.INFO: Packet analysis {"connection_id":109150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:26:30] local.INFO: Extracted packet for processing {"connection_id":109150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee696"} 
[2026-06-21 01:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188102656001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781985077000,"timestamp_ms":1781985077000,"timestamp_seconds":1781985077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6966708"} 
[2026-06-21 01:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188102656001,"66":25593,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188102656001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:26:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188102656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":109150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:26:30] local.INFO: GPS data processed {"connection_id":109150,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:26:30] local.INFO: Acknowledgment sent {"connection_id":109150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:26:53] local.INFO: TCP Data received {"connection_id":108367,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:26:53] local.INFO: Processing buffer {"connection_id":108367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:26:53] local.INFO: IMEI packet received {"connection_id":108367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":108367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:26:56] local.INFO: TCP Data received {"connection_id":108367,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:26:56] local.INFO: Processing buffer {"connection_id":108367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:26:56] local.INFO: IMEI packet received {"connection_id":108367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":108367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:26:57] local.INFO: TCP Data received {"connection_id":108367,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:26:57] local.INFO: Processing buffer {"connection_id":108367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:26:57] local.INFO: Packet analysis {"connection_id":108367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:26:57] local.INFO: Extracted packet for processing {"connection_id":108367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:26:57] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":108367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":108367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":108367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:26:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:26:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":108367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:26:57] local.INFO: GPS data processed {"connection_id":108367,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:26:57] local.INFO: Acknowledgment sent {"connection_id":108367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:27:28] local.INFO: TCP Data received {"connection_id":108367,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:27:28] local.INFO: Processing buffer {"connection_id":108367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:27:28] local.INFO: Packet analysis {"connection_id":108367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:27:28] local.INFO: Extracted packet for processing {"connection_id":108367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:27:28] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:27:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:27:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":108367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:27:28] local.INFO: GPS data processed {"connection_id":108367,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:27:28] local.INFO: Acknowledgment sent {"connection_id":108367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:27:53] local.INFO: TCP Data received {"connection_id":108565,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:27:53] local.INFO: Processing buffer {"connection_id":108565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:27:53] local.INFO: IMEI packet received {"connection_id":108565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":108565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:27:58] local.INFO: TCP Data received {"connection_id":108565,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:27:58] local.INFO: Processing buffer {"connection_id":108565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:27:58] local.INFO: IMEI packet received {"connection_id":108565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":108565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:27:59] local.INFO: TCP Data received {"connection_id":108565,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:27:59] local.INFO: Processing buffer {"connection_id":108565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:27:59] local.INFO: Packet analysis {"connection_id":108565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:27:59] local.INFO: Extracted packet for processing {"connection_id":108565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:27:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":108565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:27:59] local.INFO: GPS data processed {"connection_id":108565,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:27:59] local.INFO: Acknowledgment sent {"connection_id":108565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:28:31] local.INFO: TCP Data received {"connection_id":108565,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:28:31] local.INFO: Processing buffer {"connection_id":108565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:28:31] local.INFO: Packet analysis {"connection_id":108565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:28:31] local.INFO: Extracted packet for processing {"connection_id":108565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":108565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:28:31] local.INFO: GPS data processed {"connection_id":108565,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:28:31] local.INFO: Acknowledgment sent {"connection_id":108565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:28:58] local.INFO: TCP Data received {"connection_id":110106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:28:58] local.INFO: Processing buffer {"connection_id":110106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:28:58] local.INFO: IMEI packet received {"connection_id":110106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":110106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:29:03] local.INFO: TCP Data received {"connection_id":110106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:03] local.INFO: Processing buffer {"connection_id":110106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:03] local.INFO: IMEI packet received {"connection_id":110106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":110106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:29:04] local.INFO: TCP Data received {"connection_id":110106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:04] local.INFO: Processing buffer {"connection_id":110106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:04] local.INFO: Packet analysis {"connection_id":110106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:29:04] local.INFO: Extracted packet for processing {"connection_id":110106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:29: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-06-21 01:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:29: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-06-21 01:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":110106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:29:04] local.INFO: GPS data processed {"connection_id":110106,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:29:04] local.INFO: Acknowledgment sent {"connection_id":110106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:29:08] local.INFO: TCP Data received {"connection_id":110106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:08] local.INFO: Processing buffer {"connection_id":110106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:08] local.INFO: Packet analysis {"connection_id":110106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:29:08] local.INFO: Extracted packet for processing {"connection_id":110106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29: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-06-21 01:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:29: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-06-21 01:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:29: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-06-21 01:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:29: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-06-21 01:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":110106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:29:08] local.INFO: GPS data processed {"connection_id":110106,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:29:08] local.INFO: Acknowledgment sent {"connection_id":110106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:29:53] local.INFO: TCP Data received {"connection_id":109152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:53] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:53] local.INFO: IMEI packet received {"connection_id":109152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":109152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:29:58] local.INFO: TCP Data received {"connection_id":109152,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:58] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:29:58] local.INFO: IMEI packet received {"connection_id":109152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":109152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:29:59] local.INFO: TCP Data received {"connection_id":109152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:59] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:29:59] local.INFO: Packet analysis {"connection_id":109152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:29:59] local.INFO: Extracted packet for processing {"connection_id":109152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":109152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:29:59] local.INFO: GPS data processed {"connection_id":109152,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:29:59] local.INFO: Acknowledgment sent {"connection_id":109152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:30:16] local.INFO: TCP Data received {"connection_id":108370,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:16] local.INFO: Processing buffer {"connection_id":108370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:16] local.INFO: IMEI packet received {"connection_id":108370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":108370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:30:19] local.INFO: TCP Data received {"connection_id":108370,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:19] local.INFO: Processing buffer {"connection_id":108370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:19] local.INFO: IMEI packet received {"connection_id":108370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":108370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:30:22] local.INFO: TCP Data received {"connection_id":108370,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:22] local.INFO: Processing buffer {"connection_id":108370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:30:22] local.INFO: IMEI packet received {"connection_id":108370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":108370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:30:22] local.INFO: TCP Data received {"connection_id":108370,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69d3d08012d5aa740065fb1d00026000e2f..."} 
[2026-06-21 01:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69d3d08012d5aa740065fb1d00026000e2f..."} 
[2026-06-21 01:30:22] local.INFO: Processing buffer {"connection_id":108370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69d3d08012d5aa740065fb1d00026000e2f..."} 
[2026-06-21 01:30:22] local.INFO: Packet analysis {"connection_id":108370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69d"} 
[2026-06-21 01:30:22] local.INFO: Extracted packet for processing {"connection_id":108370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69d"} 
[2026-06-21 01:30:22] local.INFO: GPS Element Parsed {"raw_longitude":760915776,"raw_latitude":106934736,"longitude_deg":76.0915776,"latitude_deg":10.6934736,"altitude":38,"angle":14,"satellites":47,"speed":33,"hex_longitude":"2d5aa740","hex_latitude":"065fb1d0","is_valid_coordinates":true} 
[2026-06-21 01:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188291584001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125767543053877248,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6529023218409119744,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781985525000,"timestamp_ms":1781985525000,"timestamp_seconds":1781985525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69d3d08"} 
[2026-06-21 01:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-21 01:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":108370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":108370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":108370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188291584001,"66":27952,"95":206,"9":3328,"24":33,"16":125767543053877248,"45":6529023218409119744},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,45]} 
[2026-06-21 01:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188291584001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:30:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-21 01:30:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125767543053877248,"km_value":125767543053877.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6529023218409119744,"description":"Unknown IO ID 45"} 
[2026-06-21 01:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188291584001,"power":27952,"unknown_95":206,"unknown_9":3328,"ignition":33,"odometer":null,"unknown_45":6529023218409119744}} 
[2026-06-21 01:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":108370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:30:22] local.INFO: GPS data processed {"connection_id":108370,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:30:22] local.INFO: Acknowledgment sent {"connection_id":108370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:30:31] local.INFO: TCP Data received {"connection_id":109152,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:30:31] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:30:31] local.INFO: Packet analysis {"connection_id":109152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:30:31] local.INFO: Extracted packet for processing {"connection_id":109152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":109152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:30:31] local.INFO: GPS data processed {"connection_id":109152,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:30:31] local.INFO: Acknowledgment sent {"connection_id":109152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:30:53] local.INFO: TCP Data received {"connection_id":110107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:30:53] local.INFO: Processing buffer {"connection_id":110107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:30:53] local.INFO: IMEI packet received {"connection_id":110107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":110107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:30:58] local.INFO: TCP Data received {"connection_id":108370,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69e5e18012d5a588006611348001b01562c..."} 
[2026-06-21 01:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69e5e18012d5a588006611348001b01562c..."} 
[2026-06-21 01:30:58] local.INFO: Processing buffer {"connection_id":108370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69e5e18012d5a588006611348001b01562c..."} 
[2026-06-21 01:30:58] local.INFO: Packet analysis {"connection_id":108370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69e"} 
[2026-06-21 01:30:58] local.INFO: Extracted packet for processing {"connection_id":108370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69e"} 
[2026-06-21 01:30:58] local.INFO: GPS Element Parsed {"raw_longitude":760895616,"raw_latitude":107025224,"longitude_deg":76.0895616,"latitude_deg":10.7025224,"altitude":27,"angle":342,"satellites":44,"speed":58,"hex_longitude":"2d5a5880","hex_latitude":"06611348","is_valid_coordinates":true} 
[2026-06-21 01:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188312576001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125772263222935552,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6512134719830984704,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781985599000,"timestamp_ms":1781985599000,"timestamp_seconds":1781985599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69e5e18"} 
[2026-06-21 01:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 01:30: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-06-21 01:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188312576001,"66":27887,"93":206,"9":3328,"24":58,"16":125772263222935552,"45":6512134719830984704},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,45]} 
[2026-06-21 01:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188312576001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:30:58] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-21 01:30:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125772263222935552,"km_value":125772263222935.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6512134719830984704,"description":"Unknown IO ID 45"} 
[2026-06-21 01:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188312576001,"power":27887,"unknown_93":206,"unknown_9":3328,"ignition":58,"odometer":null,"unknown_45":6512134719830984704}} 
[2026-06-21 01:30:58] local.INFO: TCP Data received {"connection_id":110107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:30:58] local.INFO: Processing buffer {"connection_id":110107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:30:58] local.INFO: IMEI packet received {"connection_id":110107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":110107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":108370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:30:58] local.INFO: GPS data processed {"connection_id":108370,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:30:58] local.INFO: Acknowledgment sent {"connection_id":108370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:30:59] local.INFO: TCP Data received {"connection_id":110107,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:30:59] local.INFO: Processing buffer {"connection_id":110107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:30:59] local.INFO: Packet analysis {"connection_id":110107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:30:59] local.INFO: Extracted packet for processing {"connection_id":110107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:30:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:30:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":110107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:30:59] local.INFO: GPS data processed {"connection_id":110107,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:30:59] local.INFO: Acknowledgment sent {"connection_id":110107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:31:14] local.INFO: TCP Data received {"connection_id":110108,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:31:14] local.INFO: Processing buffer {"connection_id":110108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:31:14] local.INFO: IMEI packet received {"connection_id":110108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":110108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:31:16] local.INFO: TCP Data received {"connection_id":110108,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:31:16] local.INFO: Processing buffer {"connection_id":110108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:31:16] local.INFO: IMEI packet received {"connection_id":110108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":110108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:31:16] local.INFO: TCP Data received {"connection_id":110108,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69e6db8012d5a5480066129d0001b016329..."} 
[2026-06-21 01:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69e6db8012d5a5480066129d0001b016329..."} 
[2026-06-21 01:31:17] local.INFO: Processing buffer {"connection_id":110108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69e6db8012d5a5480066129d0001b016329..."} 
[2026-06-21 01:31:17] local.INFO: Packet analysis {"connection_id":110108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69e"} 
[2026-06-21 01:31:17] local.INFO: Extracted packet for processing {"connection_id":110108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69e"} 
[2026-06-21 01:31:17] local.INFO: GPS Element Parsed {"raw_longitude":760894592,"raw_latitude":107030992,"longitude_deg":76.0894592,"latitude_deg":10.7030992,"altitude":27,"angle":355,"satellites":41,"speed":58,"hex_longitude":"2d5a5480","hex_latitude":"066129d0","is_valid_coordinates":true} 
[2026-06-21 01:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188313344001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125772550985744384,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6510094026250864640,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781985603000,"timestamp_ms":1781985603000,"timestamp_seconds":1781985603,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69e6db8"} 
[2026-06-21 01:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 01:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":110108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":110108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":110108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188313344001,"66":27876,"93":206,"9":3328,"24":58,"16":125772550985744384,"45":6510094026250864640},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,45]} 
[2026-06-21 01:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188313344001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:31:17] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-21 01:31:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125772550985744384,"km_value":125772550985744.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6510094026250864640,"description":"Unknown IO ID 45"} 
[2026-06-21 01:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188313344001,"power":27876,"unknown_93":206,"unknown_9":3328,"ignition":58,"odometer":null,"unknown_45":6510094026250864640}} 
[2026-06-21 01:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":110108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:31:17] local.INFO: GPS data processed {"connection_id":110108,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:31:17] local.INFO: Acknowledgment sent {"connection_id":110108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:31:30] local.INFO: TCP Data received {"connection_id":110107,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:31:30] local.INFO: Processing buffer {"connection_id":110107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69afed0012d34c18006aa3d60000e011732..."} 
[2026-06-21 01:31:30] local.INFO: Packet analysis {"connection_id":110107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:31:30] local.INFO: Extracted packet for processing {"connection_id":110107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69a"} 
[2026-06-21 01:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":14,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188179712001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781985378000,"timestamp_ms":1781985378000,"timestamp_seconds":1781985378,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69afed0"} 
[2026-06-21 01:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 01:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188179712001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188179712001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:31:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188179712001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":110107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:31:30] local.INFO: GPS data processed {"connection_id":110107,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:31:30] local.INFO: Acknowledgment sent {"connection_id":110107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:31:47] local.INFO: TCP Data received {"connection_id":110108,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69e8910012d5a51c006615180001e01632c..."} 
[2026-06-21 01:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69e8910012d5a51c006615180001e01632c..."} 
[2026-06-21 01:31:47] local.INFO: Processing buffer {"connection_id":110108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69e8910012d5a51c006615180001e01632c..."} 
[2026-06-21 01:31:47] local.INFO: Packet analysis {"connection_id":110108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69e"} 
[2026-06-21 01:31:47] local.INFO: Extracted packet for processing {"connection_id":110108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69e"} 
[2026-06-21 01:31:47] local.INFO: GPS Element Parsed {"raw_longitude":760893888,"raw_latitude":107041152,"longitude_deg":76.0893888,"latitude_deg":10.7041152,"altitude":30,"angle":355,"satellites":44,"speed":56,"hex_longitude":"2d5a51c0","hex_latitude":"06615180","is_valid_coordinates":true} 
[2026-06-21 01:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188314368001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125773044906983424,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6508968126345498624,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781985610000,"timestamp_ms":1781985610000,"timestamp_seconds":1781985610,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69e8910"} 
[2026-06-21 01:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 01:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188314368001,"66":27821,"93":206,"9":3328,"24":56,"16":125773044906983424,"45":6508968126345498624},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,9,24,16,45]} 
[2026-06-21 01:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188314368001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:31:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-21 01:31:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125773044906983424,"km_value":125773044906983.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6508968126345498624,"description":"Unknown IO ID 45"} 
[2026-06-21 01:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188314368001,"power":27821,"unknown_93":206,"unknown_9":3328,"ignition":56,"odometer":null,"unknown_45":6508968126345498624}} 
[2026-06-21 01:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":110108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:31:47] local.INFO: GPS data processed {"connection_id":110108,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:31:47] local.INFO: Acknowledgment sent {"connection_id":110108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:31:53] local.INFO: TCP Data received {"connection_id":109153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:31:53] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:31:53] local.INFO: IMEI packet received {"connection_id":109153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":109153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:31:57] local.INFO: TCP Data received {"connection_id":109153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:31:57] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:31:57] local.INFO: IMEI packet received {"connection_id":109153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":109153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:31:59] local.INFO: TCP Data received {"connection_id":109153,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:31:59] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:31:59] local.INFO: Packet analysis {"connection_id":109153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:31:59] local.INFO: Extracted packet for processing {"connection_id":109153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:31:59] 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-06-21 01:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:31:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:31:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":109153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:31:59] local.INFO: GPS data processed {"connection_id":109153,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:31:59] local.INFO: Acknowledgment sent {"connection_id":109153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:32:13] local.INFO: TCP Data received {"connection_id":108566,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:13] local.INFO: Processing buffer {"connection_id":108566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:13] local.INFO: IMEI packet received {"connection_id":108566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":108566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:32:16] local.INFO: TCP Data received {"connection_id":108566,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:16] local.INFO: Processing buffer {"connection_id":108566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:16] local.INFO: IMEI packet received {"connection_id":108566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":108566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:32:18] local.INFO: TCP Data received {"connection_id":108566,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:18] local.INFO: Processing buffer {"connection_id":108566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:32:18] local.INFO: IMEI packet received {"connection_id":108566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":108566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:32:19] local.INFO: TCP Data received {"connection_id":108566,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d59fe400662cc50001801452c..."} 
[2026-06-21 01:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d59fe400662cc50001801452c..."} 
[2026-06-21 01:32:19] local.INFO: Processing buffer {"connection_id":108566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d59fe400662cc50001801452c..."} 
[2026-06-21 01:32:19] local.INFO: Packet analysis {"connection_id":108566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:19] local.INFO: Extracted packet for processing {"connection_id":108566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:19] local.INFO: GPS Element Parsed {"raw_longitude":760872512,"raw_latitude":107138128,"longitude_deg":76.0872512,"latitude_deg":10.7138128,"altitude":24,"angle":325,"satellites":44,"speed":57,"hex_longitude":"2d59fe40","hex_latitude":"0662cc50","is_valid_coordinates":true} 
[2026-06-21 01:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188332544001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125777906809962496,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6488561190559754240,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-21 01:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":108566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":108566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":108566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188332544001,"66":27876,"39":206,"9":3328,"24":57,"16":125777906809962496,"45":6488561190559754240},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,9,24,16,45]} 
[2026-06-21 01:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188332544001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:32:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-21 01:32:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125777906809962496,"km_value":125777906809962.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6488561190559754240,"description":"Unknown IO ID 45"} 
[2026-06-21 01:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188332544001,"power":27876,"unknown_39":206,"unknown_9":3328,"ignition":57,"odometer":null,"unknown_45":6488561190559754240}} 
[2026-06-21 01:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":108566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:32:19] local.INFO: GPS data processed {"connection_id":108566,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:32:19] local.INFO: Acknowledgment sent {"connection_id":108566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:32:23] local.INFO: TCP Data received {"connection_id":108566,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69faa20012d59eb800662e198001901382d..."} 
[2026-06-21 01:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69faa20012d59eb800662e198001901382d..."} 
[2026-06-21 01:32:23] local.INFO: Processing buffer {"connection_id":108566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69faa20012d59eb800662e198001901382d..."} 
[2026-06-21 01:32:23] local.INFO: Packet analysis {"connection_id":108566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:23] local.INFO: Extracted packet for processing {"connection_id":108566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:23] local.INFO: GPS Element Parsed {"raw_longitude":760867712,"raw_latitude":107143576,"longitude_deg":76.0867712,"latitude_deg":10.7143576,"altitude":25,"angle":312,"satellites":45,"speed":55,"hex_longitude":"2d59eb80","hex_latitude":"0662e198","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125778258997280768,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6484690909631631360,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781985684000,"timestamp_ms":1781985684000,"timestamp_seconds":1781985684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69faa20"} 
[2026-06-21 01:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:32: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-06-21 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 01:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":108566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":108566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":108566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":27887,"39":206,"9":3328,"24":55,"16":125778258997280768,"45":6484690909631631360},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,9,24,16,45]} 
[2026-06-21 01:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:32:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-21 01:32:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125778258997280768,"km_value":125778258997280.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6484690909631631360,"description":"Unknown IO ID 45"} 
[2026-06-21 01:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":27887,"unknown_39":206,"unknown_9":3328,"ignition":55,"odometer":null,"unknown_45":6484690909631631360}} 
[2026-06-21 01:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":108566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:32:23] local.INFO: GPS data processed {"connection_id":108566,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:32:23] local.INFO: Acknowledgment sent {"connection_id":108566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:32:31] local.INFO: TCP Data received {"connection_id":109153,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:32:31] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:32:31] local.INFO: Packet analysis {"connection_id":109153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:31] local.INFO: Extracted packet for processing {"connection_id":109153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":109153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:32:31] local.INFO: GPS data processed {"connection_id":109153,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:32:31] local.INFO: Acknowledgment sent {"connection_id":109153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:32:53] local.INFO: TCP Data received {"connection_id":110109,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:32:53] local.INFO: Processing buffer {"connection_id":110109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:32:53] local.INFO: IMEI packet received {"connection_id":110109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":110109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:32:54] local.INFO: TCP Data received {"connection_id":108566,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69fc578012d59ce800662f9d0001c01352b..."} 
[2026-06-21 01:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69fc578012d59ce800662f9d0001c01352b..."} 
[2026-06-21 01:32:54] local.INFO: Processing buffer {"connection_id":108566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69fc578012d59ce800662f9d0001c01352b..."} 
[2026-06-21 01:32:54] local.INFO: Packet analysis {"connection_id":108566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:54] local.INFO: Extracted packet for processing {"connection_id":108566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:54] local.INFO: GPS Element Parsed {"raw_longitude":760860288,"raw_latitude":107149776,"longitude_deg":76.0860288,"latitude_deg":10.7149776,"altitude":28,"angle":309,"satellites":43,"speed":52,"hex_longitude":"2d59ce80","hex_latitude":"0662f9d0","is_valid_coordinates":true} 
[2026-06-21 01:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188335104001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125778718558781440,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6479413253819701248,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781985691000,"timestamp_ms":1781985691000,"timestamp_seconds":1781985691,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69fc578"} 
[2026-06-21 01:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 01:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":108566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":108566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":108566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188335104001,"66":27800,"40":206,"9":3328,"24":52,"16":125778718558781440,"45":6479413253819701248},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,9,24,16,45]} 
[2026-06-21 01:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188335104001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:32:54] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-21 01:32:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125778718558781440,"km_value":125778718558781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6479413253819701248,"description":"Unknown IO ID 45"} 
[2026-06-21 01:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188335104001,"power":27800,"unknown_40":206,"unknown_9":3328,"ignition":52,"odometer":null,"unknown_45":6479413253819701248}} 
[2026-06-21 01:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":108566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:32:54] local.INFO: GPS data processed {"connection_id":108566,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:32:54] local.INFO: Acknowledgment sent {"connection_id":108566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:32:58] local.INFO: TCP Data received {"connection_id":110109,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:32:58] local.INFO: Processing buffer {"connection_id":110109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:32:58] local.INFO: IMEI packet received {"connection_id":110109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":110109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:32:59] local.INFO: TCP Data received {"connection_id":110109,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:32:59] local.INFO: Processing buffer {"connection_id":110109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:32:59] local.INFO: Packet analysis {"connection_id":110109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:59] local.INFO: Extracted packet for processing {"connection_id":110109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:32:59] 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-06-21 01:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:32:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":110109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:32:59] local.INFO: GPS data processed {"connection_id":110109,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:32:59] local.INFO: Acknowledgment sent {"connection_id":110109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:33:13] local.INFO: TCP Data received {"connection_id":108371,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:33:13] local.INFO: Processing buffer {"connection_id":108371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:33:13] local.INFO: IMEI packet received {"connection_id":108371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":108371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:33:18] local.INFO: TCP Data received {"connection_id":108371,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:33:18] local.INFO: Processing buffer {"connection_id":108371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:33:18] local.INFO: IMEI packet received {"connection_id":108371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":108371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:33:21] local.INFO: TCP Data received {"connection_id":108371,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69fe0d0012d59b28006631070001e013529..."} 
[2026-06-21 01:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69fe0d0012d59b28006631070001e013529..."} 
[2026-06-21 01:33:21] local.INFO: Processing buffer {"connection_id":108371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69fe0d0012d59b28006631070001e013529..."} 
[2026-06-21 01:33:21] local.INFO: Packet analysis {"connection_id":108371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:33:21] local.INFO: Extracted packet for processing {"connection_id":108371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:33:21] local.INFO: GPS Element Parsed {"raw_longitude":760853120,"raw_latitude":107155568,"longitude_deg":76.085312,"latitude_deg":10.7155568,"altitude":30,"angle":309,"satellites":41,"speed":51,"hex_longitude":"2d59b280","hex_latitude":"06631070","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188336896001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125779160940412928,"note":"Value kept but may cause issues"} 
[2026-06-21 01:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6471250479496679424,"note":"Value kept but may cause issues"} 
[2026-06-21 01:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781985698000,"timestamp_ms":1781985698000,"timestamp_seconds":1781985698,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69fe0d0"} 
[2026-06-21 01:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 01:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":108371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":108371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":108371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188336896001,"66":27952,"40":206,"9":3328,"24":51,"16":125779160940412928,"45":6471250479496679424},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,9,24,16,45]} 
[2026-06-21 01:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188336896001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:33:21] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-21 01:33:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125779160940412928,"km_value":125779160940412.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6471250479496679424,"description":"Unknown IO ID 45"} 
[2026-06-21 01:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188336896001,"power":27952,"unknown_40":206,"unknown_9":3328,"ignition":51,"odometer":null,"unknown_45":6471250479496679424}} 
[2026-06-21 01:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":108371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:33:21] local.INFO: GPS data processed {"connection_id":108371,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:33:21] local.INFO: Acknowledgment sent {"connection_id":108371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:33:31] local.INFO: TCP Data received {"connection_id":110109,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:33:31] local.INFO: Processing buffer {"connection_id":110109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:33:31] local.INFO: Packet analysis {"connection_id":110109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:33:31] local.INFO: Extracted packet for processing {"connection_id":110109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":110109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:33:31] local.INFO: GPS data processed {"connection_id":110109,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:33:31] local.INFO: Acknowledgment sent {"connection_id":110109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:33:58] local.INFO: TCP Data received {"connection_id":109154,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:33:58] local.INFO: Processing buffer {"connection_id":109154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:33:58] local.INFO: IMEI packet received {"connection_id":109154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":109154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:34:03] local.INFO: TCP Data received {"connection_id":109154,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:03] local.INFO: Processing buffer {"connection_id":109154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:03] local.INFO: IMEI packet received {"connection_id":109154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":109154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:34:04] local.INFO: TCP Data received {"connection_id":109154,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:04] local.INFO: Processing buffer {"connection_id":109154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:04] local.INFO: Packet analysis {"connection_id":109154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:04] local.INFO: Extracted packet for processing {"connection_id":109154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":109154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:34:04] local.INFO: GPS data processed {"connection_id":109154,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:34:04] local.INFO: Acknowledgment sent {"connection_id":109154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:34:05] local.INFO: TCP Data received {"connection_id":108371,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69ffc28012d59968006632778001e01342a..."} 
[2026-06-21 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69ffc28012d59968006632778001e01342a..."} 
[2026-06-21 01:34:05] local.INFO: Processing buffer {"connection_id":108371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69ffc28012d59968006632778001e01342a..."} 
[2026-06-21 01:34:05] local.INFO: Packet analysis {"connection_id":108371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:05] local.INFO: Extracted packet for processing {"connection_id":108371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:05] local.INFO: GPS Element Parsed {"raw_longitude":760845952,"raw_latitude":107161464,"longitude_deg":76.0845952,"latitude_deg":10.7161464,"altitude":30,"angle":308,"satellites":42,"speed":52,"hex_longitude":"2d599680","hex_latitude":"06632778","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188338688001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125779607617011712,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6463369180150263808,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781985705000,"timestamp_ms":1781985705000,"timestamp_seconds":1781985705,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69ffc28"} 
[2026-06-21 01:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:34: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-06-21 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-21 01:34: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-06-21 01: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-06-21 01:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188338688001,"66":27800,"40":206,"9":3328,"24":52,"16":125779607617011712,"45":6463369180150263808},"client_ip":"117.225.151.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,9,24,16,45]} 
[2026-06-21 01:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 01:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 01:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188338688001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:34:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-21 01:34:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":3328,"description":"Unknown IO ID 9"} 
[2026-06-21 01:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125779607617011712,"km_value":125779607617011.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6463369180150263808,"description":"Unknown IO ID 45"} 
[2026-06-21 01:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188338688001,"power":27800,"unknown_40":206,"unknown_9":3328,"ignition":52,"odometer":null,"unknown_45":6463369180150263808}} 
[2026-06-21 01:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":108371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:34:05] local.INFO: GPS data processed {"connection_id":108371,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:34:05] local.INFO: Acknowledgment sent {"connection_id":108371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:34:09] local.INFO: TCP Data received {"connection_id":109154,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:09] local.INFO: Processing buffer {"connection_id":109154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:09] local.INFO: Packet analysis {"connection_id":109154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:09] local.INFO: Extracted packet for processing {"connection_id":109154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34: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-06-21 01:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:34: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-06-21 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:34: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-06-21 01: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-06-21 01:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:34:09] 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-06-21 01:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":109154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:34:09] local.INFO: GPS data processed {"connection_id":109154,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:34:09] local.INFO: Acknowledgment sent {"connection_id":109154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:34:28] local.INFO: TCP Data received {"connection_id":109155,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:28] local.INFO: Processing buffer {"connection_id":109155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:28] local.INFO: IMEI packet received {"connection_id":109155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":109155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:34:29] local.INFO: TCP Data received {"connection_id":109155,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:29] local.INFO: Processing buffer {"connection_id":109155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:29] local.INFO: IMEI packet received {"connection_id":109155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":109155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:34:34] local.INFO: TCP Data received {"connection_id":109155,"ip":"117.225.151.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:34] local.INFO: Processing buffer {"connection_id":109155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:34:34] local.INFO: IMEI packet received {"connection_id":109155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 01:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":109155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:34:35] local.INFO: TCP Data received {"connection_id":109155,"ip":"117.225.151.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a226d80100000000000000000000000000..."} 
[2026-06-21 01:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a226d80100000000000000000000000000..."} 
[2026-06-21 01:34:35] local.INFO: Processing buffer {"connection_id":109155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a226d80100000000000000000000000000..."} 
[2026-06-21 01:34:35] local.INFO: Packet analysis {"connection_id":109155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a2"} 
[2026-06-21 01:34:35] local.INFO: Extracted packet for processing {"connection_id":109155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a2"} 
[2026-06-21 01:34:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 01:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188361984001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125782970576404480,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6340364615336470528,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781985847000,"timestamp_ms":1781985847000,"timestamp_seconds":1781985847,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a226d8"} 
[2026-06-21 01:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 01:34:35] 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-06-21 01:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 01:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 01:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 01:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":109155,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 01:34:35] local.INFO: GPS data processed {"connection_id":109155,"processed":0,"errors":0,"total":1} 
[2026-06-21 01:34:35] local.INFO: Acknowledgment sent {"connection_id":109155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:34:53] local.INFO: TCP Data received {"connection_id":108372,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:53] local.INFO: Processing buffer {"connection_id":108372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:53] local.INFO: IMEI packet received {"connection_id":108372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":108372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:34:58] local.INFO: TCP Data received {"connection_id":108372,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:58] local.INFO: Processing buffer {"connection_id":108372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:34:58] local.INFO: IMEI packet received {"connection_id":108372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":108372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:34:59] local.INFO: TCP Data received {"connection_id":108372,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:59] local.INFO: Processing buffer {"connection_id":108372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:34:59] local.INFO: Packet analysis {"connection_id":108372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:59] local.INFO: Extracted packet for processing {"connection_id":108372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:34:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:34:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":108372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:34:59] local.INFO: GPS data processed {"connection_id":108372,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:34:59] local.INFO: Acknowledgment sent {"connection_id":108372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:35:31] local.INFO: TCP Data received {"connection_id":108372,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:35:31] local.INFO: Processing buffer {"connection_id":108372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:35:31] local.INFO: Packet analysis {"connection_id":108372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:35:31] local.INFO: Extracted packet for processing {"connection_id":108372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":108372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:35:31] local.INFO: GPS data processed {"connection_id":108372,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:35:31] local.INFO: Acknowledgment sent {"connection_id":108372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:35:53] local.INFO: TCP Data received {"connection_id":110110,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:35:53] local.INFO: Processing buffer {"connection_id":110110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:35:53] local.INFO: IMEI packet received {"connection_id":110110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":110110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:35:58] local.INFO: TCP Data received {"connection_id":110110,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:35:58] local.INFO: Processing buffer {"connection_id":110110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:35:58] local.INFO: IMEI packet received {"connection_id":110110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":110110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:36:00] local.INFO: TCP Data received {"connection_id":110110,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:36:00] local.INFO: Processing buffer {"connection_id":110110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:36:00] local.INFO: Packet analysis {"connection_id":110110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:36:00] local.INFO: Extracted packet for processing {"connection_id":110110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:36:00] 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-06-21 01:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:36:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:36:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":110110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:36:00] local.INFO: GPS data processed {"connection_id":110110,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:36:00] local.INFO: Acknowledgment sent {"connection_id":110110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:36:32] local.INFO: TCP Data received {"connection_id":110110,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:36:32] local.INFO: Processing buffer {"connection_id":110110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee69f9698012d34c18006aa3d600009011732..."} 
[2026-06-21 01:36:32] local.INFO: Packet analysis {"connection_id":110110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:36:32] local.INFO: Extracted packet for processing {"connection_id":110110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee69f"} 
[2026-06-21 01:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188256768001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781985679000,"timestamp_ms":1781985679000,"timestamp_seconds":1781985679,"priority":1,"record_length":96,"hex_timestamp":"0000019ee69f9698"} 
[2026-06-21 01:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:36:32] 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-06-21 01:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188256768001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188256768001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188256768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":110110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:36:32] local.INFO: GPS data processed {"connection_id":110110,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:36:32] local.INFO: Acknowledgment sent {"connection_id":110110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:36:53] local.INFO: TCP Data received {"connection_id":109156,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:36:53] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:36:53] local.INFO: IMEI packet received {"connection_id":109156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":109156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:36:58] local.INFO: TCP Data received {"connection_id":109156,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:36:58] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:36:58] local.INFO: IMEI packet received {"connection_id":109156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":109156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:36:59] local.INFO: TCP Data received {"connection_id":109156,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:36:59] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:36:59] local.INFO: Packet analysis {"connection_id":109156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:36:59] local.INFO: Extracted packet for processing {"connection_id":109156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":109156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:36:59] local.INFO: GPS data processed {"connection_id":109156,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:36:59] local.INFO: Acknowledgment sent {"connection_id":109156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:37:30] local.INFO: TCP Data received {"connection_id":109156,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:37:30] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:37:30] local.INFO: Packet analysis {"connection_id":109156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:37:30] local.INFO: Extracted packet for processing {"connection_id":109156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:37:30] 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-06-21 01:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:37:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:37:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":109156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:37:30] local.INFO: GPS data processed {"connection_id":109156,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:37:30] local.INFO: Acknowledgment sent {"connection_id":109156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:37:58] local.INFO: TCP Data received {"connection_id":108373,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:37:58] local.INFO: Processing buffer {"connection_id":108373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:37:58] local.INFO: IMEI packet received {"connection_id":108373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":108373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:38:03] local.INFO: TCP Data received {"connection_id":108373,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:03] local.INFO: Processing buffer {"connection_id":108373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:03] local.INFO: IMEI packet received {"connection_id":108373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":108373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:38:04] local.INFO: TCP Data received {"connection_id":108373,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:04] local.INFO: Processing buffer {"connection_id":108373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:04] local.INFO: Packet analysis {"connection_id":108373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:38:04] local.INFO: Extracted packet for processing {"connection_id":108373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01: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-06-21 01:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":108373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:38:04] local.INFO: GPS data processed {"connection_id":108373,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:38:04] local.INFO: Acknowledgment sent {"connection_id":108373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:38:09] local.INFO: TCP Data received {"connection_id":108373,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:09] local.INFO: Processing buffer {"connection_id":108373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:09] local.INFO: Packet analysis {"connection_id":108373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:38:09] local.INFO: Extracted packet for processing {"connection_id":108373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38: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-06-21 01:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:38: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-06-21 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:38: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-06-21 01: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-06-21 01:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":108373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:38:09] local.INFO: GPS data processed {"connection_id":108373,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:38:09] local.INFO: Acknowledgment sent {"connection_id":108373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:38:53] local.INFO: TCP Data received {"connection_id":108567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:53] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:53] local.INFO: IMEI packet received {"connection_id":108567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":108567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:38:58] local.INFO: TCP Data received {"connection_id":108567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:58] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:38:58] local.INFO: IMEI packet received {"connection_id":108567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":108567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:38:59] local.INFO: TCP Data received {"connection_id":108567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:59] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:38:59] local.INFO: Packet analysis {"connection_id":108567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:38:59] local.INFO: Extracted packet for processing {"connection_id":108567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:38:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":108567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:38:59] local.INFO: GPS data processed {"connection_id":108567,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:38:59] local.INFO: Acknowledgment sent {"connection_id":108567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:39:04] local.INFO: TCP Data received {"connection_id":108567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:39:04] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:39:04] local.INFO: Packet analysis {"connection_id":108567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:39:04] local.INFO: Extracted packet for processing {"connection_id":108567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:39: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-06-21 01:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":108567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:39:04] local.INFO: GPS data processed {"connection_id":108567,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:39:04] local.INFO: Acknowledgment sent {"connection_id":108567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:39:39] local.INFO: TCP Data received {"connection_id":108567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:39:39] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:39:39] local.INFO: Packet analysis {"connection_id":108567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:39:39] local.INFO: Extracted packet for processing {"connection_id":108567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01: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-06-21 01:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01: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-06-21 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01: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-06-21 01:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":108567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":108567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:39:39] local.INFO: GPS data processed {"connection_id":108567,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:39:39] local.INFO: Acknowledgment sent {"connection_id":108567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:39:53] local.INFO: TCP Data received {"connection_id":108374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:39:53] local.INFO: Processing buffer {"connection_id":108374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:39:53] local.INFO: IMEI packet received {"connection_id":108374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":108374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:39:58] local.INFO: TCP Data received {"connection_id":108374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:39:58] local.INFO: Processing buffer {"connection_id":108374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:39:58] local.INFO: IMEI packet received {"connection_id":108374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":108374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:40:00] local.INFO: TCP Data received {"connection_id":108374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:00] local.INFO: Processing buffer {"connection_id":108374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:00] local.INFO: Packet analysis {"connection_id":108374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:40:00] local.INFO: Extracted packet for processing {"connection_id":108374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:40:00] 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-06-21 01:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:40:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:40:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":108374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:40:00] local.INFO: GPS data processed {"connection_id":108374,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:40:00] local.INFO: Acknowledgment sent {"connection_id":108374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:40:31] local.INFO: TCP Data received {"connection_id":108374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:31] local.INFO: Processing buffer {"connection_id":108374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:31] local.INFO: Packet analysis {"connection_id":108374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:40:31] local.INFO: Extracted packet for processing {"connection_id":108374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:40:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":108374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:40:31] local.INFO: GPS data processed {"connection_id":108374,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:40:31] local.INFO: Acknowledgment sent {"connection_id":108374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:40:54] local.INFO: TCP Data received {"connection_id":108375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:40:54] local.INFO: Processing buffer {"connection_id":108375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:40:54] local.INFO: IMEI packet received {"connection_id":108375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":108375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:40:58] local.INFO: TCP Data received {"connection_id":108375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:40:58] local.INFO: Processing buffer {"connection_id":108375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:40:58] local.INFO: IMEI packet received {"connection_id":108375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":108375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:40:59] local.INFO: TCP Data received {"connection_id":108375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:59] local.INFO: Processing buffer {"connection_id":108375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:40:59] local.INFO: Packet analysis {"connection_id":108375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:40:59] local.INFO: Extracted packet for processing {"connection_id":108375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":108375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:40:59] local.INFO: GPS data processed {"connection_id":108375,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:40:59] local.INFO: Acknowledgment sent {"connection_id":108375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:41:30] local.INFO: TCP Data received {"connection_id":108375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:41:30] local.INFO: Processing buffer {"connection_id":108375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:41:30] local.INFO: Packet analysis {"connection_id":108375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:41:30] local.INFO: Extracted packet for processing {"connection_id":108375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":108375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:41:30] local.INFO: GPS data processed {"connection_id":108375,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:41:30] local.INFO: Acknowledgment sent {"connection_id":108375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:41:53] local.INFO: TCP Data received {"connection_id":108376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:41:53] local.INFO: Processing buffer {"connection_id":108376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:41:53] local.INFO: IMEI packet received {"connection_id":108376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":108376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:41:58] local.INFO: TCP Data received {"connection_id":108376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:41:58] local.INFO: Processing buffer {"connection_id":108376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:41:58] local.INFO: IMEI packet received {"connection_id":108376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":108376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:41:59] local.INFO: TCP Data received {"connection_id":108376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:41:59] local.INFO: Processing buffer {"connection_id":108376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a42e60012d34c18006aa3d600008011731..."} 
[2026-06-21 01:41:59] local.INFO: Packet analysis {"connection_id":108376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:41:59] local.INFO: Extracted packet for processing {"connection_id":108376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a4"} 
[2026-06-21 01:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188333824001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781985980000,"timestamp_ms":1781985980000,"timestamp_seconds":1781985980,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a42e60"} 
[2026-06-21 01:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 01:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188333824001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188333824001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:41:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:41:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188333824001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":108376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:41:59] local.INFO: GPS data processed {"connection_id":108376,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:41:59] local.INFO: Acknowledgment sent {"connection_id":108376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:42:31] local.INFO: TCP Data received {"connection_id":108376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:42:31] local.INFO: Processing buffer {"connection_id":108376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:42:31] local.INFO: Packet analysis {"connection_id":108376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:42:31] local.INFO: Extracted packet for processing {"connection_id":108376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":108376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:42:31] local.INFO: GPS data processed {"connection_id":108376,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:42:31] local.INFO: Acknowledgment sent {"connection_id":108376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:42:53] local.INFO: TCP Data received {"connection_id":108377,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:42:53] local.INFO: Processing buffer {"connection_id":108377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:42:53] local.INFO: IMEI packet received {"connection_id":108377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":108377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:42:58] local.INFO: TCP Data received {"connection_id":108377,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:42:58] local.INFO: Processing buffer {"connection_id":108377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:42:58] local.INFO: IMEI packet received {"connection_id":108377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":108377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:42:59] local.INFO: TCP Data received {"connection_id":108377,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:42:59] local.INFO: Processing buffer {"connection_id":108377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:42:59] local.INFO: Packet analysis {"connection_id":108377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:42:59] local.INFO: Extracted packet for processing {"connection_id":108377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:42:59] 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-06-21 01:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:42:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":108377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:42:59] local.INFO: GPS data processed {"connection_id":108377,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:42:59] local.INFO: Acknowledgment sent {"connection_id":108377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:43:30] local.INFO: TCP Data received {"connection_id":108377,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:43:30] local.INFO: Processing buffer {"connection_id":108377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:43:30] local.INFO: Packet analysis {"connection_id":108377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:43:30] local.INFO: Extracted packet for processing {"connection_id":108377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:43:30] 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-06-21 01:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:43:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":108377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:43:30] local.INFO: GPS data processed {"connection_id":108377,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:43:30] local.INFO: Acknowledgment sent {"connection_id":108377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:43:34] local.INFO: TCP Data received {"connection_id":108378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:43:34] local.INFO: Processing buffer {"connection_id":108378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:43:34] local.INFO: IMEI packet received {"connection_id":108378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":108378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:43:58] local.INFO: TCP Data received {"connection_id":110111,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:43:58] local.INFO: Processing buffer {"connection_id":110111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:43:58] local.INFO: IMEI packet received {"connection_id":110111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":110111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:44:03] local.INFO: TCP Data received {"connection_id":110111,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:03] local.INFO: Processing buffer {"connection_id":110111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:03] local.INFO: IMEI packet received {"connection_id":110111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":110111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:44:04] local.INFO: TCP Data received {"connection_id":110111,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:04] local.INFO: Processing buffer {"connection_id":110111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:04] local.INFO: Packet analysis {"connection_id":110111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:44:04] local.INFO: Extracted packet for processing {"connection_id":110111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:44: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-06-21 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":110111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:44:04] local.INFO: GPS data processed {"connection_id":110111,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:44:04] local.INFO: Acknowledgment sent {"connection_id":110111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:44:09] local.INFO: TCP Data received {"connection_id":110111,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:09] local.INFO: Processing buffer {"connection_id":110111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:09] local.INFO: Packet analysis {"connection_id":110111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:44:09] local.INFO: Extracted packet for processing {"connection_id":110111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44: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-06-21 01:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:44: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-06-21 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:44:09] 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-06-21 01:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":110111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:44:09] local.INFO: GPS data processed {"connection_id":110111,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:44:09] local.INFO: Acknowledgment sent {"connection_id":110111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:44:53] local.INFO: TCP Data received {"connection_id":108379,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:53] local.INFO: Processing buffer {"connection_id":108379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:53] local.INFO: IMEI packet received {"connection_id":108379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":108379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:44:58] local.INFO: TCP Data received {"connection_id":108379,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:58] local.INFO: Processing buffer {"connection_id":108379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:44:58] local.INFO: IMEI packet received {"connection_id":108379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":108379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:44:59] local.INFO: TCP Data received {"connection_id":108379,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:59] local.INFO: Processing buffer {"connection_id":108379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:44:59] local.INFO: Packet analysis {"connection_id":108379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:44:59] local.INFO: Extracted packet for processing {"connection_id":108379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:44:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:44:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":108379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:44:59] local.INFO: GPS data processed {"connection_id":108379,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:44:59] local.INFO: Acknowledgment sent {"connection_id":108379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:45:04] local.INFO: TCP Data received {"connection_id":108379,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:45:04] local.INFO: Processing buffer {"connection_id":108379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:45:04] local.INFO: Packet analysis {"connection_id":108379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:45:04] local.INFO: Extracted packet for processing {"connection_id":108379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:45: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-06-21 01:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":108379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:45:04] local.INFO: GPS data processed {"connection_id":108379,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:45:04] local.INFO: Acknowledgment sent {"connection_id":108379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:45:36] local.INFO: TCP Data received {"connection_id":108379,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:45:36] local.INFO: Processing buffer {"connection_id":108379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:45:36] local.INFO: Packet analysis {"connection_id":108379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:45:36] local.INFO: Extracted packet for processing {"connection_id":108379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:45: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-06-21 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":108379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:45:36] local.INFO: GPS data processed {"connection_id":108379,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:45:36] local.INFO: Acknowledgment sent {"connection_id":108379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:45:53] local.INFO: TCP Data received {"connection_id":108569,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:45:53] local.INFO: Processing buffer {"connection_id":108569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:45:53] local.INFO: IMEI packet received {"connection_id":108569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":108569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:45:59] local.INFO: TCP Data received {"connection_id":108569,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:45:59] local.INFO: Processing buffer {"connection_id":108569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:45:59] local.INFO: IMEI packet received {"connection_id":108569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":108569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:46:00] local.INFO: TCP Data received {"connection_id":108569,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:00] local.INFO: Processing buffer {"connection_id":108569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:00] local.INFO: Packet analysis {"connection_id":108569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:46:00] local.INFO: Extracted packet for processing {"connection_id":108569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:46:00] 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-06-21 01:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:46:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:46:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":108569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:46:00] local.INFO: GPS data processed {"connection_id":108569,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:46:00] local.INFO: Acknowledgment sent {"connection_id":108569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:46:31] local.INFO: TCP Data received {"connection_id":108569,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:31] local.INFO: Processing buffer {"connection_id":108569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:31] local.INFO: Packet analysis {"connection_id":108569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:46:31] local.INFO: Extracted packet for processing {"connection_id":108569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":108569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:46:31] local.INFO: GPS data processed {"connection_id":108569,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:46:31] local.INFO: Acknowledgment sent {"connection_id":108569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:46:53] local.INFO: TCP Data received {"connection_id":110112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:46:53] local.INFO: Processing buffer {"connection_id":110112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:46:53] local.INFO: IMEI packet received {"connection_id":110112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":110112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:46:58] local.INFO: TCP Data received {"connection_id":110112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:46:58] local.INFO: Processing buffer {"connection_id":110112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:46:58] local.INFO: IMEI packet received {"connection_id":110112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":110112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:46:59] local.INFO: TCP Data received {"connection_id":110112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:59] local.INFO: Processing buffer {"connection_id":110112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6a8c628012d34c18006aa3d600006011730..."} 
[2026-06-21 01:46:59] local.INFO: Packet analysis {"connection_id":110112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:46:59] local.INFO: Extracted packet for processing {"connection_id":110112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6a8"} 
[2026-06-21 01:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188410880001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986281000,"timestamp_ms":1781986281000,"timestamp_seconds":1781986281,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6a8c628"} 
[2026-06-21 01:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188410880001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188410880001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:46:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188410880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":110112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:46:59] local.INFO: GPS data processed {"connection_id":110112,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:46:59] local.INFO: Acknowledgment sent {"connection_id":110112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:47:31] local.INFO: TCP Data received {"connection_id":110112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:47:31] local.INFO: Processing buffer {"connection_id":110112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:47:31] local.INFO: Packet analysis {"connection_id":110112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:47:31] local.INFO: Extracted packet for processing {"connection_id":110112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":110112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:47:31] local.INFO: GPS data processed {"connection_id":110112,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:47:31] local.INFO: Acknowledgment sent {"connection_id":110112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:47:53] local.INFO: TCP Data received {"connection_id":109159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:47:53] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:47:53] local.INFO: IMEI packet received {"connection_id":109159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":109159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:47:58] local.INFO: TCP Data received {"connection_id":109159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:47:58] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:47:58] local.INFO: IMEI packet received {"connection_id":109159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":109159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:48:00] local.INFO: TCP Data received {"connection_id":109159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:00] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:00] local.INFO: Packet analysis {"connection_id":109159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:48:00] local.INFO: Extracted packet for processing {"connection_id":109159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:48:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:48:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":109159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:48:00] local.INFO: GPS data processed {"connection_id":109159,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:48:00] local.INFO: Acknowledgment sent {"connection_id":109159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:48:32] local.INFO: TCP Data received {"connection_id":109159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:32] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:32] local.INFO: Packet analysis {"connection_id":109159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:48:32] local.INFO: Extracted packet for processing {"connection_id":109159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:48:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":109159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:48:32] local.INFO: GPS data processed {"connection_id":109159,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:48:32] local.INFO: Acknowledgment sent {"connection_id":109159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:48:53] local.INFO: TCP Data received {"connection_id":108380,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:48:53] local.INFO: Processing buffer {"connection_id":108380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:48:53] local.INFO: IMEI packet received {"connection_id":108380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":108380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:48:58] local.INFO: TCP Data received {"connection_id":108380,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:48:58] local.INFO: Processing buffer {"connection_id":108380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:48:58] local.INFO: IMEI packet received {"connection_id":108380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":108380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:48:59] local.INFO: TCP Data received {"connection_id":108380,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:59] local.INFO: Processing buffer {"connection_id":108380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:48:59] local.INFO: Packet analysis {"connection_id":108380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:48:59] local.INFO: Extracted packet for processing {"connection_id":108380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:48:59] 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-06-21 01:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:48:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:48:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":108380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:48:59] local.INFO: GPS data processed {"connection_id":108380,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:48:59] local.INFO: Acknowledgment sent {"connection_id":108380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:49:09] local.INFO: TCP Data received {"connection_id":108381,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:49:09] local.INFO: Processing buffer {"connection_id":108381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:49:09] local.INFO: IMEI packet received {"connection_id":108381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":108381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:49:31] local.INFO: TCP Data received {"connection_id":108380,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:49:31] local.INFO: Processing buffer {"connection_id":108380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:49:31] local.INFO: Packet analysis {"connection_id":108380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:49:31] local.INFO: Extracted packet for processing {"connection_id":108380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":108380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:49:31] local.INFO: GPS data processed {"connection_id":108380,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:49:31] local.INFO: Acknowledgment sent {"connection_id":108380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:49:58] local.INFO: TCP Data received {"connection_id":110114,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:49:58] local.INFO: Processing buffer {"connection_id":110114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:49:58] local.INFO: IMEI packet received {"connection_id":110114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":110114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:50:03] local.INFO: TCP Data received {"connection_id":110114,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:03] local.INFO: Processing buffer {"connection_id":110114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:03] local.INFO: IMEI packet received {"connection_id":110114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":110114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:50:05] local.INFO: TCP Data received {"connection_id":110114,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:05] local.INFO: Processing buffer {"connection_id":110114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:05] local.INFO: Packet analysis {"connection_id":110114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:50:05] local.INFO: Extracted packet for processing {"connection_id":110114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:50: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-06-21 01:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:50: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-06-21 01: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-06-21 01:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:50:05] 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-06-21 01:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":110114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:50:05] local.INFO: GPS data processed {"connection_id":110114,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:50:05] local.INFO: Acknowledgment sent {"connection_id":110114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:50:09] local.INFO: TCP Data received {"connection_id":110114,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:09] local.INFO: Processing buffer {"connection_id":110114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:09] local.INFO: Packet analysis {"connection_id":110114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:50:09] local.INFO: Extracted packet for processing {"connection_id":110114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50: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-06-21 01:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:50: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-06-21 01:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:50: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-06-21 01:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:50: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-06-21 01:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":110114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:50:09] local.INFO: GPS data processed {"connection_id":110114,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:50:09] local.INFO: Acknowledgment sent {"connection_id":110114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:50:53] local.INFO: TCP Data received {"connection_id":108571,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:53] local.INFO: Processing buffer {"connection_id":108571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:53] local.INFO: IMEI packet received {"connection_id":108571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":108571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:50:58] local.INFO: TCP Data received {"connection_id":108571,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:58] local.INFO: Processing buffer {"connection_id":108571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:50:58] local.INFO: IMEI packet received {"connection_id":108571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":108571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:50:59] local.INFO: TCP Data received {"connection_id":108571,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:59] local.INFO: Processing buffer {"connection_id":108571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:50:59] local.INFO: Packet analysis {"connection_id":108571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:50:59] local.INFO: Extracted packet for processing {"connection_id":108571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01: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-06-21 01:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:50:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:50:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":108571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:50:59] local.INFO: GPS data processed {"connection_id":108571,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:50:59] local.INFO: Acknowledgment sent {"connection_id":108571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:51:31] local.INFO: TCP Data received {"connection_id":108571,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:51:31] local.INFO: Processing buffer {"connection_id":108571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:51:31] local.INFO: Packet analysis {"connection_id":108571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:51:31] local.INFO: Extracted packet for processing {"connection_id":108571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":108571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:51:31] local.INFO: GPS data processed {"connection_id":108571,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:51:31] local.INFO: Acknowledgment sent {"connection_id":108571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:51:53] local.INFO: TCP Data received {"connection_id":110116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:51:53] local.INFO: Processing buffer {"connection_id":110116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:51:53] local.INFO: IMEI packet received {"connection_id":110116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":110116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:51:58] local.INFO: TCP Data received {"connection_id":110116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:51:58] local.INFO: Processing buffer {"connection_id":110116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:51:58] local.INFO: IMEI packet received {"connection_id":110116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":110116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:51:59] local.INFO: TCP Data received {"connection_id":110116,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:51:59] local.INFO: Processing buffer {"connection_id":110116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6ad5df0012d34c18006aa3d600009011732..."} 
[2026-06-21 01:51:59] local.INFO: Packet analysis {"connection_id":110116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:51:59] local.INFO: Extracted packet for processing {"connection_id":110116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ad"} 
[2026-06-21 01:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":50,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188487936001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986582000,"timestamp_ms":1781986582000,"timestamp_seconds":1781986582,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6ad5df0"} 
[2026-06-21 01:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 01:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:51:59] 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-06-21 01:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188487936001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188487936001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:51:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:51:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188487936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":110116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:51:59] local.INFO: GPS data processed {"connection_id":110116,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:51:59] local.INFO: Acknowledgment sent {"connection_id":110116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:52:31] local.INFO: TCP Data received {"connection_id":110116,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:52:31] local.INFO: Processing buffer {"connection_id":110116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:52:31] local.INFO: Packet analysis {"connection_id":110116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:52:31] local.INFO: Extracted packet for processing {"connection_id":110116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":110116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:52:31] local.INFO: GPS data processed {"connection_id":110116,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:52:31] local.INFO: Acknowledgment sent {"connection_id":110116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:52:53] local.INFO: TCP Data received {"connection_id":108573,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:52:53] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:52:53] local.INFO: IMEI packet received {"connection_id":108573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":108573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:52:58] local.INFO: TCP Data received {"connection_id":108573,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:52:58] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:52:58] local.INFO: IMEI packet received {"connection_id":108573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":108573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:53:00] local.INFO: TCP Data received {"connection_id":108573,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:00] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:00] local.INFO: Packet analysis {"connection_id":108573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:53:00] local.INFO: Extracted packet for processing {"connection_id":108573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:53:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:53:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":108573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:53:00] local.INFO: GPS data processed {"connection_id":108573,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:53:00] local.INFO: Acknowledgment sent {"connection_id":108573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:53:31] local.INFO: TCP Data received {"connection_id":108573,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:31] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:31] local.INFO: Packet analysis {"connection_id":108573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:53:31] local.INFO: Extracted packet for processing {"connection_id":108573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 01:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":108573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:53:31] local.INFO: GPS data processed {"connection_id":108573,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:53:31] local.INFO: Acknowledgment sent {"connection_id":108573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:53:58] local.INFO: TCP Data received {"connection_id":110118,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:53:58] local.INFO: Processing buffer {"connection_id":110118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:53:58] local.INFO: IMEI packet received {"connection_id":110118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":110118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:53:59] local.INFO: TCP Data received {"connection_id":110118,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:59] local.INFO: Processing buffer {"connection_id":110118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:53:59] local.INFO: Packet analysis {"connection_id":110118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:53:59] local.INFO: Extracted packet for processing {"connection_id":110118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:53:59] 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-06-21 01:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:53:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":110118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:53:59] local.INFO: GPS data processed {"connection_id":110118,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:53:59] local.INFO: Acknowledgment sent {"connection_id":110118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:54:31] local.INFO: TCP Data received {"connection_id":110118,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:54:31] local.INFO: Processing buffer {"connection_id":110118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:54:31] local.INFO: Packet analysis {"connection_id":110118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:54:31] local.INFO: Extracted packet for processing {"connection_id":110118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":110118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:54:31] local.INFO: GPS data processed {"connection_id":110118,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:54:31] local.INFO: Acknowledgment sent {"connection_id":110118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:54:38] local.INFO: TCP Data received {"connection_id":109161,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:54:38] local.INFO: Processing buffer {"connection_id":109161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:54:38] local.INFO: IMEI packet received {"connection_id":109161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":109161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:54:53] local.INFO: TCP Data received {"connection_id":108382,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:54:53] local.INFO: Processing buffer {"connection_id":108382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:54:53] local.INFO: IMEI packet received {"connection_id":108382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":108382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:54:58] local.INFO: TCP Data received {"connection_id":108382,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:54:58] local.INFO: Processing buffer {"connection_id":108382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:54:58] local.INFO: IMEI packet received {"connection_id":108382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":108382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:54:59] local.INFO: TCP Data received {"connection_id":108382,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:54:59] local.INFO: Processing buffer {"connection_id":108382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:54:59] local.INFO: Packet analysis {"connection_id":108382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:54:59] local.INFO: Extracted packet for processing {"connection_id":108382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:54:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":108382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:54:59] local.INFO: GPS data processed {"connection_id":108382,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:54:59] local.INFO: Acknowledgment sent {"connection_id":108382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:55:04] local.INFO: TCP Data received {"connection_id":108382,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:04] local.INFO: Processing buffer {"connection_id":108382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:04] local.INFO: Packet analysis {"connection_id":108382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:55:04] local.INFO: Extracted packet for processing {"connection_id":108382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":108382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:55:04] local.INFO: GPS data processed {"connection_id":108382,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:55:04] local.INFO: Acknowledgment sent {"connection_id":108382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:55:18] local.INFO: TCP Data received {"connection_id":110119,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:55:18] local.INFO: Processing buffer {"connection_id":110119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 01:55:18] local.INFO: IMEI packet received {"connection_id":110119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 01:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":110119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:55:36] local.INFO: TCP Data received {"connection_id":108382,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:36] local.INFO: Processing buffer {"connection_id":108382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:36] local.INFO: Packet analysis {"connection_id":108382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:55:36] local.INFO: Extracted packet for processing {"connection_id":108382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55: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-06-21 01:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:55:36] 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-06-21 01:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":108382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:55:36] local.INFO: GPS data processed {"connection_id":108382,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:55:36] local.INFO: Acknowledgment sent {"connection_id":108382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:55:53] local.INFO: TCP Data received {"connection_id":109162,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:55:53] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:55:53] local.INFO: IMEI packet received {"connection_id":109162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":109162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:55:58] local.INFO: TCP Data received {"connection_id":109162,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:55:58] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:55:58] local.INFO: IMEI packet received {"connection_id":109162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":109162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:55:59] local.INFO: TCP Data received {"connection_id":109162,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:59] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:55:59] local.INFO: Packet analysis {"connection_id":109162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:55:59] local.INFO: Extracted packet for processing {"connection_id":109162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:55:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:55:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":109162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:55:59] local.INFO: GPS data processed {"connection_id":109162,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:55:59] local.INFO: Acknowledgment sent {"connection_id":109162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:56:31] local.INFO: TCP Data received {"connection_id":109162,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:56:31] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:56:31] local.INFO: Packet analysis {"connection_id":109162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:56:31] local.INFO: Extracted packet for processing {"connection_id":109162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:56:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:56:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":109162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:56:31] local.INFO: GPS data processed {"connection_id":109162,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:56:31] local.INFO: Acknowledgment sent {"connection_id":109162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:56:53] local.INFO: TCP Data received {"connection_id":109163,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:56:53] local.INFO: Processing buffer {"connection_id":109163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:56:53] local.INFO: IMEI packet received {"connection_id":109163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":109163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:56:55] local.INFO: TCP Data received {"connection_id":108383,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 01:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108383,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 01:56:55] local.INFO: Processing buffer {"connection_id":108383,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 01:56:55] local.INFO: Packet analysis {"connection_id":108383,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-06-21 01:56:55] local.INFO: Extracted packet for processing {"connection_id":108383,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-06-21 01:56:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 01:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-06-21 01:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:55] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-06-21 01:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-06-21 01:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-06-21 01:56:55] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":108383,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 01:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":108383,"device_imei":null,"avl_records_count":1} 
[2026-06-21 01:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":108383,"device_imei":null,"avl_records_count":1} 
[2026-06-21 01:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":108383,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 01:56:55] local.INFO: GPS data processed {"connection_id":108383,"processed":0,"errors":0,"total":1} 
[2026-06-21 01:56:55] local.INFO: Acknowledgment sent {"connection_id":108383,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:56:56] local.INFO: TCP Data received {"connection_id":109164,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 01:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109164,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 01:56:56] local.INFO: Processing buffer {"connection_id":109164,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 01:56:56] local.INFO: Packet analysis {"connection_id":109164,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-06-21 01:56:56] local.INFO: Extracted packet for processing {"connection_id":109164,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-06-21 01:56:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 01:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-06-21 01:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:56] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-06-21 01:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-06-21 01:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-06-21 01:56:56] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":109164,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 01:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":109164,"device_imei":null,"avl_records_count":1} 
[2026-06-21 01:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":109164,"device_imei":null,"avl_records_count":1} 
[2026-06-21 01:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":109164,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 01:56:56] local.INFO: GPS data processed {"connection_id":109164,"processed":0,"errors":0,"total":1} 
[2026-06-21 01:56:56] local.INFO: Acknowledgment sent {"connection_id":109164,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:56:58] local.INFO: TCP Data received {"connection_id":109163,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:56:58] local.INFO: Processing buffer {"connection_id":109163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:56:58] local.INFO: IMEI packet received {"connection_id":109163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":109163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:56:59] local.INFO: TCP Data received {"connection_id":109163,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:56:59] local.INFO: Processing buffer {"connection_id":109163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b1f5b8012d34c18006aa3d600009011731..."} 
[2026-06-21 01:56:59] local.INFO: Packet analysis {"connection_id":109163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:56:59] local.INFO: Extracted packet for processing {"connection_id":109163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b1"} 
[2026-06-21 01:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188564992001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781986883000,"timestamp_ms":1781986883000,"timestamp_seconds":1781986883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b1f5b8"} 
[2026-06-21 01:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 01:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:56:59] 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-06-21 01:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188564992001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188564992001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:56:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188564992001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":109163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:56:59] local.INFO: GPS data processed {"connection_id":109163,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:56:59] local.INFO: Acknowledgment sent {"connection_id":109163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:57:30] local.INFO: TCP Data received {"connection_id":109163,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:57:30] local.INFO: Processing buffer {"connection_id":109163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:57:30] local.INFO: Packet analysis {"connection_id":109163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:57:30] local.INFO: Extracted packet for processing {"connection_id":109163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 01:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 01:57:30] 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-06-21 01:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:57:30] 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-06-21 01:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:57:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:57:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":109163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:57:30] local.INFO: GPS data processed {"connection_id":109163,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:57:30] local.INFO: Acknowledgment sent {"connection_id":109163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:57:53] local.INFO: TCP Data received {"connection_id":108385,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:57:53] local.INFO: Processing buffer {"connection_id":108385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:57:53] local.INFO: IMEI packet received {"connection_id":108385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":108385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:57:58] local.INFO: TCP Data received {"connection_id":108385,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:57:58] local.INFO: Processing buffer {"connection_id":108385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:57:58] local.INFO: IMEI packet received {"connection_id":108385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":108385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:57:59] local.INFO: TCP Data received {"connection_id":108385,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:57:59] local.INFO: Processing buffer {"connection_id":108385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:57:59] local.INFO: Packet analysis {"connection_id":108385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:57:59] local.INFO: Extracted packet for processing {"connection_id":108385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 01:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 01:57:59] 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-06-21 01:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:57:59] 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-06-21 01:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":108385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:57:59] local.INFO: GPS data processed {"connection_id":108385,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:57:59] local.INFO: Acknowledgment sent {"connection_id":108385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:58:30] local.INFO: TCP Data received {"connection_id":108385,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:58:30] local.INFO: Processing buffer {"connection_id":108385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:58:30] local.INFO: Packet analysis {"connection_id":108385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:58:30] local.INFO: Extracted packet for processing {"connection_id":108385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 01:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 01:58:30] 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-06-21 01:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:58:30] 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-06-21 01:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":108385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:58:30] local.INFO: GPS data processed {"connection_id":108385,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:58:30] local.INFO: Acknowledgment sent {"connection_id":108385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:58:58] local.INFO: TCP Data received {"connection_id":109165,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:58:58] local.INFO: Processing buffer {"connection_id":109165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:58:58] local.INFO: IMEI packet received {"connection_id":109165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":109165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:59:03] local.INFO: TCP Data received {"connection_id":109165,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:03] local.INFO: Processing buffer {"connection_id":109165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:03] local.INFO: IMEI packet received {"connection_id":109165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":109165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:59:04] local.INFO: TCP Data received {"connection_id":109165,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:04] local.INFO: Processing buffer {"connection_id":109165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:04] local.INFO: Packet analysis {"connection_id":109165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:59:04] local.INFO: Extracted packet for processing {"connection_id":109165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 01:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 01:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 01:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":109165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:59:04] local.INFO: GPS data processed {"connection_id":109165,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:59:04] local.INFO: Acknowledgment sent {"connection_id":109165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:59:09] local.INFO: TCP Data received {"connection_id":109165,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:09] local.INFO: Processing buffer {"connection_id":109165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:09] local.INFO: Packet analysis {"connection_id":109165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:59:09] local.INFO: Extracted packet for processing {"connection_id":109165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 01:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59: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-06-21 01:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 01:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:59: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-06-21 01:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 01:59:09] 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-06-21 01:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 01:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 01:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":109165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:59:09] local.INFO: GPS data processed {"connection_id":109165,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:59:09] local.INFO: Acknowledgment sent {"connection_id":109165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 01:59:53] local.INFO: TCP Data received {"connection_id":108576,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:53] local.INFO: Processing buffer {"connection_id":108576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:53] local.INFO: IMEI packet received {"connection_id":108576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 01:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":108576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 01:59:58] local.INFO: TCP Data received {"connection_id":108576,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:58] local.INFO: Processing buffer {"connection_id":108576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 01:59:58] local.INFO: IMEI packet received {"connection_id":108576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 01:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":108576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 01:59:59] local.INFO: TCP Data received {"connection_id":108576,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:59] local.INFO: Processing buffer {"connection_id":108576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 01:59:59] local.INFO: Packet analysis {"connection_id":108576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:59:59] local.INFO: Extracted packet for processing {"connection_id":108576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 01:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 01: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-06-21 01:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 01:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 01:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 01:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 01:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 01:59:59] 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-06-21 01: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-06-21 01:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 01:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 01:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 01:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 01:59:59] 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-06-21 01:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 01:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 01:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 01:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 01:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 01:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 01:59:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 01:59:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 01:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 01:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 01:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 01:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":108576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 01:59:59] local.INFO: GPS data processed {"connection_id":108576,"processed":1,"errors":0,"total":1} 
[2026-06-21 01:59:59] local.INFO: Acknowledgment sent {"connection_id":108576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:00:30] local.INFO: TCP Data received {"connection_id":108576,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:00:30] local.INFO: Processing buffer {"connection_id":108576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:00:30] local.INFO: Packet analysis {"connection_id":108576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:00:30] local.INFO: Extracted packet for processing {"connection_id":108576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 02:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 02:00:30] 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-06-21 02:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:00:30] 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-06-21 02:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:00:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":108576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:00:30] local.INFO: GPS data processed {"connection_id":108576,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:00:30] local.INFO: Acknowledgment sent {"connection_id":108576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:00:34] local.INFO: TCP Data received {"connection_id":109166,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:00:34] local.INFO: Processing buffer {"connection_id":109166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:00:34] local.INFO: IMEI packet received {"connection_id":109166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":109166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:00:53] local.INFO: TCP Data received {"connection_id":109167,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:00:53] local.INFO: Processing buffer {"connection_id":109167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:00:53] local.INFO: IMEI packet received {"connection_id":109167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":109167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:00:58] local.INFO: TCP Data received {"connection_id":109167,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:00:58] local.INFO: Processing buffer {"connection_id":109167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:00:58] local.INFO: IMEI packet received {"connection_id":109167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":109167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:00:59] local.INFO: TCP Data received {"connection_id":109167,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:00:59] local.INFO: Processing buffer {"connection_id":109167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:00:59] local.INFO: Packet analysis {"connection_id":109167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:00:59] local.INFO: Extracted packet for processing {"connection_id":109167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 02:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 02:00:59] 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-06-21 02:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:00:59] 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-06-21 02:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:00:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":109167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:00:59] local.INFO: GPS data processed {"connection_id":109167,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:00:59] local.INFO: Acknowledgment sent {"connection_id":109167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:01:19] local.INFO: TCP Data received {"connection_id":109168,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:01:19] local.INFO: Processing buffer {"connection_id":109168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:01:19] local.INFO: IMEI packet received {"connection_id":109168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":109168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:01:31] local.INFO: TCP Data received {"connection_id":109167,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:01:31] local.INFO: Processing buffer {"connection_id":109167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:01:31] local.INFO: Packet analysis {"connection_id":109167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:01:31] local.INFO: Extracted packet for processing {"connection_id":109167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 02:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 02:01:31] 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-06-21 02:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:01:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:01:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":109167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:01:31] local.INFO: GPS data processed {"connection_id":109167,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:01:31] local.INFO: Acknowledgment sent {"connection_id":109167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:01:53] local.INFO: TCP Data received {"connection_id":110122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:01:53] local.INFO: Processing buffer {"connection_id":110122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:01:53] local.INFO: IMEI packet received {"connection_id":110122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":110122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:01:58] local.INFO: TCP Data received {"connection_id":110122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:01:58] local.INFO: Processing buffer {"connection_id":110122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:01:58] local.INFO: IMEI packet received {"connection_id":110122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":110122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:01:59] local.INFO: TCP Data received {"connection_id":110122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:01:59] local.INFO: Processing buffer {"connection_id":110122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6b68d80012d34c18006aa3d600009011730..."} 
[2026-06-21 02:01:59] local.INFO: Packet analysis {"connection_id":110122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:01:59] local.INFO: Extracted packet for processing {"connection_id":110122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6b6"} 
[2026-06-21 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188642048001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987184000,"timestamp_ms":1781987184000,"timestamp_seconds":1781987184,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6b68d80"} 
[2026-06-21 02:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 02:01:59] 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-06-21 02:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:01:59] 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-06-21 02:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188642048001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188642048001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188642048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":110122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:01:59] local.INFO: GPS data processed {"connection_id":110122,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:01:59] local.INFO: Acknowledgment sent {"connection_id":110122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:02:30] local.INFO: TCP Data received {"connection_id":110122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:02:30] local.INFO: Processing buffer {"connection_id":110122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:02:30] local.INFO: Packet analysis {"connection_id":110122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:02:30] local.INFO: Extracted packet for processing {"connection_id":110122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:02:30] 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-06-21 02:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:02:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:02:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":110122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:02:30] local.INFO: GPS data processed {"connection_id":110122,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:02:30] local.INFO: Acknowledgment sent {"connection_id":110122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:02:53] local.INFO: TCP Data received {"connection_id":108387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:02:53] local.INFO: Processing buffer {"connection_id":108387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:02:53] local.INFO: IMEI packet received {"connection_id":108387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":108387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:02:58] local.INFO: TCP Data received {"connection_id":108387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:02:58] local.INFO: Processing buffer {"connection_id":108387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:02:58] local.INFO: IMEI packet received {"connection_id":108387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":108387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:02:59] local.INFO: TCP Data received {"connection_id":108387,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:02:59] local.INFO: Processing buffer {"connection_id":108387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:02:59] local.INFO: Packet analysis {"connection_id":108387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:02:59] local.INFO: Extracted packet for processing {"connection_id":108387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:02:59] 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-06-21 02:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:02:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":108387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:02:59] local.INFO: GPS data processed {"connection_id":108387,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:02:59] local.INFO: Acknowledgment sent {"connection_id":108387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:03:30] local.INFO: TCP Data received {"connection_id":108387,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:03:30] local.INFO: Processing buffer {"connection_id":108387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:03:30] local.INFO: Packet analysis {"connection_id":108387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:03:30] local.INFO: Extracted packet for processing {"connection_id":108387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:03:30] 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-06-21 02:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:03:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:03:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":108387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:03:30] local.INFO: GPS data processed {"connection_id":108387,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:03:30] local.INFO: Acknowledgment sent {"connection_id":108387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:03:58] local.INFO: TCP Data received {"connection_id":108388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:03:58] local.INFO: Processing buffer {"connection_id":108388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:03:58] local.INFO: IMEI packet received {"connection_id":108388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":108388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:04:03] local.INFO: TCP Data received {"connection_id":108388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:03] local.INFO: Processing buffer {"connection_id":108388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:03] local.INFO: IMEI packet received {"connection_id":108388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":108388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:04:04] local.INFO: TCP Data received {"connection_id":108388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:04] local.INFO: Processing buffer {"connection_id":108388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:04] local.INFO: Packet analysis {"connection_id":108388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:04:04] local.INFO: Extracted packet for processing {"connection_id":108388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":108388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:04:04] local.INFO: GPS data processed {"connection_id":108388,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:04:04] local.INFO: Acknowledgment sent {"connection_id":108388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:04:36] local.INFO: TCP Data received {"connection_id":108388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:36] local.INFO: Processing buffer {"connection_id":108388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:36] local.INFO: Packet analysis {"connection_id":108388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:04:36] local.INFO: Extracted packet for processing {"connection_id":108388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:04: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-06-21 02:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":108388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:04:36] local.INFO: GPS data processed {"connection_id":108388,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:04:36] local.INFO: Acknowledgment sent {"connection_id":108388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:04:53] local.INFO: TCP Data received {"connection_id":110123,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:53] local.INFO: Processing buffer {"connection_id":110123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:53] local.INFO: IMEI packet received {"connection_id":110123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":110123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:04:58] local.INFO: TCP Data received {"connection_id":110123,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:58] local.INFO: Processing buffer {"connection_id":110123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:04:58] local.INFO: IMEI packet received {"connection_id":110123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":110123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:04:59] local.INFO: TCP Data received {"connection_id":110123,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:59] local.INFO: Processing buffer {"connection_id":110123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:04:59] local.INFO: Packet analysis {"connection_id":110123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:04:59] local.INFO: Extracted packet for processing {"connection_id":110123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:04:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":110123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:04:59] local.INFO: GPS data processed {"connection_id":110123,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:04:59] local.INFO: Acknowledgment sent {"connection_id":110123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:05:31] local.INFO: TCP Data received {"connection_id":110123,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:05:31] local.INFO: Processing buffer {"connection_id":110123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:05:31] local.INFO: Packet analysis {"connection_id":110123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:05:31] local.INFO: Extracted packet for processing {"connection_id":110123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":110123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:05:31] local.INFO: GPS data processed {"connection_id":110123,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:05:31] local.INFO: Acknowledgment sent {"connection_id":110123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:05:53] local.INFO: TCP Data received {"connection_id":110124,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:05:53] local.INFO: Processing buffer {"connection_id":110124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:05:53] local.INFO: IMEI packet received {"connection_id":110124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":110124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:05:58] local.INFO: TCP Data received {"connection_id":110124,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:05:58] local.INFO: Processing buffer {"connection_id":110124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:05:58] local.INFO: IMEI packet received {"connection_id":110124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":110124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:05:59] local.INFO: TCP Data received {"connection_id":110124,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:05:59] local.INFO: Processing buffer {"connection_id":110124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:05:59] local.INFO: Packet analysis {"connection_id":110124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:05:59] local.INFO: Extracted packet for processing {"connection_id":110124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:05:59] 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-06-21 02:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:05:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:05:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":110124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:05:59] local.INFO: GPS data processed {"connection_id":110124,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:05:59] local.INFO: Acknowledgment sent {"connection_id":110124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:06:31] local.INFO: TCP Data received {"connection_id":110124,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:06:31] local.INFO: Processing buffer {"connection_id":110124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:06:31] local.INFO: Packet analysis {"connection_id":110124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:06:31] local.INFO: Extracted packet for processing {"connection_id":110124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":110124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:06:31] local.INFO: GPS data processed {"connection_id":110124,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:06:31] local.INFO: Acknowledgment sent {"connection_id":110124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:06:33] local.INFO: TCP Data received {"connection_id":109170,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:06:33] local.INFO: Processing buffer {"connection_id":109170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:06:33] local.INFO: IMEI packet received {"connection_id":109170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":109170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:06:53] local.INFO: TCP Data received {"connection_id":108389,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:06:53] local.INFO: Processing buffer {"connection_id":108389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:06:53] local.INFO: IMEI packet received {"connection_id":108389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":108389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:06:59] local.INFO: TCP Data received {"connection_id":108389,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:06:59] local.INFO: Processing buffer {"connection_id":108389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:06:59] local.INFO: IMEI packet received {"connection_id":108389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":108389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:07:01] local.INFO: TCP Data received {"connection_id":108389,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:07:01] local.INFO: Processing buffer {"connection_id":108389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bb2548012d34c18006aa3d600009011731..."} 
[2026-06-21 02:07:01] local.INFO: Packet analysis {"connection_id":108389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:07:01] local.INFO: Extracted packet for processing {"connection_id":108389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bb"} 
[2026-06-21 02:07:01] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":9,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188719104001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781987485000,"timestamp_ms":1781987485000,"timestamp_seconds":1781987485,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bb2548"} 
[2026-06-21 02:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":108389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":108389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":108389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188719104001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188719104001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:07:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:07:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188719104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":108389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:07:01] local.INFO: GPS data processed {"connection_id":108389,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:07:01] local.INFO: Acknowledgment sent {"connection_id":108389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:07:18] local.INFO: TCP Data received {"connection_id":109171,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:07:18] local.INFO: Processing buffer {"connection_id":109171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:07:18] local.INFO: IMEI packet received {"connection_id":109171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":109171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:07:25] local.INFO: TCP Data received {"connection_id":109171,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:07:25] local.INFO: Processing buffer {"connection_id":109171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:07:25] local.INFO: IMEI packet received {"connection_id":109171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 02:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":109171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:07:32] local.INFO: TCP Data received {"connection_id":108389,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:07:32] local.INFO: Processing buffer {"connection_id":108389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:07:32] local.INFO: Packet analysis {"connection_id":108389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:07:32] local.INFO: Extracted packet for processing {"connection_id":108389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:07:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":108389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:07:32] local.INFO: GPS data processed {"connection_id":108389,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:07:32] local.INFO: Acknowledgment sent {"connection_id":108389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:07:34] local.INFO: TCP Data received {"connection_id":109171,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bf0578012d508a8006761e380014005b31..."} 
[2026-06-21 02:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bf0578012d508a8006761e380014005b31..."} 
[2026-06-21 02:07:34] local.INFO: Processing buffer {"connection_id":109171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bf0578012d508a8006761e380014005b31..."} 
[2026-06-21 02:07:34] local.INFO: Packet analysis {"connection_id":109171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:07:34] local.INFO: Extracted packet for processing {"connection_id":109171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:07:34] local.INFO: GPS Element Parsed {"raw_longitude":760253056,"raw_latitude":108404280,"longitude_deg":76.0253056,"latitude_deg":10.840428,"altitude":20,"angle":91,"satellites":49,"speed":0,"hex_longitude":"2d508a80","hex_latitude":"06761e38","is_valid_coordinates":true} 
[2026-06-21 02:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188855808001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125840523138170880,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5781284943155884032,"note":"Value kept but may cause issues"} 
[2026-06-21 02:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781987739000,"timestamp_ms":1781987739000,"timestamp_seconds":1781987739,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bf0578"} 
[2026-06-21 02:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 02:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-21 02:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 02:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 02:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 02:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 02:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188855808001,"66":27832,"146":206,"80":60160,"24":0,"16":125840523138170880,"45":5781284943155884032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-06-21 02:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 02:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 02:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188855808001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:07:34] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-21 02:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-21 02:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125840523138170880,"km_value":125840523138170.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5781284943155884032,"description":"Unknown IO ID 45"} 
[2026-06-21 02:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188855808001,"power":27832,"unknown_146":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5781284943155884032}} 
[2026-06-21 02:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":109171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:07:34] local.INFO: GPS data processed {"connection_id":109171,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:07:34] local.INFO: Acknowledgment sent {"connection_id":109171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:07:58] local.INFO: TCP Data received {"connection_id":108578,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:07:58] local.INFO: Processing buffer {"connection_id":108578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:07:58] local.INFO: IMEI packet received {"connection_id":108578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":108578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:08:03] local.INFO: TCP Data received {"connection_id":108578,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:03] local.INFO: Processing buffer {"connection_id":108578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:03] local.INFO: IMEI packet received {"connection_id":108578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":108578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:08:04] local.INFO: TCP Data received {"connection_id":108578,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:08:04] local.INFO: Processing buffer {"connection_id":108578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:08:04] local.INFO: Packet analysis {"connection_id":108578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:08:04] local.INFO: Extracted packet for processing {"connection_id":108578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:08:04] 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-06-21 02:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":108578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:08:04] local.INFO: GPS data processed {"connection_id":108578,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:08:04] local.INFO: Acknowledgment sent {"connection_id":108578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:08:09] local.INFO: TCP Data received {"connection_id":108578,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:08:09] local.INFO: Processing buffer {"connection_id":108578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:08:09] local.INFO: Packet analysis {"connection_id":108578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:08:09] local.INFO: Extracted packet for processing {"connection_id":108578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:08: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-06-21 02:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:08: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-06-21 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:08:09] 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-06-21 02:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":108578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:08:09] local.INFO: GPS data processed {"connection_id":108578,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:08:09] local.INFO: Acknowledgment sent {"connection_id":108578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:08:11] local.INFO: TCP Data received {"connection_id":108390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:08:11] local.INFO: Processing buffer {"connection_id":108390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:08:11] local.INFO: IMEI packet received {"connection_id":108390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":108390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:08:53] local.INFO: TCP Data received {"connection_id":108579,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:53] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:53] local.INFO: IMEI packet received {"connection_id":108579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":108579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:08:58] local.INFO: TCP Data received {"connection_id":108579,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:58] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:08:58] local.INFO: IMEI packet received {"connection_id":108579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":108579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:09:00] local.INFO: TCP Data received {"connection_id":108579,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:00] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:00] local.INFO: Packet analysis {"connection_id":108579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:09:00] local.INFO: Extracted packet for processing {"connection_id":108579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:09:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:09:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":108579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:09:00] local.INFO: GPS data processed {"connection_id":108579,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:09:00] local.INFO: Acknowledgment sent {"connection_id":108579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:09:32] local.INFO: TCP Data received {"connection_id":108579,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:32] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:32] local.INFO: Packet analysis {"connection_id":108579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:09:32] local.INFO: Extracted packet for processing {"connection_id":108579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":108579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:09:32] local.INFO: GPS data processed {"connection_id":108579,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:09:32] local.INFO: Acknowledgment sent {"connection_id":108579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:09:53] local.INFO: TCP Data received {"connection_id":108391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:09:53] local.INFO: Processing buffer {"connection_id":108391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:09:53] local.INFO: IMEI packet received {"connection_id":108391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":108391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:09:58] local.INFO: TCP Data received {"connection_id":108391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:09:58] local.INFO: Processing buffer {"connection_id":108391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:09:58] local.INFO: IMEI packet received {"connection_id":108391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":108391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:09:59] local.INFO: TCP Data received {"connection_id":108391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:59] local.INFO: Processing buffer {"connection_id":108391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:09:59] local.INFO: Packet analysis {"connection_id":108391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:09:59] local.INFO: Extracted packet for processing {"connection_id":108391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:09:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":108391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:09:59] local.INFO: GPS data processed {"connection_id":108391,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:09:59] local.INFO: Acknowledgment sent {"connection_id":108391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:10:31] local.INFO: TCP Data received {"connection_id":108391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:10:31] local.INFO: Processing buffer {"connection_id":108391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:10:31] local.INFO: Packet analysis {"connection_id":108391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:10:31] local.INFO: Extracted packet for processing {"connection_id":108391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:10:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:10:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":108391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:10:31] local.INFO: GPS data processed {"connection_id":108391,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:10:31] local.INFO: Acknowledgment sent {"connection_id":108391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:10:53] local.INFO: TCP Data received {"connection_id":108393,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:10:53] local.INFO: Processing buffer {"connection_id":108393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:10:53] local.INFO: IMEI packet received {"connection_id":108393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":108393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:10:58] local.INFO: TCP Data received {"connection_id":108393,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:10:58] local.INFO: Processing buffer {"connection_id":108393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:10:58] local.INFO: IMEI packet received {"connection_id":108393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":108393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:10:59] local.INFO: TCP Data received {"connection_id":108393,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:10:59] local.INFO: Processing buffer {"connection_id":108393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:10:59] local.INFO: Packet analysis {"connection_id":108393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:10:59] local.INFO: Extracted packet for processing {"connection_id":108393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:10:59] 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-06-21 02:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":108393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:10:59] local.INFO: GPS data processed {"connection_id":108393,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:10:59] local.INFO: Acknowledgment sent {"connection_id":108393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:11:31] local.INFO: TCP Data received {"connection_id":108393,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:11:31] local.INFO: Processing buffer {"connection_id":108393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:11:31] local.INFO: Packet analysis {"connection_id":108393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:11:31] local.INFO: Extracted packet for processing {"connection_id":108393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":108393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:11:31] local.INFO: GPS data processed {"connection_id":108393,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:11:31] local.INFO: Acknowledgment sent {"connection_id":108393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:11:53] local.INFO: TCP Data received {"connection_id":110125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:11:53] local.INFO: Processing buffer {"connection_id":110125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:11:53] local.INFO: IMEI packet received {"connection_id":110125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":110125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:11:58] local.INFO: TCP Data received {"connection_id":110125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:11:58] local.INFO: Processing buffer {"connection_id":110125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:11:58] local.INFO: IMEI packet received {"connection_id":110125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":110125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:11:59] local.INFO: TCP Data received {"connection_id":110125,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:11:59] local.INFO: Processing buffer {"connection_id":110125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6bfbd10012d34c18006aa3d600006011731..."} 
[2026-06-21 02:11:59] local.INFO: Packet analysis {"connection_id":110125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:11:59] local.INFO: Extracted packet for processing {"connection_id":110125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6bf"} 
[2026-06-21 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781987786000,"timestamp_ms":1781987786000,"timestamp_seconds":1781987786,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6bfbd10"} 
[2026-06-21 02:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:11:59] 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-06-21 02:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188796160001,"66":25517,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188796160001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":110125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:11:59] local.INFO: GPS data processed {"connection_id":110125,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:11:59] local.INFO: Acknowledgment sent {"connection_id":110125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:12:30] local.INFO: TCP Data received {"connection_id":110125,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:12:30] local.INFO: Processing buffer {"connection_id":110125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:12:30] local.INFO: Packet analysis {"connection_id":110125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:12:30] local.INFO: Extracted packet for processing {"connection_id":110125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:12:30] 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-06-21 02:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:12:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":110125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:12:30] local.INFO: GPS data processed {"connection_id":110125,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:12:30] local.INFO: Acknowledgment sent {"connection_id":110125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:12:53] local.INFO: TCP Data received {"connection_id":109173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:12:53] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:12:53] local.INFO: IMEI packet received {"connection_id":109173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":109173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:12:58] local.INFO: TCP Data received {"connection_id":109173,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:12:58] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:12:58] local.INFO: IMEI packet received {"connection_id":109173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":109173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:12:59] local.INFO: TCP Data received {"connection_id":109173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:12:59] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:12:59] local.INFO: Packet analysis {"connection_id":109173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:12:59] local.INFO: Extracted packet for processing {"connection_id":109173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:12:59] 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-06-21 02:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:12:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":109173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:12:59] local.INFO: GPS data processed {"connection_id":109173,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:12:59] local.INFO: Acknowledgment sent {"connection_id":109173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:13:29] local.INFO: TCP Data received {"connection_id":110126,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:13:29] local.INFO: Processing buffer {"connection_id":110126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:13:29] local.INFO: IMEI packet received {"connection_id":110126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":110126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:13:31] local.INFO: TCP Data received {"connection_id":109173,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:13:31] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:13:31] local.INFO: Packet analysis {"connection_id":109173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:13:31] local.INFO: Extracted packet for processing {"connection_id":109173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":109173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:13:31] local.INFO: GPS data processed {"connection_id":109173,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:13:31] local.INFO: Acknowledgment sent {"connection_id":109173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:13:53] local.INFO: TCP Data received {"connection_id":110127,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:13:53] local.INFO: Processing buffer {"connection_id":110127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:13:53] local.INFO: IMEI packet received {"connection_id":110127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":110127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:13:58] local.INFO: TCP Data received {"connection_id":110127,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:13:58] local.INFO: Processing buffer {"connection_id":110127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:13:58] local.INFO: IMEI packet received {"connection_id":110127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":110127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:14:00] local.INFO: TCP Data received {"connection_id":110127,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:00] local.INFO: Processing buffer {"connection_id":110127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:00] local.INFO: Packet analysis {"connection_id":110127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:14:00] local.INFO: Extracted packet for processing {"connection_id":110127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:14:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:14:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":110127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:14:00] local.INFO: GPS data processed {"connection_id":110127,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:14:00] local.INFO: Acknowledgment sent {"connection_id":110127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:14:13] local.INFO: TCP Data received {"connection_id":108581,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:14:13] local.INFO: Processing buffer {"connection_id":108581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:14:13] local.INFO: IMEI packet received {"connection_id":108581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":108581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:14:32] local.INFO: TCP Data received {"connection_id":110127,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:32] local.INFO: Processing buffer {"connection_id":110127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:32] local.INFO: Packet analysis {"connection_id":110127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:14:32] local.INFO: Extracted packet for processing {"connection_id":110127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":110127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:14:32] local.INFO: GPS data processed {"connection_id":110127,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:14:32] local.INFO: Acknowledgment sent {"connection_id":110127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:14:53] local.INFO: TCP Data received {"connection_id":109174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:14:53] local.INFO: Processing buffer {"connection_id":109174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:14:53] local.INFO: IMEI packet received {"connection_id":109174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":109174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:14:58] local.INFO: TCP Data received {"connection_id":109174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:14:58] local.INFO: Processing buffer {"connection_id":109174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:14:58] local.INFO: IMEI packet received {"connection_id":109174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":109174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:14:59] local.INFO: TCP Data received {"connection_id":109174,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:59] local.INFO: Processing buffer {"connection_id":109174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:14:59] local.INFO: Packet analysis {"connection_id":109174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:14:59] local.INFO: Extracted packet for processing {"connection_id":109174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:14:59] 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-06-21 02:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:14:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:14:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":109174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:14:59] local.INFO: GPS data processed {"connection_id":109174,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:14:59] local.INFO: Acknowledgment sent {"connection_id":109174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:15:30] local.INFO: TCP Data received {"connection_id":109174,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:15:30] local.INFO: Processing buffer {"connection_id":109174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:15:30] local.INFO: Packet analysis {"connection_id":109174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:15:30] local.INFO: Extracted packet for processing {"connection_id":109174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:15:30] 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-06-21 02:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:15:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:15:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":109174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:15:30] local.INFO: GPS data processed {"connection_id":109174,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:15:30] local.INFO: Acknowledgment sent {"connection_id":109174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:15:58] local.INFO: TCP Data received {"connection_id":108396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:15:58] local.INFO: Processing buffer {"connection_id":108396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:15:58] local.INFO: IMEI packet received {"connection_id":108396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":108396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:16:03] local.INFO: TCP Data received {"connection_id":108396,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:03] local.INFO: Processing buffer {"connection_id":108396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:03] local.INFO: IMEI packet received {"connection_id":108396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":108396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:16:05] local.INFO: TCP Data received {"connection_id":108396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:05] local.INFO: Processing buffer {"connection_id":108396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:05] local.INFO: Packet analysis {"connection_id":108396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:16:05] local.INFO: Extracted packet for processing {"connection_id":108396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:16:05] 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-06-21 02:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":108396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:16:05] local.INFO: GPS data processed {"connection_id":108396,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:16:05] local.INFO: Acknowledgment sent {"connection_id":108396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:16:09] local.INFO: TCP Data received {"connection_id":108396,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:09] local.INFO: Processing buffer {"connection_id":108396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:09] local.INFO: Packet analysis {"connection_id":108396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:16:09] local.INFO: Extracted packet for processing {"connection_id":108396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16: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-06-21 02:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:16: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-06-21 02: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:16:09] 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-06-21 02:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":108396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:16:09] local.INFO: GPS data processed {"connection_id":108396,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:16:09] local.INFO: Acknowledgment sent {"connection_id":108396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:16:53] local.INFO: TCP Data received {"connection_id":110129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:53] local.INFO: Processing buffer {"connection_id":110129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:53] local.INFO: IMEI packet received {"connection_id":110129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":110129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:16:58] local.INFO: TCP Data received {"connection_id":110129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:58] local.INFO: Processing buffer {"connection_id":110129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:16:58] local.INFO: IMEI packet received {"connection_id":110129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":110129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:16:59] local.INFO: TCP Data received {"connection_id":110129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:59] local.INFO: Processing buffer {"connection_id":110129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:16:59] local.INFO: Packet analysis {"connection_id":110129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:16:59] local.INFO: Extracted packet for processing {"connection_id":110129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:16:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:16:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":110129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:16:59] local.INFO: GPS data processed {"connection_id":110129,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:16:59] local.INFO: Acknowledgment sent {"connection_id":110129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:17:03] local.INFO: TCP Data received {"connection_id":110129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:17:03] local.INFO: Processing buffer {"connection_id":110129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c454d8012d34c18006aa3d600006011731..."} 
[2026-06-21 02:17:03] local.INFO: Packet analysis {"connection_id":110129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:17:03] local.INFO: Extracted packet for processing {"connection_id":110129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c4"} 
[2026-06-21 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":49,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188873216001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781988087000,"timestamp_ms":1781988087000,"timestamp_seconds":1781988087,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c454d8"} 
[2026-06-21 02:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 02:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188873216001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188873216001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188873216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":110129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:17:03] local.INFO: GPS data processed {"connection_id":110129,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:17:03] local.INFO: Acknowledgment sent {"connection_id":110129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:17:35] local.INFO: TCP Data received {"connection_id":110129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:17:35] local.INFO: Processing buffer {"connection_id":110129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:17:35] local.INFO: Packet analysis {"connection_id":110129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:17:35] local.INFO: Extracted packet for processing {"connection_id":110129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17: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-06-21 02:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":110129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:17:35] local.INFO: GPS data processed {"connection_id":110129,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:17:35] local.INFO: Acknowledgment sent {"connection_id":110129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:17:53] local.INFO: TCP Data received {"connection_id":108397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:17:53] local.INFO: Processing buffer {"connection_id":108397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:17:53] local.INFO: IMEI packet received {"connection_id":108397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":108397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:17:58] local.INFO: TCP Data received {"connection_id":108397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:17:58] local.INFO: Processing buffer {"connection_id":108397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:17:58] local.INFO: IMEI packet received {"connection_id":108397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":108397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:17:58] local.INFO: TCP Data received {"connection_id":108397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:17:58] local.INFO: Processing buffer {"connection_id":108397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:17:58] local.INFO: Packet analysis {"connection_id":108397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:17:58] local.INFO: Extracted packet for processing {"connection_id":108397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:17:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:17:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":108397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:17:58] local.INFO: GPS data processed {"connection_id":108397,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:17:58] local.INFO: Acknowledgment sent {"connection_id":108397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:18:29] local.INFO: TCP Data received {"connection_id":108397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:18:29] local.INFO: Processing buffer {"connection_id":108397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:18:29] local.INFO: Packet analysis {"connection_id":108397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:18:29] local.INFO: Extracted packet for processing {"connection_id":108397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:18:29] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:18:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:18:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":108397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:18:29] local.INFO: GPS data processed {"connection_id":108397,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:18:29] local.INFO: Acknowledgment sent {"connection_id":108397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:18:53] local.INFO: TCP Data received {"connection_id":110131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:18:53] local.INFO: Processing buffer {"connection_id":110131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:18:53] local.INFO: IMEI packet received {"connection_id":110131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":110131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:18:58] local.INFO: TCP Data received {"connection_id":110131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:18:58] local.INFO: Processing buffer {"connection_id":110131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:18:58] local.INFO: IMEI packet received {"connection_id":110131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":110131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:18:59] local.INFO: TCP Data received {"connection_id":110131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:18:59] local.INFO: Processing buffer {"connection_id":110131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:18:59] local.INFO: Packet analysis {"connection_id":110131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:18:59] local.INFO: Extracted packet for processing {"connection_id":110131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:18:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:18:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":110131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:18:59] local.INFO: GPS data processed {"connection_id":110131,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:18:59] local.INFO: Acknowledgment sent {"connection_id":110131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:19:18] local.INFO: TCP Data received {"connection_id":110132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:19:18] local.INFO: Processing buffer {"connection_id":110132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:19:18] local.INFO: IMEI packet received {"connection_id":110132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":110132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:19:31] local.INFO: TCP Data received {"connection_id":110131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:19:31] local.INFO: Processing buffer {"connection_id":110131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:19:31] local.INFO: Packet analysis {"connection_id":110131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:19:31] local.INFO: Extracted packet for processing {"connection_id":110131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":110131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:19:31] local.INFO: GPS data processed {"connection_id":110131,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:19:31] local.INFO: Acknowledgment sent {"connection_id":110131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:19:53] local.INFO: TCP Data received {"connection_id":109177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:19:53] local.INFO: Processing buffer {"connection_id":109177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:19:53] local.INFO: IMEI packet received {"connection_id":109177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":109177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:19:58] local.INFO: TCP Data received {"connection_id":109177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:19:58] local.INFO: Processing buffer {"connection_id":109177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:19:58] local.INFO: IMEI packet received {"connection_id":109177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":109177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:19:59] local.INFO: TCP Data received {"connection_id":109177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:19:59] local.INFO: Processing buffer {"connection_id":109177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:19:59] local.INFO: Packet analysis {"connection_id":109177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:19:59] local.INFO: Extracted packet for processing {"connection_id":109177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:19:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":109177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:19:59] local.INFO: GPS data processed {"connection_id":109177,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:19:59] local.INFO: Acknowledgment sent {"connection_id":109177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:20:30] local.INFO: TCP Data received {"connection_id":109177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:20:30] local.INFO: Processing buffer {"connection_id":109177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:20:30] local.INFO: Packet analysis {"connection_id":109177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:20:30] local.INFO: Extracted packet for processing {"connection_id":109177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:20:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":109177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:20:30] local.INFO: GPS data processed {"connection_id":109177,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:20:30] local.INFO: Acknowledgment sent {"connection_id":109177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:20:53] local.INFO: TCP Data received {"connection_id":108398,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:20:53] local.INFO: Processing buffer {"connection_id":108398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:20:53] local.INFO: IMEI packet received {"connection_id":108398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":108398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:20:58] local.INFO: TCP Data received {"connection_id":108398,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:20:58] local.INFO: Processing buffer {"connection_id":108398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:20:58] local.INFO: IMEI packet received {"connection_id":108398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":108398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:21:00] local.INFO: TCP Data received {"connection_id":108398,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:00] local.INFO: Processing buffer {"connection_id":108398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:00] local.INFO: Packet analysis {"connection_id":108398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:21:00] local.INFO: Extracted packet for processing {"connection_id":108398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:21:00] 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-06-21 02:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:21:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:21:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":108398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:21:00] local.INFO: GPS data processed {"connection_id":108398,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:21:00] local.INFO: Acknowledgment sent {"connection_id":108398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:21:31] local.INFO: TCP Data received {"connection_id":108398,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:31] local.INFO: Processing buffer {"connection_id":108398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:31] local.INFO: Packet analysis {"connection_id":108398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:21:31] local.INFO: Extracted packet for processing {"connection_id":108398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:21:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":108398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:21:31] local.INFO: GPS data processed {"connection_id":108398,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:21:31] local.INFO: Acknowledgment sent {"connection_id":108398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:21:58] local.INFO: TCP Data received {"connection_id":108585,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:21:58] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:21:58] local.INFO: IMEI packet received {"connection_id":108585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":108585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:21:59] local.INFO: TCP Data received {"connection_id":108585,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:59] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6c8eca0012d34c18006aa3d60000b01172e..."} 
[2026-06-21 02:21:59] local.INFO: Packet analysis {"connection_id":108585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:21:59] local.INFO: Extracted packet for processing {"connection_id":108585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6c8"} 
[2026-06-21 02:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456188950272001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988388000,"timestamp_ms":1781988388000,"timestamp_seconds":1781988388,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6c8eca0"} 
[2026-06-21 02:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:21:59] 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-06-21 02:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456188950272001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456188950272001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:21:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:21:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456188950272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":108585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:21:59] local.INFO: GPS data processed {"connection_id":108585,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:21:59] local.INFO: Acknowledgment sent {"connection_id":108585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:22:30] local.INFO: TCP Data received {"connection_id":108585,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:22:30] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:22:30] local.INFO: Packet analysis {"connection_id":108585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:22:30] local.INFO: Extracted packet for processing {"connection_id":108585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:22:30] 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-06-21 02:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:22:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:22:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":108585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:22:30] local.INFO: GPS data processed {"connection_id":108585,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:22:30] local.INFO: Acknowledgment sent {"connection_id":108585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:22:53] local.INFO: TCP Data received {"connection_id":108400,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:22:53] local.INFO: Processing buffer {"connection_id":108400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:22:53] local.INFO: IMEI packet received {"connection_id":108400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":108400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:22:58] local.INFO: TCP Data received {"connection_id":108400,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:22:58] local.INFO: Processing buffer {"connection_id":108400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:22:58] local.INFO: IMEI packet received {"connection_id":108400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":108400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:22:59] local.INFO: TCP Data received {"connection_id":108400,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:22:59] local.INFO: Processing buffer {"connection_id":108400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:22:59] local.INFO: Packet analysis {"connection_id":108400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:22:59] local.INFO: Extracted packet for processing {"connection_id":108400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:22:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":108400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:22:59] local.INFO: GPS data processed {"connection_id":108400,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:22:59] local.INFO: Acknowledgment sent {"connection_id":108400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:23:31] local.INFO: TCP Data received {"connection_id":108400,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:23:31] local.INFO: Processing buffer {"connection_id":108400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:23:31] local.INFO: Packet analysis {"connection_id":108400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:23:31] local.INFO: Extracted packet for processing {"connection_id":108400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":108400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:23:31] local.INFO: GPS data processed {"connection_id":108400,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:23:31] local.INFO: Acknowledgment sent {"connection_id":108400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:23:53] local.INFO: TCP Data received {"connection_id":109178,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:23:53] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:23:53] local.INFO: IMEI packet received {"connection_id":109178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":109178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:23:58] local.INFO: TCP Data received {"connection_id":109178,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:23:58] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:23:58] local.INFO: IMEI packet received {"connection_id":109178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":109178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:23:59] local.INFO: TCP Data received {"connection_id":109178,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:23:59] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:23:59] local.INFO: Packet analysis {"connection_id":109178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:23:59] local.INFO: Extracted packet for processing {"connection_id":109178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:23:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:23:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":109178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:23:59] local.INFO: GPS data processed {"connection_id":109178,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:23:59] local.INFO: Acknowledgment sent {"connection_id":109178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:24:30] local.INFO: TCP Data received {"connection_id":109178,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:24:30] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:24:30] local.INFO: Packet analysis {"connection_id":109178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:24:30] local.INFO: Extracted packet for processing {"connection_id":109178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":109178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:24:30] local.INFO: GPS data processed {"connection_id":109178,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:24:30] local.INFO: Acknowledgment sent {"connection_id":109178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:24:52] local.INFO: TCP Data received {"connection_id":108401,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:24:52] local.INFO: Processing buffer {"connection_id":108401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:24:52] local.INFO: IMEI packet received {"connection_id":108401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":108401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:24:53] local.INFO: TCP Data received {"connection_id":108586,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:24:53] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:24:53] local.INFO: IMEI packet received {"connection_id":108586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":108586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:24:59] local.INFO: TCP Data received {"connection_id":108586,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:24:59] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:24:59] local.INFO: IMEI packet received {"connection_id":108586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":108586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:24:59] local.INFO: TCP Data received {"connection_id":108586,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:24:59] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:24:59] local.INFO: Packet analysis {"connection_id":108586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:24:59] local.INFO: Extracted packet for processing {"connection_id":108586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:24:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:24:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":108586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:24:59] local.INFO: GPS data processed {"connection_id":108586,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:24:59] local.INFO: Acknowledgment sent {"connection_id":108586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:25:13] local.INFO: TCP Data received {"connection_id":109179,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:25:13] local.INFO: Processing buffer {"connection_id":109179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:25:13] local.INFO: IMEI packet received {"connection_id":109179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":109179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:25:31] local.INFO: TCP Data received {"connection_id":108586,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:25:31] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:25:31] local.INFO: Packet analysis {"connection_id":108586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:25:31] local.INFO: Extracted packet for processing {"connection_id":108586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":108586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:25:31] local.INFO: GPS data processed {"connection_id":108586,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:25:31] local.INFO: Acknowledgment sent {"connection_id":108586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:25:53] local.INFO: TCP Data received {"connection_id":109180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:25:53] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:25:53] local.INFO: IMEI packet received {"connection_id":109180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":109180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:25:58] local.INFO: TCP Data received {"connection_id":109180,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:25:58] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:25:58] local.INFO: IMEI packet received {"connection_id":109180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":109180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:26:00] local.INFO: TCP Data received {"connection_id":109180,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:26:00] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:26:00] local.INFO: Packet analysis {"connection_id":109180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:26:00] local.INFO: Extracted packet for processing {"connection_id":109180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:26:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:26:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":109180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:26:00] local.INFO: GPS data processed {"connection_id":109180,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:26:00] local.INFO: Acknowledgment sent {"connection_id":109180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:26:31] local.INFO: TCP Data received {"connection_id":109180,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:26:31] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:26:31] local.INFO: Packet analysis {"connection_id":109180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:26:31] local.INFO: Extracted packet for processing {"connection_id":109180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":109180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:26:31] local.INFO: GPS data processed {"connection_id":109180,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:26:31] local.INFO: Acknowledgment sent {"connection_id":109180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:26:58] local.INFO: TCP Data received {"connection_id":110135,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:26:58] local.INFO: Processing buffer {"connection_id":110135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:26:58] local.INFO: IMEI packet received {"connection_id":110135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":110135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:27:03] local.INFO: TCP Data received {"connection_id":110135,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:03] local.INFO: Processing buffer {"connection_id":110135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:03] local.INFO: IMEI packet received {"connection_id":110135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":110135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:27:05] local.INFO: TCP Data received {"connection_id":110135,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:27:05] local.INFO: Processing buffer {"connection_id":110135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:27:05] local.INFO: Packet analysis {"connection_id":110135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:27:05] local.INFO: Extracted packet for processing {"connection_id":110135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27: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-06-21 02:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":110135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:27:05] local.INFO: GPS data processed {"connection_id":110135,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:27:05] local.INFO: Acknowledgment sent {"connection_id":110135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:27:09] local.INFO: TCP Data received {"connection_id":110135,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:27:09] local.INFO: Processing buffer {"connection_id":110135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6cd8468012d34c18006aa3d600005011730..."} 
[2026-06-21 02:27:09] local.INFO: Packet analysis {"connection_id":110135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:27:09] local.INFO: Extracted packet for processing {"connection_id":110135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6cd"} 
[2026-06-21 02:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":5,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189027328001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781988689000,"timestamp_ms":1781988689000,"timestamp_seconds":1781988689,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6cd8468"} 
[2026-06-21 02:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:27: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-06-21 02:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 02:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:27:09] 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-06-21 02:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189027328001,"66":25582,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189027328001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189027328001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":110135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:27:09] local.INFO: GPS data processed {"connection_id":110135,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:27:09] local.INFO: Acknowledgment sent {"connection_id":110135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:27:53] local.INFO: TCP Data received {"connection_id":108589,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:53] local.INFO: Processing buffer {"connection_id":108589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:53] local.INFO: IMEI packet received {"connection_id":108589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":108589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:27:58] local.INFO: TCP Data received {"connection_id":108589,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:58] local.INFO: Processing buffer {"connection_id":108589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:27:58] local.INFO: IMEI packet received {"connection_id":108589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":108589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:27:59] local.INFO: TCP Data received {"connection_id":108589,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:27:59] local.INFO: Processing buffer {"connection_id":108589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:27:59] local.INFO: Packet analysis {"connection_id":108589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:27:59] local.INFO: Extracted packet for processing {"connection_id":108589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:27:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":108589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:27:59] local.INFO: GPS data processed {"connection_id":108589,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:27:59] local.INFO: Acknowledgment sent {"connection_id":108589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:28:31] local.INFO: TCP Data received {"connection_id":108589,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:28:31] local.INFO: Processing buffer {"connection_id":108589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:28:31] local.INFO: Packet analysis {"connection_id":108589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:28:31] local.INFO: Extracted packet for processing {"connection_id":108589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":108589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:28:31] local.INFO: GPS data processed {"connection_id":108589,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:28:31] local.INFO: Acknowledgment sent {"connection_id":108589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:28:53] local.INFO: TCP Data received {"connection_id":108402,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:28:53] local.INFO: Processing buffer {"connection_id":108402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:28:53] local.INFO: IMEI packet received {"connection_id":108402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":108402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:28:58] local.INFO: TCP Data received {"connection_id":108402,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:28:58] local.INFO: Processing buffer {"connection_id":108402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:28:58] local.INFO: IMEI packet received {"connection_id":108402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":108402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:28:59] local.INFO: TCP Data received {"connection_id":108402,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:28:59] local.INFO: Processing buffer {"connection_id":108402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:28:59] local.INFO: Packet analysis {"connection_id":108402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:28:59] local.INFO: Extracted packet for processing {"connection_id":108402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":108402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:28:59] local.INFO: GPS data processed {"connection_id":108402,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:28:59] local.INFO: Acknowledgment sent {"connection_id":108402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:29:30] local.INFO: TCP Data received {"connection_id":108402,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:29:30] local.INFO: Processing buffer {"connection_id":108402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:29:30] local.INFO: Packet analysis {"connection_id":108402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:29:30] local.INFO: Extracted packet for processing {"connection_id":108402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:29:30] 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-06-21 02:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":108402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:29:30] local.INFO: GPS data processed {"connection_id":108402,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:29:30] local.INFO: Acknowledgment sent {"connection_id":108402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:29:53] local.INFO: TCP Data received {"connection_id":108403,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:29:53] local.INFO: Processing buffer {"connection_id":108403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:29:53] local.INFO: IMEI packet received {"connection_id":108403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":108403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:29:58] local.INFO: TCP Data received {"connection_id":108403,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:29:58] local.INFO: Processing buffer {"connection_id":108403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:29:58] local.INFO: IMEI packet received {"connection_id":108403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":108403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:29:59] local.INFO: TCP Data received {"connection_id":108403,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:29:59] local.INFO: Processing buffer {"connection_id":108403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:29:59] local.INFO: Packet analysis {"connection_id":108403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:29:59] local.INFO: Extracted packet for processing {"connection_id":108403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":108403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:29:59] local.INFO: GPS data processed {"connection_id":108403,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:29:59] local.INFO: Acknowledgment sent {"connection_id":108403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:30:31] local.INFO: TCP Data received {"connection_id":108403,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:30:31] local.INFO: Processing buffer {"connection_id":108403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:30:31] local.INFO: Packet analysis {"connection_id":108403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:30:31] local.INFO: Extracted packet for processing {"connection_id":108403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":108403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:30:31] local.INFO: GPS data processed {"connection_id":108403,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:30:31] local.INFO: Acknowledgment sent {"connection_id":108403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:30:53] local.INFO: TCP Data received {"connection_id":108590,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:30:53] local.INFO: Processing buffer {"connection_id":108590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:30:53] local.INFO: IMEI packet received {"connection_id":108590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":108590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:30:58] local.INFO: TCP Data received {"connection_id":108590,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:30:58] local.INFO: Processing buffer {"connection_id":108590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:30:58] local.INFO: IMEI packet received {"connection_id":108590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":108590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:30:59] local.INFO: TCP Data received {"connection_id":108590,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:30:59] local.INFO: Processing buffer {"connection_id":108590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:30:59] local.INFO: Packet analysis {"connection_id":108590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:30:59] local.INFO: Extracted packet for processing {"connection_id":108590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:30:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:30:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":108590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:30:59] local.INFO: GPS data processed {"connection_id":108590,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:30:59] local.INFO: Acknowledgment sent {"connection_id":108590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:31:28] local.INFO: TCP Data received {"connection_id":108404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:31:28] local.INFO: Processing buffer {"connection_id":108404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:31:28] local.INFO: IMEI packet received {"connection_id":108404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":108404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:31:31] local.INFO: TCP Data received {"connection_id":108590,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:31:31] local.INFO: Processing buffer {"connection_id":108590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d21c30012d34c18006aa3d60000d011730..."} 
[2026-06-21 02:31:31] local.INFO: Packet analysis {"connection_id":108590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:31:31] local.INFO: Extracted packet for processing {"connection_id":108590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d2"} 
[2026-06-21 02:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":13,"angle":279,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189104384001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781988990000,"timestamp_ms":1781988990000,"timestamp_seconds":1781988990,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d21c30"} 
[2026-06-21 02:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 02:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189104384001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189104384001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189104384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":108590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:31:31] local.INFO: GPS data processed {"connection_id":108590,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:31:31] local.INFO: Acknowledgment sent {"connection_id":108590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:32:28] local.INFO: TCP Data received {"connection_id":109184,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:28] local.INFO: Processing buffer {"connection_id":109184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:28] local.INFO: IMEI packet received {"connection_id":109184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":109184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:32:33] local.INFO: TCP Data received {"connection_id":109184,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:33] local.INFO: Processing buffer {"connection_id":109184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:33] local.INFO: IMEI packet received {"connection_id":109184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":109184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:32:34] local.INFO: TCP Data received {"connection_id":109184,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:32:34] local.INFO: Processing buffer {"connection_id":109184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:32:34] local.INFO: Packet analysis {"connection_id":109184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:32:34] local.INFO: Extracted packet for processing {"connection_id":109184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:32: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-06-21 02:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:32:34] 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-06-21 02:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":109184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:32:34] local.INFO: GPS data processed {"connection_id":109184,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:32:34] local.INFO: Acknowledgment sent {"connection_id":109184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:32:58] local.INFO: TCP Data received {"connection_id":108405,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:58] local.INFO: Processing buffer {"connection_id":108405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:32:58] local.INFO: IMEI packet received {"connection_id":108405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":108405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:33:03] local.INFO: TCP Data received {"connection_id":108405,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:03] local.INFO: Processing buffer {"connection_id":108405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:03] local.INFO: IMEI packet received {"connection_id":108405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":108405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:33:04] local.INFO: TCP Data received {"connection_id":108405,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:04] local.INFO: Processing buffer {"connection_id":108405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:04] local.INFO: Packet analysis {"connection_id":108405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:33:04] local.INFO: Extracted packet for processing {"connection_id":108405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":108405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:33:04] local.INFO: GPS data processed {"connection_id":108405,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:33:04] local.INFO: Acknowledgment sent {"connection_id":108405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:33:36] local.INFO: TCP Data received {"connection_id":108405,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:36] local.INFO: Processing buffer {"connection_id":108405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:36] local.INFO: Packet analysis {"connection_id":108405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:33:36] local.INFO: Extracted packet for processing {"connection_id":108405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":108405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:33:36] local.INFO: GPS data processed {"connection_id":108405,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:33:36] local.INFO: Acknowledgment sent {"connection_id":108405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:33:53] local.INFO: TCP Data received {"connection_id":108592,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:53] local.INFO: Processing buffer {"connection_id":108592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:53] local.INFO: IMEI packet received {"connection_id":108592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":108592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:33:58] local.INFO: TCP Data received {"connection_id":108592,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:58] local.INFO: Processing buffer {"connection_id":108592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:33:58] local.INFO: IMEI packet received {"connection_id":108592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":108592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:33:59] local.INFO: TCP Data received {"connection_id":108592,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:59] local.INFO: Processing buffer {"connection_id":108592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:33:59] local.INFO: Packet analysis {"connection_id":108592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:33:59] local.INFO: Extracted packet for processing {"connection_id":108592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:33:59] 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-06-21 02:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:33:59] 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-06-21 02:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:33:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:33:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":108592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:33:59] local.INFO: GPS data processed {"connection_id":108592,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:33:59] local.INFO: Acknowledgment sent {"connection_id":108592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:34:31] local.INFO: TCP Data received {"connection_id":108592,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:34:31] local.INFO: Processing buffer {"connection_id":108592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:34:31] local.INFO: Packet analysis {"connection_id":108592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:34:31] local.INFO: Extracted packet for processing {"connection_id":108592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":108592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:34:31] local.INFO: GPS data processed {"connection_id":108592,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:34:31] local.INFO: Acknowledgment sent {"connection_id":108592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:34:53] local.INFO: TCP Data received {"connection_id":108406,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:34:53] local.INFO: Processing buffer {"connection_id":108406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:34:53] local.INFO: IMEI packet received {"connection_id":108406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":108406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:34:58] local.INFO: TCP Data received {"connection_id":108406,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:34:58] local.INFO: Processing buffer {"connection_id":108406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:34:58] local.INFO: IMEI packet received {"connection_id":108406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":108406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:34:59] local.INFO: TCP Data received {"connection_id":108406,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:34:59] local.INFO: Processing buffer {"connection_id":108406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:34:59] local.INFO: Packet analysis {"connection_id":108406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:34:59] local.INFO: Extracted packet for processing {"connection_id":108406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:34:59] 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-06-21 02:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:34:59] 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-06-21 02:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:34:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:34:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":108406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:34:59] local.INFO: GPS data processed {"connection_id":108406,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:34:59] local.INFO: Acknowledgment sent {"connection_id":108406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:35:31] local.INFO: TCP Data received {"connection_id":108406,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:35:31] local.INFO: Processing buffer {"connection_id":108406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:35:31] local.INFO: Packet analysis {"connection_id":108406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:35:31] local.INFO: Extracted packet for processing {"connection_id":108406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":108406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:35:31] local.INFO: GPS data processed {"connection_id":108406,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:35:31] local.INFO: Acknowledgment sent {"connection_id":108406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:35:59] local.INFO: TCP Data received {"connection_id":109185,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:35:59] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:35:59] local.INFO: IMEI packet received {"connection_id":109185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":109185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:36:03] local.INFO: TCP Data received {"connection_id":109185,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:03] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:03] local.INFO: IMEI packet received {"connection_id":109185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":109185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:36:04] local.INFO: TCP Data received {"connection_id":109185,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:36:04] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:36:04] local.INFO: Packet analysis {"connection_id":109185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:36:04] local.INFO: Extracted packet for processing {"connection_id":109185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":109185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:36:04] local.INFO: GPS data processed {"connection_id":109185,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:36:04] local.INFO: Acknowledgment sent {"connection_id":109185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:36:09] local.INFO: TCP Data received {"connection_id":109185,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:36:09] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:36:09] local.INFO: Packet analysis {"connection_id":109185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:36:09] local.INFO: Extracted packet for processing {"connection_id":109185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:36: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-06-21 02:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:36: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-06-21 02:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:36:09] 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-06-21 02:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:36:09] 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-06-21 02:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":109185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:36:09] local.INFO: GPS data processed {"connection_id":109185,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:36:09] local.INFO: Acknowledgment sent {"connection_id":109185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:36:31] local.INFO: TCP Data received {"connection_id":110138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:36:31] local.INFO: Processing buffer {"connection_id":110138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:36:31] local.INFO: IMEI packet received {"connection_id":110138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":110138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:36:53] local.INFO: TCP Data received {"connection_id":108407,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:53] local.INFO: Processing buffer {"connection_id":108407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:53] local.INFO: IMEI packet received {"connection_id":108407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":108407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:36:58] local.INFO: TCP Data received {"connection_id":108407,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:58] local.INFO: Processing buffer {"connection_id":108407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:36:58] local.INFO: IMEI packet received {"connection_id":108407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":108407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:37:01] local.INFO: TCP Data received {"connection_id":108407,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:37:01] local.INFO: Processing buffer {"connection_id":108407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6d6b3f8012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:37:01] local.INFO: Packet analysis {"connection_id":108407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:37:01] local.INFO: Extracted packet for processing {"connection_id":108407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6d6"} 
[2026-06-21 02:37:01] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189181440001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781989291000,"timestamp_ms":1781989291000,"timestamp_seconds":1781989291,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6d6b3f8"} 
[2026-06-21 02:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 02:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":108407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":108407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":108407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:37:01] 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-06-21 02:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189181440001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189181440001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:37:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:37:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189181440001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":108407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:37:01] local.INFO: GPS data processed {"connection_id":108407,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:37:01] local.INFO: Acknowledgment sent {"connection_id":108407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:37:13] local.INFO: TCP Data received {"connection_id":110139,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:37:13] local.INFO: Processing buffer {"connection_id":110139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:37:13] local.INFO: IMEI packet received {"connection_id":110139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":110139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:37:33] local.INFO: TCP Data received {"connection_id":108407,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:37:33] local.INFO: Processing buffer {"connection_id":108407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:37:33] local.INFO: Packet analysis {"connection_id":108407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:37:33] local.INFO: Extracted packet for processing {"connection_id":108407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:37:33] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:37:33] 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-06-21 02:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":108407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:37:33] local.INFO: GPS data processed {"connection_id":108407,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:37:33] local.INFO: Acknowledgment sent {"connection_id":108407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:37:53] local.INFO: TCP Data received {"connection_id":110140,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:37:53] local.INFO: Processing buffer {"connection_id":110140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:37:53] local.INFO: IMEI packet received {"connection_id":110140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":110140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:37:58] local.INFO: TCP Data received {"connection_id":110140,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:37:58] local.INFO: Processing buffer {"connection_id":110140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:37:58] local.INFO: IMEI packet received {"connection_id":110140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":110140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:37:59] local.INFO: TCP Data received {"connection_id":110140,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:37:59] local.INFO: Processing buffer {"connection_id":110140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:37:59] local.INFO: Packet analysis {"connection_id":110140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:37:59] local.INFO: Extracted packet for processing {"connection_id":110140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:37: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-06-21 02:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:37:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:37:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":110140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:37:59] local.INFO: GPS data processed {"connection_id":110140,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:37:59] local.INFO: Acknowledgment sent {"connection_id":110140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:38:31] local.INFO: TCP Data received {"connection_id":110140,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:38:31] local.INFO: Processing buffer {"connection_id":110140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:38:31] local.INFO: Packet analysis {"connection_id":110140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:38:31] local.INFO: Extracted packet for processing {"connection_id":110140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":110140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:38:31] local.INFO: GPS data processed {"connection_id":110140,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:38:31] local.INFO: Acknowledgment sent {"connection_id":110140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:38:53] local.INFO: TCP Data received {"connection_id":108594,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:38:53] local.INFO: Processing buffer {"connection_id":108594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:38:53] local.INFO: IMEI packet received {"connection_id":108594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":108594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:38:58] local.INFO: TCP Data received {"connection_id":108594,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:38:58] local.INFO: Processing buffer {"connection_id":108594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:38:58] local.INFO: IMEI packet received {"connection_id":108594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":108594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:38:59] local.INFO: TCP Data received {"connection_id":108594,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:38:59] local.INFO: Processing buffer {"connection_id":108594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:38:59] local.INFO: Packet analysis {"connection_id":108594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:38:59] local.INFO: Extracted packet for processing {"connection_id":108594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:38: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-06-21 02:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:38:59] 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-06-21 02:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:38:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":108594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:38:59] local.INFO: GPS data processed {"connection_id":108594,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:38:59] local.INFO: Acknowledgment sent {"connection_id":108594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:39:31] local.INFO: TCP Data received {"connection_id":108594,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:39:31] local.INFO: Processing buffer {"connection_id":108594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:39:31] local.INFO: Packet analysis {"connection_id":108594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:39:31] local.INFO: Extracted packet for processing {"connection_id":108594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":108594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:39:31] local.INFO: GPS data processed {"connection_id":108594,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:39:31] local.INFO: Acknowledgment sent {"connection_id":108594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:39:58] local.INFO: TCP Data received {"connection_id":108408,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:39:58] local.INFO: Processing buffer {"connection_id":108408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:39:58] local.INFO: IMEI packet received {"connection_id":108408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":108408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:40:03] local.INFO: TCP Data received {"connection_id":108408,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:03] local.INFO: Processing buffer {"connection_id":108408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:03] local.INFO: IMEI packet received {"connection_id":108408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":108408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:40:04] local.INFO: TCP Data received {"connection_id":108408,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:04] local.INFO: Processing buffer {"connection_id":108408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:04] local.INFO: Packet analysis {"connection_id":108408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:40:04] local.INFO: Extracted packet for processing {"connection_id":108408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":108408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:40:04] local.INFO: GPS data processed {"connection_id":108408,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:40:04] local.INFO: Acknowledgment sent {"connection_id":108408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:40:08] local.INFO: TCP Data received {"connection_id":108408,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:08] local.INFO: Processing buffer {"connection_id":108408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:08] local.INFO: Packet analysis {"connection_id":108408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:40:08] local.INFO: Extracted packet for processing {"connection_id":108408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02: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-06-21 02:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":108408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:40:08] local.INFO: GPS data processed {"connection_id":108408,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:40:08] local.INFO: Acknowledgment sent {"connection_id":108408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:40:53] local.INFO: TCP Data received {"connection_id":108595,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:53] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:53] local.INFO: IMEI packet received {"connection_id":108595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":108595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:40:58] local.INFO: TCP Data received {"connection_id":108595,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:58] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:40:58] local.INFO: IMEI packet received {"connection_id":108595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":108595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:40:59] local.INFO: TCP Data received {"connection_id":108595,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:59] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:40:59] local.INFO: Packet analysis {"connection_id":108595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:40:59] local.INFO: Extracted packet for processing {"connection_id":108595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:40: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-06-21 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:40:59] 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-06-21 02:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":108595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:40:59] local.INFO: GPS data processed {"connection_id":108595,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:40:59] local.INFO: Acknowledgment sent {"connection_id":108595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:41:31] local.INFO: TCP Data received {"connection_id":108595,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:41:31] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:41:31] local.INFO: Packet analysis {"connection_id":108595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:41:31] local.INFO: Extracted packet for processing {"connection_id":108595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:41:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":108595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:41:31] local.INFO: GPS data processed {"connection_id":108595,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:41:31] local.INFO: Acknowledgment sent {"connection_id":108595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:41:53] local.INFO: TCP Data received {"connection_id":108597,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:41:53] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:41:53] local.INFO: IMEI packet received {"connection_id":108597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":108597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:41:58] local.INFO: TCP Data received {"connection_id":108597,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:41:58] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:41:58] local.INFO: IMEI packet received {"connection_id":108597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":108597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:42:00] local.INFO: TCP Data received {"connection_id":108597,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:42:00] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6db4bc0012d34c18006aa3d60000601172e..."} 
[2026-06-21 02:42:00] local.INFO: Packet analysis {"connection_id":108597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:42:00] local.INFO: Extracted packet for processing {"connection_id":108597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6db"} 
[2026-06-21 02:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":6,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189258496001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781989592000,"timestamp_ms":1781989592000,"timestamp_seconds":1781989592,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6db4bc0"} 
[2026-06-21 02:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189258496001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189258496001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:42:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:42:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189258496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":108597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:42:00] local.INFO: GPS data processed {"connection_id":108597,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:42:00] local.INFO: Acknowledgment sent {"connection_id":108597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:42:30] local.INFO: TCP Data received {"connection_id":108597,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:42:30] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:42:30] local.INFO: Packet analysis {"connection_id":108597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:42:30] local.INFO: Extracted packet for processing {"connection_id":108597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:42:30] 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-06-21 02:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:42:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:42:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":108597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:42:31] local.INFO: GPS data processed {"connection_id":108597,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:42:31] local.INFO: Acknowledgment sent {"connection_id":108597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:42:41] local.INFO: TCP Data received {"connection_id":109188,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:42:41] local.INFO: Processing buffer {"connection_id":109188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:42:41] local.INFO: IMEI packet received {"connection_id":109188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":109188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:42:53] local.INFO: TCP Data received {"connection_id":109189,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:42:53] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:42:53] local.INFO: IMEI packet received {"connection_id":109189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":109189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:42:58] local.INFO: TCP Data received {"connection_id":109189,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:42:58] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:42:58] local.INFO: IMEI packet received {"connection_id":109189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":109189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:42:59] local.INFO: TCP Data received {"connection_id":109189,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:42:59] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:42:59] local.INFO: Packet analysis {"connection_id":109189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:42:59] local.INFO: Extracted packet for processing {"connection_id":109189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:42:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":109189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:42:59] local.INFO: GPS data processed {"connection_id":109189,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:42:59] local.INFO: Acknowledgment sent {"connection_id":109189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:43:09] local.INFO: TCP Data received {"connection_id":108598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:09] local.INFO: Processing buffer {"connection_id":108598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:09] local.INFO: IMEI packet received {"connection_id":108598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":108598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:43:14] local.INFO: TCP Data received {"connection_id":108598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:14] local.INFO: Processing buffer {"connection_id":108598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:14] local.INFO: IMEI packet received {"connection_id":108598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 02:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":108598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:43:16] local.INFO: TCP Data received {"connection_id":108598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:16] local.INFO: Processing buffer {"connection_id":108598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:43:16] local.INFO: IMEI packet received {"connection_id":108598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 02:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":108598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:43:31] local.INFO: TCP Data received {"connection_id":109189,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:43:31] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:43:31] local.INFO: Packet analysis {"connection_id":109189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:43:31] local.INFO: Extracted packet for processing {"connection_id":109189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":109189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:43:31] local.INFO: GPS data processed {"connection_id":109189,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:43:31] local.INFO: Acknowledgment sent {"connection_id":109189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:43:53] local.INFO: TCP Data received {"connection_id":110142,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:43:53] local.INFO: Processing buffer {"connection_id":110142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:43:53] local.INFO: IMEI packet received {"connection_id":110142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":110142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:43:58] local.INFO: TCP Data received {"connection_id":110142,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:43:58] local.INFO: Processing buffer {"connection_id":110142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:43:58] local.INFO: IMEI packet received {"connection_id":110142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":110142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:43:59] local.INFO: TCP Data received {"connection_id":110142,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:43:59] local.INFO: Processing buffer {"connection_id":110142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:43:59] local.INFO: Packet analysis {"connection_id":110142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:43:59] local.INFO: Extracted packet for processing {"connection_id":110142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:43:59] 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-06-21 02:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:43:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:43:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":110142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:43:59] local.INFO: GPS data processed {"connection_id":110142,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:43:59] local.INFO: Acknowledgment sent {"connection_id":110142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:44:31] local.INFO: TCP Data received {"connection_id":110142,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:44:31] local.INFO: Processing buffer {"connection_id":110142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:44:31] local.INFO: Packet analysis {"connection_id":110142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:44:31] local.INFO: Extracted packet for processing {"connection_id":110142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:44:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":110142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:44:31] local.INFO: GPS data processed {"connection_id":110142,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:44:31] local.INFO: Acknowledgment sent {"connection_id":110142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:44:58] local.INFO: TCP Data received {"connection_id":108410,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:44:58] local.INFO: Processing buffer {"connection_id":108410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:44:58] local.INFO: IMEI packet received {"connection_id":108410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":108410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:45:04] local.INFO: TCP Data received {"connection_id":108410,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:04] local.INFO: Processing buffer {"connection_id":108410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:04] local.INFO: IMEI packet received {"connection_id":108410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":108410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:45:05] local.INFO: TCP Data received {"connection_id":108410,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:45:05] local.INFO: Processing buffer {"connection_id":108410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:45:05] local.INFO: Packet analysis {"connection_id":108410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:45:05] local.INFO: Extracted packet for processing {"connection_id":108410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02: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-06-21 02:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:45:05] 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-06-21 02:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":108410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:45:05] local.INFO: GPS data processed {"connection_id":108410,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:45:05] local.INFO: Acknowledgment sent {"connection_id":108410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:45:09] local.INFO: TCP Data received {"connection_id":108410,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:45:09] local.INFO: Processing buffer {"connection_id":108410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:45:09] local.INFO: Packet analysis {"connection_id":108410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:45:09] local.INFO: Extracted packet for processing {"connection_id":108410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:45: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-06-21 02:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:45: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-06-21 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:45: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-06-21 02:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:45:09] 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-06-21 02:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":108410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:45:09] local.INFO: GPS data processed {"connection_id":108410,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:45:09] local.INFO: Acknowledgment sent {"connection_id":108410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:45:53] local.INFO: TCP Data received {"connection_id":109192,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:53] local.INFO: Processing buffer {"connection_id":109192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:53] local.INFO: IMEI packet received {"connection_id":109192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":109192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:45:58] local.INFO: TCP Data received {"connection_id":109192,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:58] local.INFO: Processing buffer {"connection_id":109192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:45:58] local.INFO: IMEI packet received {"connection_id":109192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":109192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:46:00] local.INFO: TCP Data received {"connection_id":109192,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:00] local.INFO: Processing buffer {"connection_id":109192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:00] local.INFO: Packet analysis {"connection_id":109192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:46:00] local.INFO: Extracted packet for processing {"connection_id":109192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:46:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:46:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":109192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:46:00] local.INFO: GPS data processed {"connection_id":109192,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:46:00] local.INFO: Acknowledgment sent {"connection_id":109192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:46:31] local.INFO: TCP Data received {"connection_id":109192,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:31] local.INFO: Processing buffer {"connection_id":109192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:31] local.INFO: Packet analysis {"connection_id":109192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:46:31] local.INFO: Extracted packet for processing {"connection_id":109192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":109192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:46:31] local.INFO: GPS data processed {"connection_id":109192,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:46:31] local.INFO: Acknowledgment sent {"connection_id":109192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:46:53] local.INFO: TCP Data received {"connection_id":110143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:46:53] local.INFO: Processing buffer {"connection_id":110143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:46:53] local.INFO: IMEI packet received {"connection_id":110143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":110143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:46:58] local.INFO: TCP Data received {"connection_id":110143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:46:58] local.INFO: Processing buffer {"connection_id":110143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:46:58] local.INFO: IMEI packet received {"connection_id":110143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":110143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:46:59] local.INFO: TCP Data received {"connection_id":110143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:59] local.INFO: Processing buffer {"connection_id":110143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6dfe388012d34c18006aa3d60000701172e..."} 
[2026-06-21 02:46:59] local.INFO: Packet analysis {"connection_id":110143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:46:59] local.INFO: Extracted packet for processing {"connection_id":110143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6df"} 
[2026-06-21 02:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189335552001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781989893000,"timestamp_ms":1781989893000,"timestamp_seconds":1781989893,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6dfe388"} 
[2026-06-21 02:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:46:59] 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-06-21 02:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189335552001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189335552001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:46:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189335552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":110143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:46:59] local.INFO: GPS data processed {"connection_id":110143,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:46:59] local.INFO: Acknowledgment sent {"connection_id":110143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:47:30] local.INFO: TCP Data received {"connection_id":110143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:47:30] local.INFO: Processing buffer {"connection_id":110143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:47:30] local.INFO: Packet analysis {"connection_id":110143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:47:30] local.INFO: Extracted packet for processing {"connection_id":110143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:47:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:47:30] 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-06-21 02:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:47:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:47:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":110143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:47:30] local.INFO: GPS data processed {"connection_id":110143,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:47:30] local.INFO: Acknowledgment sent {"connection_id":110143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:47:58] local.INFO: TCP Data received {"connection_id":108600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:47:58] local.INFO: Processing buffer {"connection_id":108600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:47:58] local.INFO: IMEI packet received {"connection_id":108600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":108600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:48:03] local.INFO: TCP Data received {"connection_id":108600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:03] local.INFO: Processing buffer {"connection_id":108600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:03] local.INFO: IMEI packet received {"connection_id":108600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":108600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:48:04] local.INFO: TCP Data received {"connection_id":108600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:04] local.INFO: Processing buffer {"connection_id":108600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:04] local.INFO: Packet analysis {"connection_id":108600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:48:04] local.INFO: Extracted packet for processing {"connection_id":108600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":108600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:48:04] local.INFO: GPS data processed {"connection_id":108600,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:48:04] local.INFO: Acknowledgment sent {"connection_id":108600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:48:09] local.INFO: TCP Data received {"connection_id":108600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:09] local.INFO: Processing buffer {"connection_id":108600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:09] local.INFO: Packet analysis {"connection_id":108600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:48:09] local.INFO: Extracted packet for processing {"connection_id":108600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02: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-06-21 02:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:48: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-06-21 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:48: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-06-21 02: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-06-21 02:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:48: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-06-21 02:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":108600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:48:09] local.INFO: GPS data processed {"connection_id":108600,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:48:09] local.INFO: Acknowledgment sent {"connection_id":108600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:48:46] local.INFO: TCP Data received {"connection_id":108412,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:48:46] local.INFO: Processing buffer {"connection_id":108412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:48:46] local.INFO: IMEI packet received {"connection_id":108412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":108412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:48:53] local.INFO: TCP Data received {"connection_id":109193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:53] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:53] local.INFO: IMEI packet received {"connection_id":109193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":109193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:48:58] local.INFO: TCP Data received {"connection_id":109193,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:58] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:48:58] local.INFO: IMEI packet received {"connection_id":109193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":109193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:48:59] local.INFO: TCP Data received {"connection_id":109193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:59] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:48:59] local.INFO: Packet analysis {"connection_id":109193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:48:59] local.INFO: Extracted packet for processing {"connection_id":109193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:48:59] 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-06-21 02:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:48:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:48:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":109193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:48:59] local.INFO: GPS data processed {"connection_id":109193,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:48:59] local.INFO: Acknowledgment sent {"connection_id":109193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:49:22] local.INFO: TCP Data received {"connection_id":108413,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:49:22] local.INFO: Processing buffer {"connection_id":108413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:49:22] local.INFO: IMEI packet received {"connection_id":108413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":108413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:49:30] local.INFO: TCP Data received {"connection_id":109193,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:49:30] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:49:30] local.INFO: Packet analysis {"connection_id":109193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:49:30] local.INFO: Extracted packet for processing {"connection_id":109193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:49:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:49:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":109193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:49:30] local.INFO: GPS data processed {"connection_id":109193,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:49:30] local.INFO: Acknowledgment sent {"connection_id":109193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:49:53] local.INFO: TCP Data received {"connection_id":108414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:49:53] local.INFO: Processing buffer {"connection_id":108414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:49:53] local.INFO: IMEI packet received {"connection_id":108414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":108414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:49:58] local.INFO: TCP Data received {"connection_id":108414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:49:58] local.INFO: Processing buffer {"connection_id":108414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:49:58] local.INFO: IMEI packet received {"connection_id":108414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":108414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:49:59] local.INFO: TCP Data received {"connection_id":108414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:49:59] local.INFO: Processing buffer {"connection_id":108414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:49:59] local.INFO: Packet analysis {"connection_id":108414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:49:59] local.INFO: Extracted packet for processing {"connection_id":108414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:49:59] 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-06-21 02:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:49:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:49:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":108414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:49:59] local.INFO: GPS data processed {"connection_id":108414,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:49:59] local.INFO: Acknowledgment sent {"connection_id":108414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:50:31] local.INFO: TCP Data received {"connection_id":108414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:50:31] local.INFO: Processing buffer {"connection_id":108414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:50:31] local.INFO: Packet analysis {"connection_id":108414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:50:31] local.INFO: Extracted packet for processing {"connection_id":108414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":108414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:50:31] local.INFO: GPS data processed {"connection_id":108414,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:50:31] local.INFO: Acknowledgment sent {"connection_id":108414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:50:53] local.INFO: TCP Data received {"connection_id":109194,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:50:53] local.INFO: Processing buffer {"connection_id":109194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:50:53] local.INFO: IMEI packet received {"connection_id":109194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":109194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:50:58] local.INFO: TCP Data received {"connection_id":109194,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:50:58] local.INFO: Processing buffer {"connection_id":109194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:50:58] local.INFO: IMEI packet received {"connection_id":109194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":109194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:51:00] local.INFO: TCP Data received {"connection_id":109194,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:00] local.INFO: Processing buffer {"connection_id":109194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:00] local.INFO: Packet analysis {"connection_id":109194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:51:00] local.INFO: Extracted packet for processing {"connection_id":109194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:51:00] 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-06-21 02:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:51:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:51:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":109194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:51:00] local.INFO: GPS data processed {"connection_id":109194,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:51:00] local.INFO: Acknowledgment sent {"connection_id":109194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:51:31] local.INFO: TCP Data received {"connection_id":109194,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:31] local.INFO: Processing buffer {"connection_id":109194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:31] local.INFO: Packet analysis {"connection_id":109194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:51:31] local.INFO: Extracted packet for processing {"connection_id":109194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":109194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:51:31] local.INFO: GPS data processed {"connection_id":109194,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:51:31] local.INFO: Acknowledgment sent {"connection_id":109194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:51:53] local.INFO: TCP Data received {"connection_id":108603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:51:53] local.INFO: Processing buffer {"connection_id":108603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:51:53] local.INFO: IMEI packet received {"connection_id":108603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":108603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:51:58] local.INFO: TCP Data received {"connection_id":108603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:51:58] local.INFO: Processing buffer {"connection_id":108603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:51:58] local.INFO: IMEI packet received {"connection_id":108603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":108603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:51:59] local.INFO: TCP Data received {"connection_id":108603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:59] local.INFO: Processing buffer {"connection_id":108603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e47b50012d34c18006aa3d60000801172d..."} 
[2026-06-21 02:51:59] local.INFO: Packet analysis {"connection_id":108603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:51:59] local.INFO: Extracted packet for processing {"connection_id":108603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e4"} 
[2026-06-21 02:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189412608001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990194000,"timestamp_ms":1781990194000,"timestamp_seconds":1781990194,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e47b50"} 
[2026-06-21 02:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189412608001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189412608001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:51:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:51:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189412608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":108603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:51:59] local.INFO: GPS data processed {"connection_id":108603,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:51:59] local.INFO: Acknowledgment sent {"connection_id":108603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:52:33] local.INFO: TCP Data received {"connection_id":108603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:52:33] local.INFO: Processing buffer {"connection_id":108603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:52:33] local.INFO: Packet analysis {"connection_id":108603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:52:33] local.INFO: Extracted packet for processing {"connection_id":108603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:52:33] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":108603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:52:33] local.INFO: GPS data processed {"connection_id":108603,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:52:33] local.INFO: Acknowledgment sent {"connection_id":108603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:52:53] local.INFO: TCP Data received {"connection_id":108415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:52:53] local.INFO: Processing buffer {"connection_id":108415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:52:53] local.INFO: IMEI packet received {"connection_id":108415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":108415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:52:58] local.INFO: TCP Data received {"connection_id":108415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:52:58] local.INFO: Processing buffer {"connection_id":108415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:52:58] local.INFO: IMEI packet received {"connection_id":108415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":108415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:52:59] local.INFO: TCP Data received {"connection_id":108415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:52:59] local.INFO: Processing buffer {"connection_id":108415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:52:59] local.INFO: Packet analysis {"connection_id":108415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:52:59] local.INFO: Extracted packet for processing {"connection_id":108415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:52: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-06-21 02:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:52:59] 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-06-21 02:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:52:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:52:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":108415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:52:59] local.INFO: GPS data processed {"connection_id":108415,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:52:59] local.INFO: Acknowledgment sent {"connection_id":108415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:53:30] local.INFO: TCP Data received {"connection_id":108415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:53:30] local.INFO: Processing buffer {"connection_id":108415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:53:30] local.INFO: Packet analysis {"connection_id":108415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:53:30] local.INFO: Extracted packet for processing {"connection_id":108415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:53:30] 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-06-21 02:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:53:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":108415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:53:30] local.INFO: GPS data processed {"connection_id":108415,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:53:30] local.INFO: Acknowledgment sent {"connection_id":108415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:53:53] local.INFO: TCP Data received {"connection_id":110146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:53:53] local.INFO: Processing buffer {"connection_id":110146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:53:53] local.INFO: IMEI packet received {"connection_id":110146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":110146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:53:58] local.INFO: TCP Data received {"connection_id":110146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:53:58] local.INFO: Processing buffer {"connection_id":110146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:53:58] local.INFO: IMEI packet received {"connection_id":110146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":110146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:54:00] local.INFO: TCP Data received {"connection_id":110146,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:00] local.INFO: Processing buffer {"connection_id":110146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:00] local.INFO: Packet analysis {"connection_id":110146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:54:00] local.INFO: Extracted packet for processing {"connection_id":110146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:54:00] 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-06-21 02:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:54:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:54:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":110146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:54:00] local.INFO: GPS data processed {"connection_id":110146,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:54:00] local.INFO: Acknowledgment sent {"connection_id":110146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:54:31] local.INFO: TCP Data received {"connection_id":110146,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:31] local.INFO: Processing buffer {"connection_id":110146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:31] local.INFO: Packet analysis {"connection_id":110146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:54:31] local.INFO: Extracted packet for processing {"connection_id":110146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":110146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:54:31] local.INFO: GPS data processed {"connection_id":110146,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:54:31] local.INFO: Acknowledgment sent {"connection_id":110146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:54:44] local.INFO: TCP Data received {"connection_id":109195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:54:44] local.INFO: Processing buffer {"connection_id":109195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:54:44] local.INFO: IMEI packet received {"connection_id":109195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":109195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:54:53] local.INFO: TCP Data received {"connection_id":108605,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:54:53] local.INFO: Processing buffer {"connection_id":108605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:54:53] local.INFO: IMEI packet received {"connection_id":108605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":108605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:54:58] local.INFO: TCP Data received {"connection_id":108605,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:54:58] local.INFO: Processing buffer {"connection_id":108605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:54:58] local.INFO: IMEI packet received {"connection_id":108605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":108605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:54:59] local.INFO: TCP Data received {"connection_id":108605,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:59] local.INFO: Processing buffer {"connection_id":108605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:54:59] local.INFO: Packet analysis {"connection_id":108605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:54:59] local.INFO: Extracted packet for processing {"connection_id":108605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:54: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-06-21 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:54:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":108605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:54:59] local.INFO: GPS data processed {"connection_id":108605,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:54:59] local.INFO: Acknowledgment sent {"connection_id":108605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:55:12] local.INFO: TCP Data received {"connection_id":109196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:55:12] local.INFO: Processing buffer {"connection_id":109196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 02:55:12] local.INFO: IMEI packet received {"connection_id":109196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 02:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":109196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:55:30] local.INFO: TCP Data received {"connection_id":108605,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:55:30] local.INFO: Processing buffer {"connection_id":108605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:55:30] local.INFO: Packet analysis {"connection_id":108605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:55:30] local.INFO: Extracted packet for processing {"connection_id":108605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:55:30] 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-06-21 02:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:55:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":108605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:55:30] local.INFO: GPS data processed {"connection_id":108605,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:55:30] local.INFO: Acknowledgment sent {"connection_id":108605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:55:53] local.INFO: TCP Data received {"connection_id":110147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:55:53] local.INFO: Processing buffer {"connection_id":110147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:55:53] local.INFO: IMEI packet received {"connection_id":110147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":110147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:55:58] local.INFO: TCP Data received {"connection_id":110147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:55:58] local.INFO: Processing buffer {"connection_id":110147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:55:58] local.INFO: IMEI packet received {"connection_id":110147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":110147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:56:00] local.INFO: TCP Data received {"connection_id":110147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:56:00] local.INFO: Processing buffer {"connection_id":110147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:56:00] local.INFO: Packet analysis {"connection_id":110147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:56:00] local.INFO: Extracted packet for processing {"connection_id":110147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:56:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:56:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":110147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:56:00] local.INFO: GPS data processed {"connection_id":110147,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:56:00] local.INFO: Acknowledgment sent {"connection_id":110147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:56:32] local.INFO: TCP Data received {"connection_id":110147,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:56:32] local.INFO: Processing buffer {"connection_id":110147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:56:32] local.INFO: Packet analysis {"connection_id":110147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:56:32] local.INFO: Extracted packet for processing {"connection_id":110147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":110147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:56:32] local.INFO: GPS data processed {"connection_id":110147,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:56:32] local.INFO: Acknowledgment sent {"connection_id":110147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:56:58] local.INFO: TCP Data received {"connection_id":109197,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:56:58] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:56:58] local.INFO: IMEI packet received {"connection_id":109197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":109197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:57:03] local.INFO: TCP Data received {"connection_id":109197,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:03] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:03] local.INFO: IMEI packet received {"connection_id":109197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":109197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:57:04] local.INFO: TCP Data received {"connection_id":109197,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:04] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:04] local.INFO: Packet analysis {"connection_id":109197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:57:04] local.INFO: Extracted packet for processing {"connection_id":109197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":109197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:57:04] local.INFO: GPS data processed {"connection_id":109197,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:57:04] local.INFO: Acknowledgment sent {"connection_id":109197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:57:08] local.INFO: TCP Data received {"connection_id":109197,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:08] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:08] local.INFO: Packet analysis {"connection_id":109197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:57:08] local.INFO: Extracted packet for processing {"connection_id":109197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":109197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:57:08] local.INFO: GPS data processed {"connection_id":109197,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:57:08] local.INFO: Acknowledgment sent {"connection_id":109197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:57:13] local.INFO: TCP Data received {"connection_id":109197,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:13] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6e91318012d34c18006aa3d60000401172f..."} 
[2026-06-21 02:57:13] local.INFO: Packet analysis {"connection_id":109197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:57:13] local.INFO: Extracted packet for processing {"connection_id":109197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6e9"} 
[2026-06-21 02:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820128,"longitude_deg":75.8432128,"latitude_deg":11.1820128,"altitude":4,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3d60","is_valid_coordinates":true} 
[2026-06-21 02: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-06-21 02:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189489664001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57: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-06-21 02:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781990495000,"timestamp_ms":1781990495000,"timestamp_seconds":1781990495,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6e91318"} 
[2026-06-21 02:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 02:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02: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-06-21 02:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":109197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189489664001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189489664001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189489664001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":109197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:57:13] local.INFO: GPS data processed {"connection_id":109197,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:57:13] local.INFO: Acknowledgment sent {"connection_id":109197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:57:53] local.INFO: TCP Data received {"connection_id":108606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:53] local.INFO: Processing buffer {"connection_id":108606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:53] local.INFO: IMEI packet received {"connection_id":108606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":108606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:57:58] local.INFO: TCP Data received {"connection_id":108606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:58] local.INFO: Processing buffer {"connection_id":108606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:57:58] local.INFO: IMEI packet received {"connection_id":108606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":108606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:57:59] local.INFO: TCP Data received {"connection_id":108606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:57:59] local.INFO: Processing buffer {"connection_id":108606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:57:59] local.INFO: Packet analysis {"connection_id":108606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:57:59] local.INFO: Extracted packet for processing {"connection_id":108606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 02:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 02:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:57: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-06-21 02:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":108606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:57:59] local.INFO: GPS data processed {"connection_id":108606,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:57:59] local.INFO: Acknowledgment sent {"connection_id":108606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:58:30] local.INFO: TCP Data received {"connection_id":108606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:58:30] local.INFO: Processing buffer {"connection_id":108606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:58:30] local.INFO: Packet analysis {"connection_id":108606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:58:30] local.INFO: Extracted packet for processing {"connection_id":108606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 02:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 02:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 02:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 02:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":108606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:58:30] local.INFO: GPS data processed {"connection_id":108606,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:58:30] local.INFO: Acknowledgment sent {"connection_id":108606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:58:53] local.INFO: TCP Data received {"connection_id":109198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:58:53] local.INFO: Processing buffer {"connection_id":109198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:58:53] local.INFO: IMEI packet received {"connection_id":109198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":109198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 02:58:58] local.INFO: TCP Data received {"connection_id":109198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:58:58] local.INFO: Processing buffer {"connection_id":109198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:58:58] local.INFO: IMEI packet received {"connection_id":109198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 02:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":109198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 02:58:59] local.INFO: TCP Data received {"connection_id":109198,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:58:59] local.INFO: Processing buffer {"connection_id":109198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:58:59] local.INFO: Packet analysis {"connection_id":109198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:58:59] local.INFO: Extracted packet for processing {"connection_id":109198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 02:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 02:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:58: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-06-21 02:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:58:59] 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-06-21 02:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:58:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:58:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":109198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:58:59] local.INFO: GPS data processed {"connection_id":109198,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:58:59] local.INFO: Acknowledgment sent {"connection_id":109198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:59:30] local.INFO: TCP Data received {"connection_id":109198,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:59:30] local.INFO: Processing buffer {"connection_id":109198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 02:59:30] local.INFO: Packet analysis {"connection_id":109198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:59:30] local.INFO: Extracted packet for processing {"connection_id":109198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 02:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 02:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 02:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 02:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 02:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 02:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 02:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 02:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 02:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 02:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 02:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 02:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 02:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 02:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 02:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 02:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 02:59:30] 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-06-21 02:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 02:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 02:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 02:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 02:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 02:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 02:59:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 02:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 02:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 02:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 02:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 02:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":109198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 02:59:30] local.INFO: GPS data processed {"connection_id":109198,"processed":1,"errors":0,"total":1} 
[2026-06-21 02:59:30] local.INFO: Acknowledgment sent {"connection_id":109198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 02:59:58] local.INFO: TCP Data received {"connection_id":108420,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:59:58] local.INFO: Processing buffer {"connection_id":108420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 02:59:58] local.INFO: IMEI packet received {"connection_id":108420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 02:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":108420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:00:03] local.INFO: TCP Data received {"connection_id":108420,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:03] local.INFO: Processing buffer {"connection_id":108420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:03] local.INFO: IMEI packet received {"connection_id":108420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":108420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:00:04] local.INFO: TCP Data received {"connection_id":108420,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:04] local.INFO: Processing buffer {"connection_id":108420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:04] local.INFO: Packet analysis {"connection_id":108420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:00:04] local.INFO: Extracted packet for processing {"connection_id":108420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 03:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 03:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 03:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":108420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:00:04] local.INFO: GPS data processed {"connection_id":108420,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:00:04] local.INFO: Acknowledgment sent {"connection_id":108420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:00:09] local.INFO: TCP Data received {"connection_id":108420,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:09] local.INFO: Processing buffer {"connection_id":108420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:09] local.INFO: Packet analysis {"connection_id":108420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:00:09] local.INFO: Extracted packet for processing {"connection_id":108420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00: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-06-21 03:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 03:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:00: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-06-21 03: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-06-21 03:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:00:09] 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-06-21 03:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 03:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 03:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":108420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:00:09] local.INFO: GPS data processed {"connection_id":108420,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:00:09] local.INFO: Acknowledgment sent {"connection_id":108420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:00:28] local.INFO: TCP Data received {"connection_id":108421,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:00:28] local.INFO: Processing buffer {"connection_id":108421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:00:28] local.INFO: IMEI packet received {"connection_id":108421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":108421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:00:53] local.INFO: TCP Data received {"connection_id":108607,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:53] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:53] local.INFO: IMEI packet received {"connection_id":108607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":108607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:00:58] local.INFO: TCP Data received {"connection_id":108607,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:58] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:00:58] local.INFO: IMEI packet received {"connection_id":108607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":108607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:00:59] local.INFO: TCP Data received {"connection_id":108607,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:59] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:00:59] local.INFO: Packet analysis {"connection_id":108607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:00:59] local.INFO: Extracted packet for processing {"connection_id":108607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 03:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:00: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-06-21 03:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:00:59] 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-06-21 03:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 03:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:00:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 03:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":108607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:00:59] local.INFO: GPS data processed {"connection_id":108607,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:00:59] local.INFO: Acknowledgment sent {"connection_id":108607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:01:11] local.INFO: TCP Data received {"connection_id":109199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:11] local.INFO: Processing buffer {"connection_id":109199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:11] local.INFO: IMEI packet received {"connection_id":109199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":109199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:01:13] local.INFO: TCP Data received {"connection_id":109199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:13] local.INFO: Processing buffer {"connection_id":109199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:13] local.INFO: IMEI packet received {"connection_id":109199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 03:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":109199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:01:18] local.INFO: TCP Data received {"connection_id":109199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:18] local.INFO: Processing buffer {"connection_id":109199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:01:18] local.INFO: IMEI packet received {"connection_id":109199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 03:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":109199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:01:30] local.INFO: TCP Data received {"connection_id":108607,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:01:30] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:01:30] local.INFO: Packet analysis {"connection_id":108607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:01:30] local.INFO: Extracted packet for processing {"connection_id":108607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 03:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:01:30] 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-06-21 03:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"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-06-21 03:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:01:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:01:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 03:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":108607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:01:30] local.INFO: GPS data processed {"connection_id":108607,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:01:30] local.INFO: Acknowledgment sent {"connection_id":108607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:01:53] local.INFO: TCP Data received {"connection_id":108609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:01:53] local.INFO: Processing buffer {"connection_id":108609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:01:53] local.INFO: IMEI packet received {"connection_id":108609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":108609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:01:58] local.INFO: TCP Data received {"connection_id":108609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:01:58] local.INFO: Processing buffer {"connection_id":108609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:01:58] local.INFO: IMEI packet received {"connection_id":108609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":108609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:01:59] local.INFO: TCP Data received {"connection_id":108609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:01:59] local.INFO: Processing buffer {"connection_id":108609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6edaae0012d34c14006aa3d28000601172c..."} 
[2026-06-21 03:01:59] local.INFO: Packet analysis {"connection_id":108609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:01:59] local.INFO: Extracted packet for processing {"connection_id":108609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6ed"} 
[2026-06-21 03:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189566720001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591717376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781990796000,"timestamp_ms":1781990796000,"timestamp_seconds":1781990796,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6edaae0"} 
[2026-06-21 03:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:01: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-06-21 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189566720001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801460326591717376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189566720001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591717376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189566720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591717376}} 
[2026-06-21 03:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":108609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:01:59] local.INFO: GPS data processed {"connection_id":108609,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:01:59] local.INFO: Acknowledgment sent {"connection_id":108609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:02:30] local.INFO: TCP Data received {"connection_id":108609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:02:30] local.INFO: Processing buffer {"connection_id":108609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:02:30] local.INFO: Packet analysis {"connection_id":108609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:02:30] local.INFO: Extracted packet for processing {"connection_id":108609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:02:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:02:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":108609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:02:30] local.INFO: GPS data processed {"connection_id":108609,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:02:30] local.INFO: Acknowledgment sent {"connection_id":108609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:02:53] local.INFO: TCP Data received {"connection_id":108610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:02:53] local.INFO: Processing buffer {"connection_id":108610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:02:53] local.INFO: IMEI packet received {"connection_id":108610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":108610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:02:58] local.INFO: TCP Data received {"connection_id":108610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:02:58] local.INFO: Processing buffer {"connection_id":108610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:02:58] local.INFO: IMEI packet received {"connection_id":108610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":108610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:03:00] local.INFO: TCP Data received {"connection_id":108610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:03:00] local.INFO: Processing buffer {"connection_id":108610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:03:00] local.INFO: Packet analysis {"connection_id":108610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:03:00] local.INFO: Extracted packet for processing {"connection_id":108610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:03:00] 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-06-21 03:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:03:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:03:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":108610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:03:00] local.INFO: GPS data processed {"connection_id":108610,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:03:00] local.INFO: Acknowledgment sent {"connection_id":108610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:03:32] local.INFO: TCP Data received {"connection_id":108610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:03:32] local.INFO: Processing buffer {"connection_id":108610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:03:32] local.INFO: Packet analysis {"connection_id":108610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:03:32] local.INFO: Extracted packet for processing {"connection_id":108610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":108610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:03:32] local.INFO: GPS data processed {"connection_id":108610,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:03:32] local.INFO: Acknowledgment sent {"connection_id":108610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:03:58] local.INFO: TCP Data received {"connection_id":108424,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:03:58] local.INFO: Processing buffer {"connection_id":108424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:03:58] local.INFO: IMEI packet received {"connection_id":108424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":108424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:04:03] local.INFO: TCP Data received {"connection_id":108424,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:03] local.INFO: Processing buffer {"connection_id":108424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:03] local.INFO: IMEI packet received {"connection_id":108424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":108424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:04:04] local.INFO: TCP Data received {"connection_id":108424,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:04] local.INFO: Processing buffer {"connection_id":108424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:04] local.INFO: Packet analysis {"connection_id":108424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:04:04] local.INFO: Extracted packet for processing {"connection_id":108424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":108424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:04:04] local.INFO: GPS data processed {"connection_id":108424,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:04:04] local.INFO: Acknowledgment sent {"connection_id":108424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:04:09] local.INFO: TCP Data received {"connection_id":108424,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:09] local.INFO: Processing buffer {"connection_id":108424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:09] local.INFO: Packet analysis {"connection_id":108424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:04:09] local.INFO: Extracted packet for processing {"connection_id":108424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04: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-06-21 03:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":108424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:04:09] local.INFO: GPS data processed {"connection_id":108424,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:04:09] local.INFO: Acknowledgment sent {"connection_id":108424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:04:53] local.INFO: TCP Data received {"connection_id":109201,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:53] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:53] local.INFO: IMEI packet received {"connection_id":109201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":109201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:04:58] local.INFO: TCP Data received {"connection_id":109201,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:58] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:04:58] local.INFO: IMEI packet received {"connection_id":109201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":109201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:04:59] local.INFO: TCP Data received {"connection_id":109201,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:59] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:04:59] local.INFO: Packet analysis {"connection_id":109201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:04:59] local.INFO: Extracted packet for processing {"connection_id":109201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:04: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-06-21 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:04:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:04:59] local.INFO: GPS data processed {"connection_id":109201,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:04:59] local.INFO: Acknowledgment sent {"connection_id":109201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:05:30] local.INFO: TCP Data received {"connection_id":109201,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:05:30] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:05:30] local.INFO: Packet analysis {"connection_id":109201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:05:30] local.INFO: Extracted packet for processing {"connection_id":109201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:05:30] 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-06-21 03:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":109201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:05:30] local.INFO: GPS data processed {"connection_id":109201,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:05:30] local.INFO: Acknowledgment sent {"connection_id":109201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:05:53] local.INFO: TCP Data received {"connection_id":110149,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:05:53] local.INFO: Processing buffer {"connection_id":110149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:05:53] local.INFO: IMEI packet received {"connection_id":110149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":110149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:05:58] local.INFO: TCP Data received {"connection_id":110149,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:05:58] local.INFO: Processing buffer {"connection_id":110149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:05:58] local.INFO: IMEI packet received {"connection_id":110149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":110149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:05:59] local.INFO: TCP Data received {"connection_id":110149,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:05:59] local.INFO: Processing buffer {"connection_id":110149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:05:59] local.INFO: Packet analysis {"connection_id":110149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:05:59] local.INFO: Extracted packet for processing {"connection_id":110149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:05: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-06-21 03:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:05:59] 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-06-21 03:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:05:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:05:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":110149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:05:59] local.INFO: GPS data processed {"connection_id":110149,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:05:59] local.INFO: Acknowledgment sent {"connection_id":110149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:06:31] local.INFO: TCP Data received {"connection_id":110149,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:06:31] local.INFO: Processing buffer {"connection_id":110149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:06:31] local.INFO: Packet analysis {"connection_id":110149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:06:31] local.INFO: Extracted packet for processing {"connection_id":110149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":110149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:06:31] local.INFO: GPS data processed {"connection_id":110149,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:06:31] local.INFO: Acknowledgment sent {"connection_id":110149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:06:33] local.INFO: TCP Data received {"connection_id":108425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:06:33] local.INFO: Processing buffer {"connection_id":108425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:06:33] local.INFO: IMEI packet received {"connection_id":108425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":108425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:06:53] local.INFO: TCP Data received {"connection_id":109202,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:06:53] local.INFO: Processing buffer {"connection_id":109202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:06:53] local.INFO: IMEI packet received {"connection_id":109202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":109202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:06:58] local.INFO: TCP Data received {"connection_id":109202,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:06:58] local.INFO: Processing buffer {"connection_id":109202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:06:58] local.INFO: IMEI packet received {"connection_id":109202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":109202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:06:59] local.INFO: TCP Data received {"connection_id":109202,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:06:59] local.INFO: Processing buffer {"connection_id":109202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f242a8012d34c14006aa3d28000901172c..."} 
[2026-06-21 03:06:59] local.INFO: Packet analysis {"connection_id":109202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:06:59] local.INFO: Extracted packet for processing {"connection_id":109202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f2"} 
[2026-06-21 03:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189643776001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991097000,"timestamp_ms":1781991097000,"timestamp_seconds":1781991097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f242a8"} 
[2026-06-21 03:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:06: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-06-21 03:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 03:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189643776001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189643776001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:06:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:06:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189643776001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":109202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:06:59] local.INFO: GPS data processed {"connection_id":109202,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:06:59] local.INFO: Acknowledgment sent {"connection_id":109202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:07:13] local.INFO: TCP Data received {"connection_id":110150,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:07:13] local.INFO: Processing buffer {"connection_id":110150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:07:13] local.INFO: IMEI packet received {"connection_id":110150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":110150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:07:31] local.INFO: TCP Data received {"connection_id":109202,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:07:31] local.INFO: Processing buffer {"connection_id":109202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:07:31] local.INFO: Packet analysis {"connection_id":109202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:07:31] local.INFO: Extracted packet for processing {"connection_id":109202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":109202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:07:31] local.INFO: GPS data processed {"connection_id":109202,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:07:31] local.INFO: Acknowledgment sent {"connection_id":109202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:07:58] local.INFO: TCP Data received {"connection_id":108612,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:07:58] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:07:58] local.INFO: IMEI packet received {"connection_id":108612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":108612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:08:03] local.INFO: TCP Data received {"connection_id":108612,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:03] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:03] local.INFO: IMEI packet received {"connection_id":108612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":108612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:08:05] local.INFO: TCP Data received {"connection_id":108612,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:08:05] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:08:05] local.INFO: Packet analysis {"connection_id":108612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:08:05] local.INFO: Extracted packet for processing {"connection_id":108612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:08: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-06-21 03:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:08: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-06-21 03:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":108612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:08:05] local.INFO: GPS data processed {"connection_id":108612,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:08:05] local.INFO: Acknowledgment sent {"connection_id":108612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:08:08] local.INFO: TCP Data received {"connection_id":108612,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:08:08] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:08:08] local.INFO: Packet analysis {"connection_id":108612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:08:08] local.INFO: Extracted packet for processing {"connection_id":108612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":108612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:08:08] local.INFO: GPS data processed {"connection_id":108612,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:08:08] local.INFO: Acknowledgment sent {"connection_id":108612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:08:53] local.INFO: TCP Data received {"connection_id":110151,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:53] local.INFO: Processing buffer {"connection_id":110151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:53] local.INFO: IMEI packet received {"connection_id":110151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":110151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:08:58] local.INFO: TCP Data received {"connection_id":110151,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:58] local.INFO: Processing buffer {"connection_id":110151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:08:58] local.INFO: IMEI packet received {"connection_id":110151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":110151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:09:01] local.INFO: TCP Data received {"connection_id":110151,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:01] local.INFO: Processing buffer {"connection_id":110151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:01] local.INFO: Packet analysis {"connection_id":110151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:09:01] local.INFO: Extracted packet for processing {"connection_id":110151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:09:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:09:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":110151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:09:01] local.INFO: GPS data processed {"connection_id":110151,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:09:01] local.INFO: Acknowledgment sent {"connection_id":110151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:09:32] local.INFO: TCP Data received {"connection_id":110151,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:32] local.INFO: Processing buffer {"connection_id":110151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:32] local.INFO: Packet analysis {"connection_id":110151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:09:32] local.INFO: Extracted packet for processing {"connection_id":110151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":110151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:09:32] local.INFO: GPS data processed {"connection_id":110151,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:09:32] local.INFO: Acknowledgment sent {"connection_id":110151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:09:53] local.INFO: TCP Data received {"connection_id":108426,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:09:53] local.INFO: Processing buffer {"connection_id":108426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:09:53] local.INFO: IMEI packet received {"connection_id":108426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":108426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:09:58] local.INFO: TCP Data received {"connection_id":108426,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:09:58] local.INFO: Processing buffer {"connection_id":108426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:09:58] local.INFO: IMEI packet received {"connection_id":108426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":108426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:09:59] local.INFO: TCP Data received {"connection_id":108426,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:59] local.INFO: Processing buffer {"connection_id":108426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:09:59] local.INFO: Packet analysis {"connection_id":108426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:09:59] local.INFO: Extracted packet for processing {"connection_id":108426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:09: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-06-21 03:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:09:59] 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-06-21 03:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:09:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":108426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:09:59] local.INFO: GPS data processed {"connection_id":108426,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:09:59] local.INFO: Acknowledgment sent {"connection_id":108426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:10:31] local.INFO: TCP Data received {"connection_id":108426,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:10:31] local.INFO: Processing buffer {"connection_id":108426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:10:31] local.INFO: Packet analysis {"connection_id":108426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:10:31] local.INFO: Extracted packet for processing {"connection_id":108426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:10:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:10:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":108426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:10:31] local.INFO: GPS data processed {"connection_id":108426,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:10:31] local.INFO: Acknowledgment sent {"connection_id":108426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:10:53] local.INFO: TCP Data received {"connection_id":109205,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:10:53] local.INFO: Processing buffer {"connection_id":109205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:10:53] local.INFO: IMEI packet received {"connection_id":109205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":109205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:10:58] local.INFO: TCP Data received {"connection_id":109205,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:10:58] local.INFO: Processing buffer {"connection_id":109205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:10:58] local.INFO: IMEI packet received {"connection_id":109205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":109205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:10:59] local.INFO: TCP Data received {"connection_id":109205,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:10:59] local.INFO: Processing buffer {"connection_id":109205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:10:59] local.INFO: Packet analysis {"connection_id":109205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:10:59] local.INFO: Extracted packet for processing {"connection_id":109205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:10: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-06-21 03:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":109205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:10:59] local.INFO: GPS data processed {"connection_id":109205,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:10:59] local.INFO: Acknowledgment sent {"connection_id":109205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:11:31] local.INFO: TCP Data received {"connection_id":109205,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:11:31] local.INFO: Processing buffer {"connection_id":109205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:11:31] local.INFO: Packet analysis {"connection_id":109205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:11:31] local.INFO: Extracted packet for processing {"connection_id":109205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":109205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:11:31] local.INFO: GPS data processed {"connection_id":109205,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:11:31] local.INFO: Acknowledgment sent {"connection_id":109205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:11:53] local.INFO: TCP Data received {"connection_id":108427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:11:53] local.INFO: Processing buffer {"connection_id":108427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:11:53] local.INFO: IMEI packet received {"connection_id":108427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":108427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:11:58] local.INFO: TCP Data received {"connection_id":108427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:11:58] local.INFO: Processing buffer {"connection_id":108427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:11:58] local.INFO: IMEI packet received {"connection_id":108427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":108427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:11:59] local.INFO: TCP Data received {"connection_id":108427,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:11:59] local.INFO: Processing buffer {"connection_id":108427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6f6da70012d34c14006aa3d28000601172d..."} 
[2026-06-21 03:11:59] local.INFO: Packet analysis {"connection_id":108427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:11:59] local.INFO: Extracted packet for processing {"connection_id":108427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6f6"} 
[2026-06-21 03:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189720832001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991398000,"timestamp_ms":1781991398000,"timestamp_seconds":1781991398,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6f6da70"} 
[2026-06-21 03:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:11: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-06-21 03:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:11:59] 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-06-21 03:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189720832001,"66":25549,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189720832001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189720832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":108427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:11:59] local.INFO: GPS data processed {"connection_id":108427,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:11:59] local.INFO: Acknowledgment sent {"connection_id":108427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:12:30] local.INFO: TCP Data received {"connection_id":108427,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:12:30] local.INFO: Processing buffer {"connection_id":108427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:12:30] local.INFO: Packet analysis {"connection_id":108427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:12:30] local.INFO: Extracted packet for processing {"connection_id":108427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:12:30] 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-06-21 03:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:12:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":108427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:12:30] local.INFO: GPS data processed {"connection_id":108427,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:12:30] local.INFO: Acknowledgment sent {"connection_id":108427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:12:38] local.INFO: TCP Data received {"connection_id":108428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:12:38] local.INFO: Processing buffer {"connection_id":108428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:12:38] local.INFO: IMEI packet received {"connection_id":108428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":108428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:12:58] local.INFO: TCP Data received {"connection_id":110153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:12:58] local.INFO: Processing buffer {"connection_id":110153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:12:58] local.INFO: IMEI packet received {"connection_id":110153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":110153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:13:03] local.INFO: TCP Data received {"connection_id":110153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:03] local.INFO: Processing buffer {"connection_id":110153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:03] local.INFO: IMEI packet received {"connection_id":110153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":110153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:13:04] local.INFO: TCP Data received {"connection_id":110153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:04] local.INFO: Processing buffer {"connection_id":110153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:04] local.INFO: Packet analysis {"connection_id":110153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:13:04] local.INFO: Extracted packet for processing {"connection_id":110153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":110153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:13:04] local.INFO: GPS data processed {"connection_id":110153,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:13:04] local.INFO: Acknowledgment sent {"connection_id":110153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:13:09] local.INFO: TCP Data received {"connection_id":110153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:09] local.INFO: Processing buffer {"connection_id":110153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:09] local.INFO: Packet analysis {"connection_id":110153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:13:09] local.INFO: Extracted packet for processing {"connection_id":110153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:13: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-06-21 03:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:13:09] 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-06-21 03:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":110153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:13:09] local.INFO: GPS data processed {"connection_id":110153,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:13:09] local.INFO: Acknowledgment sent {"connection_id":110153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:13:13] local.INFO: TCP Data received {"connection_id":109206,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:13:13] local.INFO: Processing buffer {"connection_id":109206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:13:13] local.INFO: IMEI packet received {"connection_id":109206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":109206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:13:53] local.INFO: TCP Data received {"connection_id":109207,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:53] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:53] local.INFO: IMEI packet received {"connection_id":109207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":109207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:13:58] local.INFO: TCP Data received {"connection_id":109207,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:58] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:13:58] local.INFO: IMEI packet received {"connection_id":109207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":109207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:13:59] local.INFO: TCP Data received {"connection_id":109207,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:59] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:13:59] local.INFO: Packet analysis {"connection_id":109207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:13:59] local.INFO: Extracted packet for processing {"connection_id":109207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:13: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-06-21 03:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":109207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:13:59] local.INFO: GPS data processed {"connection_id":109207,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:13:59] local.INFO: Acknowledgment sent {"connection_id":109207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:14:30] local.INFO: TCP Data received {"connection_id":109207,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:14:30] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:14:30] local.INFO: Packet analysis {"connection_id":109207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:14:30] local.INFO: Extracted packet for processing {"connection_id":109207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:14:30] 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-06-21 03:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:14:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":109207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:14:30] local.INFO: GPS data processed {"connection_id":109207,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:14:30] local.INFO: Acknowledgment sent {"connection_id":109207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:14:53] local.INFO: TCP Data received {"connection_id":109208,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:14:53] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:14:53] local.INFO: IMEI packet received {"connection_id":109208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":109208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:14:58] local.INFO: TCP Data received {"connection_id":109208,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:14:58] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:14:58] local.INFO: IMEI packet received {"connection_id":109208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":109208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:14:59] local.INFO: TCP Data received {"connection_id":109208,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:14:59] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:14:59] local.INFO: Packet analysis {"connection_id":109208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:14:59] local.INFO: Extracted packet for processing {"connection_id":109208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:14: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-06-21 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:14:59] 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-06-21 03:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:14:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:14:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":109208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:14:59] local.INFO: GPS data processed {"connection_id":109208,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:14:59] local.INFO: Acknowledgment sent {"connection_id":109208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:15:31] local.INFO: TCP Data received {"connection_id":109208,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:15:31] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:15:31] local.INFO: Packet analysis {"connection_id":109208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:15:31] local.INFO: Extracted packet for processing {"connection_id":109208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":109208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:15:31] local.INFO: GPS data processed {"connection_id":109208,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:15:31] local.INFO: Acknowledgment sent {"connection_id":109208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:15:53] local.INFO: TCP Data received {"connection_id":110156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:15:53] local.INFO: Processing buffer {"connection_id":110156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:15:53] local.INFO: IMEI packet received {"connection_id":110156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":110156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:15:58] local.INFO: TCP Data received {"connection_id":110156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:15:58] local.INFO: Processing buffer {"connection_id":110156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:15:58] local.INFO: IMEI packet received {"connection_id":110156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":110156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:15:59] local.INFO: TCP Data received {"connection_id":110156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:15:59] local.INFO: Processing buffer {"connection_id":110156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:15:59] local.INFO: Packet analysis {"connection_id":110156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:15:59] local.INFO: Extracted packet for processing {"connection_id":110156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:15: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-06-21 03: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:15:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:15:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":110156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:15:59] local.INFO: GPS data processed {"connection_id":110156,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:15:59] local.INFO: Acknowledgment sent {"connection_id":110156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:16:31] local.INFO: TCP Data received {"connection_id":110156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:16:31] local.INFO: Processing buffer {"connection_id":110156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:16:31] local.INFO: Packet analysis {"connection_id":110156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:16:31] local.INFO: Extracted packet for processing {"connection_id":110156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":110156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:16:31] local.INFO: GPS data processed {"connection_id":110156,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:16:31] local.INFO: Acknowledgment sent {"connection_id":110156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:16:58] local.INFO: TCP Data received {"connection_id":110157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:16:58] local.INFO: Processing buffer {"connection_id":110157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:16:58] local.INFO: IMEI packet received {"connection_id":110157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":110157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:17:03] local.INFO: TCP Data received {"connection_id":110157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:03] local.INFO: Processing buffer {"connection_id":110157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:03] local.INFO: IMEI packet received {"connection_id":110157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":110157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:17:04] local.INFO: TCP Data received {"connection_id":110157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:17:04] local.INFO: Processing buffer {"connection_id":110157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:17:04] local.INFO: Packet analysis {"connection_id":110157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:17:04] local.INFO: Extracted packet for processing {"connection_id":110157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":110157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:17:04] local.INFO: GPS data processed {"connection_id":110157,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:17:04] local.INFO: Acknowledgment sent {"connection_id":110157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:17:12] local.INFO: TCP Data received {"connection_id":110157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:17:12] local.INFO: Processing buffer {"connection_id":110157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee6fb7238012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:17:12] local.INFO: Packet analysis {"connection_id":110157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:17:12] local.INFO: Extracted packet for processing {"connection_id":110157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee6fb"} 
[2026-06-21 03:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189797888001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17: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-06-21 03:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781991699000,"timestamp_ms":1781991699000,"timestamp_seconds":1781991699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee6fb7238"} 
[2026-06-21 03:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 03:17: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-06-21 03:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189797888001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189797888001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:17:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:17:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189797888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":110157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:17:12] local.INFO: GPS data processed {"connection_id":110157,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:17:12] local.INFO: Acknowledgment sent {"connection_id":110157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:17:53] local.INFO: TCP Data received {"connection_id":110158,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:53] local.INFO: Processing buffer {"connection_id":110158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:53] local.INFO: IMEI packet received {"connection_id":110158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":110158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:17:58] local.INFO: TCP Data received {"connection_id":110158,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:58] local.INFO: Processing buffer {"connection_id":110158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:17:58] local.INFO: IMEI packet received {"connection_id":110158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":110158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:17:59] local.INFO: TCP Data received {"connection_id":110158,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:17:59] local.INFO: Processing buffer {"connection_id":110158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:17:59] local.INFO: Packet analysis {"connection_id":110158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:17:59] local.INFO: Extracted packet for processing {"connection_id":110158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:17: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-06-21 03:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:17:59] 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-06-21 03:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:17:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:17:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":110158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:17:59] local.INFO: GPS data processed {"connection_id":110158,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:17:59] local.INFO: Acknowledgment sent {"connection_id":110158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:18:31] local.INFO: TCP Data received {"connection_id":110158,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:18:31] local.INFO: Processing buffer {"connection_id":110158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:18:31] local.INFO: Packet analysis {"connection_id":110158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:18:31] local.INFO: Extracted packet for processing {"connection_id":110158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":110158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:18:31] local.INFO: GPS data processed {"connection_id":110158,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:18:31] local.INFO: Acknowledgment sent {"connection_id":110158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:18:38] local.INFO: TCP Data received {"connection_id":109211,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:18:38] local.INFO: Processing buffer {"connection_id":109211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:18:38] local.INFO: IMEI packet received {"connection_id":109211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":109211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:18:53] local.INFO: TCP Data received {"connection_id":109212,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:18:53] local.INFO: Processing buffer {"connection_id":109212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:18:53] local.INFO: IMEI packet received {"connection_id":109212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":109212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:18:58] local.INFO: TCP Data received {"connection_id":109212,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:18:58] local.INFO: Processing buffer {"connection_id":109212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:18:58] local.INFO: IMEI packet received {"connection_id":109212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":109212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:19:00] local.INFO: TCP Data received {"connection_id":109212,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:00] local.INFO: Processing buffer {"connection_id":109212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:00] local.INFO: Packet analysis {"connection_id":109212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:19:00] local.INFO: Extracted packet for processing {"connection_id":109212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:19:00] 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-06-21 03:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:19:00] 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-06-21 03:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:19:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:19:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":109212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:19:00] local.INFO: GPS data processed {"connection_id":109212,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:19:00] local.INFO: Acknowledgment sent {"connection_id":109212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:19:14] local.INFO: TCP Data received {"connection_id":108614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:19:14] local.INFO: Processing buffer {"connection_id":108614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:19:14] local.INFO: IMEI packet received {"connection_id":108614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":108614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:19:32] local.INFO: TCP Data received {"connection_id":109212,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:32] local.INFO: Processing buffer {"connection_id":109212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:32] local.INFO: Packet analysis {"connection_id":109212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:19:32] local.INFO: Extracted packet for processing {"connection_id":109212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:19:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":109212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:19:32] local.INFO: GPS data processed {"connection_id":109212,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:19:32] local.INFO: Acknowledgment sent {"connection_id":109212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:19:53] local.INFO: TCP Data received {"connection_id":108615,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:19:53] local.INFO: Processing buffer {"connection_id":108615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:19:53] local.INFO: IMEI packet received {"connection_id":108615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":108615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:19:58] local.INFO: TCP Data received {"connection_id":108615,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:19:58] local.INFO: Processing buffer {"connection_id":108615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:19:58] local.INFO: IMEI packet received {"connection_id":108615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":108615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:19:59] local.INFO: TCP Data received {"connection_id":108615,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:59] local.INFO: Processing buffer {"connection_id":108615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:19:59] local.INFO: Packet analysis {"connection_id":108615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:19:59] local.INFO: Extracted packet for processing {"connection_id":108615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:19:59] 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-06-21 03:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:19:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":108615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:19:59] local.INFO: GPS data processed {"connection_id":108615,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:19:59] local.INFO: Acknowledgment sent {"connection_id":108615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:20:31] local.INFO: TCP Data received {"connection_id":108615,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:20:31] local.INFO: Processing buffer {"connection_id":108615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:20:31] local.INFO: Packet analysis {"connection_id":108615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:20:31] local.INFO: Extracted packet for processing {"connection_id":108615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":108615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:20:31] local.INFO: GPS data processed {"connection_id":108615,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:20:31] local.INFO: Acknowledgment sent {"connection_id":108615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:20:53] local.INFO: TCP Data received {"connection_id":108430,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:20:53] local.INFO: Processing buffer {"connection_id":108430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:20:53] local.INFO: IMEI packet received {"connection_id":108430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":108430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:20:58] local.INFO: TCP Data received {"connection_id":108430,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:20:58] local.INFO: Processing buffer {"connection_id":108430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:20:58] local.INFO: IMEI packet received {"connection_id":108430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":108430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:20:59] local.INFO: TCP Data received {"connection_id":108430,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:20:59] local.INFO: Processing buffer {"connection_id":108430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:20:59] local.INFO: Packet analysis {"connection_id":108430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:20:59] local.INFO: Extracted packet for processing {"connection_id":108430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:20: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-06-21 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:20:59] 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-06-21 03: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-06-21 03:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:20:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:20:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":108430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:20:59] local.INFO: GPS data processed {"connection_id":108430,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:20:59] local.INFO: Acknowledgment sent {"connection_id":108430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:21:31] local.INFO: TCP Data received {"connection_id":108430,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:21:31] local.INFO: Processing buffer {"connection_id":108430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:21:31] local.INFO: Packet analysis {"connection_id":108430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:21:31] local.INFO: Extracted packet for processing {"connection_id":108430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:21:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":108430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:21:31] local.INFO: GPS data processed {"connection_id":108430,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:21:31] local.INFO: Acknowledgment sent {"connection_id":108430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:21:58] local.INFO: TCP Data received {"connection_id":108617,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:21:58] local.INFO: Processing buffer {"connection_id":108617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:21:58] local.INFO: IMEI packet received {"connection_id":108617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":108617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:22:03] local.INFO: TCP Data received {"connection_id":108617,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:03] local.INFO: Processing buffer {"connection_id":108617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:03] local.INFO: IMEI packet received {"connection_id":108617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":108617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:22:04] local.INFO: TCP Data received {"connection_id":108617,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:22:04] local.INFO: Processing buffer {"connection_id":108617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:22:04] local.INFO: Packet analysis {"connection_id":108617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:22:04] local.INFO: Extracted packet for processing {"connection_id":108617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":108617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:22:04] local.INFO: GPS data processed {"connection_id":108617,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:22:04] local.INFO: Acknowledgment sent {"connection_id":108617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:22:09] local.INFO: TCP Data received {"connection_id":108617,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:22:09] local.INFO: Processing buffer {"connection_id":108617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7000a00012d34c14006aa3d28000801172f..."} 
[2026-06-21 03:22:09] local.INFO: Packet analysis {"connection_id":108617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:22:09] local.INFO: Extracted packet for processing {"connection_id":108617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee700"} 
[2026-06-21 03:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189874944001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781992000000,"timestamp_ms":1781992000000,"timestamp_seconds":1781992000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7000a00"} 
[2026-06-21 03:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:22:09] 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-06-21 03:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189874944001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189874944001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189874944001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":108617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:22:09] local.INFO: GPS data processed {"connection_id":108617,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:22:09] local.INFO: Acknowledgment sent {"connection_id":108617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:22:53] local.INFO: TCP Data received {"connection_id":108618,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:53] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:53] local.INFO: IMEI packet received {"connection_id":108618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":108618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:22:58] local.INFO: TCP Data received {"connection_id":108618,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:58] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:22:58] local.INFO: IMEI packet received {"connection_id":108618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":108618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:22:59] local.INFO: TCP Data received {"connection_id":108618,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:22:59] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:22:59] local.INFO: Packet analysis {"connection_id":108618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:22:59] local.INFO: Extracted packet for processing {"connection_id":108618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:22: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-06-21 03:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:22:59] 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-06-21 03:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:22:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":108618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:22:59] local.INFO: GPS data processed {"connection_id":108618,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:22:59] local.INFO: Acknowledgment sent {"connection_id":108618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:23:31] local.INFO: TCP Data received {"connection_id":108618,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:23:31] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:23:31] local.INFO: Packet analysis {"connection_id":108618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:23:31] local.INFO: Extracted packet for processing {"connection_id":108618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":108618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:23:31] local.INFO: GPS data processed {"connection_id":108618,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:23:31] local.INFO: Acknowledgment sent {"connection_id":108618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:23:53] local.INFO: TCP Data received {"connection_id":108619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:23:53] local.INFO: Processing buffer {"connection_id":108619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:23:53] local.INFO: IMEI packet received {"connection_id":108619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":108619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:23:58] local.INFO: TCP Data received {"connection_id":108619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:23:58] local.INFO: Processing buffer {"connection_id":108619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:23:58] local.INFO: IMEI packet received {"connection_id":108619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":108619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:23:59] local.INFO: TCP Data received {"connection_id":108619,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:23:59] local.INFO: Processing buffer {"connection_id":108619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:23:59] local.INFO: Packet analysis {"connection_id":108619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:23:59] local.INFO: Extracted packet for processing {"connection_id":108619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:23: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-06-21 03:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:23:59] 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-06-21 03:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:23:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:23:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":108619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:23:59] local.INFO: GPS data processed {"connection_id":108619,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:23:59] local.INFO: Acknowledgment sent {"connection_id":108619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:24:30] local.INFO: TCP Data received {"connection_id":108619,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:24:30] local.INFO: Processing buffer {"connection_id":108619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:24:30] local.INFO: Packet analysis {"connection_id":108619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:24:30] local.INFO: Extracted packet for processing {"connection_id":108619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:24:30] 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-06-21 03:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":108619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:24:30] local.INFO: GPS data processed {"connection_id":108619,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:24:30] local.INFO: Acknowledgment sent {"connection_id":108619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:24:34] local.INFO: TCP Data received {"connection_id":109213,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:24:34] local.INFO: Processing buffer {"connection_id":109213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:24:34] local.INFO: IMEI packet received {"connection_id":109213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":109213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:24:53] local.INFO: TCP Data received {"connection_id":108433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:24:53] local.INFO: Processing buffer {"connection_id":108433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:24:53] local.INFO: IMEI packet received {"connection_id":108433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":108433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:24:58] local.INFO: TCP Data received {"connection_id":108433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:24:58] local.INFO: Processing buffer {"connection_id":108433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:24:58] local.INFO: IMEI packet received {"connection_id":108433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":108433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:24:59] local.INFO: TCP Data received {"connection_id":108433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:24:59] local.INFO: Processing buffer {"connection_id":108433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:24:59] local.INFO: Packet analysis {"connection_id":108433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:24:59] local.INFO: Extracted packet for processing {"connection_id":108433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:24: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-06-21 03:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:24:59] 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-06-21 03:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:24:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:24:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":108433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:24:59] local.INFO: GPS data processed {"connection_id":108433,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:24:59] local.INFO: Acknowledgment sent {"connection_id":108433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:25:14] local.INFO: TCP Data received {"connection_id":110159,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:25:14] local.INFO: Processing buffer {"connection_id":110159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:25:14] local.INFO: IMEI packet received {"connection_id":110159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":110159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:25:30] local.INFO: TCP Data received {"connection_id":108433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:25:30] local.INFO: Processing buffer {"connection_id":108433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:25:30] local.INFO: Packet analysis {"connection_id":108433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:25:30] local.INFO: Extracted packet for processing {"connection_id":108433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:25:30] 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-06-21 03:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:25:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:25:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":108433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:25:30] local.INFO: GPS data processed {"connection_id":108433,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:25:30] local.INFO: Acknowledgment sent {"connection_id":108433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:25:59] local.INFO: TCP Data received {"connection_id":109214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:25:59] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:25:59] local.INFO: IMEI packet received {"connection_id":109214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":109214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:26:03] local.INFO: TCP Data received {"connection_id":109214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:03] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:03] local.INFO: IMEI packet received {"connection_id":109214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":109214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:26:04] local.INFO: TCP Data received {"connection_id":109214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:04] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:04] local.INFO: Packet analysis {"connection_id":109214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:26:04] local.INFO: Extracted packet for processing {"connection_id":109214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:26:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":109214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:26:04] local.INFO: GPS data processed {"connection_id":109214,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:26:04] local.INFO: Acknowledgment sent {"connection_id":109214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:26:09] local.INFO: TCP Data received {"connection_id":109214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:09] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:09] local.INFO: Packet analysis {"connection_id":109214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:26:09] local.INFO: Extracted packet for processing {"connection_id":109214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26: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-06-21 03:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":109214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:26:09] local.INFO: GPS data processed {"connection_id":109214,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:26:09] local.INFO: Acknowledgment sent {"connection_id":109214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:26:53] local.INFO: TCP Data received {"connection_id":108621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:53] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:53] local.INFO: IMEI packet received {"connection_id":108621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":108621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:26:58] local.INFO: TCP Data received {"connection_id":108621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:58] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:26:58] local.INFO: IMEI packet received {"connection_id":108621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":108621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:26:59] local.INFO: TCP Data received {"connection_id":108621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:59] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee704a1c8012d34c14006aa3d28000801172d..."} 
[2026-06-21 03:26:59] local.INFO: Packet analysis {"connection_id":108621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:26:59] local.INFO: Extracted packet for processing {"connection_id":108621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee704"} 
[2026-06-21 03:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456189952000001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992301000,"timestamp_ms":1781992301000,"timestamp_seconds":1781992301,"priority":1,"record_length":96,"hex_timestamp":"0000019ee704a1c8"} 
[2026-06-21 03:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:26: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-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:26:59] 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-06-21 03:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456189952000001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456189952000001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:26:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456189952000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":108621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:26:59] local.INFO: GPS data processed {"connection_id":108621,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:26:59] local.INFO: Acknowledgment sent {"connection_id":108621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:27:30] local.INFO: TCP Data received {"connection_id":108621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:27:30] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:27:30] local.INFO: Packet analysis {"connection_id":108621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:27:30] local.INFO: Extracted packet for processing {"connection_id":108621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:27:30] 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-06-21 03:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:27:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":108621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:27:30] local.INFO: GPS data processed {"connection_id":108621,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:27:30] local.INFO: Acknowledgment sent {"connection_id":108621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:27:53] local.INFO: TCP Data received {"connection_id":109215,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:27:53] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:27:53] local.INFO: IMEI packet received {"connection_id":109215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":109215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:27:58] local.INFO: TCP Data received {"connection_id":109215,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:27:58] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:27:58] local.INFO: IMEI packet received {"connection_id":109215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":109215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:27:59] local.INFO: TCP Data received {"connection_id":109215,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:27:59] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:27:59] local.INFO: Packet analysis {"connection_id":109215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:27:59] local.INFO: Extracted packet for processing {"connection_id":109215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:27: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-06-21 03:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:27:59] 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-06-21 03:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:27:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":109215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:27:59] local.INFO: GPS data processed {"connection_id":109215,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:27:59] local.INFO: Acknowledgment sent {"connection_id":109215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:28:30] local.INFO: TCP Data received {"connection_id":109215,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:28:30] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:28:30] local.INFO: Packet analysis {"connection_id":109215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:28:30] local.INFO: Extracted packet for processing {"connection_id":109215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:28:30] 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-06-21 03:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:28:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:28:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":109215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:28:30] local.INFO: GPS data processed {"connection_id":109215,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:28:30] local.INFO: Acknowledgment sent {"connection_id":109215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:28:53] local.INFO: TCP Data received {"connection_id":109216,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:28:53] local.INFO: Processing buffer {"connection_id":109216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:28:53] local.INFO: IMEI packet received {"connection_id":109216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":109216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:28:58] local.INFO: TCP Data received {"connection_id":109216,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:28:58] local.INFO: Processing buffer {"connection_id":109216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:28:58] local.INFO: IMEI packet received {"connection_id":109216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":109216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:28:59] local.INFO: TCP Data received {"connection_id":109216,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:28:59] local.INFO: Processing buffer {"connection_id":109216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:28:59] local.INFO: Packet analysis {"connection_id":109216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:28:59] local.INFO: Extracted packet for processing {"connection_id":109216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:28:59] 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-06-21 03:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":109216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:28:59] local.INFO: GPS data processed {"connection_id":109216,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:28:59] local.INFO: Acknowledgment sent {"connection_id":109216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:29:31] local.INFO: TCP Data received {"connection_id":109216,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:29:31] local.INFO: Processing buffer {"connection_id":109216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:29:31] local.INFO: Packet analysis {"connection_id":109216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:29:31] local.INFO: Extracted packet for processing {"connection_id":109216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":109216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:29:31] local.INFO: GPS data processed {"connection_id":109216,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:29:31] local.INFO: Acknowledgment sent {"connection_id":109216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:29:53] local.INFO: TCP Data received {"connection_id":108436,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:29:53] local.INFO: Processing buffer {"connection_id":108436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:29:53] local.INFO: IMEI packet received {"connection_id":108436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":108436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:29:58] local.INFO: TCP Data received {"connection_id":108436,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:29:58] local.INFO: Processing buffer {"connection_id":108436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:29:58] local.INFO: IMEI packet received {"connection_id":108436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":108436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:29:59] local.INFO: TCP Data received {"connection_id":108436,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:29:59] local.INFO: Processing buffer {"connection_id":108436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:29:59] local.INFO: Packet analysis {"connection_id":108436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:29:59] local.INFO: Extracted packet for processing {"connection_id":108436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:29: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-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":108436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:29:59] local.INFO: GPS data processed {"connection_id":108436,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:29:59] local.INFO: Acknowledgment sent {"connection_id":108436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:30:30] local.INFO: TCP Data received {"connection_id":108436,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:30:30] local.INFO: Processing buffer {"connection_id":108436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:30:30] local.INFO: Packet analysis {"connection_id":108436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:30:30] local.INFO: Extracted packet for processing {"connection_id":108436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:30:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:30:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":108436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:30:30] local.INFO: GPS data processed {"connection_id":108436,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:30:30] local.INFO: Acknowledgment sent {"connection_id":108436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:30:44] local.INFO: TCP Data received {"connection_id":109217,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:30:44] local.INFO: Processing buffer {"connection_id":109217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:30:44] local.INFO: IMEI packet received {"connection_id":109217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":109217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:30:58] local.INFO: TCP Data received {"connection_id":108437,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:30:58] local.INFO: Processing buffer {"connection_id":108437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:30:58] local.INFO: IMEI packet received {"connection_id":108437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":108437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:31:03] local.INFO: TCP Data received {"connection_id":108437,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:03] local.INFO: Processing buffer {"connection_id":108437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:03] local.INFO: IMEI packet received {"connection_id":108437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":108437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:31:04] local.INFO: TCP Data received {"connection_id":108437,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:04] local.INFO: Processing buffer {"connection_id":108437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:04] local.INFO: Packet analysis {"connection_id":108437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:31:04] local.INFO: Extracted packet for processing {"connection_id":108437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":108437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:31:04] local.INFO: GPS data processed {"connection_id":108437,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:31:04] local.INFO: Acknowledgment sent {"connection_id":108437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:31:08] local.INFO: TCP Data received {"connection_id":108437,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:08] local.INFO: Processing buffer {"connection_id":108437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:08] local.INFO: Packet analysis {"connection_id":108437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:31:08] local.INFO: Extracted packet for processing {"connection_id":108437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31: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-06-21 03:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:31:08] 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-06-21 03:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":108437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:31:08] local.INFO: GPS data processed {"connection_id":108437,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:31:08] local.INFO: Acknowledgment sent {"connection_id":108437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:31:13] local.INFO: TCP Data received {"connection_id":109218,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:31:13] local.INFO: Processing buffer {"connection_id":109218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:31:13] local.INFO: IMEI packet received {"connection_id":109218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":109218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:31:53] local.INFO: TCP Data received {"connection_id":110160,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:53] local.INFO: Processing buffer {"connection_id":110160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:53] local.INFO: IMEI packet received {"connection_id":110160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":110160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:31:58] local.INFO: TCP Data received {"connection_id":110160,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:58] local.INFO: Processing buffer {"connection_id":110160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:31:58] local.INFO: IMEI packet received {"connection_id":110160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":110160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:31:59] local.INFO: TCP Data received {"connection_id":110160,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:59] local.INFO: Processing buffer {"connection_id":110160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7093990012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:31:59] local.INFO: Packet analysis {"connection_id":110160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:31:59] local.INFO: Extracted packet for processing {"connection_id":110160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee709"} 
[2026-06-21 03:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190029056001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992602000,"timestamp_ms":1781992602000,"timestamp_seconds":1781992602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7093990"} 
[2026-06-21 03:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:31: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-06-21 03:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:31:59] 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-06-21 03:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190029056001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190029056001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:31:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:31:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190029056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":110160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:31:59] local.INFO: GPS data processed {"connection_id":110160,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:31:59] local.INFO: Acknowledgment sent {"connection_id":110160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:32:30] local.INFO: TCP Data received {"connection_id":110160,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:32:30] local.INFO: Processing buffer {"connection_id":110160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:32:30] local.INFO: Packet analysis {"connection_id":110160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:32:30] local.INFO: Extracted packet for processing {"connection_id":110160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:32:30] 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-06-21 03:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":110160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:32:30] local.INFO: GPS data processed {"connection_id":110160,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:32:30] local.INFO: Acknowledgment sent {"connection_id":110160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:32:58] local.INFO: TCP Data received {"connection_id":110161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:32:58] local.INFO: Processing buffer {"connection_id":110161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:32:58] local.INFO: IMEI packet received {"connection_id":110161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":110161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:33:03] local.INFO: TCP Data received {"connection_id":110161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:03] local.INFO: Processing buffer {"connection_id":110161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:03] local.INFO: IMEI packet received {"connection_id":110161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":110161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:33:04] local.INFO: TCP Data received {"connection_id":110161,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:04] local.INFO: Processing buffer {"connection_id":110161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:04] local.INFO: Packet analysis {"connection_id":110161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:33:04] local.INFO: Extracted packet for processing {"connection_id":110161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":110161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:33:04] local.INFO: GPS data processed {"connection_id":110161,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:33:04] local.INFO: Acknowledgment sent {"connection_id":110161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:33:08] local.INFO: TCP Data received {"connection_id":110161,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:08] local.INFO: Processing buffer {"connection_id":110161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:08] local.INFO: Packet analysis {"connection_id":110161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:33:08] local.INFO: Extracted packet for processing {"connection_id":110161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:33:08] 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-06-21 03:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":110161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:33:08] local.INFO: GPS data processed {"connection_id":110161,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:33:08] local.INFO: Acknowledgment sent {"connection_id":110161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:33:53] local.INFO: TCP Data received {"connection_id":108438,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:53] local.INFO: Processing buffer {"connection_id":108438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:53] local.INFO: IMEI packet received {"connection_id":108438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":108438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:33:58] local.INFO: TCP Data received {"connection_id":108438,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:58] local.INFO: Processing buffer {"connection_id":108438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:33:58] local.INFO: IMEI packet received {"connection_id":108438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":108438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:33:59] local.INFO: TCP Data received {"connection_id":108438,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:59] local.INFO: Processing buffer {"connection_id":108438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:33:59] local.INFO: Packet analysis {"connection_id":108438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:33:59] local.INFO: Extracted packet for processing {"connection_id":108438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:33: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-06-21 03:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:33:59] 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-06-21 03:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:33:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:33:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":108438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:33:59] local.INFO: GPS data processed {"connection_id":108438,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:33:59] local.INFO: Acknowledgment sent {"connection_id":108438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:34:30] local.INFO: TCP Data received {"connection_id":108438,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:34:30] local.INFO: Processing buffer {"connection_id":108438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:34:30] local.INFO: Packet analysis {"connection_id":108438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:34:30] local.INFO: Extracted packet for processing {"connection_id":108438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:34:30] 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-06-21 03:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:34:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:34:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":108438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:34:30] local.INFO: GPS data processed {"connection_id":108438,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:34:30] local.INFO: Acknowledgment sent {"connection_id":108438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:34:53] local.INFO: TCP Data received {"connection_id":108623,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:34:53] local.INFO: Processing buffer {"connection_id":108623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:34:53] local.INFO: IMEI packet received {"connection_id":108623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":108623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:34:58] local.INFO: TCP Data received {"connection_id":108623,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:34:58] local.INFO: Processing buffer {"connection_id":108623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:34:58] local.INFO: IMEI packet received {"connection_id":108623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":108623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:34:59] local.INFO: TCP Data received {"connection_id":108623,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:34:59] local.INFO: Processing buffer {"connection_id":108623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:34:59] local.INFO: Packet analysis {"connection_id":108623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:34:59] local.INFO: Extracted packet for processing {"connection_id":108623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:34: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-06-21 03:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:34:59] 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-06-21 03:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:34:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:34:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":108623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:34:59] local.INFO: GPS data processed {"connection_id":108623,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:34:59] local.INFO: Acknowledgment sent {"connection_id":108623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:35:30] local.INFO: TCP Data received {"connection_id":108623,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:35:30] local.INFO: Processing buffer {"connection_id":108623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:35:30] local.INFO: Packet analysis {"connection_id":108623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:35:30] local.INFO: Extracted packet for processing {"connection_id":108623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:35:30] 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-06-21 03:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:35:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:35:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":108623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:35:30] local.INFO: GPS data processed {"connection_id":108623,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:35:30] local.INFO: Acknowledgment sent {"connection_id":108623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:35:53] local.INFO: TCP Data received {"connection_id":108440,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:35:53] local.INFO: Processing buffer {"connection_id":108440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:35:53] local.INFO: IMEI packet received {"connection_id":108440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":108440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:35:58] local.INFO: TCP Data received {"connection_id":108440,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:35:58] local.INFO: Processing buffer {"connection_id":108440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:35:58] local.INFO: IMEI packet received {"connection_id":108440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":108440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:36:00] local.INFO: TCP Data received {"connection_id":108440,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:00] local.INFO: Processing buffer {"connection_id":108440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:00] local.INFO: Packet analysis {"connection_id":108440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:36:00] local.INFO: Extracted packet for processing {"connection_id":108440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:36:00] 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-06-21 03:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:36:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:36:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":108440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:36:00] local.INFO: GPS data processed {"connection_id":108440,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:36:00] local.INFO: Acknowledgment sent {"connection_id":108440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:36:32] local.INFO: TCP Data received {"connection_id":108440,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:32] local.INFO: Processing buffer {"connection_id":108440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:32] local.INFO: Packet analysis {"connection_id":108440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:36:32] local.INFO: Extracted packet for processing {"connection_id":108440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":108440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:36:32] local.INFO: GPS data processed {"connection_id":108440,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:36:32] local.INFO: Acknowledgment sent {"connection_id":108440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:36:39] local.INFO: TCP Data received {"connection_id":110162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:36:39] local.INFO: Processing buffer {"connection_id":110162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:36:39] local.INFO: IMEI packet received {"connection_id":110162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":110162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:36:53] local.INFO: TCP Data received {"connection_id":109222,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:36:53] local.INFO: Processing buffer {"connection_id":109222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:36:53] local.INFO: IMEI packet received {"connection_id":109222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":109222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:36:58] local.INFO: TCP Data received {"connection_id":109222,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:36:58] local.INFO: Processing buffer {"connection_id":109222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:36:58] local.INFO: IMEI packet received {"connection_id":109222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":109222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:36:59] local.INFO: TCP Data received {"connection_id":109222,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:59] local.INFO: Processing buffer {"connection_id":109222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee70dd158012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:36:59] local.INFO: Packet analysis {"connection_id":109222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:36:59] local.INFO: Extracted packet for processing {"connection_id":109222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee70d"} 
[2026-06-21 03:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190106112001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781992903000,"timestamp_ms":1781992903000,"timestamp_seconds":1781992903,"priority":1,"record_length":96,"hex_timestamp":"0000019ee70dd158"} 
[2026-06-21 03:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:36: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-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190106112001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190106112001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190106112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":109222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:36:59] local.INFO: GPS data processed {"connection_id":109222,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:36:59] local.INFO: Acknowledgment sent {"connection_id":109222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:37:14] local.INFO: TCP Data received {"connection_id":108441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:37:14] local.INFO: Processing buffer {"connection_id":108441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:37:14] local.INFO: IMEI packet received {"connection_id":108441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":108441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:37:30] local.INFO: TCP Data received {"connection_id":109222,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:37:30] local.INFO: Processing buffer {"connection_id":109222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:37:30] local.INFO: Packet analysis {"connection_id":109222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:37:30] local.INFO: Extracted packet for processing {"connection_id":109222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:37:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:37:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":109222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:37:30] local.INFO: GPS data processed {"connection_id":109222,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:37:30] local.INFO: Acknowledgment sent {"connection_id":109222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:37:58] local.INFO: TCP Data received {"connection_id":110163,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:37:58] local.INFO: Processing buffer {"connection_id":110163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:37:58] local.INFO: IMEI packet received {"connection_id":110163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":110163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:38:03] local.INFO: TCP Data received {"connection_id":110163,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:03] local.INFO: Processing buffer {"connection_id":110163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:03] local.INFO: IMEI packet received {"connection_id":110163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":110163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:38:08] local.INFO: TCP Data received {"connection_id":110163,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:08] local.INFO: Processing buffer {"connection_id":110163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:08] local.INFO: IMEI packet received {"connection_id":110163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":110163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:38:09] local.INFO: TCP Data received {"connection_id":110163,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:09] local.INFO: Processing buffer {"connection_id":110163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:09] local.INFO: Packet analysis {"connection_id":110163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:38:09] local.INFO: Extracted packet for processing {"connection_id":110163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38: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-06-21 03:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:38:09] 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-06-21 03:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":110163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:38:09] local.INFO: GPS data processed {"connection_id":110163,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:38:09] local.INFO: Acknowledgment sent {"connection_id":110163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:38:13] local.INFO: TCP Data received {"connection_id":110163,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:13] local.INFO: Processing buffer {"connection_id":110163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:13] local.INFO: Packet analysis {"connection_id":110163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:38:13] local.INFO: Extracted packet for processing {"connection_id":110163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38: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-06-21 03:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":110163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":110163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":110163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:38: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-06-21 03:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:38:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":110163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:38:13] local.INFO: GPS data processed {"connection_id":110163,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:38:13] local.INFO: Acknowledgment sent {"connection_id":110163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:38:53] local.INFO: TCP Data received {"connection_id":109224,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:53] local.INFO: Processing buffer {"connection_id":109224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:53] local.INFO: IMEI packet received {"connection_id":109224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":109224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:38:58] local.INFO: TCP Data received {"connection_id":109224,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:58] local.INFO: Processing buffer {"connection_id":109224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:38:58] local.INFO: IMEI packet received {"connection_id":109224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":109224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:38:59] local.INFO: TCP Data received {"connection_id":109224,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:59] local.INFO: Processing buffer {"connection_id":109224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:38:59] local.INFO: Packet analysis {"connection_id":109224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:38:59] local.INFO: Extracted packet for processing {"connection_id":109224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:38: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-06-21 03:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:38:59] 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-06-21 03:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:38:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":109224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:38:59] local.INFO: GPS data processed {"connection_id":109224,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:38:59] local.INFO: Acknowledgment sent {"connection_id":109224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:39:31] local.INFO: TCP Data received {"connection_id":109224,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:39:31] local.INFO: Processing buffer {"connection_id":109224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:39:31] local.INFO: Packet analysis {"connection_id":109224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:39:31] local.INFO: Extracted packet for processing {"connection_id":109224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":109224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:39:31] local.INFO: GPS data processed {"connection_id":109224,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:39:31] local.INFO: Acknowledgment sent {"connection_id":109224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:39:53] local.INFO: TCP Data received {"connection_id":110164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:39:53] local.INFO: Processing buffer {"connection_id":110164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:39:53] local.INFO: IMEI packet received {"connection_id":110164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":110164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:39:58] local.INFO: TCP Data received {"connection_id":110164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:39:58] local.INFO: Processing buffer {"connection_id":110164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:39:58] local.INFO: IMEI packet received {"connection_id":110164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":110164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:39:59] local.INFO: TCP Data received {"connection_id":110164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:39:59] local.INFO: Processing buffer {"connection_id":110164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:39:59] local.INFO: Packet analysis {"connection_id":110164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:39:59] local.INFO: Extracted packet for processing {"connection_id":110164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:39:59] 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-06-21 03:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:39:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:39:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":110164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:39:59] local.INFO: GPS data processed {"connection_id":110164,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:39:59] local.INFO: Acknowledgment sent {"connection_id":110164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:40:30] local.INFO: TCP Data received {"connection_id":110164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:40:30] local.INFO: Processing buffer {"connection_id":110164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:40:30] local.INFO: Packet analysis {"connection_id":110164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:40:30] local.INFO: Extracted packet for processing {"connection_id":110164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:40:30] 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-06-21 03:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:40:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":110164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:40:30] local.INFO: GPS data processed {"connection_id":110164,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:40:30] local.INFO: Acknowledgment sent {"connection_id":110164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:40:53] local.INFO: TCP Data received {"connection_id":109226,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:40:53] local.INFO: Processing buffer {"connection_id":109226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:40:53] local.INFO: IMEI packet received {"connection_id":109226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":109226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:40:58] local.INFO: TCP Data received {"connection_id":109226,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:40:58] local.INFO: Processing buffer {"connection_id":109226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:40:58] local.INFO: IMEI packet received {"connection_id":109226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":109226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:41:00] local.INFO: TCP Data received {"connection_id":109226,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:00] local.INFO: Processing buffer {"connection_id":109226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:00] local.INFO: Packet analysis {"connection_id":109226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:41:00] local.INFO: Extracted packet for processing {"connection_id":109226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:41:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:41:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":109226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:41:00] local.INFO: GPS data processed {"connection_id":109226,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:41:00] local.INFO: Acknowledgment sent {"connection_id":109226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:41:32] local.INFO: TCP Data received {"connection_id":109226,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:32] local.INFO: Processing buffer {"connection_id":109226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:32] local.INFO: Packet analysis {"connection_id":109226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:41:32] local.INFO: Extracted packet for processing {"connection_id":109226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":109226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:41:32] local.INFO: GPS data processed {"connection_id":109226,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:41:32] local.INFO: Acknowledgment sent {"connection_id":109226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:41:53] local.INFO: TCP Data received {"connection_id":110167,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:41:53] local.INFO: Processing buffer {"connection_id":110167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:41:53] local.INFO: IMEI packet received {"connection_id":110167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":110167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:41:58] local.INFO: TCP Data received {"connection_id":110167,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:41:58] local.INFO: Processing buffer {"connection_id":110167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:41:58] local.INFO: IMEI packet received {"connection_id":110167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":110167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:41:59] local.INFO: TCP Data received {"connection_id":110167,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:59] local.INFO: Processing buffer {"connection_id":110167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7126920012d34c14006aa3d28000b01172e..."} 
[2026-06-21 03:41:59] local.INFO: Packet analysis {"connection_id":110167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:41:59] local.INFO: Extracted packet for processing {"connection_id":110167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee712"} 
[2026-06-21 03:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190183168001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993204000,"timestamp_ms":1781993204000,"timestamp_seconds":1781993204,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7126920"} 
[2026-06-21 03:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:41: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-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:41:59] 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-06-21 03:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190183168001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190183168001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:41:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:41:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190183168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":110167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:41:59] local.INFO: GPS data processed {"connection_id":110167,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:41:59] local.INFO: Acknowledgment sent {"connection_id":110167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:42:30] local.INFO: TCP Data received {"connection_id":110167,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:42:30] local.INFO: Processing buffer {"connection_id":110167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:42:30] local.INFO: Packet analysis {"connection_id":110167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:42:30] local.INFO: Extracted packet for processing {"connection_id":110167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:42:30] 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-06-21 03:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:42:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:42:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":110167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:42:30] local.INFO: GPS data processed {"connection_id":110167,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:42:30] local.INFO: Acknowledgment sent {"connection_id":110167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:42:39] local.INFO: TCP Data received {"connection_id":110168,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:42:39] local.INFO: Processing buffer {"connection_id":110168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:42:39] local.INFO: IMEI packet received {"connection_id":110168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":110168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:42:58] local.INFO: TCP Data received {"connection_id":109227,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:42:58] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:42:58] local.INFO: IMEI packet received {"connection_id":109227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":109227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:43:03] local.INFO: TCP Data received {"connection_id":109227,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:03] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:03] local.INFO: IMEI packet received {"connection_id":109227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":109227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:43:03] local.INFO: TCP Data received {"connection_id":109227,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:03] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:03] local.INFO: Packet analysis {"connection_id":109227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:43:03] local.INFO: Extracted packet for processing {"connection_id":109227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":109227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:43:03] local.INFO: GPS data processed {"connection_id":109227,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:43:03] local.INFO: Acknowledgment sent {"connection_id":109227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:43:13] local.INFO: TCP Data received {"connection_id":109228,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:43:13] local.INFO: Processing buffer {"connection_id":109228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:43:13] local.INFO: IMEI packet received {"connection_id":109228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":109228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:43:36] local.INFO: TCP Data received {"connection_id":109227,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:36] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:36] local.INFO: Packet analysis {"connection_id":109227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:43:36] local.INFO: Extracted packet for processing {"connection_id":109227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:43:36] 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-06-21 03:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":109227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:43:36] local.INFO: GPS data processed {"connection_id":109227,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:43:36] local.INFO: Acknowledgment sent {"connection_id":109227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:43:53] local.INFO: TCP Data received {"connection_id":108624,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:53] local.INFO: Processing buffer {"connection_id":108624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:53] local.INFO: IMEI packet received {"connection_id":108624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":108624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:43:58] local.INFO: TCP Data received {"connection_id":108624,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:58] local.INFO: Processing buffer {"connection_id":108624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:43:58] local.INFO: IMEI packet received {"connection_id":108624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":108624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:43:59] local.INFO: TCP Data received {"connection_id":108624,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:59] local.INFO: Processing buffer {"connection_id":108624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:43:59] local.INFO: Packet analysis {"connection_id":108624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:43:59] local.INFO: Extracted packet for processing {"connection_id":108624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:43:59] 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-06-21 03:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:43:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:43:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":108624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:43:59] local.INFO: GPS data processed {"connection_id":108624,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:43:59] local.INFO: Acknowledgment sent {"connection_id":108624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:44:30] local.INFO: TCP Data received {"connection_id":108624,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:44:30] local.INFO: Processing buffer {"connection_id":108624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:44:30] local.INFO: Packet analysis {"connection_id":108624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:44:30] local.INFO: Extracted packet for processing {"connection_id":108624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:44:30] 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-06-21 03:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:44:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":108624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:44:30] local.INFO: GPS data processed {"connection_id":108624,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:44:30] local.INFO: Acknowledgment sent {"connection_id":108624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:44:53] local.INFO: TCP Data received {"connection_id":110169,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:44:53] local.INFO: Processing buffer {"connection_id":110169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:44:53] local.INFO: IMEI packet received {"connection_id":110169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":110169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:44:58] local.INFO: TCP Data received {"connection_id":110169,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:44:58] local.INFO: Processing buffer {"connection_id":110169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:44:58] local.INFO: IMEI packet received {"connection_id":110169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":110169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:44:59] local.INFO: TCP Data received {"connection_id":110169,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:44:59] local.INFO: Processing buffer {"connection_id":110169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:44:59] local.INFO: Packet analysis {"connection_id":110169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:44:59] local.INFO: Extracted packet for processing {"connection_id":110169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:44:59] 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-06-21 03:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:44:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:44:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":110169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:44:59] local.INFO: GPS data processed {"connection_id":110169,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:44:59] local.INFO: Acknowledgment sent {"connection_id":110169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:45:30] local.INFO: TCP Data received {"connection_id":110169,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:45:30] local.INFO: Processing buffer {"connection_id":110169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:45:30] local.INFO: Packet analysis {"connection_id":110169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:45:30] local.INFO: Extracted packet for processing {"connection_id":110169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:45:30] 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-06-21 03:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:45:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":110169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:45:30] local.INFO: GPS data processed {"connection_id":110169,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:45:30] local.INFO: Acknowledgment sent {"connection_id":110169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:45:53] local.INFO: TCP Data received {"connection_id":108443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:45:53] local.INFO: Processing buffer {"connection_id":108443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:45:53] local.INFO: IMEI packet received {"connection_id":108443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":108443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:45:58] local.INFO: TCP Data received {"connection_id":108443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:45:58] local.INFO: Processing buffer {"connection_id":108443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:45:58] local.INFO: IMEI packet received {"connection_id":108443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":108443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:45:59] local.INFO: TCP Data received {"connection_id":108443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:45:59] local.INFO: Processing buffer {"connection_id":108443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:45:59] local.INFO: Packet analysis {"connection_id":108443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:45:59] local.INFO: Extracted packet for processing {"connection_id":108443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:45:59] 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-06-21 03:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:45:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:45:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":108443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:45:59] local.INFO: GPS data processed {"connection_id":108443,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:45:59] local.INFO: Acknowledgment sent {"connection_id":108443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:46:31] local.INFO: TCP Data received {"connection_id":108443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:46:31] local.INFO: Processing buffer {"connection_id":108443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:46:31] local.INFO: Packet analysis {"connection_id":108443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:46:31] local.INFO: Extracted packet for processing {"connection_id":108443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":108443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:46:31] local.INFO: GPS data processed {"connection_id":108443,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:46:31] local.INFO: Acknowledgment sent {"connection_id":108443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:46:53] local.INFO: TCP Data received {"connection_id":109229,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:46:53] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:46:53] local.INFO: IMEI packet received {"connection_id":109229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":109229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:46:58] local.INFO: TCP Data received {"connection_id":109229,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:46:58] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:46:58] local.INFO: IMEI packet received {"connection_id":109229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":109229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:46:59] local.INFO: TCP Data received {"connection_id":109229,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:46:59] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71700e8012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:46:59] local.INFO: Packet analysis {"connection_id":109229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:46:59] local.INFO: Extracted packet for processing {"connection_id":109229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee717"} 
[2026-06-21 03:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190260224001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993505000,"timestamp_ms":1781993505000,"timestamp_seconds":1781993505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71700e8"} 
[2026-06-21 03:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:46:59] 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-06-21 03:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190260224001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190260224001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:46:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190260224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":109229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:46:59] local.INFO: GPS data processed {"connection_id":109229,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:46:59] local.INFO: Acknowledgment sent {"connection_id":109229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:47:30] local.INFO: TCP Data received {"connection_id":109229,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:47:30] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:47:30] local.INFO: Packet analysis {"connection_id":109229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:47:30] local.INFO: Extracted packet for processing {"connection_id":109229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:47:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:47:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:47:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":109229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:47:30] local.INFO: GPS data processed {"connection_id":109229,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:47:30] local.INFO: Acknowledgment sent {"connection_id":109229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:47:58] local.INFO: TCP Data received {"connection_id":108626,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:47:58] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:47:58] local.INFO: IMEI packet received {"connection_id":108626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":108626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:48:03] local.INFO: TCP Data received {"connection_id":108626,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:03] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:03] local.INFO: IMEI packet received {"connection_id":108626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":108626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:48:04] local.INFO: TCP Data received {"connection_id":108626,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:04] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:04] local.INFO: Packet analysis {"connection_id":108626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:48:04] local.INFO: Extracted packet for processing {"connection_id":108626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:48:04] 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-06-21 03:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":108626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:48:04] local.INFO: GPS data processed {"connection_id":108626,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:48:04] local.INFO: Acknowledgment sent {"connection_id":108626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:48:35] local.INFO: TCP Data received {"connection_id":108626,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:35] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:35] local.INFO: Packet analysis {"connection_id":108626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:48:35] local.INFO: Extracted packet for processing {"connection_id":108626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48: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-06-21 03:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:48:35] 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-06-21 03:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":108626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:48:35] local.INFO: GPS data processed {"connection_id":108626,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:48:35] local.INFO: Acknowledgment sent {"connection_id":108626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:48:39] local.INFO: TCP Data received {"connection_id":108445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:48:39] local.INFO: Processing buffer {"connection_id":108445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:48:39] local.INFO: IMEI packet received {"connection_id":108445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":108445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:48:52] local.INFO: TCP Data received {"connection_id":110171,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:52] local.INFO: Processing buffer {"connection_id":110171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:52] local.INFO: IMEI packet received {"connection_id":110171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":110171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:48:58] local.INFO: TCP Data received {"connection_id":110171,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:58] local.INFO: Processing buffer {"connection_id":110171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:48:58] local.INFO: IMEI packet received {"connection_id":110171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":110171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:48:59] local.INFO: TCP Data received {"connection_id":110171,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:59] local.INFO: Processing buffer {"connection_id":110171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:48:59] local.INFO: Packet analysis {"connection_id":110171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:48:59] local.INFO: Extracted packet for processing {"connection_id":110171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:48: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-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:48:59] 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-06-21 03:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:48:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:48:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":110171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:48:59] local.INFO: GPS data processed {"connection_id":110171,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:48:59] local.INFO: Acknowledgment sent {"connection_id":110171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:49:14] local.INFO: TCP Data received {"connection_id":109230,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:49:14] local.INFO: Processing buffer {"connection_id":109230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:49:14] local.INFO: IMEI packet received {"connection_id":109230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":109230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:49:31] local.INFO: TCP Data received {"connection_id":110171,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:49:31] local.INFO: Processing buffer {"connection_id":110171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:49:31] local.INFO: Packet analysis {"connection_id":110171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:49:31] local.INFO: Extracted packet for processing {"connection_id":110171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":110171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:49:31] local.INFO: GPS data processed {"connection_id":110171,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:49:31] local.INFO: Acknowledgment sent {"connection_id":110171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:49:53] local.INFO: TCP Data received {"connection_id":108627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:49:53] local.INFO: Processing buffer {"connection_id":108627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:49:53] local.INFO: IMEI packet received {"connection_id":108627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":108627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:49:58] local.INFO: TCP Data received {"connection_id":108627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:49:58] local.INFO: Processing buffer {"connection_id":108627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:49:58] local.INFO: IMEI packet received {"connection_id":108627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":108627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:50:00] local.INFO: TCP Data received {"connection_id":108627,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:00] local.INFO: Processing buffer {"connection_id":108627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:00] local.INFO: Packet analysis {"connection_id":108627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:50:00] local.INFO: Extracted packet for processing {"connection_id":108627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:50:00] 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-06-21 03:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:50:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":108627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:50:00] local.INFO: GPS data processed {"connection_id":108627,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:50:00] local.INFO: Acknowledgment sent {"connection_id":108627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:50:31] local.INFO: TCP Data received {"connection_id":108627,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:31] local.INFO: Processing buffer {"connection_id":108627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:31] local.INFO: Packet analysis {"connection_id":108627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:50:31] local.INFO: Extracted packet for processing {"connection_id":108627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":108627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:50:31] local.INFO: GPS data processed {"connection_id":108627,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:50:31] local.INFO: Acknowledgment sent {"connection_id":108627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:50:53] local.INFO: TCP Data received {"connection_id":110173,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:50:53] local.INFO: Processing buffer {"connection_id":110173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:50:53] local.INFO: IMEI packet received {"connection_id":110173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":110173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:50:58] local.INFO: TCP Data received {"connection_id":110173,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:50:58] local.INFO: Processing buffer {"connection_id":110173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:50:58] local.INFO: IMEI packet received {"connection_id":110173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":110173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:50:59] local.INFO: TCP Data received {"connection_id":110173,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:59] local.INFO: Processing buffer {"connection_id":110173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:50:59] local.INFO: Packet analysis {"connection_id":110173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:50:59] local.INFO: Extracted packet for processing {"connection_id":110173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:50: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-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03: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-06-21 03:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:50:59] 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-06-21 03:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:50:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:50:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":110173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:50:59] local.INFO: GPS data processed {"connection_id":110173,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:50:59] local.INFO: Acknowledgment sent {"connection_id":110173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:51:31] local.INFO: TCP Data received {"connection_id":110173,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:51:31] local.INFO: Processing buffer {"connection_id":110173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:51:31] local.INFO: Packet analysis {"connection_id":110173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:51:31] local.INFO: Extracted packet for processing {"connection_id":110173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":110173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:51:31] local.INFO: GPS data processed {"connection_id":110173,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:51:31] local.INFO: Acknowledgment sent {"connection_id":110173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:51:58] local.INFO: TCP Data received {"connection_id":109231,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:51:58] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:51:58] local.INFO: IMEI packet received {"connection_id":109231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":109231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:52:03] local.INFO: TCP Data received {"connection_id":109231,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:03] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:03] local.INFO: IMEI packet received {"connection_id":109231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":109231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:52:04] local.INFO: TCP Data received {"connection_id":109231,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:52:04] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:52:04] local.INFO: Packet analysis {"connection_id":109231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:52:04] local.INFO: Extracted packet for processing {"connection_id":109231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":109231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:52:04] local.INFO: GPS data processed {"connection_id":109231,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:52:04] local.INFO: Acknowledgment sent {"connection_id":109231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:52:09] local.INFO: TCP Data received {"connection_id":109231,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:52:09] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71b98b0012d34c14006aa3d28000901172e..."} 
[2026-06-21 03:52:09] local.INFO: Packet analysis {"connection_id":109231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:52:09] local.INFO: Extracted packet for processing {"connection_id":109231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee71b"} 
[2026-06-21 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190337280001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781993806000,"timestamp_ms":1781993806000,"timestamp_seconds":1781993806,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71b98b0"} 
[2026-06-21 03:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190337280001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190337280001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190337280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":109231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:52:09] local.INFO: GPS data processed {"connection_id":109231,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:52:09] local.INFO: Acknowledgment sent {"connection_id":109231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:52:53] local.INFO: TCP Data received {"connection_id":108629,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:53] local.INFO: Processing buffer {"connection_id":108629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:53] local.INFO: IMEI packet received {"connection_id":108629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":108629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:52:58] local.INFO: TCP Data received {"connection_id":108629,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:58] local.INFO: Processing buffer {"connection_id":108629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:52:58] local.INFO: IMEI packet received {"connection_id":108629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":108629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:52:59] local.INFO: TCP Data received {"connection_id":108629,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:52:59] local.INFO: Processing buffer {"connection_id":108629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:52:59] local.INFO: Packet analysis {"connection_id":108629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:52:59] local.INFO: Extracted packet for processing {"connection_id":108629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:52: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-06-21 03:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:52:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:52:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":108629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:52:59] local.INFO: GPS data processed {"connection_id":108629,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:52:59] local.INFO: Acknowledgment sent {"connection_id":108629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:53:30] local.INFO: TCP Data received {"connection_id":108629,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:53:30] local.INFO: Processing buffer {"connection_id":108629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:53:30] local.INFO: Packet analysis {"connection_id":108629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:53:30] local.INFO: Extracted packet for processing {"connection_id":108629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:53:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":108629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:53:30] local.INFO: GPS data processed {"connection_id":108629,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:53:30] local.INFO: Acknowledgment sent {"connection_id":108629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:53:53] local.INFO: TCP Data received {"connection_id":110175,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:53:53] local.INFO: Processing buffer {"connection_id":110175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:53:53] local.INFO: IMEI packet received {"connection_id":110175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":110175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:53:58] local.INFO: TCP Data received {"connection_id":110175,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:53:58] local.INFO: Processing buffer {"connection_id":110175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:53:58] local.INFO: IMEI packet received {"connection_id":110175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":110175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:53:59] local.INFO: TCP Data received {"connection_id":110175,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:53:59] local.INFO: Processing buffer {"connection_id":110175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:53:59] local.INFO: Packet analysis {"connection_id":110175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:53:59] local.INFO: Extracted packet for processing {"connection_id":110175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:53: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-06-21 03:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:53:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":110175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:53:59] local.INFO: GPS data processed {"connection_id":110175,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:53:59] local.INFO: Acknowledgment sent {"connection_id":110175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:54:30] local.INFO: TCP Data received {"connection_id":110175,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:54:30] local.INFO: Processing buffer {"connection_id":110175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:54:30] local.INFO: Packet analysis {"connection_id":110175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:54:30] local.INFO: Extracted packet for processing {"connection_id":110175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 03:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:54:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:54:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":110175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:54:30] local.INFO: GPS data processed {"connection_id":110175,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:54:30] local.INFO: Acknowledgment sent {"connection_id":110175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:54:43] local.INFO: TCP Data received {"connection_id":109233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:54:43] local.INFO: Processing buffer {"connection_id":109233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:54:43] local.INFO: IMEI packet received {"connection_id":109233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":109233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:54:53] local.INFO: TCP Data received {"connection_id":108630,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:54:53] local.INFO: Processing buffer {"connection_id":108630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:54:53] local.INFO: IMEI packet received {"connection_id":108630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":108630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:54:58] local.INFO: TCP Data received {"connection_id":108630,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:54:58] local.INFO: Processing buffer {"connection_id":108630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:54:58] local.INFO: IMEI packet received {"connection_id":108630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":108630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:54:59] local.INFO: TCP Data received {"connection_id":108630,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:54:59] local.INFO: Processing buffer {"connection_id":108630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:54:59] local.INFO: Packet analysis {"connection_id":108630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:54:59] local.INFO: Extracted packet for processing {"connection_id":108630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:54: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-06-21 03:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:54:59] 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-06-21 03:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:54:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":108630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:54:59] local.INFO: GPS data processed {"connection_id":108630,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:54:59] local.INFO: Acknowledgment sent {"connection_id":108630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:55:13] local.INFO: TCP Data received {"connection_id":108446,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:55:13] local.INFO: Processing buffer {"connection_id":108446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 03:55:13] local.INFO: IMEI packet received {"connection_id":108446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 03:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":108446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:55:30] local.INFO: TCP Data received {"connection_id":108630,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:55:30] local.INFO: Processing buffer {"connection_id":108630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:55:30] local.INFO: Packet analysis {"connection_id":108630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:55:30] local.INFO: Extracted packet for processing {"connection_id":108630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:55:30] 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-06-21 03:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:55:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":108630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:55:30] local.INFO: GPS data processed {"connection_id":108630,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:55:30] local.INFO: Acknowledgment sent {"connection_id":108630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:55:58] local.INFO: TCP Data received {"connection_id":109234,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:55:58] local.INFO: Processing buffer {"connection_id":109234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:55:58] local.INFO: IMEI packet received {"connection_id":109234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":109234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:56:03] local.INFO: TCP Data received {"connection_id":109234,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:03] local.INFO: Processing buffer {"connection_id":109234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:03] local.INFO: IMEI packet received {"connection_id":109234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":109234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:56:04] local.INFO: TCP Data received {"connection_id":109234,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:04] local.INFO: Processing buffer {"connection_id":109234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:04] local.INFO: Packet analysis {"connection_id":109234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:56:04] local.INFO: Extracted packet for processing {"connection_id":109234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":109234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:56:04] local.INFO: GPS data processed {"connection_id":109234,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:56:04] local.INFO: Acknowledgment sent {"connection_id":109234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:56:09] local.INFO: TCP Data received {"connection_id":109234,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:09] local.INFO: Processing buffer {"connection_id":109234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:09] local.INFO: Packet analysis {"connection_id":109234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:56:09] local.INFO: Extracted packet for processing {"connection_id":109234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56: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-06-21 03:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:56:09] 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-06-21 03:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":109234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:56:09] local.INFO: GPS data processed {"connection_id":109234,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:56:09] local.INFO: Acknowledgment sent {"connection_id":109234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:56:53] local.INFO: TCP Data received {"connection_id":108447,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:53] local.INFO: Processing buffer {"connection_id":108447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:53] local.INFO: IMEI packet received {"connection_id":108447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":108447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:56:58] local.INFO: TCP Data received {"connection_id":108447,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:58] local.INFO: Processing buffer {"connection_id":108447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:56:58] local.INFO: IMEI packet received {"connection_id":108447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":108447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:56:59] local.INFO: TCP Data received {"connection_id":108447,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:59] local.INFO: Processing buffer {"connection_id":108447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7203078012d34c14006aa3d28000c01172d..."} 
[2026-06-21 03:56:59] local.INFO: Packet analysis {"connection_id":108447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:56:59] local.INFO: Extracted packet for processing {"connection_id":108447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee720"} 
[2026-06-21 03:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190414336001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994107000,"timestamp_ms":1781994107000,"timestamp_seconds":1781994107,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7203078"} 
[2026-06-21 03:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:56: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-06-21 03:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 03:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:56:59] 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-06-21 03:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190414336001,"66":25538,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190414336001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:56:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190414336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":108447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:56:59] local.INFO: GPS data processed {"connection_id":108447,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:56:59] local.INFO: Acknowledgment sent {"connection_id":108447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:57:30] local.INFO: TCP Data received {"connection_id":108447,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:57:30] local.INFO: Processing buffer {"connection_id":108447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:57:30] local.INFO: Packet analysis {"connection_id":108447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:57:30] local.INFO: Extracted packet for processing {"connection_id":108447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 03:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:57:30] 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-06-21 03:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:57:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:57:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":108447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:57:30] local.INFO: GPS data processed {"connection_id":108447,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:57:30] local.INFO: Acknowledgment sent {"connection_id":108447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:57:53] local.INFO: TCP Data received {"connection_id":109235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:57:53] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:57:53] local.INFO: IMEI packet received {"connection_id":109235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":109235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:57:58] local.INFO: TCP Data received {"connection_id":109235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:57:58] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:57:58] local.INFO: IMEI packet received {"connection_id":109235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":109235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:57:59] local.INFO: TCP Data received {"connection_id":109235,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:57:59] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:57:59] local.INFO: Packet analysis {"connection_id":109235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:57:59] local.INFO: Extracted packet for processing {"connection_id":109235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 03:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:57: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-06-21 03:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:57:59] 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-06-21 03:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":109235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:57:59] local.INFO: GPS data processed {"connection_id":109235,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:57:59] local.INFO: Acknowledgment sent {"connection_id":109235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:58:31] local.INFO: TCP Data received {"connection_id":109235,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:58:31] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:58:31] local.INFO: Packet analysis {"connection_id":109235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:58:31] local.INFO: Extracted packet for processing {"connection_id":109235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 03:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":109235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:58:31] local.INFO: GPS data processed {"connection_id":109235,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:58:31] local.INFO: Acknowledgment sent {"connection_id":109235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:58:53] local.INFO: TCP Data received {"connection_id":110178,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:58:53] local.INFO: Processing buffer {"connection_id":110178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:58:53] local.INFO: IMEI packet received {"connection_id":110178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":110178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:58:58] local.INFO: TCP Data received {"connection_id":110178,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:58:58] local.INFO: Processing buffer {"connection_id":110178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:58:58] local.INFO: IMEI packet received {"connection_id":110178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":110178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:58:59] local.INFO: TCP Data received {"connection_id":110178,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:58:59] local.INFO: Processing buffer {"connection_id":110178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:58:59] local.INFO: Packet analysis {"connection_id":110178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:58:59] local.INFO: Extracted packet for processing {"connection_id":110178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 03:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:58: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-06-21 03:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:58:59] 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-06-21 03:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:58:59] 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-06-21 03:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:58:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:58:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":110178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:58:59] local.INFO: GPS data processed {"connection_id":110178,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:58:59] local.INFO: Acknowledgment sent {"connection_id":110178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:59:31] local.INFO: TCP Data received {"connection_id":110178,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:59:31] local.INFO: Processing buffer {"connection_id":110178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:59:31] local.INFO: Packet analysis {"connection_id":110178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:59:31] local.INFO: Extracted packet for processing {"connection_id":110178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 03:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 03:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 03:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 03:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 03:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":110178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:59:31] local.INFO: GPS data processed {"connection_id":110178,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:59:31] local.INFO: Acknowledgment sent {"connection_id":110178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 03:59:52] local.INFO: TCP Data received {"connection_id":108631,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:59:52] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:59:52] local.INFO: IMEI packet received {"connection_id":108631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 03:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":108631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 03:59:58] local.INFO: TCP Data received {"connection_id":108631,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:59:58] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 03:59:58] local.INFO: IMEI packet received {"connection_id":108631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 03:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":108631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 03:59:59] local.INFO: TCP Data received {"connection_id":108631,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:59:59] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 03:59:59] local.INFO: Packet analysis {"connection_id":108631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:59:59] local.INFO: Extracted packet for processing {"connection_id":108631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 03:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 03: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-06-21 03:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 03:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 03:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 03:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 03:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 03:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 03:59: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-06-21 03: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 03:59:59] 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-06-21 03: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-06-21 03:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 03:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 03:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 03:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 03:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 03:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 03:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 03:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 03:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 03:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 03:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 03:59:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 03:59:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 03:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 03:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 03:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 03:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":108631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 03:59:59] local.INFO: GPS data processed {"connection_id":108631,"processed":1,"errors":0,"total":1} 
[2026-06-21 03:59:59] local.INFO: Acknowledgment sent {"connection_id":108631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:00:30] local.INFO: TCP Data received {"connection_id":108631,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:00:30] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:00:30] local.INFO: Packet analysis {"connection_id":108631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:00:30] local.INFO: Extracted packet for processing {"connection_id":108631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 04:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 04:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:00:30] 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-06-21 04:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:00:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":108631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:00:30] local.INFO: GPS data processed {"connection_id":108631,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:00:30] local.INFO: Acknowledgment sent {"connection_id":108631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:00:43] local.INFO: TCP Data received {"connection_id":108632,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:00:43] local.INFO: Processing buffer {"connection_id":108632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:00:43] local.INFO: IMEI packet received {"connection_id":108632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":108632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:00:58] local.INFO: TCP Data received {"connection_id":110179,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:00:58] local.INFO: Processing buffer {"connection_id":110179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:00:58] local.INFO: IMEI packet received {"connection_id":110179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":110179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:01:03] local.INFO: TCP Data received {"connection_id":110179,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:03] local.INFO: Processing buffer {"connection_id":110179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:03] local.INFO: IMEI packet received {"connection_id":110179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":110179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:01:04] local.INFO: TCP Data received {"connection_id":110179,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:04] local.INFO: Processing buffer {"connection_id":110179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:04] local.INFO: Packet analysis {"connection_id":110179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:01:04] local.INFO: Extracted packet for processing {"connection_id":110179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 04:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 04:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":110179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:01:04] local.INFO: GPS data processed {"connection_id":110179,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:01:04] local.INFO: Acknowledgment sent {"connection_id":110179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:01:09] local.INFO: TCP Data received {"connection_id":110179,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:09] local.INFO: Processing buffer {"connection_id":110179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:09] local.INFO: Packet analysis {"connection_id":110179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:01:09] local.INFO: Extracted packet for processing {"connection_id":110179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01: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-06-21 04:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 04:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 04:01:09] 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-06-21 04: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-06-21 04:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:01:09] 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-06-21 04:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":110179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:01:09] local.INFO: GPS data processed {"connection_id":110179,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:01:09] local.INFO: Acknowledgment sent {"connection_id":110179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:01:13] local.INFO: TCP Data received {"connection_id":108633,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:01:13] local.INFO: Processing buffer {"connection_id":108633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:01:13] local.INFO: IMEI packet received {"connection_id":108633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":108633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:01:53] local.INFO: TCP Data received {"connection_id":109236,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:53] local.INFO: Processing buffer {"connection_id":109236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:53] local.INFO: IMEI packet received {"connection_id":109236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":109236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:01:58] local.INFO: TCP Data received {"connection_id":109236,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:58] local.INFO: Processing buffer {"connection_id":109236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:01:58] local.INFO: IMEI packet received {"connection_id":109236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":109236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:01:59] local.INFO: TCP Data received {"connection_id":109236,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:59] local.INFO: Processing buffer {"connection_id":109236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee724c840012d34c14006aa3d28000801172a..."} 
[2026-06-21 04:01:59] local.INFO: Packet analysis {"connection_id":109236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:01:59] local.INFO: Extracted packet for processing {"connection_id":109236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee724"} 
[2026-06-21 04:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190491392001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994408000,"timestamp_ms":1781994408000,"timestamp_seconds":1781994408,"priority":1,"record_length":96,"hex_timestamp":"0000019ee724c840"} 
[2026-06-21 04:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:01: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-06-21 04: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 04:01:59] 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-06-21 04: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-06-21 04:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190491392001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190491392001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190491392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":109236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:01:59] local.INFO: GPS data processed {"connection_id":109236,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:01:59] local.INFO: Acknowledgment sent {"connection_id":109236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:02:30] local.INFO: TCP Data received {"connection_id":109236,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:02:30] local.INFO: Processing buffer {"connection_id":109236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:02:30] local.INFO: Packet analysis {"connection_id":109236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:02:30] local.INFO: Extracted packet for processing {"connection_id":109236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:02:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:02:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":109236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:02:30] local.INFO: GPS data processed {"connection_id":109236,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:02:30] local.INFO: Acknowledgment sent {"connection_id":109236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:02:53] local.INFO: TCP Data received {"connection_id":109237,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:02:53] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:02:53] local.INFO: IMEI packet received {"connection_id":109237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":109237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:02:58] local.INFO: TCP Data received {"connection_id":109237,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:02:58] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:02:58] local.INFO: IMEI packet received {"connection_id":109237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":109237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:02:59] local.INFO: TCP Data received {"connection_id":109237,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:02:59] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:02:59] local.INFO: Packet analysis {"connection_id":109237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:02:59] local.INFO: Extracted packet for processing {"connection_id":109237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:02: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-06-21 04:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:02:59] 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-06-21 04:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:02:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":109237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:02:59] local.INFO: GPS data processed {"connection_id":109237,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:02:59] local.INFO: Acknowledgment sent {"connection_id":109237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:03:32] local.INFO: TCP Data received {"connection_id":109237,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:03:32] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:03:32] local.INFO: Packet analysis {"connection_id":109237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:03:32] local.INFO: Extracted packet for processing {"connection_id":109237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":109237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:03:32] local.INFO: GPS data processed {"connection_id":109237,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:03:32] local.INFO: Acknowledgment sent {"connection_id":109237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:03:53] local.INFO: TCP Data received {"connection_id":108451,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:03:53] local.INFO: Processing buffer {"connection_id":108451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:03:53] local.INFO: IMEI packet received {"connection_id":108451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":108451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:03:58] local.INFO: TCP Data received {"connection_id":108451,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:03:58] local.INFO: Processing buffer {"connection_id":108451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:03:58] local.INFO: IMEI packet received {"connection_id":108451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":108451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:04:00] local.INFO: TCP Data received {"connection_id":108451,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:00] local.INFO: Processing buffer {"connection_id":108451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:00] local.INFO: Packet analysis {"connection_id":108451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:04:00] local.INFO: Extracted packet for processing {"connection_id":108451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:04:00] 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-06-21 04:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:04:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:04:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":108451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:04:00] local.INFO: GPS data processed {"connection_id":108451,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:04:00] local.INFO: Acknowledgment sent {"connection_id":108451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:04:31] local.INFO: TCP Data received {"connection_id":108451,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:31] local.INFO: Processing buffer {"connection_id":108451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:31] local.INFO: Packet analysis {"connection_id":108451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:04:31] local.INFO: Extracted packet for processing {"connection_id":108451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":108451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:04:31] local.INFO: GPS data processed {"connection_id":108451,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:04:31] local.INFO: Acknowledgment sent {"connection_id":108451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:04:52] local.INFO: TCP Data received {"connection_id":109239,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:04:52] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:04:52] local.INFO: IMEI packet received {"connection_id":109239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":109239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:04:58] local.INFO: TCP Data received {"connection_id":109239,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:04:58] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:04:58] local.INFO: IMEI packet received {"connection_id":109239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":109239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:04:59] local.INFO: TCP Data received {"connection_id":109239,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:59] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:04:59] local.INFO: Packet analysis {"connection_id":109239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:04:59] local.INFO: Extracted packet for processing {"connection_id":109239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:04: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-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:04:59] 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-06-21 04:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:04:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:04:59] local.INFO: GPS data processed {"connection_id":109239,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:04:59] local.INFO: Acknowledgment sent {"connection_id":109239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:05:31] local.INFO: TCP Data received {"connection_id":109239,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:05:31] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:05:31] local.INFO: Packet analysis {"connection_id":109239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:05:31] local.INFO: Extracted packet for processing {"connection_id":109239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":109239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:05:31] local.INFO: GPS data processed {"connection_id":109239,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:05:31] local.INFO: Acknowledgment sent {"connection_id":109239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:05:58] local.INFO: TCP Data received {"connection_id":108453,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:05:58] local.INFO: Processing buffer {"connection_id":108453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:05:58] local.INFO: IMEI packet received {"connection_id":108453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":108453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:06:03] local.INFO: TCP Data received {"connection_id":108453,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:03] local.INFO: Processing buffer {"connection_id":108453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:03] local.INFO: IMEI packet received {"connection_id":108453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":108453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:06:04] local.INFO: TCP Data received {"connection_id":108453,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:06:04] local.INFO: Processing buffer {"connection_id":108453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:06:04] local.INFO: Packet analysis {"connection_id":108453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:06:04] local.INFO: Extracted packet for processing {"connection_id":108453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":108453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:06:04] local.INFO: GPS data processed {"connection_id":108453,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:06:04] local.INFO: Acknowledgment sent {"connection_id":108453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:06:08] local.INFO: TCP Data received {"connection_id":108453,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:06:08] local.INFO: Processing buffer {"connection_id":108453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:06:08] local.INFO: Packet analysis {"connection_id":108453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:06:08] local.INFO: Extracted packet for processing {"connection_id":108453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:06: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-06-21 04:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:06: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-06-21 04:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":108453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:06:08] local.INFO: GPS data processed {"connection_id":108453,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:06:08] local.INFO: Acknowledgment sent {"connection_id":108453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:06:33] local.INFO: TCP Data received {"connection_id":110181,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:06:33] local.INFO: Processing buffer {"connection_id":110181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:06:33] local.INFO: IMEI packet received {"connection_id":110181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":110181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:06:53] local.INFO: TCP Data received {"connection_id":109240,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:53] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:53] local.INFO: IMEI packet received {"connection_id":109240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":109240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:06:58] local.INFO: TCP Data received {"connection_id":109240,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:58] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:06:58] local.INFO: IMEI packet received {"connection_id":109240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":109240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:07:00] local.INFO: TCP Data received {"connection_id":109240,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:07:00] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7296008012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:07:00] local.INFO: Packet analysis {"connection_id":109240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:07:00] local.INFO: Extracted packet for processing {"connection_id":109240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee729"} 
[2026-06-21 04:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190568448001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781994709000,"timestamp_ms":1781994709000,"timestamp_seconds":1781994709,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7296008"} 
[2026-06-21 04:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190568448001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190568448001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:07:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:07:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190568448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":109240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:07:00] local.INFO: GPS data processed {"connection_id":109240,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:07:00] local.INFO: Acknowledgment sent {"connection_id":109240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:07:13] local.INFO: TCP Data received {"connection_id":109241,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:07:13] local.INFO: Processing buffer {"connection_id":109241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:07:13] local.INFO: IMEI packet received {"connection_id":109241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":109241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:07:18] local.INFO: TCP Data received {"connection_id":109241,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:07:18] local.INFO: Processing buffer {"connection_id":109241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:07:18] local.INFO: IMEI packet received {"connection_id":109241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 04:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":109241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:07:20] local.INFO: TCP Data received {"connection_id":109241,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee71821f8012d34c30006aa3f58000c013030..."} 
[2026-06-21 04:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee71821f8012d34c30006aa3f58000c013030..."} 
[2026-06-21 04:07:20] local.INFO: Processing buffer {"connection_id":109241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee71821f8012d34c30006aa3f58000c013030..."} 
[2026-06-21 04:07:20] local.INFO: Packet analysis {"connection_id":109241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee718"} 
[2026-06-21 04:07:20] local.INFO: Extracted packet for processing {"connection_id":109241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee718"} 
[2026-06-21 04:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820632,"longitude_deg":75.8432512,"latitude_deg":11.1820632,"altitude":12,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f58","is_valid_coordinates":true} 
[2026-06-21 04:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190279168001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":126022835909951488,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056912384,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781993579000,"timestamp_ms":1781993579000,"timestamp_seconds":1781993579,"priority":1,"record_length":96,"hex_timestamp":"0000019ee71821f8"} 
[2026-06-21 04:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-21 04:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":109241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":109241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 04:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":109241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 04:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 04:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 04:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190279168001,"66":25778,"97":206,"81":23296,"24":0,"16":126022835909951488,"45":3801882539056912384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 04:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 04:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190279168001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":126022835909951488,"km_value":126022835909951.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056912384,"description":"Unknown IO ID 45"} 
[2026-06-21 04:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190279168001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056912384}} 
[2026-06-21 04:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":109241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:07:20] local.INFO: GPS data processed {"connection_id":109241,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:07:20] local.INFO: Acknowledgment sent {"connection_id":109241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:07:32] local.INFO: TCP Data received {"connection_id":109240,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:07:32] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:07:32] local.INFO: Packet analysis {"connection_id":109240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:07:32] local.INFO: Extracted packet for processing {"connection_id":109240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":109240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:07:32] local.INFO: GPS data processed {"connection_id":109240,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:07:32] local.INFO: Acknowledgment sent {"connection_id":109240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:07:53] local.INFO: TCP Data received {"connection_id":109242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:07:53] local.INFO: Processing buffer {"connection_id":109242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:07:53] local.INFO: IMEI packet received {"connection_id":109242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":109242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:07:58] local.INFO: TCP Data received {"connection_id":109242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:07:58] local.INFO: Processing buffer {"connection_id":109242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:07:58] local.INFO: IMEI packet received {"connection_id":109242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":109242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:08:00] local.INFO: TCP Data received {"connection_id":109242,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:00] local.INFO: Processing buffer {"connection_id":109242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:00] local.INFO: Packet analysis {"connection_id":109242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:08:00] local.INFO: Extracted packet for processing {"connection_id":109242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:08:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:08:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":109242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:08:00] local.INFO: GPS data processed {"connection_id":109242,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:08:00] local.INFO: Acknowledgment sent {"connection_id":109242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:08:04] local.INFO: TCP Data received {"connection_id":110182,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:08:04] local.INFO: Processing buffer {"connection_id":110182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:08:04] local.INFO: IMEI packet received {"connection_id":110182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":110182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:08:31] local.INFO: TCP Data received {"connection_id":109242,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:31] local.INFO: Processing buffer {"connection_id":109242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:31] local.INFO: Packet analysis {"connection_id":109242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:08:31] local.INFO: Extracted packet for processing {"connection_id":109242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:08:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:08:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":109242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:08:31] local.INFO: GPS data processed {"connection_id":109242,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:08:31] local.INFO: Acknowledgment sent {"connection_id":109242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:08:53] local.INFO: TCP Data received {"connection_id":108634,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:08:53] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:08:53] local.INFO: IMEI packet received {"connection_id":108634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":108634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:08:58] local.INFO: TCP Data received {"connection_id":108634,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:08:58] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:08:58] local.INFO: IMEI packet received {"connection_id":108634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":108634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:08:59] local.INFO: TCP Data received {"connection_id":108634,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:59] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:08:59] local.INFO: Packet analysis {"connection_id":108634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:08:59] local.INFO: Extracted packet for processing {"connection_id":108634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:08:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:08:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":108634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:08:59] local.INFO: GPS data processed {"connection_id":108634,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:08:59] local.INFO: Acknowledgment sent {"connection_id":108634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:09:30] local.INFO: TCP Data received {"connection_id":108634,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:09:30] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:09:30] local.INFO: Packet analysis {"connection_id":108634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:09:30] local.INFO: Extracted packet for processing {"connection_id":108634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:09: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-06-21 04:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:09:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":108634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:09:30] local.INFO: GPS data processed {"connection_id":108634,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:09:30] local.INFO: Acknowledgment sent {"connection_id":108634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:09:53] local.INFO: TCP Data received {"connection_id":110183,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:09:53] local.INFO: Processing buffer {"connection_id":110183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:09:53] local.INFO: IMEI packet received {"connection_id":110183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":110183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:09:58] local.INFO: TCP Data received {"connection_id":110183,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:09:58] local.INFO: Processing buffer {"connection_id":110183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:09:58] local.INFO: IMEI packet received {"connection_id":110183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":110183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:10:00] local.INFO: TCP Data received {"connection_id":110183,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:10:00] local.INFO: Processing buffer {"connection_id":110183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:10:00] local.INFO: Packet analysis {"connection_id":110183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:10:00] local.INFO: Extracted packet for processing {"connection_id":110183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:10:00] 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-06-21 04:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:10:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:10:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":110183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:10:00] local.INFO: GPS data processed {"connection_id":110183,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:10:00] local.INFO: Acknowledgment sent {"connection_id":110183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:10:34] local.INFO: TCP Data received {"connection_id":110183,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:10:34] local.INFO: Processing buffer {"connection_id":110183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:10:34] local.INFO: Packet analysis {"connection_id":110183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:10:34] local.INFO: Extracted packet for processing {"connection_id":110183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:10:34] 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-06-21 04:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":110183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:10:34] local.INFO: GPS data processed {"connection_id":110183,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:10:34] local.INFO: Acknowledgment sent {"connection_id":110183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:10:58] local.INFO: TCP Data received {"connection_id":108637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:10:58] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:10:58] local.INFO: IMEI packet received {"connection_id":108637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":108637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:11:03] local.INFO: TCP Data received {"connection_id":108637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:03] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:03] local.INFO: IMEI packet received {"connection_id":108637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":108637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:11:04] local.INFO: TCP Data received {"connection_id":108637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:04] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:04] local.INFO: Packet analysis {"connection_id":108637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:11:04] local.INFO: Extracted packet for processing {"connection_id":108637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:11: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-06-21 04:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":108637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:11:04] local.INFO: GPS data processed {"connection_id":108637,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:11:04] local.INFO: Acknowledgment sent {"connection_id":108637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:11:36] local.INFO: TCP Data received {"connection_id":108637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:36] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:36] local.INFO: Packet analysis {"connection_id":108637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:11:36] local.INFO: Extracted packet for processing {"connection_id":108637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:11: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-06-21 04:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":108637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:11:36] local.INFO: GPS data processed {"connection_id":108637,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:11:36] local.INFO: Acknowledgment sent {"connection_id":108637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:11:53] local.INFO: TCP Data received {"connection_id":108638,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:53] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:53] local.INFO: IMEI packet received {"connection_id":108638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":108638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:11:58] local.INFO: TCP Data received {"connection_id":108638,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:58] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:11:58] local.INFO: IMEI packet received {"connection_id":108638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":108638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:11:59] local.INFO: TCP Data received {"connection_id":108638,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:59] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee72df7d0012d34c14006aa3d28000801172c..."} 
[2026-06-21 04:11:59] local.INFO: Packet analysis {"connection_id":108638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:11:59] local.INFO: Extracted packet for processing {"connection_id":108638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee72d"} 
[2026-06-21 04:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190645504001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995010000,"timestamp_ms":1781995010000,"timestamp_seconds":1781995010,"priority":1,"record_length":96,"hex_timestamp":"0000019ee72df7d0"} 
[2026-06-21 04:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190645504001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190645504001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190645504001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":108638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:11:59] local.INFO: GPS data processed {"connection_id":108638,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:11:59] local.INFO: Acknowledgment sent {"connection_id":108638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:12:30] local.INFO: TCP Data received {"connection_id":108638,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:12:30] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:12:30] local.INFO: Packet analysis {"connection_id":108638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:12:30] local.INFO: Extracted packet for processing {"connection_id":108638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:12:30] 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-06-21 04:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:12:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":108638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:12:31] local.INFO: GPS data processed {"connection_id":108638,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:12:31] local.INFO: Acknowledgment sent {"connection_id":108638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:12:52] local.INFO: TCP Data received {"connection_id":110185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:12:52] local.INFO: Processing buffer {"connection_id":110185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:12:52] local.INFO: IMEI packet received {"connection_id":110185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":110185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:12:58] local.INFO: TCP Data received {"connection_id":110185,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:12:58] local.INFO: Processing buffer {"connection_id":110185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:12:58] local.INFO: IMEI packet received {"connection_id":110185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":110185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:12:59] local.INFO: TCP Data received {"connection_id":110185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:12:59] local.INFO: Processing buffer {"connection_id":110185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:12:59] local.INFO: Packet analysis {"connection_id":110185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:12:59] local.INFO: Extracted packet for processing {"connection_id":110185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:12:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":110185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:12:59] local.INFO: GPS data processed {"connection_id":110185,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:12:59] local.INFO: Acknowledgment sent {"connection_id":110185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:13:23] local.INFO: TCP Data received {"connection_id":108454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:13:23] local.INFO: Processing buffer {"connection_id":108454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:13:23] local.INFO: IMEI packet received {"connection_id":108454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":108454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:13:32] local.INFO: TCP Data received {"connection_id":110185,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:13:32] local.INFO: Processing buffer {"connection_id":110185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:13:32] local.INFO: Packet analysis {"connection_id":110185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:13:32] local.INFO: Extracted packet for processing {"connection_id":110185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":110185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:13:32] local.INFO: GPS data processed {"connection_id":110185,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:13:32] local.INFO: Acknowledgment sent {"connection_id":110185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:13:53] local.INFO: TCP Data received {"connection_id":109244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:13:53] local.INFO: Processing buffer {"connection_id":109244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:13:53] local.INFO: IMEI packet received {"connection_id":109244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":109244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:13:57] local.INFO: TCP Data received {"connection_id":109244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:13:57] local.INFO: Processing buffer {"connection_id":109244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:13:57] local.INFO: IMEI packet received {"connection_id":109244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":109244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:13:59] local.INFO: TCP Data received {"connection_id":109244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:13:59] local.INFO: Processing buffer {"connection_id":109244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:13:59] local.INFO: Packet analysis {"connection_id":109244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:13:59] local.INFO: Extracted packet for processing {"connection_id":109244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":109244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:13:59] local.INFO: GPS data processed {"connection_id":109244,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:13:59] local.INFO: Acknowledgment sent {"connection_id":109244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:14:30] local.INFO: TCP Data received {"connection_id":109244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:14:30] local.INFO: Processing buffer {"connection_id":109244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:14:30] local.INFO: Packet analysis {"connection_id":109244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:14:30] local.INFO: Extracted packet for processing {"connection_id":109244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:14:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":109244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:14:30] local.INFO: GPS data processed {"connection_id":109244,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:14:30] local.INFO: Acknowledgment sent {"connection_id":109244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:14:52] local.INFO: TCP Data received {"connection_id":108456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:14:52] local.INFO: Processing buffer {"connection_id":108456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:14:52] local.INFO: IMEI packet received {"connection_id":108456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":108456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:14:57] local.INFO: TCP Data received {"connection_id":108456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:14:57] local.INFO: Processing buffer {"connection_id":108456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:14:57] local.INFO: IMEI packet received {"connection_id":108456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":108456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:14:58] local.INFO: TCP Data received {"connection_id":108456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:14:58] local.INFO: Processing buffer {"connection_id":108456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:14:58] local.INFO: Packet analysis {"connection_id":108456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:14:58] local.INFO: Extracted packet for processing {"connection_id":108456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:14:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:14:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":108456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:14:58] local.INFO: GPS data processed {"connection_id":108456,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:14:58] local.INFO: Acknowledgment sent {"connection_id":108456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:15:30] local.INFO: TCP Data received {"connection_id":108456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:15:30] local.INFO: Processing buffer {"connection_id":108456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:15:30] local.INFO: Packet analysis {"connection_id":108456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:15:30] local.INFO: Extracted packet for processing {"connection_id":108456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:15:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:15:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":108456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:15:30] local.INFO: GPS data processed {"connection_id":108456,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:15:30] local.INFO: Acknowledgment sent {"connection_id":108456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:15:53] local.INFO: TCP Data received {"connection_id":110187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:15:53] local.INFO: Processing buffer {"connection_id":110187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:15:53] local.INFO: IMEI packet received {"connection_id":110187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":110187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:15:57] local.INFO: TCP Data received {"connection_id":110187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:15:57] local.INFO: Processing buffer {"connection_id":110187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:15:57] local.INFO: IMEI packet received {"connection_id":110187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":110187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:15:59] local.INFO: TCP Data received {"connection_id":110187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:15:59] local.INFO: Processing buffer {"connection_id":110187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:15:59] local.INFO: Packet analysis {"connection_id":110187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:15:59] local.INFO: Extracted packet for processing {"connection_id":110187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:15:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:15:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":110187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:15:59] local.INFO: GPS data processed {"connection_id":110187,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:15:59] local.INFO: Acknowledgment sent {"connection_id":110187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:16:30] local.INFO: TCP Data received {"connection_id":110187,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:16:30] local.INFO: Processing buffer {"connection_id":110187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:16:30] local.INFO: Packet analysis {"connection_id":110187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:16:30] local.INFO: Extracted packet for processing {"connection_id":110187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:16:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:16:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":110187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:16:30] local.INFO: GPS data processed {"connection_id":110187,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:16:30] local.INFO: Acknowledgment sent {"connection_id":110187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:16:53] local.INFO: TCP Data received {"connection_id":108458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:16:53] local.INFO: Processing buffer {"connection_id":108458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:16:53] local.INFO: IMEI packet received {"connection_id":108458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":108458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:16:57] local.INFO: TCP Data received {"connection_id":108458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:16:57] local.INFO: Processing buffer {"connection_id":108458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:16:57] local.INFO: IMEI packet received {"connection_id":108458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":108458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:16:59] local.INFO: TCP Data received {"connection_id":108458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:16:59] local.INFO: Processing buffer {"connection_id":108458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:16:59] local.INFO: Packet analysis {"connection_id":108458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:16:59] local.INFO: Extracted packet for processing {"connection_id":108458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:16:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:16:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":108458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:16:59] local.INFO: GPS data processed {"connection_id":108458,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:16:59] local.INFO: Acknowledgment sent {"connection_id":108458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:17:30] local.INFO: TCP Data received {"connection_id":108458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:17:30] local.INFO: Processing buffer {"connection_id":108458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7328f98012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:17:30] local.INFO: Packet analysis {"connection_id":108458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:17:30] local.INFO: Extracted packet for processing {"connection_id":108458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee732"} 
[2026-06-21 04:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190722560001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995311000,"timestamp_ms":1781995311000,"timestamp_seconds":1781995311,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7328f98"} 
[2026-06-21 04:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190722560001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190722560001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:17:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:17:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190722560001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":108458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:17:30] local.INFO: GPS data processed {"connection_id":108458,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:17:30] local.INFO: Acknowledgment sent {"connection_id":108458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:17:52] local.INFO: TCP Data received {"connection_id":108639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:17:52] local.INFO: Processing buffer {"connection_id":108639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:17:52] local.INFO: IMEI packet received {"connection_id":108639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":108639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:17:58] local.INFO: TCP Data received {"connection_id":108639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:17:58] local.INFO: Processing buffer {"connection_id":108639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:17:58] local.INFO: IMEI packet received {"connection_id":108639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":108639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:17:58] local.INFO: TCP Data received {"connection_id":108639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:17:58] local.INFO: Processing buffer {"connection_id":108639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:17:58] local.INFO: Packet analysis {"connection_id":108639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:17:58] local.INFO: Extracted packet for processing {"connection_id":108639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:17:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:17:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":108639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:17:58] local.INFO: GPS data processed {"connection_id":108639,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:17:58] local.INFO: Acknowledgment sent {"connection_id":108639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:18:31] local.INFO: TCP Data received {"connection_id":108639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:18:31] local.INFO: Processing buffer {"connection_id":108639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:18:31] local.INFO: Packet analysis {"connection_id":108639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:18:31] local.INFO: Extracted packet for processing {"connection_id":108639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":108639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:18:31] local.INFO: GPS data processed {"connection_id":108639,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:18:31] local.INFO: Acknowledgment sent {"connection_id":108639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:18:53] local.INFO: TCP Data received {"connection_id":109245,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:18:53] local.INFO: Processing buffer {"connection_id":109245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:18:53] local.INFO: IMEI packet received {"connection_id":109245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":109245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:18:58] local.INFO: TCP Data received {"connection_id":109245,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:18:58] local.INFO: Processing buffer {"connection_id":109245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:18:58] local.INFO: IMEI packet received {"connection_id":109245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":109245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:18:58] local.INFO: TCP Data received {"connection_id":109245,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:18:58] local.INFO: Processing buffer {"connection_id":109245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:18:58] local.INFO: Packet analysis {"connection_id":109245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:18:58] local.INFO: Extracted packet for processing {"connection_id":109245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:18:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:18:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":109245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:18:58] local.INFO: GPS data processed {"connection_id":109245,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:18:58] local.INFO: Acknowledgment sent {"connection_id":109245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:19:13] local.INFO: TCP Data received {"connection_id":108460,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:19:13] local.INFO: Processing buffer {"connection_id":108460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:19:13] local.INFO: IMEI packet received {"connection_id":108460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":108460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:19:29] local.INFO: TCP Data received {"connection_id":109245,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:19:29] local.INFO: Processing buffer {"connection_id":109245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:19:29] local.INFO: Packet analysis {"connection_id":109245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:19:29] local.INFO: Extracted packet for processing {"connection_id":109245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:19:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:19:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:19:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":109245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:19:29] local.INFO: GPS data processed {"connection_id":109245,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:19:29] local.INFO: Acknowledgment sent {"connection_id":109245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:19:52] local.INFO: TCP Data received {"connection_id":108461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:19:52] local.INFO: Processing buffer {"connection_id":108461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:19:52] local.INFO: IMEI packet received {"connection_id":108461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":108461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:19:57] local.INFO: TCP Data received {"connection_id":108461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:19:57] local.INFO: Processing buffer {"connection_id":108461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:19:57] local.INFO: IMEI packet received {"connection_id":108461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":108461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:19:59] local.INFO: TCP Data received {"connection_id":108461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:19:59] local.INFO: Processing buffer {"connection_id":108461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:19:59] local.INFO: Packet analysis {"connection_id":108461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:19:59] local.INFO: Extracted packet for processing {"connection_id":108461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:19:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":108461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:19:59] local.INFO: GPS data processed {"connection_id":108461,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:19:59] local.INFO: Acknowledgment sent {"connection_id":108461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:20:30] local.INFO: TCP Data received {"connection_id":108461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:20:30] local.INFO: Processing buffer {"connection_id":108461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:20:30] local.INFO: Packet analysis {"connection_id":108461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:20:30] local.INFO: Extracted packet for processing {"connection_id":108461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:20:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":108461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:20:30] local.INFO: GPS data processed {"connection_id":108461,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:20:30] local.INFO: Acknowledgment sent {"connection_id":108461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:20:58] local.INFO: TCP Data received {"connection_id":109247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:20:58] local.INFO: Processing buffer {"connection_id":109247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:20:58] local.INFO: IMEI packet received {"connection_id":109247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":109247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:21:03] local.INFO: TCP Data received {"connection_id":109247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:03] local.INFO: Processing buffer {"connection_id":109247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:03] local.INFO: IMEI packet received {"connection_id":109247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":109247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:21:04] local.INFO: TCP Data received {"connection_id":109247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:04] local.INFO: Processing buffer {"connection_id":109247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:04] local.INFO: Packet analysis {"connection_id":109247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:21:04] local.INFO: Extracted packet for processing {"connection_id":109247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:21:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":109247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:21:04] local.INFO: GPS data processed {"connection_id":109247,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:21:04] local.INFO: Acknowledgment sent {"connection_id":109247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:21:09] local.INFO: TCP Data received {"connection_id":109247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:09] local.INFO: Processing buffer {"connection_id":109247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:09] local.INFO: Packet analysis {"connection_id":109247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:21:09] local.INFO: Extracted packet for processing {"connection_id":109247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21: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-06-21 04:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":109247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:21:09] local.INFO: GPS data processed {"connection_id":109247,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:21:09] local.INFO: Acknowledgment sent {"connection_id":109247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:21:53] local.INFO: TCP Data received {"connection_id":108462,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:53] local.INFO: Processing buffer {"connection_id":108462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:53] local.INFO: IMEI packet received {"connection_id":108462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":108462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:21:58] local.INFO: TCP Data received {"connection_id":108462,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:58] local.INFO: Processing buffer {"connection_id":108462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:21:58] local.INFO: IMEI packet received {"connection_id":108462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":108462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:21:59] local.INFO: TCP Data received {"connection_id":108462,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:59] local.INFO: Processing buffer {"connection_id":108462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:21:59] local.INFO: Packet analysis {"connection_id":108462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:21:59] local.INFO: Extracted packet for processing {"connection_id":108462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:21:59] 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-06-21 04:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:21:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:21:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":108462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:21:59] local.INFO: GPS data processed {"connection_id":108462,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:21:59] local.INFO: Acknowledgment sent {"connection_id":108462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:22:03] local.INFO: TCP Data received {"connection_id":108462,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:22:03] local.INFO: Processing buffer {"connection_id":108462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7372760012d34c14006aa3d28000701172b..."} 
[2026-06-21 04:22:03] local.INFO: Packet analysis {"connection_id":108462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:22:03] local.INFO: Extracted packet for processing {"connection_id":108462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee737"} 
[2026-06-21 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190799616001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781995612000,"timestamp_ms":1781995612000,"timestamp_seconds":1781995612,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7372760"} 
[2026-06-21 04:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190799616001,"66":25321,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190799616001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190799616001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":108462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:22:03] local.INFO: GPS data processed {"connection_id":108462,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:22:03] local.INFO: Acknowledgment sent {"connection_id":108462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:22:35] local.INFO: TCP Data received {"connection_id":108462,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:22:35] local.INFO: Processing buffer {"connection_id":108462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:22:35] local.INFO: Packet analysis {"connection_id":108462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:22:35] local.INFO: Extracted packet for processing {"connection_id":108462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:22: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-06-21 04:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:22:35] 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-06-21 04:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":108462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:22:35] local.INFO: GPS data processed {"connection_id":108462,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:22:35] local.INFO: Acknowledgment sent {"connection_id":108462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:22:53] local.INFO: TCP Data received {"connection_id":108641,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:22:53] local.INFO: Processing buffer {"connection_id":108641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:22:53] local.INFO: IMEI packet received {"connection_id":108641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":108641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:22:58] local.INFO: TCP Data received {"connection_id":108641,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:22:58] local.INFO: Processing buffer {"connection_id":108641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:22:58] local.INFO: IMEI packet received {"connection_id":108641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":108641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:23:00] local.INFO: TCP Data received {"connection_id":108641,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:00] local.INFO: Processing buffer {"connection_id":108641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:00] local.INFO: Packet analysis {"connection_id":108641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:23:00] local.INFO: Extracted packet for processing {"connection_id":108641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:23:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:23:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":108641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:23:00] local.INFO: GPS data processed {"connection_id":108641,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:23:00] local.INFO: Acknowledgment sent {"connection_id":108641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:23:31] local.INFO: TCP Data received {"connection_id":108641,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:31] local.INFO: Processing buffer {"connection_id":108641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:31] local.INFO: Packet analysis {"connection_id":108641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:23:31] local.INFO: Extracted packet for processing {"connection_id":108641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":108641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:23:31] local.INFO: GPS data processed {"connection_id":108641,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:23:31] local.INFO: Acknowledgment sent {"connection_id":108641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:23:52] local.INFO: TCP Data received {"connection_id":110190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:23:52] local.INFO: Processing buffer {"connection_id":110190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:23:52] local.INFO: IMEI packet received {"connection_id":110190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":110190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:23:58] local.INFO: TCP Data received {"connection_id":110190,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:23:58] local.INFO: Processing buffer {"connection_id":110190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:23:58] local.INFO: IMEI packet received {"connection_id":110190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":110190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:23:59] local.INFO: TCP Data received {"connection_id":110190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:59] local.INFO: Processing buffer {"connection_id":110190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:23:59] local.INFO: Packet analysis {"connection_id":110190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:23:59] local.INFO: Extracted packet for processing {"connection_id":110190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:23:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:23:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":110190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:23:59] local.INFO: GPS data processed {"connection_id":110190,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:23:59] local.INFO: Acknowledgment sent {"connection_id":110190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:24:30] local.INFO: TCP Data received {"connection_id":110190,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:24:30] local.INFO: Processing buffer {"connection_id":110190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:24:30] local.INFO: Packet analysis {"connection_id":110190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:24:30] local.INFO: Extracted packet for processing {"connection_id":110190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:24:30] 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-06-21 04:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":110190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:24:30] local.INFO: GPS data processed {"connection_id":110190,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:24:30] local.INFO: Acknowledgment sent {"connection_id":110190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:24:38] local.INFO: TCP Data received {"connection_id":110191,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:24:38] local.INFO: Processing buffer {"connection_id":110191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:24:38] local.INFO: IMEI packet received {"connection_id":110191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":110191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:24:52] local.INFO: TCP Data received {"connection_id":110192,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:24:52] local.INFO: Processing buffer {"connection_id":110192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:24:52] local.INFO: IMEI packet received {"connection_id":110192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":110192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:24:58] local.INFO: TCP Data received {"connection_id":110192,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:24:58] local.INFO: Processing buffer {"connection_id":110192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:24:58] local.INFO: IMEI packet received {"connection_id":110192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":110192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:24:59] local.INFO: TCP Data received {"connection_id":110192,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:24:59] local.INFO: Processing buffer {"connection_id":110192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:24:59] local.INFO: Packet analysis {"connection_id":110192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:24:59] local.INFO: Extracted packet for processing {"connection_id":110192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:24:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:24:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":110192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:24:59] local.INFO: GPS data processed {"connection_id":110192,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:24:59] local.INFO: Acknowledgment sent {"connection_id":110192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:25:13] local.INFO: TCP Data received {"connection_id":109248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:25:13] local.INFO: Processing buffer {"connection_id":109248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:25:13] local.INFO: IMEI packet received {"connection_id":109248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":109248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:25:30] local.INFO: TCP Data received {"connection_id":110192,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:25:30] local.INFO: Processing buffer {"connection_id":110192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:25:30] local.INFO: Packet analysis {"connection_id":110192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:25:30] local.INFO: Extracted packet for processing {"connection_id":110192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:25:30] 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-06-21 04:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:25:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:25:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":110192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:25:30] local.INFO: GPS data processed {"connection_id":110192,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:25:30] local.INFO: Acknowledgment sent {"connection_id":110192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:25:53] local.INFO: TCP Data received {"connection_id":108464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:25:53] local.INFO: Processing buffer {"connection_id":108464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:25:53] local.INFO: IMEI packet received {"connection_id":108464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":108464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:25:58] local.INFO: TCP Data received {"connection_id":108464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:25:58] local.INFO: Processing buffer {"connection_id":108464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:25:58] local.INFO: IMEI packet received {"connection_id":108464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":108464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:25:59] local.INFO: TCP Data received {"connection_id":108464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:25:59] local.INFO: Processing buffer {"connection_id":108464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:25:59] local.INFO: Packet analysis {"connection_id":108464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:25:59] local.INFO: Extracted packet for processing {"connection_id":108464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:25:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:25:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":108464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:25:59] local.INFO: GPS data processed {"connection_id":108464,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:25:59] local.INFO: Acknowledgment sent {"connection_id":108464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:26:32] local.INFO: TCP Data received {"connection_id":108464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:26:32] local.INFO: Processing buffer {"connection_id":108464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:26:32] local.INFO: Packet analysis {"connection_id":108464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:26:32] local.INFO: Extracted packet for processing {"connection_id":108464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":108464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:26:32] local.INFO: GPS data processed {"connection_id":108464,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:26:32] local.INFO: Acknowledgment sent {"connection_id":108464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:26:58] local.INFO: TCP Data received {"connection_id":108465,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:26:58] local.INFO: Processing buffer {"connection_id":108465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:26:58] local.INFO: IMEI packet received {"connection_id":108465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":108465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:27:03] local.INFO: TCP Data received {"connection_id":108465,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:03] local.INFO: Processing buffer {"connection_id":108465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:03] local.INFO: IMEI packet received {"connection_id":108465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":108465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:27:05] local.INFO: TCP Data received {"connection_id":108465,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:27:05] local.INFO: Processing buffer {"connection_id":108465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:27:05] local.INFO: Packet analysis {"connection_id":108465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:27:05] local.INFO: Extracted packet for processing {"connection_id":108465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27: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-06-21 04:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":108465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:27:05] local.INFO: GPS data processed {"connection_id":108465,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:27:05] local.INFO: Acknowledgment sent {"connection_id":108465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:27:08] local.INFO: TCP Data received {"connection_id":108465,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:27:08] local.INFO: Processing buffer {"connection_id":108465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee73bbf28012d34c14006aa3d28000501172b..."} 
[2026-06-21 04:27:08] local.INFO: Packet analysis {"connection_id":108465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:27:08] local.INFO: Extracted packet for processing {"connection_id":108465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee73b"} 
[2026-06-21 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190876672001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781995913000,"timestamp_ms":1781995913000,"timestamp_seconds":1781995913,"priority":1,"record_length":96,"hex_timestamp":"0000019ee73bbf28"} 
[2026-06-21 04:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 04:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:27:08] 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-06-21 04:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190876672001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190876672001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190876672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":108465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:27:09] local.INFO: GPS data processed {"connection_id":108465,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:27:09] local.INFO: Acknowledgment sent {"connection_id":108465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:27:53] local.INFO: TCP Data received {"connection_id":108643,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:53] local.INFO: Processing buffer {"connection_id":108643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:53] local.INFO: IMEI packet received {"connection_id":108643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":108643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:27:58] local.INFO: TCP Data received {"connection_id":108643,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:58] local.INFO: Processing buffer {"connection_id":108643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:27:58] local.INFO: IMEI packet received {"connection_id":108643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":108643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:27:59] local.INFO: TCP Data received {"connection_id":108643,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:27:59] local.INFO: Processing buffer {"connection_id":108643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:27:59] local.INFO: Packet analysis {"connection_id":108643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:27:59] local.INFO: Extracted packet for processing {"connection_id":108643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:27:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:27:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":108643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:27:59] local.INFO: GPS data processed {"connection_id":108643,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:27:59] local.INFO: Acknowledgment sent {"connection_id":108643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:28:03] local.INFO: TCP Data received {"connection_id":108643,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:03] local.INFO: Processing buffer {"connection_id":108643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:03] local.INFO: Packet analysis {"connection_id":108643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:28:03] local.INFO: Extracted packet for processing {"connection_id":108643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":108643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:28:03] local.INFO: GPS data processed {"connection_id":108643,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:28:03] local.INFO: Acknowledgment sent {"connection_id":108643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:28:35] local.INFO: TCP Data received {"connection_id":108643,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:35] local.INFO: Processing buffer {"connection_id":108643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:35] local.INFO: Packet analysis {"connection_id":108643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:28:35] local.INFO: Extracted packet for processing {"connection_id":108643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:28:35] 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-06-21 04:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":108643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:28:35] local.INFO: GPS data processed {"connection_id":108643,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:28:35] local.INFO: Acknowledgment sent {"connection_id":108643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:28:53] local.INFO: TCP Data received {"connection_id":108466,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:28:53] local.INFO: Processing buffer {"connection_id":108466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:28:53] local.INFO: IMEI packet received {"connection_id":108466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":108466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:28:58] local.INFO: TCP Data received {"connection_id":108466,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:28:58] local.INFO: Processing buffer {"connection_id":108466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:28:58] local.INFO: IMEI packet received {"connection_id":108466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":108466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:28:59] local.INFO: TCP Data received {"connection_id":108466,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:59] local.INFO: Processing buffer {"connection_id":108466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:28:59] local.INFO: Packet analysis {"connection_id":108466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:28:59] local.INFO: Extracted packet for processing {"connection_id":108466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":108466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:28:59] local.INFO: GPS data processed {"connection_id":108466,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:28:59] local.INFO: Acknowledgment sent {"connection_id":108466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:29:31] local.INFO: TCP Data received {"connection_id":108466,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:29:31] local.INFO: Processing buffer {"connection_id":108466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:29:31] local.INFO: Packet analysis {"connection_id":108466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:29:31] local.INFO: Extracted packet for processing {"connection_id":108466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":108466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:29:31] local.INFO: GPS data processed {"connection_id":108466,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:29:31] local.INFO: Acknowledgment sent {"connection_id":108466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:29:53] local.INFO: TCP Data received {"connection_id":109251,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:29:53] local.INFO: Processing buffer {"connection_id":109251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:29:53] local.INFO: IMEI packet received {"connection_id":109251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":109251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:29:58] local.INFO: TCP Data received {"connection_id":109251,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:29:58] local.INFO: Processing buffer {"connection_id":109251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:29:58] local.INFO: IMEI packet received {"connection_id":109251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":109251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:29:59] local.INFO: TCP Data received {"connection_id":109251,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:29:59] local.INFO: Processing buffer {"connection_id":109251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:29:59] local.INFO: Packet analysis {"connection_id":109251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:29:59] local.INFO: Extracted packet for processing {"connection_id":109251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:29:59] 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-06-21 04:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":109251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:29:59] local.INFO: GPS data processed {"connection_id":109251,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:29:59] local.INFO: Acknowledgment sent {"connection_id":109251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:30:31] local.INFO: TCP Data received {"connection_id":109251,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:30:31] local.INFO: Processing buffer {"connection_id":109251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:30:31] local.INFO: Packet analysis {"connection_id":109251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:30:31] local.INFO: Extracted packet for processing {"connection_id":109251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":109251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:30:31] local.INFO: GPS data processed {"connection_id":109251,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:30:31] local.INFO: Acknowledgment sent {"connection_id":109251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:30:38] local.INFO: TCP Data received {"connection_id":110193,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:30:38] local.INFO: Processing buffer {"connection_id":110193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:30:38] local.INFO: IMEI packet received {"connection_id":110193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":110193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:30:52] local.INFO: TCP Data received {"connection_id":108645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:30:52] local.INFO: Processing buffer {"connection_id":108645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:30:52] local.INFO: IMEI packet received {"connection_id":108645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":108645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:30:58] local.INFO: TCP Data received {"connection_id":108645,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:30:58] local.INFO: Processing buffer {"connection_id":108645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:30:58] local.INFO: IMEI packet received {"connection_id":108645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":108645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:30:59] local.INFO: TCP Data received {"connection_id":108645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:30:59] local.INFO: Processing buffer {"connection_id":108645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:30:59] local.INFO: Packet analysis {"connection_id":108645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:30:59] local.INFO: Extracted packet for processing {"connection_id":108645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:30:59] 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-06-21 04:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:30:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:30:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":108645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:30:59] local.INFO: GPS data processed {"connection_id":108645,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:30:59] local.INFO: Acknowledgment sent {"connection_id":108645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:31:14] local.INFO: TCP Data received {"connection_id":109252,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:31:14] local.INFO: Processing buffer {"connection_id":109252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:31:14] local.INFO: IMEI packet received {"connection_id":109252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":109252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:31:30] local.INFO: TCP Data received {"connection_id":108645,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:31:30] local.INFO: Processing buffer {"connection_id":108645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:31:30] local.INFO: Packet analysis {"connection_id":108645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:31:30] local.INFO: Extracted packet for processing {"connection_id":108645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:31:30] 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-06-21 04:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:31:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":108645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:31:30] local.INFO: GPS data processed {"connection_id":108645,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:31:30] local.INFO: Acknowledgment sent {"connection_id":108645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:31:58] local.INFO: TCP Data received {"connection_id":110194,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:31:58] local.INFO: Processing buffer {"connection_id":110194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:31:58] local.INFO: IMEI packet received {"connection_id":110194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":110194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:32:03] local.INFO: TCP Data received {"connection_id":110194,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:03] local.INFO: Processing buffer {"connection_id":110194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:03] local.INFO: IMEI packet received {"connection_id":110194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":110194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:32:04] local.INFO: TCP Data received {"connection_id":110194,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:32:04] local.INFO: Processing buffer {"connection_id":110194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:32:04] local.INFO: Packet analysis {"connection_id":110194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:32:04] local.INFO: Extracted packet for processing {"connection_id":110194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:32: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-06-21 04:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":110194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:32:04] local.INFO: GPS data processed {"connection_id":110194,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:32:04] local.INFO: Acknowledgment sent {"connection_id":110194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:32:08] local.INFO: TCP Data received {"connection_id":110194,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:32:08] local.INFO: Processing buffer {"connection_id":110194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74056f0012d34c14006aa3d28000501172c..."} 
[2026-06-21 04:32:08] local.INFO: Packet analysis {"connection_id":110194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:32:08] local.INFO: Extracted packet for processing {"connection_id":110194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee740"} 
[2026-06-21 04:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456190953728001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32: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-06-21 04:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781996214000,"timestamp_ms":1781996214000,"timestamp_seconds":1781996214,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74056f0"} 
[2026-06-21 04:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:32: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-06-21 04:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456190953728001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456190953728001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456190953728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":110194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:32:08] local.INFO: GPS data processed {"connection_id":110194,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:32:08] local.INFO: Acknowledgment sent {"connection_id":110194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:32:53] local.INFO: TCP Data received {"connection_id":108647,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:53] local.INFO: Processing buffer {"connection_id":108647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:53] local.INFO: IMEI packet received {"connection_id":108647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":108647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:32:58] local.INFO: TCP Data received {"connection_id":108647,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:58] local.INFO: Processing buffer {"connection_id":108647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:32:58] local.INFO: IMEI packet received {"connection_id":108647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":108647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:32:59] local.INFO: TCP Data received {"connection_id":108647,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:32:59] local.INFO: Processing buffer {"connection_id":108647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:32:59] local.INFO: Packet analysis {"connection_id":108647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:32:59] local.INFO: Extracted packet for processing {"connection_id":108647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:32:59] 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-06-21 04:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:32:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":108647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:32:59] local.INFO: GPS data processed {"connection_id":108647,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:32:59] local.INFO: Acknowledgment sent {"connection_id":108647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:33:31] local.INFO: TCP Data received {"connection_id":108647,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:33:31] local.INFO: Processing buffer {"connection_id":108647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:33:31] local.INFO: Packet analysis {"connection_id":108647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:33:31] local.INFO: Extracted packet for processing {"connection_id":108647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":108647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:33:31] local.INFO: GPS data processed {"connection_id":108647,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:33:31] local.INFO: Acknowledgment sent {"connection_id":108647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:33:52] local.INFO: TCP Data received {"connection_id":109253,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:33:52] local.INFO: Processing buffer {"connection_id":109253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:33:52] local.INFO: IMEI packet received {"connection_id":109253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":109253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:34:03] local.INFO: TCP Data received {"connection_id":109253,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:03] local.INFO: Processing buffer {"connection_id":109253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:03] local.INFO: IMEI packet received {"connection_id":109253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":109253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:34:04] local.INFO: TCP Data received {"connection_id":109253,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:04] local.INFO: Processing buffer {"connection_id":109253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:04] local.INFO: Packet analysis {"connection_id":109253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:34:04] local.INFO: Extracted packet for processing {"connection_id":109253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":109253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:34:04] local.INFO: GPS data processed {"connection_id":109253,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:34:04] local.INFO: Acknowledgment sent {"connection_id":109253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:34:35] local.INFO: TCP Data received {"connection_id":109253,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:35] local.INFO: Processing buffer {"connection_id":109253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:35] local.INFO: Packet analysis {"connection_id":109253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:34:35] local.INFO: Extracted packet for processing {"connection_id":109253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 04:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":109253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:34:35] local.INFO: GPS data processed {"connection_id":109253,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:34:35] local.INFO: Acknowledgment sent {"connection_id":109253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:34:52] local.INFO: TCP Data received {"connection_id":108469,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:52] local.INFO: Processing buffer {"connection_id":108469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:52] local.INFO: IMEI packet received {"connection_id":108469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":108469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:34:58] local.INFO: TCP Data received {"connection_id":108469,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:58] local.INFO: Processing buffer {"connection_id":108469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:34:58] local.INFO: IMEI packet received {"connection_id":108469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":108469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:34:59] local.INFO: TCP Data received {"connection_id":108469,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:59] local.INFO: Processing buffer {"connection_id":108469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:34:59] local.INFO: Packet analysis {"connection_id":108469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:34:59] local.INFO: Extracted packet for processing {"connection_id":108469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:34:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:34:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":108469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:34:59] local.INFO: GPS data processed {"connection_id":108469,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:34:59] local.INFO: Acknowledgment sent {"connection_id":108469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:35:31] local.INFO: TCP Data received {"connection_id":108469,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:35:31] local.INFO: Processing buffer {"connection_id":108469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:35:31] local.INFO: Packet analysis {"connection_id":108469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:35:31] local.INFO: Extracted packet for processing {"connection_id":108469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":108469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:35:31] local.INFO: GPS data processed {"connection_id":108469,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:35:31] local.INFO: Acknowledgment sent {"connection_id":108469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:35:58] local.INFO: TCP Data received {"connection_id":110195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:35:58] local.INFO: Processing buffer {"connection_id":110195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:35:58] local.INFO: IMEI packet received {"connection_id":110195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":110195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:36:03] local.INFO: TCP Data received {"connection_id":110195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:03] local.INFO: Processing buffer {"connection_id":110195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:03] local.INFO: IMEI packet received {"connection_id":110195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":110195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:36:04] local.INFO: TCP Data received {"connection_id":110195,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:04] local.INFO: Processing buffer {"connection_id":110195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:04] local.INFO: Packet analysis {"connection_id":110195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:36:04] local.INFO: Extracted packet for processing {"connection_id":110195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":110195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:36:04] local.INFO: GPS data processed {"connection_id":110195,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:36:04] local.INFO: Acknowledgment sent {"connection_id":110195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:36:09] local.INFO: TCP Data received {"connection_id":110195,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:09] local.INFO: Processing buffer {"connection_id":110195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:09] local.INFO: Packet analysis {"connection_id":110195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:36:09] local.INFO: Extracted packet for processing {"connection_id":110195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36: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-06-21 04:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:36:09] 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-06-21 04:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":110195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:36:09] local.INFO: GPS data processed {"connection_id":110195,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:36:09] local.INFO: Acknowledgment sent {"connection_id":110195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:36:33] local.INFO: TCP Data received {"connection_id":109254,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:36:33] local.INFO: Processing buffer {"connection_id":109254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:36:33] local.INFO: IMEI packet received {"connection_id":109254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":109254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:36:52] local.INFO: TCP Data received {"connection_id":110196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:52] local.INFO: Processing buffer {"connection_id":110196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:52] local.INFO: IMEI packet received {"connection_id":110196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":110196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:36:58] local.INFO: TCP Data received {"connection_id":110196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:58] local.INFO: Processing buffer {"connection_id":110196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:36:58] local.INFO: IMEI packet received {"connection_id":110196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":110196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:36:59] local.INFO: TCP Data received {"connection_id":110196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:59] local.INFO: Processing buffer {"connection_id":110196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:36:59] local.INFO: Packet analysis {"connection_id":110196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:36:59] local.INFO: Extracted packet for processing {"connection_id":110196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":110196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:36:59] local.INFO: GPS data processed {"connection_id":110196,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:36:59] local.INFO: Acknowledgment sent {"connection_id":110196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:37:13] local.INFO: TCP Data received {"connection_id":108470,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:37:13] local.INFO: Processing buffer {"connection_id":108470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:37:13] local.INFO: IMEI packet received {"connection_id":108470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":108470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:37:30] local.INFO: TCP Data received {"connection_id":110196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:37:30] local.INFO: Processing buffer {"connection_id":110196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee744eeb8012d34c14006aa3d28000701172a..."} 
[2026-06-21 04:37:30] local.INFO: Packet analysis {"connection_id":110196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:37:30] local.INFO: Extracted packet for processing {"connection_id":110196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee744"} 
[2026-06-21 04:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191030784001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781996515000,"timestamp_ms":1781996515000,"timestamp_seconds":1781996515,"priority":1,"record_length":96,"hex_timestamp":"0000019ee744eeb8"} 
[2026-06-21 04:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:37:30] 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-06-21 04:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191030784001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191030784001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:37:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:37:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191030784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":110196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:37:30] local.INFO: GPS data processed {"connection_id":110196,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:37:30] local.INFO: Acknowledgment sent {"connection_id":110196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:37:53] local.INFO: TCP Data received {"connection_id":108471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:37:53] local.INFO: Processing buffer {"connection_id":108471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:37:53] local.INFO: IMEI packet received {"connection_id":108471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":108471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:37:58] local.INFO: TCP Data received {"connection_id":108471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:37:58] local.INFO: Processing buffer {"connection_id":108471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:37:58] local.INFO: IMEI packet received {"connection_id":108471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":108471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:38:00] local.INFO: TCP Data received {"connection_id":108471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:00] local.INFO: Processing buffer {"connection_id":108471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:00] local.INFO: Packet analysis {"connection_id":108471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:38:00] local.INFO: Extracted packet for processing {"connection_id":108471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:38:00] 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-06-21 04:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:38:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:38:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":108471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:38:00] local.INFO: GPS data processed {"connection_id":108471,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:38:00] local.INFO: Acknowledgment sent {"connection_id":108471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:38:31] local.INFO: TCP Data received {"connection_id":108471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:31] local.INFO: Processing buffer {"connection_id":108471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:31] local.INFO: Packet analysis {"connection_id":108471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:38:31] local.INFO: Extracted packet for processing {"connection_id":108471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":108471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:38:31] local.INFO: GPS data processed {"connection_id":108471,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:38:31] local.INFO: Acknowledgment sent {"connection_id":108471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:38:53] local.INFO: TCP Data received {"connection_id":110198,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:38:53] local.INFO: Processing buffer {"connection_id":110198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:38:53] local.INFO: IMEI packet received {"connection_id":110198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":110198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:38:58] local.INFO: TCP Data received {"connection_id":110198,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:38:58] local.INFO: Processing buffer {"connection_id":110198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:38:58] local.INFO: IMEI packet received {"connection_id":110198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":110198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:38:59] local.INFO: TCP Data received {"connection_id":110198,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:59] local.INFO: Processing buffer {"connection_id":110198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:38:59] local.INFO: Packet analysis {"connection_id":110198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:38:59] local.INFO: Extracted packet for processing {"connection_id":110198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:38:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":110198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:38:59] local.INFO: GPS data processed {"connection_id":110198,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:38:59] local.INFO: Acknowledgment sent {"connection_id":110198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:39:31] local.INFO: TCP Data received {"connection_id":110198,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:39:31] local.INFO: Processing buffer {"connection_id":110198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:39:31] local.INFO: Packet analysis {"connection_id":110198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:39:31] local.INFO: Extracted packet for processing {"connection_id":110198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":110198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:39:31] local.INFO: GPS data processed {"connection_id":110198,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:39:31] local.INFO: Acknowledgment sent {"connection_id":110198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:39:52] local.INFO: TCP Data received {"connection_id":110200,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:39:52] local.INFO: Processing buffer {"connection_id":110200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:39:52] local.INFO: IMEI packet received {"connection_id":110200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":110200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:39:58] local.INFO: TCP Data received {"connection_id":110200,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:39:58] local.INFO: Processing buffer {"connection_id":110200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:39:58] local.INFO: IMEI packet received {"connection_id":110200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":110200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:39:59] local.INFO: TCP Data received {"connection_id":110200,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:39:59] local.INFO: Processing buffer {"connection_id":110200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:39:59] local.INFO: Packet analysis {"connection_id":110200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:39:59] local.INFO: Extracted packet for processing {"connection_id":110200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:39:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:39:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":110200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:39:59] local.INFO: GPS data processed {"connection_id":110200,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:39:59] local.INFO: Acknowledgment sent {"connection_id":110200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:40:30] local.INFO: TCP Data received {"connection_id":110200,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:40:30] local.INFO: Processing buffer {"connection_id":110200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:40:30] local.INFO: Packet analysis {"connection_id":110200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:40:30] local.INFO: Extracted packet for processing {"connection_id":110200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:40:30] 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-06-21 04:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:40:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":110200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:40:30] local.INFO: GPS data processed {"connection_id":110200,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:40:30] local.INFO: Acknowledgment sent {"connection_id":110200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:40:52] local.INFO: TCP Data received {"connection_id":108472,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:40:52] local.INFO: Processing buffer {"connection_id":108472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:40:52] local.INFO: IMEI packet received {"connection_id":108472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":108472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:40:58] local.INFO: TCP Data received {"connection_id":108472,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:40:58] local.INFO: Processing buffer {"connection_id":108472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:40:58] local.INFO: IMEI packet received {"connection_id":108472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":108472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:40:59] local.INFO: TCP Data received {"connection_id":108472,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:40:59] local.INFO: Processing buffer {"connection_id":108472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:40:59] local.INFO: Packet analysis {"connection_id":108472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:40:59] local.INFO: Extracted packet for processing {"connection_id":108472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:40:59] 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-06-21 04:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":108472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:40:59] local.INFO: GPS data processed {"connection_id":108472,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:40:59] local.INFO: Acknowledgment sent {"connection_id":108472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:41:30] local.INFO: TCP Data received {"connection_id":108472,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:41:30] local.INFO: Processing buffer {"connection_id":108472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:41:30] local.INFO: Packet analysis {"connection_id":108472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:41:30] local.INFO: Extracted packet for processing {"connection_id":108472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:41:30] 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-06-21 04:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":108472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:41:30] local.INFO: GPS data processed {"connection_id":108472,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:41:30] local.INFO: Acknowledgment sent {"connection_id":108472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:41:58] local.INFO: TCP Data received {"connection_id":108650,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:41:58] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:41:58] local.INFO: IMEI packet received {"connection_id":108650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":108650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:42:03] local.INFO: TCP Data received {"connection_id":108650,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:03] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:03] local.INFO: IMEI packet received {"connection_id":108650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":108650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:42:04] local.INFO: TCP Data received {"connection_id":108650,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:42:04] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:42:04] local.INFO: Packet analysis {"connection_id":108650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:42:04] local.INFO: Extracted packet for processing {"connection_id":108650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04: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-06-21 04:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":108650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:42:04] local.INFO: GPS data processed {"connection_id":108650,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:42:04] local.INFO: Acknowledgment sent {"connection_id":108650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:42:35] local.INFO: TCP Data received {"connection_id":108650,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:42:35] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7498680012d34c14006aa3d28000601172a..."} 
[2026-06-21 04:42:35] local.INFO: Packet analysis {"connection_id":108650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:42:35] local.INFO: Extracted packet for processing {"connection_id":108650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee749"} 
[2026-06-21 04:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191107840001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781996816000,"timestamp_ms":1781996816000,"timestamp_seconds":1781996816,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7498680"} 
[2026-06-21 04:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04: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-06-21 04:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191107840001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191107840001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191107840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":108650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:42:35] local.INFO: GPS data processed {"connection_id":108650,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:42:35] local.INFO: Acknowledgment sent {"connection_id":108650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:42:38] local.INFO: TCP Data received {"connection_id":110202,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:42:38] local.INFO: Processing buffer {"connection_id":110202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:42:38] local.INFO: IMEI packet received {"connection_id":110202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":110202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:42:52] local.INFO: TCP Data received {"connection_id":109255,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:52] local.INFO: Processing buffer {"connection_id":109255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:52] local.INFO: IMEI packet received {"connection_id":109255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":109255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:42:58] local.INFO: TCP Data received {"connection_id":109255,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:58] local.INFO: Processing buffer {"connection_id":109255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:42:58] local.INFO: IMEI packet received {"connection_id":109255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":109255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:42:59] local.INFO: TCP Data received {"connection_id":109255,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:42:59] local.INFO: Processing buffer {"connection_id":109255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:42:59] local.INFO: Packet analysis {"connection_id":109255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:42:59] local.INFO: Extracted packet for processing {"connection_id":109255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:42:59] 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-06-21 04:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:42:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":109255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:42:59] local.INFO: GPS data processed {"connection_id":109255,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:42:59] local.INFO: Acknowledgment sent {"connection_id":109255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:43:13] local.INFO: TCP Data received {"connection_id":110203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:43:13] local.INFO: Processing buffer {"connection_id":110203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:43:13] local.INFO: IMEI packet received {"connection_id":110203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":110203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:43:30] local.INFO: TCP Data received {"connection_id":109255,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:43:30] local.INFO: Processing buffer {"connection_id":109255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:43:30] local.INFO: Packet analysis {"connection_id":109255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:43:30] local.INFO: Extracted packet for processing {"connection_id":109255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:43:30] 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-06-21 04:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:43:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":109255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:43:30] local.INFO: GPS data processed {"connection_id":109255,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:43:30] local.INFO: Acknowledgment sent {"connection_id":109255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:43:52] local.INFO: TCP Data received {"connection_id":108651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:43:52] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:43:52] local.INFO: IMEI packet received {"connection_id":108651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":108651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:43:58] local.INFO: TCP Data received {"connection_id":108651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:43:58] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:43:58] local.INFO: IMEI packet received {"connection_id":108651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":108651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:43:59] local.INFO: TCP Data received {"connection_id":108651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:43:59] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:43:59] local.INFO: Packet analysis {"connection_id":108651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:43:59] local.INFO: Extracted packet for processing {"connection_id":108651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:43:59] 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-06-21 04:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:43:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:43:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":108651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:43:59] local.INFO: GPS data processed {"connection_id":108651,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:43:59] local.INFO: Acknowledgment sent {"connection_id":108651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:44:30] local.INFO: TCP Data received {"connection_id":108651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:44:30] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:44:30] local.INFO: Packet analysis {"connection_id":108651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:44:30] local.INFO: Extracted packet for processing {"connection_id":108651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:44:30] 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-06-21 04:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:44:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":108651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:44:30] local.INFO: GPS data processed {"connection_id":108651,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:44:30] local.INFO: Acknowledgment sent {"connection_id":108651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:44:52] local.INFO: TCP Data received {"connection_id":108652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:44:52] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:44:52] local.INFO: IMEI packet received {"connection_id":108652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":108652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:44:58] local.INFO: TCP Data received {"connection_id":108652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:44:58] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:44:58] local.INFO: IMEI packet received {"connection_id":108652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":108652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:44:59] local.INFO: TCP Data received {"connection_id":108652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:44:59] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:44:59] local.INFO: Packet analysis {"connection_id":108652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:44:59] local.INFO: Extracted packet for processing {"connection_id":108652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:44:59] 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-06-21 04:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:44:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:44:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":108652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:44:59] local.INFO: GPS data processed {"connection_id":108652,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:44:59] local.INFO: Acknowledgment sent {"connection_id":108652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:45:30] local.INFO: TCP Data received {"connection_id":108652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:45:30] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:45:30] local.INFO: Packet analysis {"connection_id":108652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:45:30] local.INFO: Extracted packet for processing {"connection_id":108652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:45:30] 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-06-21 04:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:45:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":108652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:45:30] local.INFO: GPS data processed {"connection_id":108652,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:45:30] local.INFO: Acknowledgment sent {"connection_id":108652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:45:52] local.INFO: TCP Data received {"connection_id":109256,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:45:52] local.INFO: Processing buffer {"connection_id":109256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:45:52] local.INFO: IMEI packet received {"connection_id":109256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":109256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:45:58] local.INFO: TCP Data received {"connection_id":109256,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:45:58] local.INFO: Processing buffer {"connection_id":109256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:45:58] local.INFO: IMEI packet received {"connection_id":109256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":109256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:45:59] local.INFO: TCP Data received {"connection_id":109256,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:45:59] local.INFO: Processing buffer {"connection_id":109256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:45:59] local.INFO: Packet analysis {"connection_id":109256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:45:59] local.INFO: Extracted packet for processing {"connection_id":109256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:45:59] 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-06-21 04:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:45:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:45:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":109256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:45:59] local.INFO: GPS data processed {"connection_id":109256,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:45:59] local.INFO: Acknowledgment sent {"connection_id":109256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:46:31] local.INFO: TCP Data received {"connection_id":109256,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:46:31] local.INFO: Processing buffer {"connection_id":109256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:46:31] local.INFO: Packet analysis {"connection_id":109256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:46:31] local.INFO: Extracted packet for processing {"connection_id":109256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":109256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:46:31] local.INFO: GPS data processed {"connection_id":109256,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:46:31] local.INFO: Acknowledgment sent {"connection_id":109256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:46:58] local.INFO: TCP Data received {"connection_id":108653,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:46:58] local.INFO: Processing buffer {"connection_id":108653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:46:58] local.INFO: IMEI packet received {"connection_id":108653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":108653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:47:02] local.INFO: TCP Data received {"connection_id":108653,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:02] local.INFO: Processing buffer {"connection_id":108653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:02] local.INFO: IMEI packet received {"connection_id":108653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":108653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:47:04] local.INFO: TCP Data received {"connection_id":108653,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:47:04] local.INFO: Processing buffer {"connection_id":108653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:47:04] local.INFO: Packet analysis {"connection_id":108653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:47:04] local.INFO: Extracted packet for processing {"connection_id":108653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:47: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-06-21 04:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":108653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:47:04] local.INFO: GPS data processed {"connection_id":108653,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:47:04] local.INFO: Acknowledgment sent {"connection_id":108653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:47:09] local.INFO: TCP Data received {"connection_id":108653,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:47:09] local.INFO: Processing buffer {"connection_id":108653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee74e1e48012d34c14006aa3d28000901172c..."} 
[2026-06-21 04:47:09] local.INFO: Packet analysis {"connection_id":108653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:47:09] local.INFO: Extracted packet for processing {"connection_id":108653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee74e"} 
[2026-06-21 04:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191184896001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781997117000,"timestamp_ms":1781997117000,"timestamp_seconds":1781997117,"priority":1,"record_length":96,"hex_timestamp":"0000019ee74e1e48"} 
[2026-06-21 04:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 04:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:47: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-06-21 04:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191184896001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191184896001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191184896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":108653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:47:09] local.INFO: GPS data processed {"connection_id":108653,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:47:09] local.INFO: Acknowledgment sent {"connection_id":108653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:47:53] local.INFO: TCP Data received {"connection_id":108474,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:53] local.INFO: Processing buffer {"connection_id":108474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:53] local.INFO: IMEI packet received {"connection_id":108474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":108474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:47:58] local.INFO: TCP Data received {"connection_id":108474,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:58] local.INFO: Processing buffer {"connection_id":108474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:47:58] local.INFO: IMEI packet received {"connection_id":108474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":108474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:47:59] local.INFO: TCP Data received {"connection_id":108474,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:47:59] local.INFO: Processing buffer {"connection_id":108474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:47:59] local.INFO: Packet analysis {"connection_id":108474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:47:59] local.INFO: Extracted packet for processing {"connection_id":108474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:47:59] 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-06-21 04:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:47:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:47:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":108474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:47:59] local.INFO: GPS data processed {"connection_id":108474,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:47:59] local.INFO: Acknowledgment sent {"connection_id":108474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:48:31] local.INFO: TCP Data received {"connection_id":108474,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:48:31] local.INFO: Processing buffer {"connection_id":108474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:48:31] local.INFO: Packet analysis {"connection_id":108474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:48:31] local.INFO: Extracted packet for processing {"connection_id":108474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":108474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:48:31] local.INFO: GPS data processed {"connection_id":108474,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:48:31] local.INFO: Acknowledgment sent {"connection_id":108474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:48:43] local.INFO: TCP Data received {"connection_id":109258,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:48:43] local.INFO: Processing buffer {"connection_id":109258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:48:43] local.INFO: IMEI packet received {"connection_id":109258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":109258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:48:53] local.INFO: TCP Data received {"connection_id":108654,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:48:53] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:48:53] local.INFO: IMEI packet received {"connection_id":108654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":108654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:48:58] local.INFO: TCP Data received {"connection_id":108654,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:48:58] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:48:58] local.INFO: IMEI packet received {"connection_id":108654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":108654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:49:00] local.INFO: TCP Data received {"connection_id":108654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:00] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:00] local.INFO: Packet analysis {"connection_id":108654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:49:00] local.INFO: Extracted packet for processing {"connection_id":108654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:49:00] 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-06-21 04:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:49:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:49:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":108654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:49:00] local.INFO: GPS data processed {"connection_id":108654,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:49:00] local.INFO: Acknowledgment sent {"connection_id":108654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:49:14] local.INFO: TCP Data received {"connection_id":110206,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:49:14] local.INFO: Processing buffer {"connection_id":110206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:49:14] local.INFO: IMEI packet received {"connection_id":110206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":110206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:49:32] local.INFO: TCP Data received {"connection_id":108654,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:32] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:32] local.INFO: Packet analysis {"connection_id":108654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:49:32] local.INFO: Extracted packet for processing {"connection_id":108654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:49:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:49:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:49:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":108654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:49:32] local.INFO: GPS data processed {"connection_id":108654,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:49:32] local.INFO: Acknowledgment sent {"connection_id":108654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:49:52] local.INFO: TCP Data received {"connection_id":110207,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:49:52] local.INFO: Processing buffer {"connection_id":110207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:49:52] local.INFO: IMEI packet received {"connection_id":110207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":110207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:49:58] local.INFO: TCP Data received {"connection_id":110207,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:49:58] local.INFO: Processing buffer {"connection_id":110207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:49:58] local.INFO: IMEI packet received {"connection_id":110207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":110207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:49:59] local.INFO: TCP Data received {"connection_id":110207,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:59] local.INFO: Processing buffer {"connection_id":110207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:49:59] local.INFO: Packet analysis {"connection_id":110207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:49:59] local.INFO: Extracted packet for processing {"connection_id":110207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:49:59] 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-06-21 04:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:49:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:49:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":110207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:49:59] local.INFO: GPS data processed {"connection_id":110207,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:49:59] local.INFO: Acknowledgment sent {"connection_id":110207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:50:30] local.INFO: TCP Data received {"connection_id":110207,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:50:30] local.INFO: Processing buffer {"connection_id":110207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:50:30] local.INFO: Packet analysis {"connection_id":110207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:50:30] local.INFO: Extracted packet for processing {"connection_id":110207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:50:30] 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-06-21 04:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:50:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:50:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":110207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:50:30] local.INFO: GPS data processed {"connection_id":110207,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:50:30] local.INFO: Acknowledgment sent {"connection_id":110207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:50:52] local.INFO: TCP Data received {"connection_id":108655,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:50:52] local.INFO: Processing buffer {"connection_id":108655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:50:52] local.INFO: IMEI packet received {"connection_id":108655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":108655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:50:58] local.INFO: TCP Data received {"connection_id":108655,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:50:58] local.INFO: Processing buffer {"connection_id":108655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:50:58] local.INFO: IMEI packet received {"connection_id":108655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":108655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:50:59] local.INFO: TCP Data received {"connection_id":108655,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:50:59] local.INFO: Processing buffer {"connection_id":108655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:50:59] local.INFO: Packet analysis {"connection_id":108655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:50:59] local.INFO: Extracted packet for processing {"connection_id":108655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04: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-06-21 04:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04: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-06-21 04:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:50:59] 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-06-21 04:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:50:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:50:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":108655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:50:59] local.INFO: GPS data processed {"connection_id":108655,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:50:59] local.INFO: Acknowledgment sent {"connection_id":108655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:51:31] local.INFO: TCP Data received {"connection_id":108655,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:51:31] local.INFO: Processing buffer {"connection_id":108655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:51:31] local.INFO: Packet analysis {"connection_id":108655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:51:31] local.INFO: Extracted packet for processing {"connection_id":108655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":108655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:51:31] local.INFO: GPS data processed {"connection_id":108655,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:51:31] local.INFO: Acknowledgment sent {"connection_id":108655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:51:58] local.INFO: TCP Data received {"connection_id":110209,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:51:58] local.INFO: Processing buffer {"connection_id":110209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:51:58] local.INFO: IMEI packet received {"connection_id":110209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":110209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:52:03] local.INFO: TCP Data received {"connection_id":110209,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:03] local.INFO: Processing buffer {"connection_id":110209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:03] local.INFO: IMEI packet received {"connection_id":110209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":110209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:52:04] local.INFO: TCP Data received {"connection_id":110209,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:52:04] local.INFO: Processing buffer {"connection_id":110209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:52:04] local.INFO: Packet analysis {"connection_id":110209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:52:04] local.INFO: Extracted packet for processing {"connection_id":110209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:52: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-06-21 04:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":110209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:52:04] local.INFO: GPS data processed {"connection_id":110209,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:52:04] local.INFO: Acknowledgment sent {"connection_id":110209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:52:35] local.INFO: TCP Data received {"connection_id":110209,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:52:35] local.INFO: Processing buffer {"connection_id":110209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee752b610012d34c14006aa3d28000501172a..."} 
[2026-06-21 04:52:35] local.INFO: Packet analysis {"connection_id":110209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:52:35] local.INFO: Extracted packet for processing {"connection_id":110209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee752"} 
[2026-06-21 04:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781997418000,"timestamp_ms":1781997418000,"timestamp_seconds":1781997418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee752b610"} 
[2026-06-21 04:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:52: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-06-21 04:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191261952001,"66":25495,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191261952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":110209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:52:35] local.INFO: GPS data processed {"connection_id":110209,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:52:35] local.INFO: Acknowledgment sent {"connection_id":110209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:52:52] local.INFO: TCP Data received {"connection_id":108656,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:52] local.INFO: Processing buffer {"connection_id":108656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:52] local.INFO: IMEI packet received {"connection_id":108656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":108656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:52:58] local.INFO: TCP Data received {"connection_id":108656,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:58] local.INFO: Processing buffer {"connection_id":108656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:52:58] local.INFO: IMEI packet received {"connection_id":108656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":108656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:52:59] local.INFO: TCP Data received {"connection_id":108656,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:52:59] local.INFO: Processing buffer {"connection_id":108656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:52:59] local.INFO: Packet analysis {"connection_id":108656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:52:59] local.INFO: Extracted packet for processing {"connection_id":108656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:52:59] 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-06-21 04:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:52:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:52:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":108656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:52:59] local.INFO: GPS data processed {"connection_id":108656,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:52:59] local.INFO: Acknowledgment sent {"connection_id":108656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:53:31] local.INFO: TCP Data received {"connection_id":108656,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:53:31] local.INFO: Processing buffer {"connection_id":108656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:53:31] local.INFO: Packet analysis {"connection_id":108656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:53:31] local.INFO: Extracted packet for processing {"connection_id":108656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":108656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:53:32] local.INFO: GPS data processed {"connection_id":108656,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:53:32] local.INFO: Acknowledgment sent {"connection_id":108656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:53:52] local.INFO: TCP Data received {"connection_id":109260,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:53:52] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:53:52] local.INFO: IMEI packet received {"connection_id":109260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":109260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:53:58] local.INFO: TCP Data received {"connection_id":109260,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:53:58] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:53:58] local.INFO: IMEI packet received {"connection_id":109260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":109260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:53:59] local.INFO: TCP Data received {"connection_id":109260,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:53:59] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:53:59] local.INFO: Packet analysis {"connection_id":109260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:53:59] local.INFO: Extracted packet for processing {"connection_id":109260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:53:59] 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-06-21 04:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:53:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":109260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:53:59] local.INFO: GPS data processed {"connection_id":109260,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:53:59] local.INFO: Acknowledgment sent {"connection_id":109260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:54:30] local.INFO: TCP Data received {"connection_id":109260,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:54:30] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:54:30] local.INFO: Packet analysis {"connection_id":109260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:54:30] local.INFO: Extracted packet for processing {"connection_id":109260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:54:30] 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-06-21 04:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:54:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:54:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":109260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:54:30] local.INFO: GPS data processed {"connection_id":109260,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:54:30] local.INFO: Acknowledgment sent {"connection_id":109260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:54:43] local.INFO: TCP Data received {"connection_id":110210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:54:43] local.INFO: Processing buffer {"connection_id":110210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:54:43] local.INFO: IMEI packet received {"connection_id":110210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":110210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:54:58] local.INFO: TCP Data received {"connection_id":108477,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:54:58] local.INFO: Processing buffer {"connection_id":108477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:54:58] local.INFO: IMEI packet received {"connection_id":108477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":108477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:55:03] local.INFO: TCP Data received {"connection_id":108477,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:03] local.INFO: Processing buffer {"connection_id":108477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:03] local.INFO: IMEI packet received {"connection_id":108477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":108477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:55:05] local.INFO: TCP Data received {"connection_id":108477,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:05] local.INFO: Processing buffer {"connection_id":108477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:05] local.INFO: Packet analysis {"connection_id":108477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:55:05] local.INFO: Extracted packet for processing {"connection_id":108477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:55: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-06-21 04:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":108477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:55:05] local.INFO: GPS data processed {"connection_id":108477,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:55:05] local.INFO: Acknowledgment sent {"connection_id":108477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:55:08] local.INFO: TCP Data received {"connection_id":108477,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:08] local.INFO: Processing buffer {"connection_id":108477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:08] local.INFO: Packet analysis {"connection_id":108477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:55:08] local.INFO: Extracted packet for processing {"connection_id":108477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:55: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-06-21 04:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":108477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:55:08] local.INFO: GPS data processed {"connection_id":108477,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:55:08] local.INFO: Acknowledgment sent {"connection_id":108477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:55:13] local.INFO: TCP Data received {"connection_id":109261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:55:13] local.INFO: Processing buffer {"connection_id":109261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 04:55:13] local.INFO: IMEI packet received {"connection_id":109261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 04:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":109261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:55:53] local.INFO: TCP Data received {"connection_id":109262,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:53] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:53] local.INFO: IMEI packet received {"connection_id":109262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":109262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:55:58] local.INFO: TCP Data received {"connection_id":109262,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:58] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:55:58] local.INFO: IMEI packet received {"connection_id":109262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":109262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:55:59] local.INFO: TCP Data received {"connection_id":109262,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:59] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:55:59] local.INFO: Packet analysis {"connection_id":109262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:55:59] local.INFO: Extracted packet for processing {"connection_id":109262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:55:59] 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-06-21 04:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:55:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:55:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":109262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:55:59] local.INFO: GPS data processed {"connection_id":109262,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:55:59] local.INFO: Acknowledgment sent {"connection_id":109262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:56:30] local.INFO: TCP Data received {"connection_id":109262,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:56:30] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:56:30] local.INFO: Packet analysis {"connection_id":109262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:56:30] local.INFO: Extracted packet for processing {"connection_id":109262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:56:30] 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-06-21 04:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:56:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:56:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":109262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:56:30] local.INFO: GPS data processed {"connection_id":109262,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:56:30] local.INFO: Acknowledgment sent {"connection_id":109262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:56:52] local.INFO: TCP Data received {"connection_id":110212,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:56:52] local.INFO: Processing buffer {"connection_id":110212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:56:52] local.INFO: IMEI packet received {"connection_id":110212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":110212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:56:58] local.INFO: TCP Data received {"connection_id":110212,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:56:58] local.INFO: Processing buffer {"connection_id":110212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:56:58] local.INFO: IMEI packet received {"connection_id":110212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":110212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:56:59] local.INFO: TCP Data received {"connection_id":110212,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:56:59] local.INFO: Processing buffer {"connection_id":110212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:56:59] local.INFO: Packet analysis {"connection_id":110212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:56:59] local.INFO: Extracted packet for processing {"connection_id":110212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:56:59] 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-06-21 04:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:56:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":110212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:56:59] local.INFO: GPS data processed {"connection_id":110212,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:56:59] local.INFO: Acknowledgment sent {"connection_id":110212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:57:31] local.INFO: TCP Data received {"connection_id":110212,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:57:31] local.INFO: Processing buffer {"connection_id":110212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7574dd8012d34c14006aa3d280003011729..."} 
[2026-06-21 04:57:31] local.INFO: Packet analysis {"connection_id":110212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:57:31] local.INFO: Extracted packet for processing {"connection_id":110212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee757"} 
[2026-06-21 04:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191339008001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781997719000,"timestamp_ms":1781997719000,"timestamp_seconds":1781997719,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7574dd8"} 
[2026-06-21 04:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 04:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191339008001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191339008001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191339008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":110212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:57:31] local.INFO: GPS data processed {"connection_id":110212,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:57:31] local.INFO: Acknowledgment sent {"connection_id":110212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:57:52] local.INFO: TCP Data received {"connection_id":108657,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:57:52] local.INFO: Processing buffer {"connection_id":108657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:57:52] local.INFO: IMEI packet received {"connection_id":108657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":108657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:57:58] local.INFO: TCP Data received {"connection_id":108657,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:57:58] local.INFO: Processing buffer {"connection_id":108657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:57:58] local.INFO: IMEI packet received {"connection_id":108657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":108657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:57:59] local.INFO: TCP Data received {"connection_id":108657,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:57:59] local.INFO: Processing buffer {"connection_id":108657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:57:59] local.INFO: Packet analysis {"connection_id":108657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:57:59] local.INFO: Extracted packet for processing {"connection_id":108657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 04:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 04:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:57:59] 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-06-21 04:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":108657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:57:59] local.INFO: GPS data processed {"connection_id":108657,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:57:59] local.INFO: Acknowledgment sent {"connection_id":108657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:58:31] local.INFO: TCP Data received {"connection_id":108657,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:58:31] local.INFO: Processing buffer {"connection_id":108657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:58:31] local.INFO: Packet analysis {"connection_id":108657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:58:31] local.INFO: Extracted packet for processing {"connection_id":108657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 04:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 04:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":108657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:58:31] local.INFO: GPS data processed {"connection_id":108657,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:58:31] local.INFO: Acknowledgment sent {"connection_id":108657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:58:52] local.INFO: TCP Data received {"connection_id":108480,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:58:52] local.INFO: Processing buffer {"connection_id":108480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:58:52] local.INFO: IMEI packet received {"connection_id":108480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":108480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 04:58:58] local.INFO: TCP Data received {"connection_id":108480,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:58:58] local.INFO: Processing buffer {"connection_id":108480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:58:58] local.INFO: IMEI packet received {"connection_id":108480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 04:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":108480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 04:59:00] local.INFO: TCP Data received {"connection_id":108480,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:59:00] local.INFO: Processing buffer {"connection_id":108480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:59:00] local.INFO: Packet analysis {"connection_id":108480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:59:00] local.INFO: Extracted packet for processing {"connection_id":108480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 04:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 04:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:59:00] 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-06-21 04:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:59:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:59:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":108480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:59:00] local.INFO: GPS data processed {"connection_id":108480,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:59:00] local.INFO: Acknowledgment sent {"connection_id":108480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:59:31] local.INFO: TCP Data received {"connection_id":108480,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:59:31] local.INFO: Processing buffer {"connection_id":108480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 04:59:31] local.INFO: Packet analysis {"connection_id":108480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:59:31] local.INFO: Extracted packet for processing {"connection_id":108480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 04:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 04:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 04:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 04:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 04:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 04:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 04:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 04:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 04:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 04:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 04:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 04:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 04:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 04:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 04:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 04:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 04:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 04:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 04:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 04:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 04:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 04:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 04:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 04:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 04:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 04:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 04:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 04:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 04:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":108480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 04:59:31] local.INFO: GPS data processed {"connection_id":108480,"processed":1,"errors":0,"total":1} 
[2026-06-21 04:59:31] local.INFO: Acknowledgment sent {"connection_id":108480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 04:59:58] local.INFO: TCP Data received {"connection_id":109263,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:59:58] local.INFO: Processing buffer {"connection_id":109263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 04:59:58] local.INFO: IMEI packet received {"connection_id":109263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 04:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":109263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:00:03] local.INFO: TCP Data received {"connection_id":109263,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:03] local.INFO: Processing buffer {"connection_id":109263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:03] local.INFO: IMEI packet received {"connection_id":109263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":109263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:00:04] local.INFO: TCP Data received {"connection_id":109263,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:04] local.INFO: Processing buffer {"connection_id":109263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:04] local.INFO: Packet analysis {"connection_id":109263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:00:04] local.INFO: Extracted packet for processing {"connection_id":109263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 05:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 05:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":109263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:00:04] local.INFO: GPS data processed {"connection_id":109263,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:00:04] local.INFO: Acknowledgment sent {"connection_id":109263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:00:08] local.INFO: TCP Data received {"connection_id":109263,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:08] local.INFO: Processing buffer {"connection_id":109263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:08] local.INFO: Packet analysis {"connection_id":109263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:00:08] local.INFO: Extracted packet for processing {"connection_id":109263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00: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-06-21 05:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 05:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 05:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":109263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:00:08] local.INFO: GPS data processed {"connection_id":109263,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:00:08] local.INFO: Acknowledgment sent {"connection_id":109263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:00:28] local.INFO: TCP Data received {"connection_id":109264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:00:28] local.INFO: Processing buffer {"connection_id":109264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:00:28] local.INFO: IMEI packet received {"connection_id":109264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":109264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:00:53] local.INFO: TCP Data received {"connection_id":108658,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:53] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:53] local.INFO: IMEI packet received {"connection_id":108658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":108658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:00:58] local.INFO: TCP Data received {"connection_id":108658,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:58] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:00:58] local.INFO: IMEI packet received {"connection_id":108658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":108658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:00:59] local.INFO: TCP Data received {"connection_id":108658,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:59] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:00:59] local.INFO: Packet analysis {"connection_id":108658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:00:59] local.INFO: Extracted packet for processing {"connection_id":108658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 05:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 05:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:00:59] 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-06-21 05:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:00:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":108658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:00:59] local.INFO: GPS data processed {"connection_id":108658,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:00:59] local.INFO: Acknowledgment sent {"connection_id":108658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:01:13] local.INFO: TCP Data received {"connection_id":109265,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:01:13] local.INFO: Processing buffer {"connection_id":109265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:01:13] local.INFO: IMEI packet received {"connection_id":109265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":109265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:01:31] local.INFO: TCP Data received {"connection_id":108658,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:01:31] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:01:31] local.INFO: Packet analysis {"connection_id":108658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:01:31] local.INFO: Extracted packet for processing {"connection_id":108658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 05:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 05:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:01:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:01:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":108658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:01:31] local.INFO: GPS data processed {"connection_id":108658,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:01:31] local.INFO: Acknowledgment sent {"connection_id":108658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:01:53] local.INFO: TCP Data received {"connection_id":108660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:01:53] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:01:53] local.INFO: IMEI packet received {"connection_id":108660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":108660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:01:58] local.INFO: TCP Data received {"connection_id":108660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:01:58] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:01:58] local.INFO: IMEI packet received {"connection_id":108660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":108660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:01:59] local.INFO: TCP Data received {"connection_id":108660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:01:59] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:01:59] local.INFO: Packet analysis {"connection_id":108660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:01:59] local.INFO: Extracted packet for processing {"connection_id":108660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 05:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 05:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:01:59] 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-06-21 05:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":108660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:01:59] local.INFO: GPS data processed {"connection_id":108660,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:01:59] local.INFO: Acknowledgment sent {"connection_id":108660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:02:31] local.INFO: TCP Data received {"connection_id":108660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:02:31] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75be5a0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:02:31] local.INFO: Packet analysis {"connection_id":108660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:02:31] local.INFO: Extracted packet for processing {"connection_id":108660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75b"} 
[2026-06-21 05:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191416064001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998020000,"timestamp_ms":1781998020000,"timestamp_seconds":1781998020,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75be5a0"} 
[2026-06-21 05:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 05:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191416064001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191416064001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191416064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":108660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:02:31] local.INFO: GPS data processed {"connection_id":108660,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:02:31] local.INFO: Acknowledgment sent {"connection_id":108660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:02:54] local.INFO: TCP Data received {"connection_id":110213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:02:54] local.INFO: Processing buffer {"connection_id":110213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:02:54] local.INFO: IMEI packet received {"connection_id":110213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":110213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:02:57] local.INFO: TCP Data received {"connection_id":110213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:02:57] local.INFO: Processing buffer {"connection_id":110213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:02:57] local.INFO: IMEI packet received {"connection_id":110213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":110213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:02:59] local.INFO: TCP Data received {"connection_id":110213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:02:59] local.INFO: Processing buffer {"connection_id":110213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:02:59] local.INFO: Packet analysis {"connection_id":110213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:02:59] local.INFO: Extracted packet for processing {"connection_id":110213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:02:59] 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-06-21 05:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:02:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":110213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:02:59] local.INFO: GPS data processed {"connection_id":110213,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:02:59] local.INFO: Acknowledgment sent {"connection_id":110213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:03:31] local.INFO: TCP Data received {"connection_id":110213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:03:31] local.INFO: Processing buffer {"connection_id":110213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:03:31] local.INFO: Packet analysis {"connection_id":110213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:03:31] local.INFO: Extracted packet for processing {"connection_id":110213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":110213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:03:31] local.INFO: GPS data processed {"connection_id":110213,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:03:31] local.INFO: Acknowledgment sent {"connection_id":110213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:03:58] local.INFO: TCP Data received {"connection_id":109266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:03:58] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:03:58] local.INFO: IMEI packet received {"connection_id":109266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":109266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:04:03] local.INFO: TCP Data received {"connection_id":109266,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:03] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:03] local.INFO: IMEI packet received {"connection_id":109266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":109266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:04:04] local.INFO: TCP Data received {"connection_id":109266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:04] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:04] local.INFO: Packet analysis {"connection_id":109266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:04:04] local.INFO: Extracted packet for processing {"connection_id":109266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":109266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:04:04] local.INFO: GPS data processed {"connection_id":109266,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:04:04] local.INFO: Acknowledgment sent {"connection_id":109266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:04:08] local.INFO: TCP Data received {"connection_id":109266,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:08] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:08] local.INFO: Packet analysis {"connection_id":109266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:04:08] local.INFO: Extracted packet for processing {"connection_id":109266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:04:08] 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-06-21 05:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":109266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:04:08] local.INFO: GPS data processed {"connection_id":109266,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:04:08] local.INFO: Acknowledgment sent {"connection_id":109266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:04:53] local.INFO: TCP Data received {"connection_id":110214,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:53] local.INFO: Processing buffer {"connection_id":110214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:53] local.INFO: IMEI packet received {"connection_id":110214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":110214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:04:58] local.INFO: TCP Data received {"connection_id":110214,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:58] local.INFO: Processing buffer {"connection_id":110214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:04:58] local.INFO: IMEI packet received {"connection_id":110214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":110214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:04:59] local.INFO: TCP Data received {"connection_id":110214,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:59] local.INFO: Processing buffer {"connection_id":110214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:04:59] local.INFO: Packet analysis {"connection_id":110214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:04:59] local.INFO: Extracted packet for processing {"connection_id":110214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:04:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":110214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:04:59] local.INFO: GPS data processed {"connection_id":110214,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:04:59] local.INFO: Acknowledgment sent {"connection_id":110214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:05:31] local.INFO: TCP Data received {"connection_id":110214,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:05:31] local.INFO: Processing buffer {"connection_id":110214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:05:31] local.INFO: Packet analysis {"connection_id":110214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:05:31] local.INFO: Extracted packet for processing {"connection_id":110214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":110214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:05:31] local.INFO: GPS data processed {"connection_id":110214,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:05:31] local.INFO: Acknowledgment sent {"connection_id":110214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:05:53] local.INFO: TCP Data received {"connection_id":110215,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:05:53] local.INFO: Processing buffer {"connection_id":110215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:05:53] local.INFO: IMEI packet received {"connection_id":110215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":110215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:05:58] local.INFO: TCP Data received {"connection_id":110215,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:05:58] local.INFO: Processing buffer {"connection_id":110215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:05:58] local.INFO: IMEI packet received {"connection_id":110215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":110215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:05:59] local.INFO: TCP Data received {"connection_id":110215,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:05:59] local.INFO: Processing buffer {"connection_id":110215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:05:59] local.INFO: Packet analysis {"connection_id":110215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:05:59] local.INFO: Extracted packet for processing {"connection_id":110215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:05:59] 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-06-21 05:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:05:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:05:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":110215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:05:59] local.INFO: GPS data processed {"connection_id":110215,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:05:59] local.INFO: Acknowledgment sent {"connection_id":110215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:06:30] local.INFO: TCP Data received {"connection_id":110215,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:06:30] local.INFO: Processing buffer {"connection_id":110215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:06:30] local.INFO: Packet analysis {"connection_id":110215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:06:30] local.INFO: Extracted packet for processing {"connection_id":110215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:06:30] 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-06-21 05:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:06:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":110215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:06:30] local.INFO: GPS data processed {"connection_id":110215,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:06:30] local.INFO: Acknowledgment sent {"connection_id":110215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:06:33] local.INFO: TCP Data received {"connection_id":110216,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:06:33] local.INFO: Processing buffer {"connection_id":110216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:06:33] local.INFO: IMEI packet received {"connection_id":110216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":110216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:06:53] local.INFO: TCP Data received {"connection_id":109268,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:06:53] local.INFO: Processing buffer {"connection_id":109268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:06:53] local.INFO: IMEI packet received {"connection_id":109268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":109268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:06:58] local.INFO: TCP Data received {"connection_id":109268,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:06:58] local.INFO: Processing buffer {"connection_id":109268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:06:58] local.INFO: IMEI packet received {"connection_id":109268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":109268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:06:59] local.INFO: TCP Data received {"connection_id":109268,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:06:59] local.INFO: Processing buffer {"connection_id":109268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:06:59] local.INFO: Packet analysis {"connection_id":109268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:06:59] local.INFO: Extracted packet for processing {"connection_id":109268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:06:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:06:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":109268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:06:59] local.INFO: GPS data processed {"connection_id":109268,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:06:59] local.INFO: Acknowledgment sent {"connection_id":109268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:07:14] local.INFO: TCP Data received {"connection_id":108663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:07:14] local.INFO: Processing buffer {"connection_id":108663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:07:14] local.INFO: IMEI packet received {"connection_id":108663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":108663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:07:31] local.INFO: TCP Data received {"connection_id":109268,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:07:31] local.INFO: Processing buffer {"connection_id":109268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7607d68012d34c14006aa3d28000001172a..."} 
[2026-06-21 05:07:31] local.INFO: Packet analysis {"connection_id":109268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:07:31] local.INFO: Extracted packet for processing {"connection_id":109268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee760"} 
[2026-06-21 05:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":0,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191493120001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998321000,"timestamp_ms":1781998321000,"timestamp_seconds":1781998321,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7607d68"} 
[2026-06-21 05:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191493120001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191493120001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191493120001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":109268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:07:31] local.INFO: GPS data processed {"connection_id":109268,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:07:31] local.INFO: Acknowledgment sent {"connection_id":109268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:07:52] local.INFO: TCP Data received {"connection_id":108483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:07:52] local.INFO: Processing buffer {"connection_id":108483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:07:52] local.INFO: IMEI packet received {"connection_id":108483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":108483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:07:58] local.INFO: TCP Data received {"connection_id":108483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:07:58] local.INFO: Processing buffer {"connection_id":108483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:07:58] local.INFO: IMEI packet received {"connection_id":108483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":108483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:07:59] local.INFO: TCP Data received {"connection_id":108483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:07:59] local.INFO: Processing buffer {"connection_id":108483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:07:59] local.INFO: Packet analysis {"connection_id":108483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:07:59] local.INFO: Extracted packet for processing {"connection_id":108483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:07:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":108483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:07:59] local.INFO: GPS data processed {"connection_id":108483,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:07:59] local.INFO: Acknowledgment sent {"connection_id":108483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:08:30] local.INFO: TCP Data received {"connection_id":108483,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:08:30] local.INFO: Processing buffer {"connection_id":108483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:08:30] local.INFO: Packet analysis {"connection_id":108483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:08:30] local.INFO: Extracted packet for processing {"connection_id":108483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:08:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":108483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:08:30] local.INFO: GPS data processed {"connection_id":108483,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:08:30] local.INFO: Acknowledgment sent {"connection_id":108483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:08:58] local.INFO: TCP Data received {"connection_id":109269,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:08:58] local.INFO: Processing buffer {"connection_id":109269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:08:58] local.INFO: IMEI packet received {"connection_id":109269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":109269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:09:03] local.INFO: TCP Data received {"connection_id":109269,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:03] local.INFO: Processing buffer {"connection_id":109269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:03] local.INFO: IMEI packet received {"connection_id":109269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":109269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:09:04] local.INFO: TCP Data received {"connection_id":109269,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:04] local.INFO: Processing buffer {"connection_id":109269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:04] local.INFO: Packet analysis {"connection_id":109269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:09:04] local.INFO: Extracted packet for processing {"connection_id":109269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":109269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:09:04] local.INFO: GPS data processed {"connection_id":109269,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:09:04] local.INFO: Acknowledgment sent {"connection_id":109269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:09:09] local.INFO: TCP Data received {"connection_id":109269,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:09] local.INFO: Processing buffer {"connection_id":109269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:09] local.INFO: Packet analysis {"connection_id":109269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:09:09] local.INFO: Extracted packet for processing {"connection_id":109269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09: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-06-21 05:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:09:09] 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-06-21 05:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":109269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:09:09] local.INFO: GPS data processed {"connection_id":109269,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:09:09] local.INFO: Acknowledgment sent {"connection_id":109269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:09:53] local.INFO: TCP Data received {"connection_id":109270,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:53] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:53] local.INFO: IMEI packet received {"connection_id":109270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":109270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:09:58] local.INFO: TCP Data received {"connection_id":109270,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:58] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:09:58] local.INFO: IMEI packet received {"connection_id":109270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":109270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:09:59] local.INFO: TCP Data received {"connection_id":109270,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:59] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:09:59] local.INFO: Packet analysis {"connection_id":109270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:09:59] local.INFO: Extracted packet for processing {"connection_id":109270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:09:59] 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-06-21 05:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:09:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":109270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:09:59] local.INFO: GPS data processed {"connection_id":109270,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:09:59] local.INFO: Acknowledgment sent {"connection_id":109270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:10:30] local.INFO: TCP Data received {"connection_id":109270,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:10:30] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:10:30] local.INFO: Packet analysis {"connection_id":109270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:10:30] local.INFO: Extracted packet for processing {"connection_id":109270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:10:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:10:30] 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-06-21 05:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:10:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:10:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":109270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:10:30] local.INFO: GPS data processed {"connection_id":109270,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:10:30] local.INFO: Acknowledgment sent {"connection_id":109270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:10:54] local.INFO: TCP Data received {"connection_id":108664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:10:54] local.INFO: Processing buffer {"connection_id":108664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:10:54] local.INFO: IMEI packet received {"connection_id":108664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":108664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:10:58] local.INFO: TCP Data received {"connection_id":108664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:10:58] local.INFO: Processing buffer {"connection_id":108664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:10:58] local.INFO: IMEI packet received {"connection_id":108664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":108664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:10:59] local.INFO: TCP Data received {"connection_id":108664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:10:59] local.INFO: Processing buffer {"connection_id":108664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:10:59] local.INFO: Packet analysis {"connection_id":108664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:10:59] local.INFO: Extracted packet for processing {"connection_id":108664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:10:59] 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-06-21 05:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":108664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:10:59] local.INFO: GPS data processed {"connection_id":108664,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:10:59] local.INFO: Acknowledgment sent {"connection_id":108664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:11:30] local.INFO: TCP Data received {"connection_id":108664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:11:30] local.INFO: Processing buffer {"connection_id":108664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:11:30] local.INFO: Packet analysis {"connection_id":108664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:11:30] local.INFO: Extracted packet for processing {"connection_id":108664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:11:30] 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-06-21 05:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:11:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:11:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":108664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:11:30] local.INFO: GPS data processed {"connection_id":108664,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:11:30] local.INFO: Acknowledgment sent {"connection_id":108664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:11:53] local.INFO: TCP Data received {"connection_id":108486,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:11:53] local.INFO: Processing buffer {"connection_id":108486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:11:53] local.INFO: IMEI packet received {"connection_id":108486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":108486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:11:58] local.INFO: TCP Data received {"connection_id":108486,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:11:58] local.INFO: Processing buffer {"connection_id":108486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:11:58] local.INFO: IMEI packet received {"connection_id":108486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":108486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:11:59] local.INFO: TCP Data received {"connection_id":108486,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:11:59] local.INFO: Processing buffer {"connection_id":108486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:11:59] local.INFO: Packet analysis {"connection_id":108486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:11:59] local.INFO: Extracted packet for processing {"connection_id":108486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:11:59] 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-06-21 05:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":108486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:11:59] local.INFO: GPS data processed {"connection_id":108486,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:11:59] local.INFO: Acknowledgment sent {"connection_id":108486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:12:31] local.INFO: TCP Data received {"connection_id":108486,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:12:31] local.INFO: Processing buffer {"connection_id":108486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7651530012d34c14006aa3d28000701172a..."} 
[2026-06-21 05:12:31] local.INFO: Packet analysis {"connection_id":108486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:12:31] local.INFO: Extracted packet for processing {"connection_id":108486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee765"} 
[2026-06-21 05:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191570176001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998622000,"timestamp_ms":1781998622000,"timestamp_seconds":1781998622,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7651530"} 
[2026-06-21 05:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191570176001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191570176001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191570176001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":108486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:12:31] local.INFO: GPS data processed {"connection_id":108486,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:12:31] local.INFO: Acknowledgment sent {"connection_id":108486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:12:43] local.INFO: TCP Data received {"connection_id":108665,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:12:43] local.INFO: Processing buffer {"connection_id":108665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:12:43] local.INFO: IMEI packet received {"connection_id":108665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":108665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:12:52] local.INFO: TCP Data received {"connection_id":110219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:12:52] local.INFO: Processing buffer {"connection_id":110219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:12:52] local.INFO: IMEI packet received {"connection_id":110219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":110219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:12:57] local.INFO: TCP Data received {"connection_id":110219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:12:57] local.INFO: Processing buffer {"connection_id":110219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:12:57] local.INFO: IMEI packet received {"connection_id":110219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":110219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:12:58] local.INFO: TCP Data received {"connection_id":110219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:12:58] local.INFO: Processing buffer {"connection_id":110219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:12:58] local.INFO: Packet analysis {"connection_id":110219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:12:58] local.INFO: Extracted packet for processing {"connection_id":110219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:12:58] 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-06-21 05:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:12:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":110219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:12:58] local.INFO: GPS data processed {"connection_id":110219,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:12:58] local.INFO: Acknowledgment sent {"connection_id":110219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:13:14] local.INFO: TCP Data received {"connection_id":108666,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:13:14] local.INFO: Processing buffer {"connection_id":108666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:13:14] local.INFO: IMEI packet received {"connection_id":108666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":108666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:13:30] local.INFO: TCP Data received {"connection_id":110219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:13:30] local.INFO: Processing buffer {"connection_id":110219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:13:30] local.INFO: Packet analysis {"connection_id":110219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:13:30] local.INFO: Extracted packet for processing {"connection_id":110219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:13:30] 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-06-21 05:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:13:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":110219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:13:30] local.INFO: GPS data processed {"connection_id":110219,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:13:30] local.INFO: Acknowledgment sent {"connection_id":110219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:13:53] local.INFO: TCP Data received {"connection_id":109271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:13:53] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:13:53] local.INFO: IMEI packet received {"connection_id":109271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":109271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:13:58] local.INFO: TCP Data received {"connection_id":109271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:13:58] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:13:58] local.INFO: IMEI packet received {"connection_id":109271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":109271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:13:59] local.INFO: TCP Data received {"connection_id":109271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:13:59] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:13:59] local.INFO: Packet analysis {"connection_id":109271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:13:59] local.INFO: Extracted packet for processing {"connection_id":109271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:13:59] 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-06-21 05:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":109271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:13:59] local.INFO: GPS data processed {"connection_id":109271,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:13:59] local.INFO: Acknowledgment sent {"connection_id":109271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:14:30] local.INFO: TCP Data received {"connection_id":109271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:14:30] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:14:30] local.INFO: Packet analysis {"connection_id":109271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:14:30] local.INFO: Extracted packet for processing {"connection_id":109271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:14:30] 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-06-21 05:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:14:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":109271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:14:30] local.INFO: GPS data processed {"connection_id":109271,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:14:30] local.INFO: Acknowledgment sent {"connection_id":109271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:14:53] local.INFO: TCP Data received {"connection_id":110220,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:14:53] local.INFO: Processing buffer {"connection_id":110220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:14:53] local.INFO: IMEI packet received {"connection_id":110220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":110220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:14:58] local.INFO: TCP Data received {"connection_id":110220,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:14:58] local.INFO: Processing buffer {"connection_id":110220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:14:58] local.INFO: IMEI packet received {"connection_id":110220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":110220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:15:00] local.INFO: TCP Data received {"connection_id":110220,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:00] local.INFO: Processing buffer {"connection_id":110220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:00] local.INFO: Packet analysis {"connection_id":110220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:15:00] local.INFO: Extracted packet for processing {"connection_id":110220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:15:00] 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-06-21 05:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:15:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:15:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":110220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:15:00] local.INFO: GPS data processed {"connection_id":110220,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:15:00] local.INFO: Acknowledgment sent {"connection_id":110220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:15:32] local.INFO: TCP Data received {"connection_id":110220,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:32] local.INFO: Processing buffer {"connection_id":110220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:32] local.INFO: Packet analysis {"connection_id":110220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:15:32] local.INFO: Extracted packet for processing {"connection_id":110220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":110220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:15:32] local.INFO: GPS data processed {"connection_id":110220,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:15:32] local.INFO: Acknowledgment sent {"connection_id":110220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:15:52] local.INFO: TCP Data received {"connection_id":108668,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:15:52] local.INFO: Processing buffer {"connection_id":108668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:15:52] local.INFO: IMEI packet received {"connection_id":108668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":108668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:15:58] local.INFO: TCP Data received {"connection_id":108668,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:15:58] local.INFO: Processing buffer {"connection_id":108668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:15:58] local.INFO: IMEI packet received {"connection_id":108668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":108668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:15:59] local.INFO: TCP Data received {"connection_id":108668,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:59] local.INFO: Processing buffer {"connection_id":108668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:15:59] local.INFO: Packet analysis {"connection_id":108668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:15:59] local.INFO: Extracted packet for processing {"connection_id":108668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:15:59] 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-06-21 05:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:16:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:16:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":108668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:16:00] local.INFO: GPS data processed {"connection_id":108668,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:16:00] local.INFO: Acknowledgment sent {"connection_id":108668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:16:31] local.INFO: TCP Data received {"connection_id":108668,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:16:31] local.INFO: Processing buffer {"connection_id":108668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:16:31] local.INFO: Packet analysis {"connection_id":108668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:16:31] local.INFO: Extracted packet for processing {"connection_id":108668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":108668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:16:31] local.INFO: GPS data processed {"connection_id":108668,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:16:31] local.INFO: Acknowledgment sent {"connection_id":108668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:16:52] local.INFO: TCP Data received {"connection_id":109274,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:16:52] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:16:52] local.INFO: IMEI packet received {"connection_id":109274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":109274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:16:58] local.INFO: TCP Data received {"connection_id":109274,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:16:58] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:16:58] local.INFO: IMEI packet received {"connection_id":109274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":109274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:16:59] local.INFO: TCP Data received {"connection_id":109274,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:16:59] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:16:59] local.INFO: Packet analysis {"connection_id":109274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:16:59] local.INFO: Extracted packet for processing {"connection_id":109274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:16:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:16:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":109274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:16:59] local.INFO: GPS data processed {"connection_id":109274,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:16:59] local.INFO: Acknowledgment sent {"connection_id":109274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:17:30] local.INFO: TCP Data received {"connection_id":109274,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:17:30] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee769acf8012d34c14006aa3d28000501172b..."} 
[2026-06-21 05:17:30] local.INFO: Packet analysis {"connection_id":109274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:17:30] local.INFO: Extracted packet for processing {"connection_id":109274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee769"} 
[2026-06-21 05:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191647232001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781998923000,"timestamp_ms":1781998923000,"timestamp_seconds":1781998923,"priority":1,"record_length":96,"hex_timestamp":"0000019ee769acf8"} 
[2026-06-21 05:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:17:30] 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-06-21 05:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191647232001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191647232001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:17:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:17:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191647232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":109274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:17:30] local.INFO: GPS data processed {"connection_id":109274,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:17:30] local.INFO: Acknowledgment sent {"connection_id":109274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:17:58] local.INFO: TCP Data received {"connection_id":108669,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:17:58] local.INFO: Processing buffer {"connection_id":108669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:17:58] local.INFO: IMEI packet received {"connection_id":108669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":108669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:18:03] local.INFO: TCP Data received {"connection_id":108669,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:03] local.INFO: Processing buffer {"connection_id":108669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:03] local.INFO: IMEI packet received {"connection_id":108669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":108669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:18:04] local.INFO: TCP Data received {"connection_id":108669,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:04] local.INFO: Processing buffer {"connection_id":108669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:04] local.INFO: Packet analysis {"connection_id":108669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:18:04] local.INFO: Extracted packet for processing {"connection_id":108669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":108669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:18:04] local.INFO: GPS data processed {"connection_id":108669,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:18:04] local.INFO: Acknowledgment sent {"connection_id":108669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:18:08] local.INFO: TCP Data received {"connection_id":108669,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:08] local.INFO: Processing buffer {"connection_id":108669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:08] local.INFO: Packet analysis {"connection_id":108669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:18:08] local.INFO: Extracted packet for processing {"connection_id":108669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18: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-06-21 05:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:18:08] 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-06-21 05:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":108669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:18:08] local.INFO: GPS data processed {"connection_id":108669,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:18:08] local.INFO: Acknowledgment sent {"connection_id":108669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:18:43] local.INFO: TCP Data received {"connection_id":108488,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:18:43] local.INFO: Processing buffer {"connection_id":108488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:18:43] local.INFO: IMEI packet received {"connection_id":108488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":108488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:18:53] local.INFO: TCP Data received {"connection_id":108489,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:53] local.INFO: Processing buffer {"connection_id":108489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:53] local.INFO: IMEI packet received {"connection_id":108489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":108489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:18:58] local.INFO: TCP Data received {"connection_id":108489,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:58] local.INFO: Processing buffer {"connection_id":108489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:18:58] local.INFO: IMEI packet received {"connection_id":108489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":108489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:18:59] local.INFO: TCP Data received {"connection_id":108489,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:59] local.INFO: Processing buffer {"connection_id":108489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:18:59] local.INFO: Packet analysis {"connection_id":108489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:18:59] local.INFO: Extracted packet for processing {"connection_id":108489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:18:59] 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-06-21 05:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:18:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:18:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":108489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:18:59] local.INFO: GPS data processed {"connection_id":108489,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:18:59] local.INFO: Acknowledgment sent {"connection_id":108489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:19:13] local.INFO: TCP Data received {"connection_id":110221,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:19:13] local.INFO: Processing buffer {"connection_id":110221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:19:13] local.INFO: IMEI packet received {"connection_id":110221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":110221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:19:30] local.INFO: TCP Data received {"connection_id":108489,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:19:30] local.INFO: Processing buffer {"connection_id":108489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:19:30] local.INFO: Packet analysis {"connection_id":108489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:19:30] local.INFO: Extracted packet for processing {"connection_id":108489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:19:30] 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-06-21 05:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:19:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":108489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:19:30] local.INFO: GPS data processed {"connection_id":108489,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:19:30] local.INFO: Acknowledgment sent {"connection_id":108489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:19:53] local.INFO: TCP Data received {"connection_id":109275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:19:53] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:19:53] local.INFO: IMEI packet received {"connection_id":109275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":109275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:19:58] local.INFO: TCP Data received {"connection_id":109275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:19:58] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:19:58] local.INFO: IMEI packet received {"connection_id":109275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":109275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:19:59] local.INFO: TCP Data received {"connection_id":109275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:19:59] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:19:59] local.INFO: Packet analysis {"connection_id":109275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:19:59] local.INFO: Extracted packet for processing {"connection_id":109275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:19:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":109275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:19:59] local.INFO: GPS data processed {"connection_id":109275,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:19:59] local.INFO: Acknowledgment sent {"connection_id":109275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:20:31] local.INFO: TCP Data received {"connection_id":109275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:20:31] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:20:31] local.INFO: Packet analysis {"connection_id":109275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:20:31] local.INFO: Extracted packet for processing {"connection_id":109275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":109275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:20:31] local.INFO: GPS data processed {"connection_id":109275,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:20:31] local.INFO: Acknowledgment sent {"connection_id":109275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:20:52] local.INFO: TCP Data received {"connection_id":108670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:20:52] local.INFO: Processing buffer {"connection_id":108670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:20:52] local.INFO: IMEI packet received {"connection_id":108670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":108670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:20:58] local.INFO: TCP Data received {"connection_id":108670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:20:58] local.INFO: Processing buffer {"connection_id":108670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:20:58] local.INFO: IMEI packet received {"connection_id":108670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":108670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:20:59] local.INFO: TCP Data received {"connection_id":108670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:20:59] local.INFO: Processing buffer {"connection_id":108670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:20:59] local.INFO: Packet analysis {"connection_id":108670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:20:59] local.INFO: Extracted packet for processing {"connection_id":108670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:20:59] 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-06-21 05:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:20:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:20:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":108670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:20:59] local.INFO: GPS data processed {"connection_id":108670,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:20:59] local.INFO: Acknowledgment sent {"connection_id":108670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:21:32] local.INFO: TCP Data received {"connection_id":108670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:21:32] local.INFO: Processing buffer {"connection_id":108670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:21:32] local.INFO: Packet analysis {"connection_id":108670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:21:32] local.INFO: Extracted packet for processing {"connection_id":108670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:21:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":108670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:21:32] local.INFO: GPS data processed {"connection_id":108670,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:21:32] local.INFO: Acknowledgment sent {"connection_id":108670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:21:52] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:21:52] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:21:52] local.INFO: IMEI packet received {"connection_id":110223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":110223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:21:58] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:21:58] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:21:58] local.INFO: IMEI packet received {"connection_id":110223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":110223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:21:59] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:21:59] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:21:59] local.INFO: Packet analysis {"connection_id":110223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:21:59] local.INFO: Extracted packet for processing {"connection_id":110223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:21:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:21:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":110223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:21:59] local.INFO: GPS data processed {"connection_id":110223,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:21:59] local.INFO: Acknowledgment sent {"connection_id":110223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:22:31] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:22:31] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee76e44c0012d34c14006aa3d280007011728..."} 
[2026-06-21 05:22:31] local.INFO: Packet analysis {"connection_id":110223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:22:31] local.INFO: Extracted packet for processing {"connection_id":110223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee76e"} 
[2026-06-21 05:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191724288001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999224000,"timestamp_ms":1781999224000,"timestamp_seconds":1781999224,"priority":1,"record_length":96,"hex_timestamp":"0000019ee76e44c0"} 
[2026-06-21 05:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191724288001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191724288001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191724288001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":110223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:22:31] local.INFO: GPS data processed {"connection_id":110223,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:22:31] local.INFO: Acknowledgment sent {"connection_id":110223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:22:52] local.INFO: TCP Data received {"connection_id":108492,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:22:52] local.INFO: Processing buffer {"connection_id":108492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:22:52] local.INFO: IMEI packet received {"connection_id":108492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":108492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:22:58] local.INFO: TCP Data received {"connection_id":108492,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:22:58] local.INFO: Processing buffer {"connection_id":108492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:22:58] local.INFO: IMEI packet received {"connection_id":108492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":108492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:22:59] local.INFO: TCP Data received {"connection_id":108492,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:22:59] local.INFO: Processing buffer {"connection_id":108492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:22:59] local.INFO: Packet analysis {"connection_id":108492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:22:59] local.INFO: Extracted packet for processing {"connection_id":108492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:22:59] 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-06-21 05:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:22:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":108492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:22:59] local.INFO: GPS data processed {"connection_id":108492,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:22:59] local.INFO: Acknowledgment sent {"connection_id":108492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:23:32] local.INFO: TCP Data received {"connection_id":108492,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:23:32] local.INFO: Processing buffer {"connection_id":108492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:23:32] local.INFO: Packet analysis {"connection_id":108492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:23:32] local.INFO: Extracted packet for processing {"connection_id":108492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":108492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:23:32] local.INFO: GPS data processed {"connection_id":108492,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:23:32] local.INFO: Acknowledgment sent {"connection_id":108492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:23:53] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:23:53] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:23:53] local.INFO: IMEI packet received {"connection_id":110224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":110224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:23:58] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:23:58] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:23:58] local.INFO: IMEI packet received {"connection_id":110224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":110224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:24:00] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:24:00] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:24:00] local.INFO: Packet analysis {"connection_id":110224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:24:00] local.INFO: Extracted packet for processing {"connection_id":110224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:24:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:24:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":110224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:24:00] local.INFO: GPS data processed {"connection_id":110224,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:24:00] local.INFO: Acknowledgment sent {"connection_id":110224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:24:31] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:24:31] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:24:31] local.INFO: Packet analysis {"connection_id":110224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:24:31] local.INFO: Extracted packet for processing {"connection_id":110224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":110224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:24:31] local.INFO: GPS data processed {"connection_id":110224,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:24:31] local.INFO: Acknowledgment sent {"connection_id":110224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:24:43] local.INFO: TCP Data received {"connection_id":108672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:24:43] local.INFO: Processing buffer {"connection_id":108672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:24:43] local.INFO: IMEI packet received {"connection_id":108672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":108672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:24:52] local.INFO: TCP Data received {"connection_id":110225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:24:52] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:24:52] local.INFO: IMEI packet received {"connection_id":110225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":110225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:24:58] local.INFO: TCP Data received {"connection_id":110225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:24:58] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:24:58] local.INFO: IMEI packet received {"connection_id":110225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":110225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:25:00] local.INFO: TCP Data received {"connection_id":110225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:00] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:00] local.INFO: Packet analysis {"connection_id":110225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:25:00] local.INFO: Extracted packet for processing {"connection_id":110225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:25:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:25:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":110225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:25:00] local.INFO: GPS data processed {"connection_id":110225,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:25:00] local.INFO: Acknowledgment sent {"connection_id":110225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:25:13] local.INFO: TCP Data received {"connection_id":110226,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:25:13] local.INFO: Processing buffer {"connection_id":110226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:25:13] local.INFO: IMEI packet received {"connection_id":110226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":110226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:25:31] local.INFO: TCP Data received {"connection_id":110225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:31] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:31] local.INFO: Packet analysis {"connection_id":110225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:25:31] local.INFO: Extracted packet for processing {"connection_id":110225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":110225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:25:31] local.INFO: GPS data processed {"connection_id":110225,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:25:31] local.INFO: Acknowledgment sent {"connection_id":110225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:25:52] local.INFO: TCP Data received {"connection_id":108493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:25:52] local.INFO: Processing buffer {"connection_id":108493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:25:52] local.INFO: IMEI packet received {"connection_id":108493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":108493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:25:58] local.INFO: TCP Data received {"connection_id":108493,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:25:58] local.INFO: Processing buffer {"connection_id":108493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:25:58] local.INFO: IMEI packet received {"connection_id":108493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":108493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:25:59] local.INFO: TCP Data received {"connection_id":108493,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:59] local.INFO: Processing buffer {"connection_id":108493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:25:59] local.INFO: Packet analysis {"connection_id":108493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:25:59] local.INFO: Extracted packet for processing {"connection_id":108493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:25:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:25:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":108493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:25:59] local.INFO: GPS data processed {"connection_id":108493,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:25:59] local.INFO: Acknowledgment sent {"connection_id":108493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:26:31] local.INFO: TCP Data received {"connection_id":108493,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:26:31] local.INFO: Processing buffer {"connection_id":108493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:26:31] local.INFO: Packet analysis {"connection_id":108493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:26:31] local.INFO: Extracted packet for processing {"connection_id":108493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":108493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:26:31] local.INFO: GPS data processed {"connection_id":108493,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:26:31] local.INFO: Acknowledgment sent {"connection_id":108493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:26:52] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:26:52] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:26:52] local.INFO: IMEI packet received {"connection_id":110227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":110227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:26:58] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:26:58] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:26:58] local.INFO: IMEI packet received {"connection_id":110227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":110227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:27:01] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:27:01] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:27:01] local.INFO: Packet analysis {"connection_id":110227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:27:01] local.INFO: Extracted packet for processing {"connection_id":110227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:27:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:27:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:27:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":110227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:27:01] local.INFO: GPS data processed {"connection_id":110227,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:27:01] local.INFO: Acknowledgment sent {"connection_id":110227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:27:32] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:27:32] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee772dc88012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:27:32] local.INFO: Packet analysis {"connection_id":110227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:27:32] local.INFO: Extracted packet for processing {"connection_id":110227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee772"} 
[2026-06-21 05:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191801344001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781999525000,"timestamp_ms":1781999525000,"timestamp_seconds":1781999525,"priority":1,"record_length":96,"hex_timestamp":"0000019ee772dc88"} 
[2026-06-21 05:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:27: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-06-21 05:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191801344001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191801344001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191801344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":110227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:27:32] local.INFO: GPS data processed {"connection_id":110227,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:27:32] local.INFO: Acknowledgment sent {"connection_id":110227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:27:58] local.INFO: TCP Data received {"connection_id":108494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:27:58] local.INFO: Processing buffer {"connection_id":108494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:27:58] local.INFO: IMEI packet received {"connection_id":108494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":108494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:28:03] local.INFO: TCP Data received {"connection_id":108494,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:03] local.INFO: Processing buffer {"connection_id":108494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:03] local.INFO: IMEI packet received {"connection_id":108494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":108494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:28:04] local.INFO: TCP Data received {"connection_id":108494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:04] local.INFO: Processing buffer {"connection_id":108494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:04] local.INFO: Packet analysis {"connection_id":108494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:28:04] local.INFO: Extracted packet for processing {"connection_id":108494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:28: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-06-21 05:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":108494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:28:05] local.INFO: GPS data processed {"connection_id":108494,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:28:05] local.INFO: Acknowledgment sent {"connection_id":108494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:28:08] local.INFO: TCP Data received {"connection_id":108494,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:08] local.INFO: Processing buffer {"connection_id":108494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:08] local.INFO: Packet analysis {"connection_id":108494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:28:08] local.INFO: Extracted packet for processing {"connection_id":108494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28: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-06-21 05:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:28: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-06-21 05:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":108494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:28:08] local.INFO: GPS data processed {"connection_id":108494,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:28:08] local.INFO: Acknowledgment sent {"connection_id":108494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:28:52] local.INFO: TCP Data received {"connection_id":109278,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:52] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:52] local.INFO: IMEI packet received {"connection_id":109278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":109278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:28:58] local.INFO: TCP Data received {"connection_id":109278,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:58] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:28:58] local.INFO: IMEI packet received {"connection_id":109278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":109278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:28:59] local.INFO: TCP Data received {"connection_id":109278,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:59] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:28:59] local.INFO: Packet analysis {"connection_id":109278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:28:59] local.INFO: Extracted packet for processing {"connection_id":109278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":109278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:28:59] local.INFO: GPS data processed {"connection_id":109278,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:28:59] local.INFO: Acknowledgment sent {"connection_id":109278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:29:31] local.INFO: TCP Data received {"connection_id":109278,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:29:31] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:29:31] local.INFO: Packet analysis {"connection_id":109278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:29:31] local.INFO: Extracted packet for processing {"connection_id":109278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":109278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:29:31] local.INFO: GPS data processed {"connection_id":109278,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:29:31] local.INFO: Acknowledgment sent {"connection_id":109278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:29:52] local.INFO: TCP Data received {"connection_id":109279,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:29:52] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:29:52] local.INFO: IMEI packet received {"connection_id":109279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":109279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:29:58] local.INFO: TCP Data received {"connection_id":109279,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:29:58] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:29:58] local.INFO: IMEI packet received {"connection_id":109279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":109279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:29:59] local.INFO: TCP Data received {"connection_id":109279,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:29:59] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:29:59] local.INFO: Packet analysis {"connection_id":109279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:29:59] local.INFO: Extracted packet for processing {"connection_id":109279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:29:59] 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-06-21 05:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:29:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:29:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":109279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:29:59] local.INFO: GPS data processed {"connection_id":109279,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:29:59] local.INFO: Acknowledgment sent {"connection_id":109279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:30:31] local.INFO: TCP Data received {"connection_id":109279,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:30:31] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:30:31] local.INFO: Packet analysis {"connection_id":109279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:30:31] local.INFO: Extracted packet for processing {"connection_id":109279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":109279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:30:31] local.INFO: GPS data processed {"connection_id":109279,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:30:31] local.INFO: Acknowledgment sent {"connection_id":109279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:30:43] local.INFO: TCP Data received {"connection_id":108675,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:30:43] local.INFO: Processing buffer {"connection_id":108675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:30:43] local.INFO: IMEI packet received {"connection_id":108675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":108675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:30:58] local.INFO: TCP Data received {"connection_id":108495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:30:58] local.INFO: Processing buffer {"connection_id":108495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:30:58] local.INFO: IMEI packet received {"connection_id":108495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":108495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:30:59] local.INFO: TCP Data received {"connection_id":108495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:30:59] local.INFO: Processing buffer {"connection_id":108495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:30:59] local.INFO: Packet analysis {"connection_id":108495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:30:59] local.INFO: Extracted packet for processing {"connection_id":108495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:30:59] 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-06-21 05:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:30:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:30:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":108495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:30:59] local.INFO: GPS data processed {"connection_id":108495,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:30:59] local.INFO: Acknowledgment sent {"connection_id":108495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:31:13] local.INFO: TCP Data received {"connection_id":108496,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:31:13] local.INFO: Processing buffer {"connection_id":108496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:31:13] local.INFO: IMEI packet received {"connection_id":108496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":108496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:31:31] local.INFO: TCP Data received {"connection_id":108495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:31:31] local.INFO: Processing buffer {"connection_id":108495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:31:31] local.INFO: Packet analysis {"connection_id":108495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:31:31] local.INFO: Extracted packet for processing {"connection_id":108495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":108495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:31:31] local.INFO: GPS data processed {"connection_id":108495,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:31:31] local.INFO: Acknowledgment sent {"connection_id":108495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:31:53] local.INFO: TCP Data received {"connection_id":108497,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:31:53] local.INFO: Processing buffer {"connection_id":108497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:31:53] local.INFO: IMEI packet received {"connection_id":108497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":108497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:31:58] local.INFO: TCP Data received {"connection_id":108497,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:31:58] local.INFO: Processing buffer {"connection_id":108497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:31:58] local.INFO: IMEI packet received {"connection_id":108497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":108497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:31:59] local.INFO: TCP Data received {"connection_id":108497,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:31:59] local.INFO: Processing buffer {"connection_id":108497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:31:59] local.INFO: Packet analysis {"connection_id":108497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:31:59] local.INFO: Extracted packet for processing {"connection_id":108497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:31:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:31:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":108497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:31:59] local.INFO: GPS data processed {"connection_id":108497,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:31:59] local.INFO: Acknowledgment sent {"connection_id":108497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:32:32] local.INFO: TCP Data received {"connection_id":108497,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:32:32] local.INFO: Processing buffer {"connection_id":108497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7777450012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:32:32] local.INFO: Packet analysis {"connection_id":108497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:32:32] local.INFO: Extracted packet for processing {"connection_id":108497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee777"} 
[2026-06-21 05:32:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191878400001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781999826000,"timestamp_ms":1781999826000,"timestamp_seconds":1781999826,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7777450"} 
[2026-06-21 05:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191878400001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191878400001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191878400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":108497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:32:32] local.INFO: GPS data processed {"connection_id":108497,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:32:32] local.INFO: Acknowledgment sent {"connection_id":108497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:32:53] local.INFO: TCP Data received {"connection_id":108677,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:32:53] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:32:53] local.INFO: IMEI packet received {"connection_id":108677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":108677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:32:58] local.INFO: TCP Data received {"connection_id":108677,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:32:58] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:32:58] local.INFO: IMEI packet received {"connection_id":108677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":108677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:32:59] local.INFO: TCP Data received {"connection_id":108677,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:32:59] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:32:59] local.INFO: Packet analysis {"connection_id":108677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:32:59] local.INFO: Extracted packet for processing {"connection_id":108677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:32:59] 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-06-21 05:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:32:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:32:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":108677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:32:59] local.INFO: GPS data processed {"connection_id":108677,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:32:59] local.INFO: Acknowledgment sent {"connection_id":108677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:33:31] local.INFO: TCP Data received {"connection_id":108677,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:33:31] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:33:31] local.INFO: Packet analysis {"connection_id":108677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:33:31] local.INFO: Extracted packet for processing {"connection_id":108677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":108677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:33:31] local.INFO: GPS data processed {"connection_id":108677,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:33:31] local.INFO: Acknowledgment sent {"connection_id":108677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:33:58] local.INFO: TCP Data received {"connection_id":110228,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:33:58] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:33:58] local.INFO: IMEI packet received {"connection_id":110228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":110228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:34:03] local.INFO: TCP Data received {"connection_id":110228,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:03] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:03] local.INFO: IMEI packet received {"connection_id":110228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":110228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:34:04] local.INFO: TCP Data received {"connection_id":110228,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:34:04] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:34:04] local.INFO: Packet analysis {"connection_id":110228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:34:04] local.INFO: Extracted packet for processing {"connection_id":110228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":110228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:34:04] local.INFO: GPS data processed {"connection_id":110228,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:34:04] local.INFO: Acknowledgment sent {"connection_id":110228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:34:08] local.INFO: TCP Data received {"connection_id":110228,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:34:08] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:34:08] local.INFO: Packet analysis {"connection_id":110228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:34:08] local.INFO: Extracted packet for processing {"connection_id":110228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:34:08] 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-06-21 05:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":110228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:34:08] local.INFO: GPS data processed {"connection_id":110228,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:34:08] local.INFO: Acknowledgment sent {"connection_id":110228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:34:53] local.INFO: TCP Data received {"connection_id":110229,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:53] local.INFO: Processing buffer {"connection_id":110229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:53] local.INFO: IMEI packet received {"connection_id":110229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":110229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:34:58] local.INFO: TCP Data received {"connection_id":110229,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:58] local.INFO: Processing buffer {"connection_id":110229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:34:58] local.INFO: IMEI packet received {"connection_id":110229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":110229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:35:00] local.INFO: TCP Data received {"connection_id":110229,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:00] local.INFO: Processing buffer {"connection_id":110229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:00] local.INFO: Packet analysis {"connection_id":110229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:35:00] local.INFO: Extracted packet for processing {"connection_id":110229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:35:00] 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-06-21 05:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:35:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:35:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":110229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:35:00] local.INFO: GPS data processed {"connection_id":110229,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:35:00] local.INFO: Acknowledgment sent {"connection_id":110229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:35:32] local.INFO: TCP Data received {"connection_id":110229,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:32] local.INFO: Processing buffer {"connection_id":110229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:32] local.INFO: Packet analysis {"connection_id":110229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:35:32] local.INFO: Extracted packet for processing {"connection_id":110229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:35:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":110229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:35:32] local.INFO: GPS data processed {"connection_id":110229,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:35:32] local.INFO: Acknowledgment sent {"connection_id":110229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:35:53] local.INFO: TCP Data received {"connection_id":108680,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:35:53] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:35:53] local.INFO: IMEI packet received {"connection_id":108680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":108680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:35:58] local.INFO: TCP Data received {"connection_id":108680,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:35:58] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:35:58] local.INFO: IMEI packet received {"connection_id":108680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":108680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:35:59] local.INFO: TCP Data received {"connection_id":108680,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:59] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:35:59] local.INFO: Packet analysis {"connection_id":108680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:35:59] local.INFO: Extracted packet for processing {"connection_id":108680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:35:59] 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-06-21 05:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:35:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:35:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":108680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:35:59] local.INFO: GPS data processed {"connection_id":108680,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:35:59] local.INFO: Acknowledgment sent {"connection_id":108680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:36:31] local.INFO: TCP Data received {"connection_id":108680,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:36:31] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:36:31] local.INFO: Packet analysis {"connection_id":108680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:36:31] local.INFO: Extracted packet for processing {"connection_id":108680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:36:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":108680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:36:31] local.INFO: GPS data processed {"connection_id":108680,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:36:31] local.INFO: Acknowledgment sent {"connection_id":108680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:36:38] local.INFO: TCP Data received {"connection_id":109281,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:36:38] local.INFO: Processing buffer {"connection_id":109281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:36:38] local.INFO: IMEI packet received {"connection_id":109281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":109281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:36:53] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:36:53] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:36:53] local.INFO: IMEI packet received {"connection_id":110230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":110230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:36:58] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:36:58] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:36:58] local.INFO: IMEI packet received {"connection_id":110230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":110230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:36:59] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:36:59] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:36:59] local.INFO: Packet analysis {"connection_id":110230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:36:59] local.INFO: Extracted packet for processing {"connection_id":110230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:36:59] 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-06-21 05:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":110230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:36:59] local.INFO: GPS data processed {"connection_id":110230,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:36:59] local.INFO: Acknowledgment sent {"connection_id":110230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:37:13] local.INFO: TCP Data received {"connection_id":108498,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:37:13] local.INFO: Processing buffer {"connection_id":108498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:37:13] local.INFO: IMEI packet received {"connection_id":108498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":108498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:37:31] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:37:31] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee77c0c18012d34c14006aa3d28000401172a..."} 
[2026-06-21 05:37:31] local.INFO: Packet analysis {"connection_id":110230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:37:31] local.INFO: Extracted packet for processing {"connection_id":110230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee77c"} 
[2026-06-21 05:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":4,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191955456001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000127000,"timestamp_ms":1782000127000,"timestamp_seconds":1782000127,"priority":1,"record_length":96,"hex_timestamp":"0000019ee77c0c18"} 
[2026-06-21 05:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191955456001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191955456001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191955456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":110230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:37:31] local.INFO: GPS data processed {"connection_id":110230,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:37:31] local.INFO: Acknowledgment sent {"connection_id":110230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:37:52] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:37:52] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:37:52] local.INFO: IMEI packet received {"connection_id":110231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":110231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:37:58] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:37:58] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:37:58] local.INFO: IMEI packet received {"connection_id":110231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":110231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:37:59] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:37:59] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:37:59] local.INFO: Packet analysis {"connection_id":110231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:37:59] local.INFO: Extracted packet for processing {"connection_id":110231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:37:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:37:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":110231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:37:59] local.INFO: GPS data processed {"connection_id":110231,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:37:59] local.INFO: Acknowledgment sent {"connection_id":110231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:38:31] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:38:31] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:38:31] local.INFO: Packet analysis {"connection_id":110231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:38:31] local.INFO: Extracted packet for processing {"connection_id":110231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":110231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:38:31] local.INFO: GPS data processed {"connection_id":110231,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:38:31] local.INFO: Acknowledgment sent {"connection_id":110231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:38:53] local.INFO: TCP Data received {"connection_id":109282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:38:53] local.INFO: Processing buffer {"connection_id":109282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:38:53] local.INFO: IMEI packet received {"connection_id":109282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":109282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:38:58] local.INFO: TCP Data received {"connection_id":109282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:38:58] local.INFO: Processing buffer {"connection_id":109282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:38:58] local.INFO: IMEI packet received {"connection_id":109282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":109282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:39:00] local.INFO: TCP Data received {"connection_id":109282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:00] local.INFO: Processing buffer {"connection_id":109282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:00] local.INFO: Packet analysis {"connection_id":109282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:39:00] local.INFO: Extracted packet for processing {"connection_id":109282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:39:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":109282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:39:00] local.INFO: GPS data processed {"connection_id":109282,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:39:00] local.INFO: Acknowledgment sent {"connection_id":109282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:39:31] local.INFO: TCP Data received {"connection_id":109282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:31] local.INFO: Processing buffer {"connection_id":109282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:31] local.INFO: Packet analysis {"connection_id":109282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:39:31] local.INFO: Extracted packet for processing {"connection_id":109282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":109282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:39:31] local.INFO: GPS data processed {"connection_id":109282,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:39:31] local.INFO: Acknowledgment sent {"connection_id":109282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:39:52] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:39:52] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:39:52] local.INFO: IMEI packet received {"connection_id":110233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":110233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:39:57] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:39:57] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:39:57] local.INFO: IMEI packet received {"connection_id":110233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":110233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:39:59] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:59] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:39:59] local.INFO: Packet analysis {"connection_id":110233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:39:59] local.INFO: Extracted packet for processing {"connection_id":110233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:39:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:39:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":110233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:39:59] local.INFO: GPS data processed {"connection_id":110233,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:39:59] local.INFO: Acknowledgment sent {"connection_id":110233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:40:30] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:40:30] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:40:30] local.INFO: Packet analysis {"connection_id":110233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:40:30] local.INFO: Extracted packet for processing {"connection_id":110233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:40:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":110233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:40:30] local.INFO: GPS data processed {"connection_id":110233,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:40:30] local.INFO: Acknowledgment sent {"connection_id":110233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:40:53] local.INFO: TCP Data received {"connection_id":110234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:40:53] local.INFO: Processing buffer {"connection_id":110234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:40:53] local.INFO: IMEI packet received {"connection_id":110234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":110234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:40:58] local.INFO: TCP Data received {"connection_id":110234,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:40:58] local.INFO: Processing buffer {"connection_id":110234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:40:58] local.INFO: IMEI packet received {"connection_id":110234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":110234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:40:59] local.INFO: TCP Data received {"connection_id":110234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:40:59] local.INFO: Processing buffer {"connection_id":110234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:40:59] local.INFO: Packet analysis {"connection_id":110234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:40:59] local.INFO: Extracted packet for processing {"connection_id":110234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:40:59] 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-06-21 05:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:40:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":110234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:40:59] local.INFO: GPS data processed {"connection_id":110234,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:40:59] local.INFO: Acknowledgment sent {"connection_id":110234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:41:31] local.INFO: TCP Data received {"connection_id":110234,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:41:31] local.INFO: Processing buffer {"connection_id":110234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:41:31] local.INFO: Packet analysis {"connection_id":110234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:41:31] local.INFO: Extracted packet for processing {"connection_id":110234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:41:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":110234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:41:31] local.INFO: GPS data processed {"connection_id":110234,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:41:31] local.INFO: Acknowledgment sent {"connection_id":110234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:41:52] local.INFO: TCP Data received {"connection_id":108681,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:41:52] local.INFO: Processing buffer {"connection_id":108681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:41:52] local.INFO: IMEI packet received {"connection_id":108681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":108681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:41:58] local.INFO: TCP Data received {"connection_id":108681,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:41:58] local.INFO: Processing buffer {"connection_id":108681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:41:58] local.INFO: IMEI packet received {"connection_id":108681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":108681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:42:00] local.INFO: TCP Data received {"connection_id":108681,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:42:00] local.INFO: Processing buffer {"connection_id":108681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:42:00] local.INFO: Packet analysis {"connection_id":108681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:42:00] local.INFO: Extracted packet for processing {"connection_id":108681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:42:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:42:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":108681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:42:00] local.INFO: GPS data processed {"connection_id":108681,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:42:00] local.INFO: Acknowledgment sent {"connection_id":108681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:42:31] local.INFO: TCP Data received {"connection_id":108681,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:42:31] local.INFO: Processing buffer {"connection_id":108681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7809ff8012d34c14006aa3d280001011729..."} 
[2026-06-21 05:42:31] local.INFO: Packet analysis {"connection_id":108681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:42:31] local.INFO: Extracted packet for processing {"connection_id":108681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee780"} 
[2026-06-21 05:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":1,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192032512001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000427000,"timestamp_ms":1782000427000,"timestamp_seconds":1782000427,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7809ff8"} 
[2026-06-21 05:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 05:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192032512001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192032512001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192032512001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":108681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:42:31] local.INFO: GPS data processed {"connection_id":108681,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:42:31] local.INFO: Acknowledgment sent {"connection_id":108681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:42:38] local.INFO: TCP Data received {"connection_id":110236,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:42:38] local.INFO: Processing buffer {"connection_id":110236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:42:38] local.INFO: IMEI packet received {"connection_id":110236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":110236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:42:52] local.INFO: TCP Data received {"connection_id":109284,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:42:52] local.INFO: Processing buffer {"connection_id":109284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:42:52] local.INFO: IMEI packet received {"connection_id":109284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":109284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:42:58] local.INFO: TCP Data received {"connection_id":109284,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:42:58] local.INFO: Processing buffer {"connection_id":109284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:42:58] local.INFO: IMEI packet received {"connection_id":109284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":109284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:42:59] local.INFO: TCP Data received {"connection_id":109284,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:42:59] local.INFO: Processing buffer {"connection_id":109284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:42:59] local.INFO: Packet analysis {"connection_id":109284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:42:59] local.INFO: Extracted packet for processing {"connection_id":109284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:42:59] 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-06-21 05:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:42:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":109284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:42:59] local.INFO: GPS data processed {"connection_id":109284,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:42:59] local.INFO: Acknowledgment sent {"connection_id":109284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:43:13] local.INFO: TCP Data received {"connection_id":108682,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:43:13] local.INFO: Processing buffer {"connection_id":108682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:43:13] local.INFO: IMEI packet received {"connection_id":108682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":108682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:43:31] local.INFO: TCP Data received {"connection_id":109284,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:43:31] local.INFO: Processing buffer {"connection_id":109284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:43:31] local.INFO: Packet analysis {"connection_id":109284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:43:31] local.INFO: Extracted packet for processing {"connection_id":109284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":109284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:43:31] local.INFO: GPS data processed {"connection_id":109284,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:43:31] local.INFO: Acknowledgment sent {"connection_id":109284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:43:58] local.INFO: TCP Data received {"connection_id":108683,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:43:58] local.INFO: Processing buffer {"connection_id":108683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:43:58] local.INFO: IMEI packet received {"connection_id":108683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":108683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:44:03] local.INFO: TCP Data received {"connection_id":108683,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:03] local.INFO: Processing buffer {"connection_id":108683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:03] local.INFO: IMEI packet received {"connection_id":108683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":108683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:44:04] local.INFO: TCP Data received {"connection_id":108683,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:44:04] local.INFO: Processing buffer {"connection_id":108683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:44:04] local.INFO: Packet analysis {"connection_id":108683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:44:04] local.INFO: Extracted packet for processing {"connection_id":108683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":108683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:44:04] local.INFO: GPS data processed {"connection_id":108683,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:44:04] local.INFO: Acknowledgment sent {"connection_id":108683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:44:08] local.INFO: TCP Data received {"connection_id":108683,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:44:08] local.INFO: Processing buffer {"connection_id":108683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:44:08] local.INFO: Packet analysis {"connection_id":108683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:44:08] local.INFO: Extracted packet for processing {"connection_id":108683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":108683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:44:08] local.INFO: GPS data processed {"connection_id":108683,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:44:08] local.INFO: Acknowledgment sent {"connection_id":108683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:44:53] local.INFO: TCP Data received {"connection_id":108500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:53] local.INFO: Processing buffer {"connection_id":108500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:53] local.INFO: IMEI packet received {"connection_id":108500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":108500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:44:58] local.INFO: TCP Data received {"connection_id":108500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:58] local.INFO: Processing buffer {"connection_id":108500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:44:58] local.INFO: IMEI packet received {"connection_id":108500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":108500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:45:00] local.INFO: TCP Data received {"connection_id":108500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:00] local.INFO: Processing buffer {"connection_id":108500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:00] local.INFO: Packet analysis {"connection_id":108500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:45:00] local.INFO: Extracted packet for processing {"connection_id":108500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:45:00] 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-06-21 05:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:45:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:45:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":108500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:45:00] local.INFO: GPS data processed {"connection_id":108500,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:45:00] local.INFO: Acknowledgment sent {"connection_id":108500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:45:31] local.INFO: TCP Data received {"connection_id":108500,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:31] local.INFO: Processing buffer {"connection_id":108500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:31] local.INFO: Packet analysis {"connection_id":108500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:45:31] local.INFO: Extracted packet for processing {"connection_id":108500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":108500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:45:31] local.INFO: GPS data processed {"connection_id":108500,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:45:31] local.INFO: Acknowledgment sent {"connection_id":108500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:45:53] local.INFO: TCP Data received {"connection_id":109285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:45:53] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:45:53] local.INFO: IMEI packet received {"connection_id":109285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":109285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:45:58] local.INFO: TCP Data received {"connection_id":109285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:45:58] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:45:58] local.INFO: IMEI packet received {"connection_id":109285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":109285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:45:59] local.INFO: TCP Data received {"connection_id":109285,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:59] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:45:59] local.INFO: Packet analysis {"connection_id":109285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:45:59] local.INFO: Extracted packet for processing {"connection_id":109285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:45:59] 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-06-21 05:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:45:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:45:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":109285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:45:59] local.INFO: GPS data processed {"connection_id":109285,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:45:59] local.INFO: Acknowledgment sent {"connection_id":109285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:46:31] local.INFO: TCP Data received {"connection_id":109285,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:46:31] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:46:31] local.INFO: Packet analysis {"connection_id":109285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:46:31] local.INFO: Extracted packet for processing {"connection_id":109285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":109285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:46:31] local.INFO: GPS data processed {"connection_id":109285,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:46:31] local.INFO: Acknowledgment sent {"connection_id":109285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:46:53] local.INFO: TCP Data received {"connection_id":108502,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:46:53] local.INFO: Processing buffer {"connection_id":108502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:46:53] local.INFO: IMEI packet received {"connection_id":108502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":108502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:46:58] local.INFO: TCP Data received {"connection_id":108502,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:46:58] local.INFO: Processing buffer {"connection_id":108502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:46:58] local.INFO: IMEI packet received {"connection_id":108502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":108502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:46:59] local.INFO: TCP Data received {"connection_id":108502,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:46:59] local.INFO: Processing buffer {"connection_id":108502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:46:59] local.INFO: Packet analysis {"connection_id":108502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:46:59] local.INFO: Extracted packet for processing {"connection_id":108502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:46:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":108502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:46:59] local.INFO: GPS data processed {"connection_id":108502,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:46:59] local.INFO: Acknowledgment sent {"connection_id":108502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:47:31] local.INFO: TCP Data received {"connection_id":108502,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:47:31] local.INFO: Processing buffer {"connection_id":108502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78537c0012d34c14006aa3d28000601172b..."} 
[2026-06-21 05:47:31] local.INFO: Packet analysis {"connection_id":108502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:47:31] local.INFO: Extracted packet for processing {"connection_id":108502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee785"} 
[2026-06-21 05:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192109312001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782000728000,"timestamp_ms":1782000728000,"timestamp_seconds":1782000728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78537c0"} 
[2026-06-21 05:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192109312001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192109312001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:47:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192109312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":108502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:47:31] local.INFO: GPS data processed {"connection_id":108502,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:47:31] local.INFO: Acknowledgment sent {"connection_id":108502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:47:52] local.INFO: TCP Data received {"connection_id":108684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:47:52] local.INFO: Processing buffer {"connection_id":108684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:47:52] local.INFO: IMEI packet received {"connection_id":108684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":108684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:47:58] local.INFO: TCP Data received {"connection_id":108684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:47:58] local.INFO: Processing buffer {"connection_id":108684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:47:58] local.INFO: IMEI packet received {"connection_id":108684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":108684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:47:59] local.INFO: TCP Data received {"connection_id":108684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:47:59] local.INFO: Processing buffer {"connection_id":108684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:47:59] local.INFO: Packet analysis {"connection_id":108684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:47:59] local.INFO: Extracted packet for processing {"connection_id":108684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:47:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:47:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":108684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:47:59] local.INFO: GPS data processed {"connection_id":108684,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:47:59] local.INFO: Acknowledgment sent {"connection_id":108684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:48:31] local.INFO: TCP Data received {"connection_id":108684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:48:31] local.INFO: Processing buffer {"connection_id":108684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:48:31] local.INFO: Packet analysis {"connection_id":108684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:48:31] local.INFO: Extracted packet for processing {"connection_id":108684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":108684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:48:31] local.INFO: GPS data processed {"connection_id":108684,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:48:31] local.INFO: Acknowledgment sent {"connection_id":108684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:48:38] local.INFO: TCP Data received {"connection_id":110238,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:48:38] local.INFO: Processing buffer {"connection_id":110238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:48:38] local.INFO: IMEI packet received {"connection_id":110238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":110238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:48:58] local.INFO: TCP Data received {"connection_id":109287,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:48:58] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:48:58] local.INFO: IMEI packet received {"connection_id":109287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":109287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:49:03] local.INFO: TCP Data received {"connection_id":109287,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:03] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:03] local.INFO: IMEI packet received {"connection_id":109287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":109287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:49:04] local.INFO: TCP Data received {"connection_id":109287,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:04] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:04] local.INFO: Packet analysis {"connection_id":109287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:49:04] local.INFO: Extracted packet for processing {"connection_id":109287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":109287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:49:04] local.INFO: GPS data processed {"connection_id":109287,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:49:04] local.INFO: Acknowledgment sent {"connection_id":109287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:49:09] local.INFO: TCP Data received {"connection_id":109287,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:09] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:09] local.INFO: Packet analysis {"connection_id":109287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:49:09] local.INFO: Extracted packet for processing {"connection_id":109287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49: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-06-21 05:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:49:09] 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-06-21 05:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":109287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:49:09] local.INFO: GPS data processed {"connection_id":109287,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:49:09] local.INFO: Acknowledgment sent {"connection_id":109287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:49:13] local.INFO: TCP Data received {"connection_id":109288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:49:13] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:49:13] local.INFO: IMEI packet received {"connection_id":109288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":109288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:49:18] local.INFO: TCP Data received {"connection_id":109288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:49:18] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:49:18] local.INFO: IMEI packet received {"connection_id":109288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 05:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":109288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:49:19] local.INFO: TCP Data received {"connection_id":109288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee75d06b0012d34c30006aa3f58000c013030..."} 
[2026-06-21 05:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee75d06b0012d34c30006aa3f58000c013030..."} 
[2026-06-21 05:49:19] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee75d06b0012d34c30006aa3f58000c013030..."} 
[2026-06-21 05:49:19] local.INFO: Packet analysis {"connection_id":109288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee75d"} 
[2026-06-21 05:49:19] local.INFO: Extracted packet for processing {"connection_id":109288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee75d"} 
[2026-06-21 05:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111820632,"longitude_deg":75.8432512,"latitude_deg":11.1820632,"altitude":12,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa3f58","is_valid_coordinates":true} 
[2026-06-21 05:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456191435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":126022835909951488,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539056912384,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781998094000,"timestamp_ms":1781998094000,"timestamp_seconds":1781998094,"priority":1,"record_length":96,"hex_timestamp":"0000019ee75d06b0"} 
[2026-06-21 05:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 05:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":109288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":109288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 05:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":109288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 05:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 05:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 05:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456191435008001,"66":25875,"97":206,"81":23296,"24":0,"16":126022835909951488,"45":3801882539056912384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 05:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 05:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456191435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":126022835909951488,"km_value":126022835909951.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539056912384,"description":"Unknown IO ID 45"} 
[2026-06-21 05:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456191435008001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539056912384}} 
[2026-06-21 05:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":109288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:49:19] local.INFO: GPS data processed {"connection_id":109288,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:49:19] local.INFO: Acknowledgment sent {"connection_id":109288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:49:53] local.INFO: TCP Data received {"connection_id":110239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:53] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:53] local.INFO: IMEI packet received {"connection_id":110239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":110239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:49:58] local.INFO: TCP Data received {"connection_id":110239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:58] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:49:58] local.INFO: IMEI packet received {"connection_id":110239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":110239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:49:59] local.INFO: TCP Data received {"connection_id":110239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:59] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:49:59] local.INFO: Packet analysis {"connection_id":110239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:49:59] local.INFO: Extracted packet for processing {"connection_id":110239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:49:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:49:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":110239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:49:59] local.INFO: GPS data processed {"connection_id":110239,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:49:59] local.INFO: Acknowledgment sent {"connection_id":110239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:50:08] local.INFO: TCP Data received {"connection_id":108685,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:50:08] local.INFO: Processing buffer {"connection_id":108685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:50:08] local.INFO: IMEI packet received {"connection_id":108685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":108685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:50:30] local.INFO: TCP Data received {"connection_id":110239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:50:30] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:50:30] local.INFO: Packet analysis {"connection_id":110239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:50:30] local.INFO: Extracted packet for processing {"connection_id":110239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:50:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:50:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":110239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:50:30] local.INFO: GPS data processed {"connection_id":110239,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:50:30] local.INFO: Acknowledgment sent {"connection_id":110239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:50:53] local.INFO: TCP Data received {"connection_id":108686,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:50:53] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:50:53] local.INFO: IMEI packet received {"connection_id":108686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":108686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:50:58] local.INFO: TCP Data received {"connection_id":108686,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:50:58] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:50:58] local.INFO: IMEI packet received {"connection_id":108686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":108686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:50:58] local.INFO: TCP Data received {"connection_id":108686,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:50:58] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:50:58] local.INFO: Packet analysis {"connection_id":108686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:50:58] local.INFO: Extracted packet for processing {"connection_id":108686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:50:58] 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-06-21 05:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:50:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:50:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":108686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:50:58] local.INFO: GPS data processed {"connection_id":108686,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:50:58] local.INFO: Acknowledgment sent {"connection_id":108686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:51:30] local.INFO: TCP Data received {"connection_id":108686,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:51:30] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:51:30] local.INFO: Packet analysis {"connection_id":108686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:51:30] local.INFO: Extracted packet for processing {"connection_id":108686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:51:30] 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-06-21 05:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:51:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:51:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":108686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:51:30] local.INFO: GPS data processed {"connection_id":108686,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:51:30] local.INFO: Acknowledgment sent {"connection_id":108686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:51:52] local.INFO: TCP Data received {"connection_id":109290,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:51:52] local.INFO: Processing buffer {"connection_id":109290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:51:52] local.INFO: IMEI packet received {"connection_id":109290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":109290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:51:58] local.INFO: TCP Data received {"connection_id":109290,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:51:58] local.INFO: Processing buffer {"connection_id":109290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:51:58] local.INFO: IMEI packet received {"connection_id":109290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":109290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:51:58] local.INFO: TCP Data received {"connection_id":109290,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:51:58] local.INFO: Processing buffer {"connection_id":109290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:51:58] local.INFO: Packet analysis {"connection_id":109290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:51:58] local.INFO: Extracted packet for processing {"connection_id":109290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:51:58] 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-06-21 05:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:51:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":109290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:51:58] local.INFO: GPS data processed {"connection_id":109290,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:51:58] local.INFO: Acknowledgment sent {"connection_id":109290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:52:30] local.INFO: TCP Data received {"connection_id":109290,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:52:30] local.INFO: Processing buffer {"connection_id":109290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee789cf88012d34c14006aa3d28000601172c..."} 
[2026-06-21 05:52:30] local.INFO: Packet analysis {"connection_id":109290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:52:30] local.INFO: Extracted packet for processing {"connection_id":109290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee789"} 
[2026-06-21 05:52:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192186368001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001029000,"timestamp_ms":1782001029000,"timestamp_seconds":1782001029,"priority":1,"record_length":96,"hex_timestamp":"0000019ee789cf88"} 
[2026-06-21 05:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:52:30] 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-06-21 05:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192186368001,"66":25462,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192186368001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:52:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:52:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192186368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":109290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:52:30] local.INFO: GPS data processed {"connection_id":109290,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:52:30] local.INFO: Acknowledgment sent {"connection_id":109290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:52:52] local.INFO: TCP Data received {"connection_id":110240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:52:52] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:52:52] local.INFO: IMEI packet received {"connection_id":110240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":110240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:52:58] local.INFO: TCP Data received {"connection_id":110240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:52:58] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:52:58] local.INFO: IMEI packet received {"connection_id":110240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":110240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:53:01] local.INFO: TCP Data received {"connection_id":110240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:53:01] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:53:01] local.INFO: Packet analysis {"connection_id":110240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:53:01] local.INFO: Extracted packet for processing {"connection_id":110240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:53:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:53:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:53:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":110240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:53:01] local.INFO: GPS data processed {"connection_id":110240,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:53:01] local.INFO: Acknowledgment sent {"connection_id":110240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:53:32] local.INFO: TCP Data received {"connection_id":110240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:53:32] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:53:32] local.INFO: Packet analysis {"connection_id":110240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:53:32] local.INFO: Extracted packet for processing {"connection_id":110240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":110240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:53:32] local.INFO: GPS data processed {"connection_id":110240,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:53:32] local.INFO: Acknowledgment sent {"connection_id":110240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:53:57] local.INFO: TCP Data received {"connection_id":108504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:53:57] local.INFO: Processing buffer {"connection_id":108504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:53:57] local.INFO: IMEI packet received {"connection_id":108504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":108504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:54:02] local.INFO: TCP Data received {"connection_id":108504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:02] local.INFO: Processing buffer {"connection_id":108504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:02] local.INFO: IMEI packet received {"connection_id":108504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":108504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:54:03] local.INFO: TCP Data received {"connection_id":108504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:03] local.INFO: Processing buffer {"connection_id":108504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:03] local.INFO: Packet analysis {"connection_id":108504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:54:03] local.INFO: Extracted packet for processing {"connection_id":108504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":108504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:54:03] local.INFO: GPS data processed {"connection_id":108504,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:54:03] local.INFO: Acknowledgment sent {"connection_id":108504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:54:08] local.INFO: TCP Data received {"connection_id":108504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:08] local.INFO: Processing buffer {"connection_id":108504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:08] local.INFO: Packet analysis {"connection_id":108504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:54:08] local.INFO: Extracted packet for processing {"connection_id":108504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54: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-06-21 05:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:54: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-06-21 05:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":108504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:54:08] local.INFO: GPS data processed {"connection_id":108504,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:54:08] local.INFO: Acknowledgment sent {"connection_id":108504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:54:53] local.INFO: TCP Data received {"connection_id":108505,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:53] local.INFO: Processing buffer {"connection_id":108505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:53] local.INFO: IMEI packet received {"connection_id":108505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":108505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:54:58] local.INFO: TCP Data received {"connection_id":108505,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:58] local.INFO: Processing buffer {"connection_id":108505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:54:58] local.INFO: IMEI packet received {"connection_id":108505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":108505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:54:59] local.INFO: TCP Data received {"connection_id":108505,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:59] local.INFO: Processing buffer {"connection_id":108505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:54:59] local.INFO: Packet analysis {"connection_id":108505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:54:59] local.INFO: Extracted packet for processing {"connection_id":108505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:54:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":108505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:54:59] local.INFO: GPS data processed {"connection_id":108505,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:54:59] local.INFO: Acknowledgment sent {"connection_id":108505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:55:30] local.INFO: TCP Data received {"connection_id":108505,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:55:30] local.INFO: Processing buffer {"connection_id":108505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:55:30] local.INFO: Packet analysis {"connection_id":108505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:55:30] local.INFO: Extracted packet for processing {"connection_id":108505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:55:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":108505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:55:30] local.INFO: GPS data processed {"connection_id":108505,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:55:30] local.INFO: Acknowledgment sent {"connection_id":108505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:55:33] local.INFO: TCP Data received {"connection_id":108689,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:55:33] local.INFO: Processing buffer {"connection_id":108689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:55:33] local.INFO: IMEI packet received {"connection_id":108689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":108689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:55:53] local.INFO: TCP Data received {"connection_id":110241,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:55:53] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:55:53] local.INFO: IMEI packet received {"connection_id":110241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":110241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:55:58] local.INFO: TCP Data received {"connection_id":110241,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:55:58] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:55:58] local.INFO: IMEI packet received {"connection_id":110241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":110241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:55:59] local.INFO: TCP Data received {"connection_id":110241,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:55:59] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:55:59] local.INFO: Packet analysis {"connection_id":110241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:55:59] local.INFO: Extracted packet for processing {"connection_id":110241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:55:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:55:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":110241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:55:59] local.INFO: GPS data processed {"connection_id":110241,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:55:59] local.INFO: Acknowledgment sent {"connection_id":110241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:56:13] local.INFO: TCP Data received {"connection_id":108506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:56:13] local.INFO: Processing buffer {"connection_id":108506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 05:56:13] local.INFO: IMEI packet received {"connection_id":108506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 05:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":108506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:56:30] local.INFO: TCP Data received {"connection_id":110241,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:56:30] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:56:30] local.INFO: Packet analysis {"connection_id":110241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:56:30] local.INFO: Extracted packet for processing {"connection_id":110241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:56:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:56:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":110241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:56:30] local.INFO: GPS data processed {"connection_id":110241,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:56:30] local.INFO: Acknowledgment sent {"connection_id":110241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:56:53] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:56:53] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:56:53] local.INFO: IMEI packet received {"connection_id":110242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":110242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:56:58] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:56:58] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:56:58] local.INFO: IMEI packet received {"connection_id":110242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":110242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:56:59] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:56:59] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:56:59] local.INFO: Packet analysis {"connection_id":110242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:56:59] local.INFO: Extracted packet for processing {"connection_id":110242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:56:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":110242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:56:59] local.INFO: GPS data processed {"connection_id":110242,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:56:59] local.INFO: Acknowledgment sent {"connection_id":110242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:57:31] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:57:31] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee78e6750012d34c14006aa3d28000701172c..."} 
[2026-06-21 05:57:31] local.INFO: Packet analysis {"connection_id":110242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:57:31] local.INFO: Extracted packet for processing {"connection_id":110242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee78e"} 
[2026-06-21 05:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192263424001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782001330000,"timestamp_ms":1782001330000,"timestamp_seconds":1782001330,"priority":1,"record_length":96,"hex_timestamp":"0000019ee78e6750"} 
[2026-06-21 05:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 05:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 05:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192263424001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 05:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192263424001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192263424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":110242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:57:31] local.INFO: GPS data processed {"connection_id":110242,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:57:31] local.INFO: Acknowledgment sent {"connection_id":110242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:57:52] local.INFO: TCP Data received {"connection_id":108690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:57:52] local.INFO: Processing buffer {"connection_id":108690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:57:52] local.INFO: IMEI packet received {"connection_id":108690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":108690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:57:58] local.INFO: TCP Data received {"connection_id":108690,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:57:58] local.INFO: Processing buffer {"connection_id":108690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:57:58] local.INFO: IMEI packet received {"connection_id":108690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":108690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:57:59] local.INFO: TCP Data received {"connection_id":108690,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:57:59] local.INFO: Processing buffer {"connection_id":108690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:57:59] local.INFO: Packet analysis {"connection_id":108690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:57:59] local.INFO: Extracted packet for processing {"connection_id":108690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 05:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:57:59] 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-06-21 05:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:57:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":108690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:57:59] local.INFO: GPS data processed {"connection_id":108690,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:57:59] local.INFO: Acknowledgment sent {"connection_id":108690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:58:30] local.INFO: TCP Data received {"connection_id":108690,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:58:30] local.INFO: Processing buffer {"connection_id":108690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:58:30] local.INFO: Packet analysis {"connection_id":108690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:58:30] local.INFO: Extracted packet for processing {"connection_id":108690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 05:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:58:30] 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-06-21 05:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":108690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:58:30] local.INFO: GPS data processed {"connection_id":108690,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:58:30] local.INFO: Acknowledgment sent {"connection_id":108690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:58:53] local.INFO: TCP Data received {"connection_id":109294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:58:53] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:58:53] local.INFO: IMEI packet received {"connection_id":109294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":109294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:58:58] local.INFO: TCP Data received {"connection_id":109294,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:58:58] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:58:58] local.INFO: IMEI packet received {"connection_id":109294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":109294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:58:59] local.INFO: TCP Data received {"connection_id":109294,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:58:59] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:58:59] local.INFO: Packet analysis {"connection_id":109294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:58:59] local.INFO: Extracted packet for processing {"connection_id":109294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 05:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:58:59] 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-06-21 05:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:58:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:58:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":109294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:58:59] local.INFO: GPS data processed {"connection_id":109294,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:58:59] local.INFO: Acknowledgment sent {"connection_id":109294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:59:30] local.INFO: TCP Data received {"connection_id":109294,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:59:30] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:59:30] local.INFO: Packet analysis {"connection_id":109294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:59:30] local.INFO: Extracted packet for processing {"connection_id":109294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 05:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 05:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 05:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:59:30] 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-06-21 05:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:59:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":109294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:59:30] local.INFO: GPS data processed {"connection_id":109294,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:59:30] local.INFO: Acknowledgment sent {"connection_id":109294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 05:59:53] local.INFO: TCP Data received {"connection_id":108507,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:59:53] local.INFO: Processing buffer {"connection_id":108507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:59:53] local.INFO: IMEI packet received {"connection_id":108507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 05:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":108507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 05:59:58] local.INFO: TCP Data received {"connection_id":108507,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:59:58] local.INFO: Processing buffer {"connection_id":108507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 05:59:58] local.INFO: IMEI packet received {"connection_id":108507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 05:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":108507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 05:59:59] local.INFO: TCP Data received {"connection_id":108507,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:59:59] local.INFO: Processing buffer {"connection_id":108507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 05:59:59] local.INFO: Packet analysis {"connection_id":108507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:59:59] local.INFO: Extracted packet for processing {"connection_id":108507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 05:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 05: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-06-21 05:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 05:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 05:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 05:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 05:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 05:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 05:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 05: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 05:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 05: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-06-21 05:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 05:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 05:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 05:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 05:59:59] 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-06-21 05:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 05:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 05:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 05:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 05:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 05:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 05:59:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 05:59:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 05:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 05:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 05:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 05:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":108507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 05:59:59] local.INFO: GPS data processed {"connection_id":108507,"processed":1,"errors":0,"total":1} 
[2026-06-21 05:59:59] local.INFO: Acknowledgment sent {"connection_id":108507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:00:30] local.INFO: TCP Data received {"connection_id":108507,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:00:30] local.INFO: Processing buffer {"connection_id":108507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:00:30] local.INFO: Packet analysis {"connection_id":108507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:00:30] local.INFO: Extracted packet for processing {"connection_id":108507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 06:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:00:30] 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-06-21 06:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:00:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":108507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:00:30] local.INFO: GPS data processed {"connection_id":108507,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:00:30] local.INFO: Acknowledgment sent {"connection_id":108507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:00:52] local.INFO: TCP Data received {"connection_id":109296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:00:52] local.INFO: Processing buffer {"connection_id":109296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:00:52] local.INFO: IMEI packet received {"connection_id":109296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":109296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:00:58] local.INFO: TCP Data received {"connection_id":109296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:00:58] local.INFO: Processing buffer {"connection_id":109296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:00:58] local.INFO: IMEI packet received {"connection_id":109296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":109296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:00:58] local.INFO: TCP Data received {"connection_id":109296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:00:58] local.INFO: Processing buffer {"connection_id":109296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:00:58] local.INFO: Packet analysis {"connection_id":109296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:00:58] local.INFO: Extracted packet for processing {"connection_id":109296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 06:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:00:58] 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-06-21 06:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:00:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":109296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:00:58] local.INFO: GPS data processed {"connection_id":109296,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:00:58] local.INFO: Acknowledgment sent {"connection_id":109296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:01:30] local.INFO: TCP Data received {"connection_id":109296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:01:30] local.INFO: Processing buffer {"connection_id":109296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:01:30] local.INFO: Packet analysis {"connection_id":109296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:01:30] local.INFO: Extracted packet for processing {"connection_id":109296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 06:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:01:30] 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-06-21 06:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:01:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:01:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":109296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:01:30] local.INFO: GPS data processed {"connection_id":109296,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:01:30] local.INFO: Acknowledgment sent {"connection_id":109296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:01:43] local.INFO: TCP Data received {"connection_id":108691,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:01:43] local.INFO: Processing buffer {"connection_id":108691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:01:43] local.INFO: IMEI packet received {"connection_id":108691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":108691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:01:52] local.INFO: TCP Data received {"connection_id":108508,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:01:52] local.INFO: Processing buffer {"connection_id":108508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:01:52] local.INFO: IMEI packet received {"connection_id":108508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":108508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:01:58] local.INFO: TCP Data received {"connection_id":108508,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:01:58] local.INFO: Processing buffer {"connection_id":108508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:01:58] local.INFO: IMEI packet received {"connection_id":108508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":108508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:01:59] local.INFO: TCP Data received {"connection_id":108508,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:01:59] local.INFO: Processing buffer {"connection_id":108508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:01:59] local.INFO: Packet analysis {"connection_id":108508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:01:59] local.INFO: Extracted packet for processing {"connection_id":108508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 06:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:01:59] 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-06-21 06:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:01:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":108508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:01:59] local.INFO: GPS data processed {"connection_id":108508,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:01:59] local.INFO: Acknowledgment sent {"connection_id":108508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:02:13] local.INFO: TCP Data received {"connection_id":109297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:02:13] local.INFO: Processing buffer {"connection_id":109297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:02:13] local.INFO: IMEI packet received {"connection_id":109297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":109297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:02:30] local.INFO: TCP Data received {"connection_id":108508,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:02:30] local.INFO: Processing buffer {"connection_id":108508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee792ff18012d34c14006aa3d280007011729..."} 
[2026-06-21 06:02:30] local.INFO: Packet analysis {"connection_id":108508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:02:30] local.INFO: Extracted packet for processing {"connection_id":108508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee792"} 
[2026-06-21 06:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192340480001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001631000,"timestamp_ms":1782001631000,"timestamp_seconds":1782001631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee792ff18"} 
[2026-06-21 06:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:02:30] 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-06-21 06:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192340480001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192340480001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:02:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:02:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192340480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":108508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:02:30] local.INFO: GPS data processed {"connection_id":108508,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:02:30] local.INFO: Acknowledgment sent {"connection_id":108508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:02:52] local.INFO: TCP Data received {"connection_id":108509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:02:52] local.INFO: Processing buffer {"connection_id":108509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:02:52] local.INFO: IMEI packet received {"connection_id":108509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":108509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:02:58] local.INFO: TCP Data received {"connection_id":108509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:02:58] local.INFO: Processing buffer {"connection_id":108509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:02:58] local.INFO: IMEI packet received {"connection_id":108509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":108509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:02:59] local.INFO: TCP Data received {"connection_id":108509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:02:59] local.INFO: Processing buffer {"connection_id":108509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:02:59] local.INFO: Packet analysis {"connection_id":108509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:02:59] local.INFO: Extracted packet for processing {"connection_id":108509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:02:59] 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-06-21 06:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:02:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":108509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:02:59] local.INFO: GPS data processed {"connection_id":108509,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:02:59] local.INFO: Acknowledgment sent {"connection_id":108509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:03:31] local.INFO: TCP Data received {"connection_id":108509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:03:31] local.INFO: Processing buffer {"connection_id":108509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:03:31] local.INFO: Packet analysis {"connection_id":108509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:03:31] local.INFO: Extracted packet for processing {"connection_id":108509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":108509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:03:31] local.INFO: GPS data processed {"connection_id":108509,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:03:31] local.INFO: Acknowledgment sent {"connection_id":108509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:03:53] local.INFO: TCP Data received {"connection_id":109298,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:03:53] local.INFO: Processing buffer {"connection_id":109298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:03:53] local.INFO: IMEI packet received {"connection_id":109298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":109298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:03:58] local.INFO: TCP Data received {"connection_id":109298,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:03:58] local.INFO: Processing buffer {"connection_id":109298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:03:58] local.INFO: IMEI packet received {"connection_id":109298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":109298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:03:59] local.INFO: TCP Data received {"connection_id":109298,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:03:59] local.INFO: Processing buffer {"connection_id":109298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:03:59] local.INFO: Packet analysis {"connection_id":109298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:03:59] local.INFO: Extracted packet for processing {"connection_id":109298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:03:59] 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-06-21 06:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:03:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:03:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":109298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:03:59] local.INFO: GPS data processed {"connection_id":109298,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:03:59] local.INFO: Acknowledgment sent {"connection_id":109298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:04:31] local.INFO: TCP Data received {"connection_id":109298,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:04:31] local.INFO: Processing buffer {"connection_id":109298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:04:31] local.INFO: Packet analysis {"connection_id":109298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:04:31] local.INFO: Extracted packet for processing {"connection_id":109298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":109298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:04:31] local.INFO: GPS data processed {"connection_id":109298,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:04:31] local.INFO: Acknowledgment sent {"connection_id":109298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:04:52] local.INFO: TCP Data received {"connection_id":109299,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:04:52] local.INFO: Processing buffer {"connection_id":109299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:04:52] local.INFO: IMEI packet received {"connection_id":109299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":109299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:04:58] local.INFO: TCP Data received {"connection_id":109299,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:04:58] local.INFO: Processing buffer {"connection_id":109299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:04:58] local.INFO: IMEI packet received {"connection_id":109299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":109299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:04:59] local.INFO: TCP Data received {"connection_id":109299,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:04:59] local.INFO: Processing buffer {"connection_id":109299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:04:59] local.INFO: Packet analysis {"connection_id":109299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:04:59] local.INFO: Extracted packet for processing {"connection_id":109299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:04:59] 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-06-21 06:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:04:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:04:59] local.INFO: GPS data processed {"connection_id":109299,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:04:59] local.INFO: Acknowledgment sent {"connection_id":109299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:05:30] local.INFO: TCP Data received {"connection_id":109299,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:05:30] local.INFO: Processing buffer {"connection_id":109299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:05:30] local.INFO: Packet analysis {"connection_id":109299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:05:30] local.INFO: Extracted packet for processing {"connection_id":109299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:05:30] 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-06-21 06:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":109299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:05:30] local.INFO: GPS data processed {"connection_id":109299,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:05:30] local.INFO: Acknowledgment sent {"connection_id":109299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:05:52] local.INFO: TCP Data received {"connection_id":108693,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:05:52] local.INFO: Processing buffer {"connection_id":108693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:05:52] local.INFO: IMEI packet received {"connection_id":108693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":108693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:05:58] local.INFO: TCP Data received {"connection_id":108693,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:05:58] local.INFO: Processing buffer {"connection_id":108693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:05:58] local.INFO: IMEI packet received {"connection_id":108693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":108693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:05:59] local.INFO: TCP Data received {"connection_id":108693,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:05:59] local.INFO: Processing buffer {"connection_id":108693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:05:59] local.INFO: Packet analysis {"connection_id":108693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:05:59] local.INFO: Extracted packet for processing {"connection_id":108693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:05:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:05:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":108693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:05:59] local.INFO: GPS data processed {"connection_id":108693,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:05:59] local.INFO: Acknowledgment sent {"connection_id":108693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:06:31] local.INFO: TCP Data received {"connection_id":108693,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:06:31] local.INFO: Processing buffer {"connection_id":108693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:06:31] local.INFO: Packet analysis {"connection_id":108693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:06:31] local.INFO: Extracted packet for processing {"connection_id":108693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":108693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:06:31] local.INFO: GPS data processed {"connection_id":108693,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:06:31] local.INFO: Acknowledgment sent {"connection_id":108693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:06:58] local.INFO: TCP Data received {"connection_id":109300,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:06:58] local.INFO: Processing buffer {"connection_id":109300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:06:58] local.INFO: IMEI packet received {"connection_id":109300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":109300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:07:02] local.INFO: TCP Data received {"connection_id":109300,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:02] local.INFO: Processing buffer {"connection_id":109300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:02] local.INFO: IMEI packet received {"connection_id":109300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":109300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:07:04] local.INFO: TCP Data received {"connection_id":109300,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:07:04] local.INFO: Processing buffer {"connection_id":109300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:07:04] local.INFO: Packet analysis {"connection_id":109300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:07:04] local.INFO: Extracted packet for processing {"connection_id":109300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06: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-06-21 06:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:07:04] 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-06-21 06:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":109300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:07:04] local.INFO: GPS data processed {"connection_id":109300,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:07:04] local.INFO: Acknowledgment sent {"connection_id":109300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:07:09] local.INFO: TCP Data received {"connection_id":109300,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:07:09] local.INFO: Processing buffer {"connection_id":109300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79796e0012d34c14006aa3d28000701172b..."} 
[2026-06-21 06:07:09] local.INFO: Packet analysis {"connection_id":109300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:07:09] local.INFO: Extracted packet for processing {"connection_id":109300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee797"} 
[2026-06-21 06:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192417536001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06: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-06-21 06:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782001932000,"timestamp_ms":1782001932000,"timestamp_seconds":1782001932,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79796e0"} 
[2026-06-21 06:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:07:09] 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-06-21 06:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192417536001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192417536001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192417536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":109300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:07:09] local.INFO: GPS data processed {"connection_id":109300,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:07:09] local.INFO: Acknowledgment sent {"connection_id":109300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:07:38] local.INFO: TCP Data received {"connection_id":110247,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:07:38] local.INFO: Processing buffer {"connection_id":110247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:07:38] local.INFO: IMEI packet received {"connection_id":110247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":110247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:07:52] local.INFO: TCP Data received {"connection_id":110248,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:52] local.INFO: Processing buffer {"connection_id":110248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:52] local.INFO: IMEI packet received {"connection_id":110248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":110248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:07:52] local.INFO: TCP Data received {"connection_id":110248,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:52] local.INFO: Processing buffer {"connection_id":110248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:52] local.INFO: IMEI packet received {"connection_id":110248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":110248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:07:58] local.INFO: TCP Data received {"connection_id":110248,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:58] local.INFO: Processing buffer {"connection_id":110248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:07:58] local.INFO: IMEI packet received {"connection_id":110248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":110248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:07:59] local.INFO: TCP Data received {"connection_id":110248,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:07:59] local.INFO: Processing buffer {"connection_id":110248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:07:59] local.INFO: Packet analysis {"connection_id":110248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:07:59] local.INFO: Extracted packet for processing {"connection_id":110248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:07:59] 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-06-21 06:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:07:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":110248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:07:59] local.INFO: GPS data processed {"connection_id":110248,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:07:59] local.INFO: Acknowledgment sent {"connection_id":110248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:08:13] local.INFO: TCP Data received {"connection_id":109301,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:08:13] local.INFO: Processing buffer {"connection_id":109301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:08:13] local.INFO: IMEI packet received {"connection_id":109301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":109301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:08:30] local.INFO: TCP Data received {"connection_id":110248,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:08:30] local.INFO: Processing buffer {"connection_id":110248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:08:30] local.INFO: Packet analysis {"connection_id":110248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:08:30] local.INFO: Extracted packet for processing {"connection_id":110248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:08:30] 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-06-21 06:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":110248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:08:30] local.INFO: GPS data processed {"connection_id":110248,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:08:30] local.INFO: Acknowledgment sent {"connection_id":110248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:08:53] local.INFO: TCP Data received {"connection_id":108510,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:08:53] local.INFO: Processing buffer {"connection_id":108510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:08:53] local.INFO: IMEI packet received {"connection_id":108510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":108510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:08:58] local.INFO: TCP Data received {"connection_id":108510,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:08:58] local.INFO: Processing buffer {"connection_id":108510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:08:58] local.INFO: IMEI packet received {"connection_id":108510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":108510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:08:59] local.INFO: TCP Data received {"connection_id":108510,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:08:59] local.INFO: Processing buffer {"connection_id":108510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:08:59] local.INFO: Packet analysis {"connection_id":108510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:08:59] local.INFO: Extracted packet for processing {"connection_id":108510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:08:59] 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-06-21 06:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:08:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:08:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":108510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:08:59] local.INFO: GPS data processed {"connection_id":108510,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:08:59] local.INFO: Acknowledgment sent {"connection_id":108510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:09:31] local.INFO: TCP Data received {"connection_id":108510,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:09:31] local.INFO: Processing buffer {"connection_id":108510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:09:31] local.INFO: Packet analysis {"connection_id":108510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:09:31] local.INFO: Extracted packet for processing {"connection_id":108510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:09:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:09:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":108510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:09:31] local.INFO: GPS data processed {"connection_id":108510,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:09:31] local.INFO: Acknowledgment sent {"connection_id":108510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:09:52] local.INFO: TCP Data received {"connection_id":109302,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:09:52] local.INFO: Processing buffer {"connection_id":109302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:09:52] local.INFO: IMEI packet received {"connection_id":109302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":109302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:09:58] local.INFO: TCP Data received {"connection_id":109302,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:09:58] local.INFO: Processing buffer {"connection_id":109302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:09:58] local.INFO: IMEI packet received {"connection_id":109302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":109302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:09:59] local.INFO: TCP Data received {"connection_id":109302,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:09:59] local.INFO: Processing buffer {"connection_id":109302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:09:59] local.INFO: Packet analysis {"connection_id":109302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:09:59] local.INFO: Extracted packet for processing {"connection_id":109302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:09:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":109302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:09:59] local.INFO: GPS data processed {"connection_id":109302,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:09:59] local.INFO: Acknowledgment sent {"connection_id":109302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:10:31] local.INFO: TCP Data received {"connection_id":109302,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:10:31] local.INFO: Processing buffer {"connection_id":109302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:10:31] local.INFO: Packet analysis {"connection_id":109302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:10:31] local.INFO: Extracted packet for processing {"connection_id":109302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:10:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:10:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":109302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:10:31] local.INFO: GPS data processed {"connection_id":109302,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:10:31] local.INFO: Acknowledgment sent {"connection_id":109302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:10:52] local.INFO: TCP Data received {"connection_id":109303,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:10:52] local.INFO: Processing buffer {"connection_id":109303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:10:52] local.INFO: IMEI packet received {"connection_id":109303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":109303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:10:58] local.INFO: TCP Data received {"connection_id":109303,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:10:58] local.INFO: Processing buffer {"connection_id":109303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:10:58] local.INFO: IMEI packet received {"connection_id":109303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":109303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:10:59] local.INFO: TCP Data received {"connection_id":109303,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:10:59] local.INFO: Processing buffer {"connection_id":109303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:10:59] local.INFO: Packet analysis {"connection_id":109303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:10:59] local.INFO: Extracted packet for processing {"connection_id":109303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":109303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:10:59] local.INFO: GPS data processed {"connection_id":109303,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:10:59] local.INFO: Acknowledgment sent {"connection_id":109303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:11:30] local.INFO: TCP Data received {"connection_id":109303,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:11:30] local.INFO: Processing buffer {"connection_id":109303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:11:30] local.INFO: Packet analysis {"connection_id":109303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:11:30] local.INFO: Extracted packet for processing {"connection_id":109303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:11:30] 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-06-21 06:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:11:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:11:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":109303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:11:30] local.INFO: GPS data processed {"connection_id":109303,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:11:30] local.INFO: Acknowledgment sent {"connection_id":109303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:11:52] local.INFO: TCP Data received {"connection_id":109304,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:11:52] local.INFO: Processing buffer {"connection_id":109304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:11:52] local.INFO: IMEI packet received {"connection_id":109304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":109304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:11:58] local.INFO: TCP Data received {"connection_id":109304,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:11:58] local.INFO: Processing buffer {"connection_id":109304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:11:58] local.INFO: IMEI packet received {"connection_id":109304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":109304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:11:59] local.INFO: TCP Data received {"connection_id":109304,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:11:59] local.INFO: Processing buffer {"connection_id":109304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:11:59] local.INFO: Packet analysis {"connection_id":109304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:11:59] local.INFO: Extracted packet for processing {"connection_id":109304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:11:59] 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-06-21 06:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":109304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:11:59] local.INFO: GPS data processed {"connection_id":109304,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:11:59] local.INFO: Acknowledgment sent {"connection_id":109304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:12:31] local.INFO: TCP Data received {"connection_id":109304,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:12:31] local.INFO: Processing buffer {"connection_id":109304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee79c2ea8012d34c14006aa3d280008011729..."} 
[2026-06-21 06:12:31] local.INFO: Packet analysis {"connection_id":109304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:12:31] local.INFO: Extracted packet for processing {"connection_id":109304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee79c"} 
[2026-06-21 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192494592001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782002233000,"timestamp_ms":1782002233000,"timestamp_seconds":1782002233,"priority":1,"record_length":96,"hex_timestamp":"0000019ee79c2ea8"} 
[2026-06-21 06:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192494592001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192494592001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192494592001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":109304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:12:31] local.INFO: GPS data processed {"connection_id":109304,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:12:31] local.INFO: Acknowledgment sent {"connection_id":109304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:12:58] local.INFO: TCP Data received {"connection_id":108696,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:12:58] local.INFO: Processing buffer {"connection_id":108696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:12:58] local.INFO: IMEI packet received {"connection_id":108696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":108696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:13:03] local.INFO: TCP Data received {"connection_id":108696,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:03] local.INFO: Processing buffer {"connection_id":108696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:03] local.INFO: IMEI packet received {"connection_id":108696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":108696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:13:03] local.INFO: TCP Data received {"connection_id":108696,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:03] local.INFO: Processing buffer {"connection_id":108696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:03] local.INFO: Packet analysis {"connection_id":108696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:13:03] local.INFO: Extracted packet for processing {"connection_id":108696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":108696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:13:03] local.INFO: GPS data processed {"connection_id":108696,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:13:03] local.INFO: Acknowledgment sent {"connection_id":108696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:13:08] local.INFO: TCP Data received {"connection_id":108696,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:08] local.INFO: Processing buffer {"connection_id":108696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:08] local.INFO: Packet analysis {"connection_id":108696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:13:08] local.INFO: Extracted packet for processing {"connection_id":108696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13: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-06-21 06:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":108696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:13:08] local.INFO: GPS data processed {"connection_id":108696,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:13:08] local.INFO: Acknowledgment sent {"connection_id":108696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:13:48] local.INFO: TCP Data received {"connection_id":108697,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:13:48] local.INFO: Processing buffer {"connection_id":108697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:13:48] local.INFO: IMEI packet received {"connection_id":108697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":108697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:13:52] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:52] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:52] local.INFO: IMEI packet received {"connection_id":110250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":110250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:13:58] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:58] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:13:58] local.INFO: IMEI packet received {"connection_id":110250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":110250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:13:59] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:59] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:13:59] local.INFO: Packet analysis {"connection_id":110250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:13:59] local.INFO: Extracted packet for processing {"connection_id":110250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:13:59] 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-06-21 06:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":110250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:13:59] local.INFO: GPS data processed {"connection_id":110250,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:13:59] local.INFO: Acknowledgment sent {"connection_id":110250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:14:13] local.INFO: TCP Data received {"connection_id":108698,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:14:13] local.INFO: Processing buffer {"connection_id":108698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:14:13] local.INFO: IMEI packet received {"connection_id":108698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":108698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:14:30] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:14:30] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:14:30] local.INFO: Packet analysis {"connection_id":110250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:14:30] local.INFO: Extracted packet for processing {"connection_id":110250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:14:30] 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-06-21 06:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:14:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":110250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:14:30] local.INFO: GPS data processed {"connection_id":110250,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:14:30] local.INFO: Acknowledgment sent {"connection_id":110250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:14:52] local.INFO: TCP Data received {"connection_id":108699,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:14:52] local.INFO: Processing buffer {"connection_id":108699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:14:52] local.INFO: IMEI packet received {"connection_id":108699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":108699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:14:58] local.INFO: TCP Data received {"connection_id":108699,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:14:58] local.INFO: Processing buffer {"connection_id":108699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:14:58] local.INFO: IMEI packet received {"connection_id":108699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":108699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:14:58] local.INFO: TCP Data received {"connection_id":108699,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:14:58] local.INFO: Processing buffer {"connection_id":108699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:14:58] local.INFO: Packet analysis {"connection_id":108699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:14:58] local.INFO: Extracted packet for processing {"connection_id":108699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:14:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:14:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":108699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:14:58] local.INFO: GPS data processed {"connection_id":108699,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:14:58] local.INFO: Acknowledgment sent {"connection_id":108699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:15:32] local.INFO: TCP Data received {"connection_id":108699,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:15:32] local.INFO: Processing buffer {"connection_id":108699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:15:32] local.INFO: Packet analysis {"connection_id":108699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:15:32] local.INFO: Extracted packet for processing {"connection_id":108699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":108699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:15:32] local.INFO: GPS data processed {"connection_id":108699,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:15:32] local.INFO: Acknowledgment sent {"connection_id":108699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:15:58] local.INFO: TCP Data received {"connection_id":109305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:15:58] local.INFO: Processing buffer {"connection_id":109305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:15:58] local.INFO: IMEI packet received {"connection_id":109305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":109305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:16:03] local.INFO: TCP Data received {"connection_id":109305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:03] local.INFO: Processing buffer {"connection_id":109305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:03] local.INFO: IMEI packet received {"connection_id":109305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":109305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:16:04] local.INFO: TCP Data received {"connection_id":109305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:04] local.INFO: Processing buffer {"connection_id":109305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:04] local.INFO: Packet analysis {"connection_id":109305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:16:04] local.INFO: Extracted packet for processing {"connection_id":109305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 06:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 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-06-21 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 06:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":109305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:16:04] local.INFO: GPS data processed {"connection_id":109305,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:16:04] local.INFO: Acknowledgment sent {"connection_id":109305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:16:08] local.INFO: TCP Data received {"connection_id":109305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:08] local.INFO: Processing buffer {"connection_id":109305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:08] local.INFO: Packet analysis {"connection_id":109305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:16:08] local.INFO: Extracted packet for processing {"connection_id":109305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:16:08] 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-06-21 06:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":109305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:16:08] local.INFO: GPS data processed {"connection_id":109305,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:16:08] local.INFO: Acknowledgment sent {"connection_id":109305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:16:52] local.INFO: TCP Data received {"connection_id":108513,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:52] local.INFO: Processing buffer {"connection_id":108513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:52] local.INFO: IMEI packet received {"connection_id":108513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":108513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:16:58] local.INFO: TCP Data received {"connection_id":108513,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:58] local.INFO: Processing buffer {"connection_id":108513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:16:58] local.INFO: IMEI packet received {"connection_id":108513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":108513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:16:58] local.INFO: TCP Data received {"connection_id":108513,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:58] local.INFO: Processing buffer {"connection_id":108513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:16:58] local.INFO: Packet analysis {"connection_id":108513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:16:58] local.INFO: Extracted packet for processing {"connection_id":108513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:16:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:16:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":108513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:16:58] local.INFO: GPS data processed {"connection_id":108513,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:16:58] local.INFO: Acknowledgment sent {"connection_id":108513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:17:30] local.INFO: TCP Data received {"connection_id":108513,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:17:30] local.INFO: Processing buffer {"connection_id":108513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a0c670012d34c14006aa3d28000e011728..."} 
[2026-06-21 06:17:30] local.INFO: Packet analysis {"connection_id":108513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:17:30] local.INFO: Extracted packet for processing {"connection_id":108513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a0"} 
[2026-06-21 06:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192571648001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782002534000,"timestamp_ms":1782002534000,"timestamp_seconds":1782002534,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a0c670"} 
[2026-06-21 06:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192571648001,"66":25473,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192571648001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:17:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:17:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192571648001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":108513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:17:30] local.INFO: GPS data processed {"connection_id":108513,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:17:30] local.INFO: Acknowledgment sent {"connection_id":108513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:17:53] local.INFO: TCP Data received {"connection_id":108514,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:53] local.INFO: Processing buffer {"connection_id":108514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:53] local.INFO: IMEI packet received {"connection_id":108514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":108514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:17:54] local.INFO: TCP Data received {"connection_id":108514,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:54] local.INFO: Processing buffer {"connection_id":108514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:54] local.INFO: IMEI packet received {"connection_id":108514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":108514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:17:58] local.INFO: TCP Data received {"connection_id":108514,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:58] local.INFO: Processing buffer {"connection_id":108514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:17:58] local.INFO: IMEI packet received {"connection_id":108514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":108514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:17:59] local.INFO: TCP Data received {"connection_id":108514,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:17:59] local.INFO: Processing buffer {"connection_id":108514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:17:59] local.INFO: Packet analysis {"connection_id":108514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:17:59] local.INFO: Extracted packet for processing {"connection_id":108514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:17:59] 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-06-21 06:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:17:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:17:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":108514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:17:59] local.INFO: GPS data processed {"connection_id":108514,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:17:59] local.INFO: Acknowledgment sent {"connection_id":108514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:18:03] local.INFO: TCP Data received {"connection_id":108514,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:03] local.INFO: Processing buffer {"connection_id":108514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:03] local.INFO: Packet analysis {"connection_id":108514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:18:03] local.INFO: Extracted packet for processing {"connection_id":108514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":108514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:18:03] local.INFO: GPS data processed {"connection_id":108514,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:18:03] local.INFO: Acknowledgment sent {"connection_id":108514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:18:35] local.INFO: TCP Data received {"connection_id":108514,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:35] local.INFO: Processing buffer {"connection_id":108514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:35] local.INFO: Packet analysis {"connection_id":108514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:18:35] local.INFO: Extracted packet for processing {"connection_id":108514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18: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-06-21 06:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:18:35] 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-06-21 06:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":108514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:18:35] local.INFO: GPS data processed {"connection_id":108514,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:18:35] local.INFO: Acknowledgment sent {"connection_id":108514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:18:52] local.INFO: TCP Data received {"connection_id":109307,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:18:52] local.INFO: Processing buffer {"connection_id":109307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:18:52] local.INFO: IMEI packet received {"connection_id":109307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":109307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:18:58] local.INFO: TCP Data received {"connection_id":109307,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:18:58] local.INFO: Processing buffer {"connection_id":109307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:18:58] local.INFO: IMEI packet received {"connection_id":109307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":109307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:18:59] local.INFO: TCP Data received {"connection_id":109307,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:59] local.INFO: Processing buffer {"connection_id":109307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:18:59] local.INFO: Packet analysis {"connection_id":109307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:18:59] local.INFO: Extracted packet for processing {"connection_id":109307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:18:59] 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-06-21 06:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:18:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:18:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":109307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:18:59] local.INFO: GPS data processed {"connection_id":109307,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:18:59] local.INFO: Acknowledgment sent {"connection_id":109307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:19:30] local.INFO: TCP Data received {"connection_id":109307,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:19:30] local.INFO: Processing buffer {"connection_id":109307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:19:30] local.INFO: Packet analysis {"connection_id":109307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:19:30] local.INFO: Extracted packet for processing {"connection_id":109307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:19:30] 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-06-21 06:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:19:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":109307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:19:30] local.INFO: GPS data processed {"connection_id":109307,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:19:30] local.INFO: Acknowledgment sent {"connection_id":109307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:19:41] local.INFO: TCP Data received {"connection_id":109308,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:19:41] local.INFO: Processing buffer {"connection_id":109308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:19:41] local.INFO: IMEI packet received {"connection_id":109308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":109308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:19:52] local.INFO: TCP Data received {"connection_id":108701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:19:52] local.INFO: Processing buffer {"connection_id":108701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:19:52] local.INFO: IMEI packet received {"connection_id":108701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":108701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:19:58] local.INFO: TCP Data received {"connection_id":108701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:19:58] local.INFO: Processing buffer {"connection_id":108701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:19:58] local.INFO: IMEI packet received {"connection_id":108701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":108701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:19:58] local.INFO: TCP Data received {"connection_id":108701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:19:58] local.INFO: Processing buffer {"connection_id":108701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:19:58] local.INFO: Packet analysis {"connection_id":108701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:19:58] local.INFO: Extracted packet for processing {"connection_id":108701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:19:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:19:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":108701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:19:58] local.INFO: GPS data processed {"connection_id":108701,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:19:58] local.INFO: Acknowledgment sent {"connection_id":108701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:20:13] local.INFO: TCP Data received {"connection_id":110252,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:20:13] local.INFO: Processing buffer {"connection_id":110252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:20:13] local.INFO: IMEI packet received {"connection_id":110252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":110252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:20:30] local.INFO: TCP Data received {"connection_id":108701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:20:30] local.INFO: Processing buffer {"connection_id":108701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:20:30] local.INFO: Packet analysis {"connection_id":108701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:20:30] local.INFO: Extracted packet for processing {"connection_id":108701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:20:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":108701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:20:30] local.INFO: GPS data processed {"connection_id":108701,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:20:30] local.INFO: Acknowledgment sent {"connection_id":108701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:20:58] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:20:58] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:20:58] local.INFO: IMEI packet received {"connection_id":110253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":110253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:21:03] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:03] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:03] local.INFO: IMEI packet received {"connection_id":110253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":110253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:21:04] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:04] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:04] local.INFO: Packet analysis {"connection_id":110253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:21:04] local.INFO: Extracted packet for processing {"connection_id":110253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":110253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:21:04] local.INFO: GPS data processed {"connection_id":110253,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:21:04] local.INFO: Acknowledgment sent {"connection_id":110253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:21:08] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:08] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:08] local.INFO: Packet analysis {"connection_id":110253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:21:08] local.INFO: Extracted packet for processing {"connection_id":110253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:21:08] 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-06-21 06:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":110253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:21:08] local.INFO: GPS data processed {"connection_id":110253,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:21:08] local.INFO: Acknowledgment sent {"connection_id":110253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:21:53] local.INFO: TCP Data received {"connection_id":108703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:53] local.INFO: Processing buffer {"connection_id":108703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:53] local.INFO: IMEI packet received {"connection_id":108703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":108703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:21:58] local.INFO: TCP Data received {"connection_id":108703,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:58] local.INFO: Processing buffer {"connection_id":108703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:21:58] local.INFO: IMEI packet received {"connection_id":108703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":108703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:21:59] local.INFO: TCP Data received {"connection_id":108703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:59] local.INFO: Processing buffer {"connection_id":108703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:21:59] local.INFO: Packet analysis {"connection_id":108703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:21:59] local.INFO: Extracted packet for processing {"connection_id":108703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:21:59] 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-06-21 06:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:21:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:21:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":108703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:21:59] local.INFO: GPS data processed {"connection_id":108703,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:21:59] local.INFO: Acknowledgment sent {"connection_id":108703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:22:31] local.INFO: TCP Data received {"connection_id":108703,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:22:31] local.INFO: Processing buffer {"connection_id":108703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a55e38012d34c14006aa3d280008011729..."} 
[2026-06-21 06:22:31] local.INFO: Packet analysis {"connection_id":108703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:22:31] local.INFO: Extracted packet for processing {"connection_id":108703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a5"} 
[2026-06-21 06:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192648704001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782002835000,"timestamp_ms":1782002835000,"timestamp_seconds":1782002835,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a55e38"} 
[2026-06-21 06:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 06:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192648704001,"66":25375,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192648704001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192648704001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":108703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:22:31] local.INFO: GPS data processed {"connection_id":108703,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:22:31] local.INFO: Acknowledgment sent {"connection_id":108703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:22:53] local.INFO: TCP Data received {"connection_id":108515,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:22:53] local.INFO: Processing buffer {"connection_id":108515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:22:53] local.INFO: IMEI packet received {"connection_id":108515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":108515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:22:54] local.INFO: TCP Data received {"connection_id":108515,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:22:54] local.INFO: Processing buffer {"connection_id":108515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:22:54] local.INFO: IMEI packet received {"connection_id":108515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":108515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:22:55] local.INFO: TCP Data received {"connection_id":108515,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:22:55] local.INFO: Processing buffer {"connection_id":108515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:22:55] local.INFO: Packet analysis {"connection_id":108515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:22:55] local.INFO: Extracted packet for processing {"connection_id":108515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:22:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":108515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":108515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":108515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:22:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:22:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":108515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:22:55] local.INFO: GPS data processed {"connection_id":108515,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:22:55] local.INFO: Acknowledgment sent {"connection_id":108515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:23:26] local.INFO: TCP Data received {"connection_id":108515,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:23:26] local.INFO: Processing buffer {"connection_id":108515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:23:26] local.INFO: Packet analysis {"connection_id":108515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:23:26] local.INFO: Extracted packet for processing {"connection_id":108515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:23:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":108515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":108515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":108515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:23:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:23:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":108515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:23:26] local.INFO: GPS data processed {"connection_id":108515,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:23:26] local.INFO: Acknowledgment sent {"connection_id":108515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:23:52] local.INFO: TCP Data received {"connection_id":108516,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:23:52] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:23:52] local.INFO: IMEI packet received {"connection_id":108516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":108516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:23:58] local.INFO: TCP Data received {"connection_id":108516,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:23:58] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:23:58] local.INFO: IMEI packet received {"connection_id":108516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":108516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:23:58] local.INFO: TCP Data received {"connection_id":108516,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:23:58] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:23:58] local.INFO: Packet analysis {"connection_id":108516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:23:58] local.INFO: Extracted packet for processing {"connection_id":108516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:23:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:23:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":108516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:23:59] local.INFO: GPS data processed {"connection_id":108516,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:23:59] local.INFO: Acknowledgment sent {"connection_id":108516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:24:30] local.INFO: TCP Data received {"connection_id":108516,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:24:30] local.INFO: Processing buffer {"connection_id":108516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:24:30] local.INFO: Packet analysis {"connection_id":108516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:24:30] local.INFO: Extracted packet for processing {"connection_id":108516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:24: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-06-21 06:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":108516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:24:30] local.INFO: GPS data processed {"connection_id":108516,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:24:30] local.INFO: Acknowledgment sent {"connection_id":108516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:24:58] local.INFO: TCP Data received {"connection_id":110255,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:24:58] local.INFO: Processing buffer {"connection_id":110255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:24:58] local.INFO: IMEI packet received {"connection_id":110255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":110255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:25:03] local.INFO: TCP Data received {"connection_id":110255,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:03] local.INFO: Processing buffer {"connection_id":110255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:03] local.INFO: IMEI packet received {"connection_id":110255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":110255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:25:04] local.INFO: TCP Data received {"connection_id":110255,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:04] local.INFO: Processing buffer {"connection_id":110255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:04] local.INFO: Packet analysis {"connection_id":110255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:25:04] local.INFO: Extracted packet for processing {"connection_id":110255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":110255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:25:04] local.INFO: GPS data processed {"connection_id":110255,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:25:04] local.INFO: Acknowledgment sent {"connection_id":110255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:25:08] local.INFO: TCP Data received {"connection_id":110255,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:08] local.INFO: Processing buffer {"connection_id":110255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:08] local.INFO: Packet analysis {"connection_id":110255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:25:08] local.INFO: Extracted packet for processing {"connection_id":110255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25: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-06-21 06:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":110255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:25:08] local.INFO: GPS data processed {"connection_id":110255,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:25:08] local.INFO: Acknowledgment sent {"connection_id":110255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:25:38] local.INFO: TCP Data received {"connection_id":110256,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:25:38] local.INFO: Processing buffer {"connection_id":110256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:25:38] local.INFO: IMEI packet received {"connection_id":110256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":110256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:25:53] local.INFO: TCP Data received {"connection_id":109309,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:53] local.INFO: Processing buffer {"connection_id":109309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:53] local.INFO: IMEI packet received {"connection_id":109309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":109309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:25:58] local.INFO: TCP Data received {"connection_id":109309,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:58] local.INFO: Processing buffer {"connection_id":109309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:25:58] local.INFO: IMEI packet received {"connection_id":109309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":109309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:25:58] local.INFO: TCP Data received {"connection_id":109309,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:58] local.INFO: Processing buffer {"connection_id":109309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:25:58] local.INFO: Packet analysis {"connection_id":109309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:25:58] local.INFO: Extracted packet for processing {"connection_id":109309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:25:58] 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-06-21 06:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:25:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:25:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":109309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:25:58] local.INFO: GPS data processed {"connection_id":109309,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:25:58] local.INFO: Acknowledgment sent {"connection_id":109309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:26:03] local.INFO: TCP Data received {"connection_id":109309,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:03] local.INFO: Processing buffer {"connection_id":109309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:03] local.INFO: Packet analysis {"connection_id":109309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:26:03] local.INFO: Extracted packet for processing {"connection_id":109309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":109309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:26:03] local.INFO: GPS data processed {"connection_id":109309,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:26:03] local.INFO: Acknowledgment sent {"connection_id":109309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:26:14] local.INFO: TCP Data received {"connection_id":110257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:26:14] local.INFO: Processing buffer {"connection_id":110257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:26:14] local.INFO: IMEI packet received {"connection_id":110257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":110257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:26:34] local.INFO: TCP Data received {"connection_id":109309,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:34] local.INFO: Processing buffer {"connection_id":109309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:34] local.INFO: Packet analysis {"connection_id":109309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:26:34] local.INFO: Extracted packet for processing {"connection_id":109309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:26:34] 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-06-21 06:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":109309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:26:34] local.INFO: GPS data processed {"connection_id":109309,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:26:34] local.INFO: Acknowledgment sent {"connection_id":109309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:26:52] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:26:52] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:26:52] local.INFO: IMEI packet received {"connection_id":108517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":108517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:26:58] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:26:58] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:26:58] local.INFO: IMEI packet received {"connection_id":108517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":108517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:26:58] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:58] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:26:58] local.INFO: Packet analysis {"connection_id":108517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:26:58] local.INFO: Extracted packet for processing {"connection_id":108517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:26:58] 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-06-21 06:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:26:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:26:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":108517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:26:58] local.INFO: GPS data processed {"connection_id":108517,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:26:58] local.INFO: Acknowledgment sent {"connection_id":108517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:27:30] local.INFO: TCP Data received {"connection_id":108517,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:27:30] local.INFO: Processing buffer {"connection_id":108517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a9f600012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:27:30] local.INFO: Packet analysis {"connection_id":108517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:27:30] local.INFO: Extracted packet for processing {"connection_id":108517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a9"} 
[2026-06-21 06:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192725760001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782003136000,"timestamp_ms":1782003136000,"timestamp_seconds":1782003136,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a9f600"} 
[2026-06-21 06:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 06:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:27:30] 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-06-21 06:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192725760001,"66":25430,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192725760001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:27:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192725760001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":108517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:27:30] local.INFO: GPS data processed {"connection_id":108517,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:27:30] local.INFO: Acknowledgment sent {"connection_id":108517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:27:52] local.INFO: TCP Data received {"connection_id":109310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:27:52] local.INFO: Processing buffer {"connection_id":109310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:27:52] local.INFO: IMEI packet received {"connection_id":109310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":109310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:27:56] local.INFO: TCP Data received {"connection_id":109310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:27:56] local.INFO: Processing buffer {"connection_id":109310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:27:56] local.INFO: IMEI packet received {"connection_id":109310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":109310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:27:57] local.INFO: TCP Data received {"connection_id":109310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:27:57] local.INFO: Processing buffer {"connection_id":109310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:27:57] local.INFO: Packet analysis {"connection_id":109310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:27:57] local.INFO: Extracted packet for processing {"connection_id":109310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:27:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":109310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":109310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":109310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:27:57] 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-06-21 06:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:27:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:27:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":109310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:27:57] local.INFO: GPS data processed {"connection_id":109310,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:27:57] local.INFO: Acknowledgment sent {"connection_id":109310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:28:28] local.INFO: TCP Data received {"connection_id":109310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:28:28] local.INFO: Processing buffer {"connection_id":109310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:28:28] local.INFO: Packet analysis {"connection_id":109310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:28:28] local.INFO: Extracted packet for processing {"connection_id":109310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:28:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:28:28] 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-06-21 06:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:28:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:28:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":109310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:28:28] local.INFO: GPS data processed {"connection_id":109310,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:28:28] local.INFO: Acknowledgment sent {"connection_id":109310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:28:52] local.INFO: TCP Data received {"connection_id":110258,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:28:52] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:28:52] local.INFO: IMEI packet received {"connection_id":110258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":110258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:28:58] local.INFO: TCP Data received {"connection_id":110258,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:28:58] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:28:58] local.INFO: IMEI packet received {"connection_id":110258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":110258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:28:59] local.INFO: TCP Data received {"connection_id":110258,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:28:59] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:28:59] local.INFO: Packet analysis {"connection_id":110258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:28:59] local.INFO: Extracted packet for processing {"connection_id":110258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:28:59] 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-06-21 06:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:28:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:28:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":110258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:28:59] local.INFO: GPS data processed {"connection_id":110258,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:28:59] local.INFO: Acknowledgment sent {"connection_id":110258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:29:30] local.INFO: TCP Data received {"connection_id":110258,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:29:30] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:29:30] local.INFO: Packet analysis {"connection_id":110258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:29:30] local.INFO: Extracted packet for processing {"connection_id":110258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:29:30] 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-06-21 06:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"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-06-21 06:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":110258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:29:30] local.INFO: GPS data processed {"connection_id":110258,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:29:30] local.INFO: Acknowledgment sent {"connection_id":110258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:29:58] local.INFO: TCP Data received {"connection_id":108519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:29:58] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:29:58] local.INFO: IMEI packet received {"connection_id":108519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":108519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:30:03] local.INFO: TCP Data received {"connection_id":108519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:03] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:03] local.INFO: IMEI packet received {"connection_id":108519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":108519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:30:04] local.INFO: TCP Data received {"connection_id":108519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:30:04] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:30:04] local.INFO: Packet analysis {"connection_id":108519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:30:04] local.INFO: Extracted packet for processing {"connection_id":108519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":108519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:30:04] local.INFO: GPS data processed {"connection_id":108519,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:30:04] local.INFO: Acknowledgment sent {"connection_id":108519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:30:08] local.INFO: TCP Data received {"connection_id":108519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:30:08] local.INFO: Processing buffer {"connection_id":108519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:30:08] local.INFO: Packet analysis {"connection_id":108519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:30:08] local.INFO: Extracted packet for processing {"connection_id":108519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:30: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-06-21 06:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":108519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:30:08] local.INFO: GPS data processed {"connection_id":108519,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:30:08] local.INFO: Acknowledgment sent {"connection_id":108519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:30:53] local.INFO: TCP Data received {"connection_id":110259,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:53] local.INFO: Processing buffer {"connection_id":110259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:53] local.INFO: IMEI packet received {"connection_id":110259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":110259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:30:58] local.INFO: TCP Data received {"connection_id":110259,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:58] local.INFO: Processing buffer {"connection_id":110259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:30:58] local.INFO: IMEI packet received {"connection_id":110259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":110259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:31:00] local.INFO: TCP Data received {"connection_id":110259,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:00] local.INFO: Processing buffer {"connection_id":110259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:00] local.INFO: Packet analysis {"connection_id":110259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:31:00] local.INFO: Extracted packet for processing {"connection_id":110259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:31:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:31:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":110259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:31:00] local.INFO: GPS data processed {"connection_id":110259,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:31:00] local.INFO: Acknowledgment sent {"connection_id":110259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:31:31] local.INFO: TCP Data received {"connection_id":110259,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:31] local.INFO: Processing buffer {"connection_id":110259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:31] local.INFO: Packet analysis {"connection_id":110259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:31:31] local.INFO: Extracted packet for processing {"connection_id":110259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":110259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:31:31] local.INFO: GPS data processed {"connection_id":110259,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:31:31] local.INFO: Acknowledgment sent {"connection_id":110259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:31:52] local.INFO: TCP Data received {"connection_id":109312,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:31:52] local.INFO: Processing buffer {"connection_id":109312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:31:52] local.INFO: IMEI packet received {"connection_id":109312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":109312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:31:57] local.INFO: TCP Data received {"connection_id":109312,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:31:57] local.INFO: Processing buffer {"connection_id":109312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:31:57] local.INFO: IMEI packet received {"connection_id":109312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":109312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:31:59] local.INFO: TCP Data received {"connection_id":109312,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:59] local.INFO: Processing buffer {"connection_id":109312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 06:31:59] local.INFO: Packet analysis {"connection_id":109312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:31:59] local.INFO: Extracted packet for processing {"connection_id":109312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ae"} 
[2026-06-21 06:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192802816001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782003437000,"timestamp_ms":1782003437000,"timestamp_seconds":1782003437,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ae8dc8"} 
[2026-06-21 06:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 06:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192802816001,"66":25397,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192802816001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:31:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:31:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192802816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":109312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:31:59] local.INFO: GPS data processed {"connection_id":109312,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:31:59] local.INFO: Acknowledgment sent {"connection_id":109312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:32:28] local.INFO: TCP Data received {"connection_id":108708,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:32:28] local.INFO: Processing buffer {"connection_id":108708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:32:28] local.INFO: IMEI packet received {"connection_id":108708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":108708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:37:48] local.INFO: TCP Data received {"connection_id":110263,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:37:48] local.INFO: Processing buffer {"connection_id":110263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:37:48] local.INFO: IMEI packet received {"connection_id":110263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":110263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:38:13] local.INFO: TCP Data received {"connection_id":108520,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:38:13] local.INFO: Processing buffer {"connection_id":108520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:38:13] local.INFO: IMEI packet received {"connection_id":108520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":108520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:43:28] local.INFO: TCP Data received {"connection_id":108711,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:43:28] local.INFO: Processing buffer {"connection_id":108711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:43:28] local.INFO: IMEI packet received {"connection_id":108711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":108711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:44:13] local.INFO: TCP Data received {"connection_id":108712,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:44:13] local.INFO: Processing buffer {"connection_id":108712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:44:13] local.INFO: IMEI packet received {"connection_id":108712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":108712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:47:52] local.INFO: TCP Data received {"connection_id":109316,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:47:52] local.INFO: Processing buffer {"connection_id":109316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:47:52] local.INFO: IMEI packet received {"connection_id":109316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":109316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:47:58] local.INFO: TCP Data received {"connection_id":109316,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:47:58] local.INFO: Processing buffer {"connection_id":109316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:47:58] local.INFO: IMEI packet received {"connection_id":109316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":109316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:47:58] local.INFO: TCP Data received {"connection_id":109316,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7b32590012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7b32590012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:47:58] local.INFO: Processing buffer {"connection_id":109316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7b32590012d34c14006aa3d28000701172c..."} 
[2026-06-21 06:47:58] local.INFO: Packet analysis {"connection_id":109316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7b3"} 
[2026-06-21 06:47:58] local.INFO: Extracted packet for processing {"connection_id":109316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7b3"} 
[2026-06-21 06:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192879872001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782003738000,"timestamp_ms":1782003738000,"timestamp_seconds":1782003738,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7b32590"} 
[2026-06-21 06:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 06:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192879872001,"66":25451,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192879872001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:47:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:47:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192879872001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":109316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:47:58] local.INFO: GPS data processed {"connection_id":109316,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:47:58] local.INFO: Acknowledgment sent {"connection_id":109316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:48:30] local.INFO: TCP Data received {"connection_id":109316,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7b7bd58012d34c14006aa3d28000801172a..."} 
[2026-06-21 06:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7b7bd58012d34c14006aa3d28000801172a..."} 
[2026-06-21 06:48:30] local.INFO: Processing buffer {"connection_id":109316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7b7bd58012d34c14006aa3d28000801172a..."} 
[2026-06-21 06:48:30] local.INFO: Packet analysis {"connection_id":109316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7b7"} 
[2026-06-21 06:48:30] local.INFO: Extracted packet for processing {"connection_id":109316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7b7"} 
[2026-06-21 06:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192956928001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782004039000,"timestamp_ms":1782004039000,"timestamp_seconds":1782004039,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7b7bd58"} 
[2026-06-21 06:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 06:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192956928001,"66":25441,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192956928001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:48:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192956928001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":109316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:48:30] local.INFO: GPS data processed {"connection_id":109316,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:48:30] local.INFO: Acknowledgment sent {"connection_id":109316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:48:52] local.INFO: TCP Data received {"connection_id":110266,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:48:52] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:48:52] local.INFO: IMEI packet received {"connection_id":110266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":110266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:48:58] local.INFO: TCP Data received {"connection_id":110266,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:48:58] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:48:58] local.INFO: IMEI packet received {"connection_id":110266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":110266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:48:59] local.INFO: TCP Data received {"connection_id":110266,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:48:59] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:48:59] local.INFO: Packet analysis {"connection_id":110266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:48:59] local.INFO: Extracted packet for processing {"connection_id":110266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06: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-06-21 06:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193033984001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782004340000,"timestamp_ms":1782004340000,"timestamp_seconds":1782004340,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7bc5520"} 
[2026-06-21 06:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06: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-06-21 06:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193033984001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193033984001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:48:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:48:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193033984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":110266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:48:59] local.INFO: GPS data processed {"connection_id":110266,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:48:59] local.INFO: Acknowledgment sent {"connection_id":110266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:49:28] local.INFO: TCP Data received {"connection_id":108714,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:49:28] local.INFO: Processing buffer {"connection_id":108714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:49:28] local.INFO: IMEI packet received {"connection_id":108714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":108714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:49:31] local.INFO: TCP Data received {"connection_id":110266,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:49:31] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:49:31] local.INFO: Packet analysis {"connection_id":110266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:49:31] local.INFO: Extracted packet for processing {"connection_id":110266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193033984001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782004340000,"timestamp_ms":1782004340000,"timestamp_seconds":1782004340,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7bc5520"} 
[2026-06-21 06:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193033984001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193033984001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193033984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":110266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:49:31] local.INFO: GPS data processed {"connection_id":110266,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:49:31] local.INFO: Acknowledgment sent {"connection_id":110266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:49:53] local.INFO: TCP Data received {"connection_id":109317,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:49:53] local.INFO: Processing buffer {"connection_id":109317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:49:53] local.INFO: IMEI packet received {"connection_id":109317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":109317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:49:58] local.INFO: TCP Data received {"connection_id":109317,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:49:58] local.INFO: Processing buffer {"connection_id":109317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:49:58] local.INFO: IMEI packet received {"connection_id":109317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":109317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:49:59] local.INFO: TCP Data received {"connection_id":109317,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:49:59] local.INFO: Processing buffer {"connection_id":109317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:49:59] local.INFO: Packet analysis {"connection_id":109317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:49:59] local.INFO: Extracted packet for processing {"connection_id":109317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193033984001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782004340000,"timestamp_ms":1782004340000,"timestamp_seconds":1782004340,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7bc5520"} 
[2026-06-21 06:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193033984001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193033984001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:49:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:49:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193033984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":109317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:49:59] local.INFO: GPS data processed {"connection_id":109317,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:49:59] local.INFO: Acknowledgment sent {"connection_id":109317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:50:03] local.INFO: TCP Data received {"connection_id":109317,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:50:03] local.INFO: Processing buffer {"connection_id":109317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7bc5520012d34c14006aa3d28000601172c..."} 
[2026-06-21 06:50:03] local.INFO: Packet analysis {"connection_id":109317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:50:03] local.INFO: Extracted packet for processing {"connection_id":109317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7bc"} 
[2026-06-21 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193033984001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782004340000,"timestamp_ms":1782004340000,"timestamp_seconds":1782004340,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7bc5520"} 
[2026-06-21 06:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 06:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193033984001,"66":25419,"97":206,"81":23296,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 06:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193033984001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 06:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 06:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193033984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":109317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:50:03] local.INFO: GPS data processed {"connection_id":109317,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:50:03] local.INFO: Acknowledgment sent {"connection_id":109317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:50:35] local.INFO: TCP Data received {"connection_id":109317,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:50:35] local.INFO: Processing buffer {"connection_id":109317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:50:35] local.INFO: Packet analysis {"connection_id":109317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:50:35] local.INFO: Extracted packet for processing {"connection_id":109317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06: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-06-21 06:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:50:35] 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-06-21 06:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:50:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:50:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":109317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:50:35] local.INFO: GPS data processed {"connection_id":109317,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:50:35] local.INFO: Acknowledgment sent {"connection_id":109317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:50:53] local.INFO: TCP Data received {"connection_id":109318,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:50:53] local.INFO: Processing buffer {"connection_id":109318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:50:53] local.INFO: IMEI packet received {"connection_id":109318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":109318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:50:58] local.INFO: TCP Data received {"connection_id":109318,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:50:58] local.INFO: Processing buffer {"connection_id":109318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:50:58] local.INFO: IMEI packet received {"connection_id":109318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":109318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:50:58] local.INFO: TCP Data received {"connection_id":109318,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:50:58] local.INFO: Processing buffer {"connection_id":109318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:50:58] local.INFO: Packet analysis {"connection_id":109318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:50:58] local.INFO: Extracted packet for processing {"connection_id":109318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:50:58] 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-06-21 06:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:50:58] 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-06-21 06:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:50:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":109318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:50:58] local.INFO: GPS data processed {"connection_id":109318,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:50:58] local.INFO: Acknowledgment sent {"connection_id":109318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:51:30] local.INFO: TCP Data received {"connection_id":109318,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:51:30] local.INFO: Processing buffer {"connection_id":109318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:51:30] local.INFO: Packet analysis {"connection_id":109318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:51:30] local.INFO: Extracted packet for processing {"connection_id":109318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:51:30] 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-06-21 06:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:51:30] 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-06-21 06:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":109318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:51:30] local.INFO: GPS data processed {"connection_id":109318,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:51:30] local.INFO: Acknowledgment sent {"connection_id":109318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:51:52] local.INFO: TCP Data received {"connection_id":108526,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:51:52] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:51:52] local.INFO: IMEI packet received {"connection_id":108526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":108526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:51:58] local.INFO: TCP Data received {"connection_id":108526,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:51:58] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:51:58] local.INFO: IMEI packet received {"connection_id":108526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":108526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:51:59] local.INFO: TCP Data received {"connection_id":108526,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:51:59] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:51:59] local.INFO: Packet analysis {"connection_id":108526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:51:59] local.INFO: Extracted packet for processing {"connection_id":108526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:51:59] 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-06-21 06:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":108526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:51:59] local.INFO: GPS data processed {"connection_id":108526,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:51:59] local.INFO: Acknowledgment sent {"connection_id":108526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:52:30] local.INFO: TCP Data received {"connection_id":108526,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:52:30] local.INFO: Processing buffer {"connection_id":108526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:52:30] local.INFO: Packet analysis {"connection_id":108526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:52:30] local.INFO: Extracted packet for processing {"connection_id":108526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:52:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:52:30] 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-06-21 06:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:52:30] 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-06-21 06:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:52:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":108526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:52:30] local.INFO: GPS data processed {"connection_id":108526,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:52:30] local.INFO: Acknowledgment sent {"connection_id":108526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:52:52] local.INFO: TCP Data received {"connection_id":108716,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:52:52] local.INFO: Processing buffer {"connection_id":108716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:52:52] local.INFO: IMEI packet received {"connection_id":108716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":108716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:52:58] local.INFO: TCP Data received {"connection_id":108716,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:52:58] local.INFO: Processing buffer {"connection_id":108716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:52:58] local.INFO: IMEI packet received {"connection_id":108716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":108716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:52:59] local.INFO: TCP Data received {"connection_id":108716,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:52:59] local.INFO: Processing buffer {"connection_id":108716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:52:59] local.INFO: Packet analysis {"connection_id":108716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:52:59] local.INFO: Extracted packet for processing {"connection_id":108716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:52:59] 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-06-21 06:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:52:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":108716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:52:59] local.INFO: GPS data processed {"connection_id":108716,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:52:59] local.INFO: Acknowledgment sent {"connection_id":108716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:53:30] local.INFO: TCP Data received {"connection_id":108716,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:53:30] local.INFO: Processing buffer {"connection_id":108716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:53:30] local.INFO: Packet analysis {"connection_id":108716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:53:30] local.INFO: Extracted packet for processing {"connection_id":108716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:53:30] 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-06-21 06:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:53:30] 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-06-21 06:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":108716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:53:30] local.INFO: GPS data processed {"connection_id":108716,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:53:30] local.INFO: Acknowledgment sent {"connection_id":108716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:53:52] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:53:52] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:53:52] local.INFO: IMEI packet received {"connection_id":110267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":110267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:53:57] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:53:57] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:53:57] local.INFO: IMEI packet received {"connection_id":110267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":110267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:53:58] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:53:58] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:53:58] local.INFO: Packet analysis {"connection_id":110267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:53:58] local.INFO: Extracted packet for processing {"connection_id":110267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:53:58] 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-06-21 06:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:53:58] 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-06-21 06:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:53:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:53:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":110267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:53:58] local.INFO: GPS data processed {"connection_id":110267,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:53:58] local.INFO: Acknowledgment sent {"connection_id":110267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:54:29] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:54:29] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:54:29] local.INFO: Packet analysis {"connection_id":110267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:54:29] local.INFO: Extracted packet for processing {"connection_id":110267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:54:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:54:29] 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-06-21 06:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:54:29] 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-06-21 06:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:54:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:54:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":110267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:54:29] local.INFO: GPS data processed {"connection_id":110267,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:54:29] local.INFO: Acknowledgment sent {"connection_id":110267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:54:48] local.INFO: TCP Data received {"connection_id":108527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:54:48] local.INFO: Processing buffer {"connection_id":108527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:54:48] local.INFO: IMEI packet received {"connection_id":108527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":108527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:54:58] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:54:58] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:54:58] local.INFO: IMEI packet received {"connection_id":108717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":108717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:55:02] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:02] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:02] local.INFO: IMEI packet received {"connection_id":108717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":108717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:55:04] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:55:04] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:55:04] local.INFO: Packet analysis {"connection_id":108717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:55:04] local.INFO: Extracted packet for processing {"connection_id":108717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06: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-06-21 06:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":108717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:55:04] local.INFO: GPS data processed {"connection_id":108717,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:55:04] local.INFO: Acknowledgment sent {"connection_id":108717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:55:08] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:55:08] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c30be0012d34c14006aa3d28000901172a..."} 
[2026-06-21 06:55:08] local.INFO: Packet analysis {"connection_id":108717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:55:08] local.INFO: Extracted packet for processing {"connection_id":108717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c3"} 
[2026-06-21 06:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193111040001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:08] 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-06-21 06:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782004780000,"timestamp_ms":1782004780000,"timestamp_seconds":1782004780,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c30be0"} 
[2026-06-21 06:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 06:55:08] 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-06-21 06:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193111040001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193111040001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193111040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":108717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:55:08] local.INFO: GPS data processed {"connection_id":108717,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:55:08] local.INFO: Acknowledgment sent {"connection_id":108717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:55:18] local.INFO: TCP Data received {"connection_id":110268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:55:18] local.INFO: Processing buffer {"connection_id":110268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 06:55:18] local.INFO: IMEI packet received {"connection_id":110268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 06:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":110268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:55:52] local.INFO: TCP Data received {"connection_id":109321,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:52] local.INFO: Processing buffer {"connection_id":109321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:52] local.INFO: IMEI packet received {"connection_id":109321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":109321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:55:58] local.INFO: TCP Data received {"connection_id":109321,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:58] local.INFO: Processing buffer {"connection_id":109321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:55:58] local.INFO: IMEI packet received {"connection_id":109321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":109321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:55:59] local.INFO: TCP Data received {"connection_id":109321,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:55:59] local.INFO: Processing buffer {"connection_id":109321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:55:59] local.INFO: Packet analysis {"connection_id":109321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:55:59] local.INFO: Extracted packet for processing {"connection_id":109321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":109321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:55:59] local.INFO: GPS data processed {"connection_id":109321,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:55:59] local.INFO: Acknowledgment sent {"connection_id":109321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:56:30] local.INFO: TCP Data received {"connection_id":109321,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:56:30] local.INFO: Processing buffer {"connection_id":109321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:56:30] local.INFO: Packet analysis {"connection_id":109321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:56:30] local.INFO: Extracted packet for processing {"connection_id":109321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:56:30] 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-06-21 06:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:56:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":109321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:56:30] local.INFO: GPS data processed {"connection_id":109321,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:56:30] local.INFO: Acknowledgment sent {"connection_id":109321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:56:52] local.INFO: TCP Data received {"connection_id":108718,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:56:52] local.INFO: Processing buffer {"connection_id":108718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:56:52] local.INFO: IMEI packet received {"connection_id":108718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":108718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:56:58] local.INFO: TCP Data received {"connection_id":108718,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:56:58] local.INFO: Processing buffer {"connection_id":108718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:56:58] local.INFO: IMEI packet received {"connection_id":108718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":108718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:56:58] local.INFO: TCP Data received {"connection_id":108718,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:56:59] local.INFO: Processing buffer {"connection_id":108718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:56:59] local.INFO: Packet analysis {"connection_id":108718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:56:59] local.INFO: Extracted packet for processing {"connection_id":108718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":108718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:56:59] local.INFO: GPS data processed {"connection_id":108718,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:56:59] local.INFO: Acknowledgment sent {"connection_id":108718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:57:30] local.INFO: TCP Data received {"connection_id":108718,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:57:30] local.INFO: Processing buffer {"connection_id":108718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:57:30] local.INFO: Packet analysis {"connection_id":108718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:57:30] local.INFO: Extracted packet for processing {"connection_id":108718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:57:30] 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-06-21 06:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:57:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":108718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:57:30] local.INFO: GPS data processed {"connection_id":108718,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:57:30] local.INFO: Acknowledgment sent {"connection_id":108718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:57:52] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:57:52] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:57:52] local.INFO: IMEI packet received {"connection_id":110270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":110270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:57:58] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:57:58] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:57:58] local.INFO: IMEI packet received {"connection_id":110270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":110270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:57:59] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:57:59] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:57:59] local.INFO: Packet analysis {"connection_id":110270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:57:59] local.INFO: Extracted packet for processing {"connection_id":110270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":110270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:57:59] local.INFO: GPS data processed {"connection_id":110270,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:57:59] local.INFO: Acknowledgment sent {"connection_id":110270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:58:31] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:58:31] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:58:31] local.INFO: Packet analysis {"connection_id":110270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:58:31] local.INFO: Extracted packet for processing {"connection_id":110270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:58:31] 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-06-21 06:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":110270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:58:31] local.INFO: GPS data processed {"connection_id":110270,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:58:31] local.INFO: Acknowledgment sent {"connection_id":110270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:58:58] local.INFO: TCP Data received {"connection_id":109322,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:58:58] local.INFO: Processing buffer {"connection_id":109322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:58:58] local.INFO: IMEI packet received {"connection_id":109322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":109322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:59:03] local.INFO: TCP Data received {"connection_id":109322,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:03] local.INFO: Processing buffer {"connection_id":109322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:03] local.INFO: IMEI packet received {"connection_id":109322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":109322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:59:04] local.INFO: TCP Data received {"connection_id":109322,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:04] local.INFO: Processing buffer {"connection_id":109322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:04] local.INFO: Packet analysis {"connection_id":109322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:59:04] local.INFO: Extracted packet for processing {"connection_id":109322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06: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-06-21 06:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":109322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:59:04] local.INFO: GPS data processed {"connection_id":109322,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:59:04] local.INFO: Acknowledgment sent {"connection_id":109322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:59:09] local.INFO: TCP Data received {"connection_id":109322,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:09] local.INFO: Processing buffer {"connection_id":109322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:09] local.INFO: Packet analysis {"connection_id":109322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:59:09] local.INFO: Extracted packet for processing {"connection_id":109322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59: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-06-21 06:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:59:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":109322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:59:09] local.INFO: GPS data processed {"connection_id":109322,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:59:09] local.INFO: Acknowledgment sent {"connection_id":109322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 06:59:53] local.INFO: TCP Data received {"connection_id":108529,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:53] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:53] local.INFO: IMEI packet received {"connection_id":108529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 06:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":108529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 06:59:58] local.INFO: TCP Data received {"connection_id":108529,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:58] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 06:59:58] local.INFO: IMEI packet received {"connection_id":108529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 06:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":108529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 06:59:59] local.INFO: TCP Data received {"connection_id":108529,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:59] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7c7a3a8012d34c14006aa3d28000601172a..."} 
[2026-06-21 06:59:59] local.INFO: Packet analysis {"connection_id":108529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:59:59] local.INFO: Extracted packet for processing {"connection_id":108529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7c7"} 
[2026-06-21 06:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 06:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 06:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193223680001,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 06:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 06:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005081000,"timestamp_ms":1782005081000,"timestamp_seconds":1782005081,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7c7a3a8"} 
[2026-06-21 06:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 06:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 06:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 06:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 06:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 06:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 06:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 06:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 06:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 06:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 06:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 06:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 06:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193223680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 06:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 06:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 06:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193223680001,"description":"Unknown IO ID 0"} 
[2026-06-21 06:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 06:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 06:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 06:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 06:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193223680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 06:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":108529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 06:59:59] local.INFO: GPS data processed {"connection_id":108529,"processed":1,"errors":0,"total":1} 
[2026-06-21 06:59:59] local.INFO: Acknowledgment sent {"connection_id":108529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:00:30] local.INFO: TCP Data received {"connection_id":108529,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:00:30] local.INFO: Processing buffer {"connection_id":108529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:00:30] local.INFO: Packet analysis {"connection_id":108529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:00:30] local.INFO: Extracted packet for processing {"connection_id":108529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:00:30] 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-06-21 07:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:00:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:00:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":108529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:00:30] local.INFO: GPS data processed {"connection_id":108529,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:00:30] local.INFO: Acknowledgment sent {"connection_id":108529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:00:43] local.INFO: TCP Data received {"connection_id":109323,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:00:43] local.INFO: Processing buffer {"connection_id":109323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:00:43] local.INFO: IMEI packet received {"connection_id":109323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":109323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:00:58] local.INFO: TCP Data received {"connection_id":108530,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:00:58] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:00:58] local.INFO: IMEI packet received {"connection_id":108530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":108530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:01:03] local.INFO: TCP Data received {"connection_id":108530,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:03] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:03] local.INFO: IMEI packet received {"connection_id":108530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":108530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:01:04] local.INFO: TCP Data received {"connection_id":108530,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:04] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:04] local.INFO: Packet analysis {"connection_id":108530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:01:04] local.INFO: Extracted packet for processing {"connection_id":108530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01: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-06-21 07:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":108530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:01:04] local.INFO: GPS data processed {"connection_id":108530,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:01:04] local.INFO: Acknowledgment sent {"connection_id":108530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:01:08] local.INFO: TCP Data received {"connection_id":108530,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:08] local.INFO: Processing buffer {"connection_id":108530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:08] local.INFO: Packet analysis {"connection_id":108530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:01:08] local.INFO: Extracted packet for processing {"connection_id":108530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:08] 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-06-21 07:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:01:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":108530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:01:08] local.INFO: GPS data processed {"connection_id":108530,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:01:08] local.INFO: Acknowledgment sent {"connection_id":108530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:01:13] local.INFO: TCP Data received {"connection_id":110272,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:01:13] local.INFO: Processing buffer {"connection_id":110272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:01:13] local.INFO: IMEI packet received {"connection_id":110272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":110272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:01:53] local.INFO: TCP Data received {"connection_id":108531,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:53] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:53] local.INFO: IMEI packet received {"connection_id":108531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":108531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:01:58] local.INFO: TCP Data received {"connection_id":108531,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:58] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:01:58] local.INFO: IMEI packet received {"connection_id":108531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":108531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:01:59] local.INFO: TCP Data received {"connection_id":108531,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:59] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:01:59] local.INFO: Packet analysis {"connection_id":108531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:01:59] local.INFO: Extracted packet for processing {"connection_id":108531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":108531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:01:59] local.INFO: GPS data processed {"connection_id":108531,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:01:59] local.INFO: Acknowledgment sent {"connection_id":108531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:02:30] local.INFO: TCP Data received {"connection_id":108531,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:02:30] local.INFO: Processing buffer {"connection_id":108531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:02:30] local.INFO: Packet analysis {"connection_id":108531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:02:30] local.INFO: Extracted packet for processing {"connection_id":108531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:02:30] 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-06-21 07:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:02:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":108531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:02:31] local.INFO: GPS data processed {"connection_id":108531,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:02:31] local.INFO: Acknowledgment sent {"connection_id":108531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:02:53] local.INFO: TCP Data received {"connection_id":109324,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:02:53] local.INFO: Processing buffer {"connection_id":109324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:02:53] local.INFO: IMEI packet received {"connection_id":109324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":109324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:02:58] local.INFO: TCP Data received {"connection_id":109324,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:02:58] local.INFO: Processing buffer {"connection_id":109324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:02:58] local.INFO: IMEI packet received {"connection_id":109324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":109324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:02:59] local.INFO: TCP Data received {"connection_id":109324,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:02:59] local.INFO: Processing buffer {"connection_id":109324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:02:59] local.INFO: Packet analysis {"connection_id":109324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:02:59] local.INFO: Extracted packet for processing {"connection_id":109324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:02:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":109324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:02:59] local.INFO: GPS data processed {"connection_id":109324,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:02:59] local.INFO: Acknowledgment sent {"connection_id":109324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:03:31] local.INFO: TCP Data received {"connection_id":109324,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:03:31] local.INFO: Processing buffer {"connection_id":109324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:03:31] local.INFO: Packet analysis {"connection_id":109324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:03:31] local.INFO: Extracted packet for processing {"connection_id":109324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:03:31] 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-06-21 07:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:03:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":109324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:03:31] local.INFO: GPS data processed {"connection_id":109324,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:03:31] local.INFO: Acknowledgment sent {"connection_id":109324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:03:52] local.INFO: TCP Data received {"connection_id":108533,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:03:52] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:03:52] local.INFO: IMEI packet received {"connection_id":108533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":108533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:03:58] local.INFO: TCP Data received {"connection_id":108533,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:03:58] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:03:58] local.INFO: IMEI packet received {"connection_id":108533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":108533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:03:58] local.INFO: TCP Data received {"connection_id":108533,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:03:58] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:03:58] local.INFO: Packet analysis {"connection_id":108533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:03:58] local.INFO: Extracted packet for processing {"connection_id":108533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:03:58] 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-06-21 07:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:03:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":108533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:03:58] local.INFO: GPS data processed {"connection_id":108533,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:03:58] local.INFO: Acknowledgment sent {"connection_id":108533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:04:31] local.INFO: TCP Data received {"connection_id":108533,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:04:31] local.INFO: Processing buffer {"connection_id":108533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:04:31] local.INFO: Packet analysis {"connection_id":108533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:04:31] local.INFO: Extracted packet for processing {"connection_id":108533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:04:31] 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-06-21 07:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:04:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":108533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:04:31] local.INFO: GPS data processed {"connection_id":108533,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:04:31] local.INFO: Acknowledgment sent {"connection_id":108533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:04:52] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:04:52] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:04:52] local.INFO: IMEI packet received {"connection_id":108720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":108720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:04:58] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:04:58] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:04:58] local.INFO: IMEI packet received {"connection_id":108720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":108720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:04:59] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:04:59] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7cc3b70012d34c14006aa3d28000701172e..."} 
[2026-06-21 07:04:59] local.INFO: Packet analysis {"connection_id":108720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:04:59] local.INFO: Extracted packet for processing {"connection_id":108720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7cc"} 
[2026-06-21 07:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07: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-06-21 07:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193300736001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005382000,"timestamp_ms":1782005382000,"timestamp_seconds":1782005382,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7cc3b70"} 
[2026-06-21 07:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 07:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193300736001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193300736001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:04:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193300736001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":108720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:04:59] local.INFO: GPS data processed {"connection_id":108720,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:04:59] local.INFO: Acknowledgment sent {"connection_id":108720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:05:31] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:05:31] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:05:31] local.INFO: Packet analysis {"connection_id":108720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:05:31] local.INFO: Extracted packet for processing {"connection_id":108720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:05:31] 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-06-21 07:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:05:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":108720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:05:31] local.INFO: GPS data processed {"connection_id":108720,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:05:31] local.INFO: Acknowledgment sent {"connection_id":108720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:05:53] local.INFO: TCP Data received {"connection_id":110275,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:05:53] local.INFO: Processing buffer {"connection_id":110275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:05:53] local.INFO: IMEI packet received {"connection_id":110275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":110275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:05:58] local.INFO: TCP Data received {"connection_id":110275,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:05:58] local.INFO: Processing buffer {"connection_id":110275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:05:58] local.INFO: IMEI packet received {"connection_id":110275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":110275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:05:58] local.INFO: TCP Data received {"connection_id":110275,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:05:58] local.INFO: Processing buffer {"connection_id":110275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:05:58] local.INFO: Packet analysis {"connection_id":110275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:05:58] local.INFO: Extracted packet for processing {"connection_id":110275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:05:58] 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-06-21 07:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:05:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":110275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:05:58] local.INFO: GPS data processed {"connection_id":110275,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:05:58] local.INFO: Acknowledgment sent {"connection_id":110275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:06:30] local.INFO: TCP Data received {"connection_id":110275,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:06:30] local.INFO: Processing buffer {"connection_id":110275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:06:30] local.INFO: Packet analysis {"connection_id":110275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:06:30] local.INFO: Extracted packet for processing {"connection_id":110275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:06:30] 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-06-21 07:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":110275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:06:30] local.INFO: GPS data processed {"connection_id":110275,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:06:30] local.INFO: Acknowledgment sent {"connection_id":110275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:06:43] local.INFO: TCP Data received {"connection_id":109325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:06:43] local.INFO: Processing buffer {"connection_id":109325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:06:43] local.INFO: IMEI packet received {"connection_id":109325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":109325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:06:53] local.INFO: TCP Data received {"connection_id":110276,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:06:53] local.INFO: Processing buffer {"connection_id":110276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:06:53] local.INFO: IMEI packet received {"connection_id":110276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":110276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:06:58] local.INFO: TCP Data received {"connection_id":110276,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:06:58] local.INFO: Processing buffer {"connection_id":110276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:06:58] local.INFO: IMEI packet received {"connection_id":110276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":110276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:06:59] local.INFO: TCP Data received {"connection_id":110276,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:06:59] local.INFO: Processing buffer {"connection_id":110276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:06:59] local.INFO: Packet analysis {"connection_id":110276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:06:59] local.INFO: Extracted packet for processing {"connection_id":110276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:06:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":110276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:06:59] local.INFO: GPS data processed {"connection_id":110276,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:06:59] local.INFO: Acknowledgment sent {"connection_id":110276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:07:13] local.INFO: TCP Data received {"connection_id":108721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:07:13] local.INFO: Processing buffer {"connection_id":108721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:07:13] local.INFO: IMEI packet received {"connection_id":108721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":108721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:07:30] local.INFO: TCP Data received {"connection_id":110276,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:07:30] local.INFO: Processing buffer {"connection_id":110276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:07:30] local.INFO: Packet analysis {"connection_id":110276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:07:30] local.INFO: Extracted packet for processing {"connection_id":110276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:07:30] 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-06-21 07:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 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-06-21 07:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 07:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:07:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":110276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:07:30] local.INFO: GPS data processed {"connection_id":110276,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:07:30] local.INFO: Acknowledgment sent {"connection_id":110276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:07:52] local.INFO: TCP Data received {"connection_id":108722,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:07:52] local.INFO: Processing buffer {"connection_id":108722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:07:52] local.INFO: IMEI packet received {"connection_id":108722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":108722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:07:58] local.INFO: TCP Data received {"connection_id":108722,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:07:58] local.INFO: Processing buffer {"connection_id":108722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:07:58] local.INFO: IMEI packet received {"connection_id":108722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":108722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:07:59] local.INFO: TCP Data received {"connection_id":108722,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:07:59] local.INFO: Processing buffer {"connection_id":108722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:07:59] local.INFO: Packet analysis {"connection_id":108722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:07:59] local.INFO: Extracted packet for processing {"connection_id":108722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07: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-06-21 07:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":108722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":359999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:07:59] local.INFO: GPS data processed {"connection_id":108722,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:07:59] local.INFO: Acknowledgment sent {"connection_id":108722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:08:30] local.INFO: TCP Data received {"connection_id":108722,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:08:30] local.INFO: Processing buffer {"connection_id":108722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:08:30] local.INFO: Packet analysis {"connection_id":108722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:08:30] local.INFO: Extracted packet for processing {"connection_id":108722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:08:30] 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-06-21 07:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:08:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":108722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:08:30] local.INFO: GPS data processed {"connection_id":108722,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:08:30] local.INFO: Acknowledgment sent {"connection_id":108722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:08:52] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:08:52] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:08:52] local.INFO: IMEI packet received {"connection_id":110277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":110277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:08:58] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:08:58] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:08:58] local.INFO: IMEI packet received {"connection_id":110277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":110277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:08:58] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:08:58] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:08:58] local.INFO: Packet analysis {"connection_id":110277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:08:58] local.INFO: Extracted packet for processing {"connection_id":110277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:08:58] 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-06-21 07:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:08:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":110277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:08:58] local.INFO: GPS data processed {"connection_id":110277,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:08:58] local.INFO: Acknowledgment sent {"connection_id":110277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:09:30] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:09:30] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:09:30] local.INFO: Packet analysis {"connection_id":110277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:09:30] local.INFO: Extracted packet for processing {"connection_id":110277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:09:30] 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-06-21 07:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:09:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":110277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:09:30] local.INFO: GPS data processed {"connection_id":110277,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:09:30] local.INFO: Acknowledgment sent {"connection_id":110277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:09:58] local.INFO: TCP Data received {"connection_id":108536,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:09:58] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:09:58] local.INFO: IMEI packet received {"connection_id":108536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":108536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:10:03] local.INFO: TCP Data received {"connection_id":108536,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:03] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:03] local.INFO: IMEI packet received {"connection_id":108536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":108536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:10:04] local.INFO: TCP Data received {"connection_id":108536,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:04] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:04] local.INFO: Packet analysis {"connection_id":108536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:10:04] local.INFO: Extracted packet for processing {"connection_id":108536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10: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-06-21 07:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 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-06-21 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 07:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":108536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:10:04] local.INFO: GPS data processed {"connection_id":108536,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:10:04] local.INFO: Acknowledgment sent {"connection_id":108536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:10:08] local.INFO: TCP Data received {"connection_id":108536,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:08] local.INFO: Processing buffer {"connection_id":108536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d0d338012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:08] local.INFO: Packet analysis {"connection_id":108536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:10:08] local.INFO: Extracted packet for processing {"connection_id":108536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d0"} 
[2026-06-21 07:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07: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-06-21 07:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193377792001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:08] 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-06-21 07:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782005683000,"timestamp_ms":1782005683000,"timestamp_seconds":1782005683,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d0d338"} 
[2026-06-21 07:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 07:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193377792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193377792001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:10:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193377792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":108536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:10:08] local.INFO: GPS data processed {"connection_id":108536,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:10:08] local.INFO: Acknowledgment sent {"connection_id":108536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:10:53] local.INFO: TCP Data received {"connection_id":109326,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:53] local.INFO: Processing buffer {"connection_id":109326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:53] local.INFO: IMEI packet received {"connection_id":109326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":109326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:10:58] local.INFO: TCP Data received {"connection_id":109326,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:58] local.INFO: Processing buffer {"connection_id":109326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:10:58] local.INFO: IMEI packet received {"connection_id":109326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":109326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:10:59] local.INFO: TCP Data received {"connection_id":109326,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:59] local.INFO: Processing buffer {"connection_id":109326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:10:59] local.INFO: Packet analysis {"connection_id":109326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:10:59] local.INFO: Extracted packet for processing {"connection_id":109326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":109326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:10:59] local.INFO: GPS data processed {"connection_id":109326,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:10:59] local.INFO: Acknowledgment sent {"connection_id":109326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:11:30] local.INFO: TCP Data received {"connection_id":109326,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:11:30] local.INFO: Processing buffer {"connection_id":109326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:11:30] local.INFO: Packet analysis {"connection_id":109326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:11:30] local.INFO: Extracted packet for processing {"connection_id":109326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:11:30] 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-06-21 07:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:11:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:11:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":109326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:11:30] local.INFO: GPS data processed {"connection_id":109326,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:11:30] local.INFO: Acknowledgment sent {"connection_id":109326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:11:52] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:11:52] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:11:52] local.INFO: IMEI packet received {"connection_id":108537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":108537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:11:58] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:11:58] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:11:58] local.INFO: IMEI packet received {"connection_id":108537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":108537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:11:58] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:11:58] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:11:58] local.INFO: Packet analysis {"connection_id":108537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:11:58] local.INFO: Extracted packet for processing {"connection_id":108537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:11:58] 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-06-21 07:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:11:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":108537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:11:59] local.INFO: GPS data processed {"connection_id":108537,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:11:59] local.INFO: Acknowledgment sent {"connection_id":108537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:12:31] local.INFO: TCP Data received {"connection_id":108537,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:12:31] local.INFO: Processing buffer {"connection_id":108537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:12:31] local.INFO: Packet analysis {"connection_id":108537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:12:31] local.INFO: Extracted packet for processing {"connection_id":108537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:12:31] 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-06-21 07:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:12:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":108537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:12:31] local.INFO: GPS data processed {"connection_id":108537,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:12:31] local.INFO: Acknowledgment sent {"connection_id":108537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:12:38] local.INFO: TCP Data received {"connection_id":108538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:12:38] local.INFO: Processing buffer {"connection_id":108538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:12:38] local.INFO: IMEI packet received {"connection_id":108538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":108538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:12:52] local.INFO: TCP Data received {"connection_id":110279,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:12:52] local.INFO: Processing buffer {"connection_id":110279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:12:52] local.INFO: IMEI packet received {"connection_id":110279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":110279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:12:58] local.INFO: TCP Data received {"connection_id":110279,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:12:58] local.INFO: Processing buffer {"connection_id":110279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:12:58] local.INFO: IMEI packet received {"connection_id":110279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":110279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:12:59] local.INFO: TCP Data received {"connection_id":110279,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:12:59] local.INFO: Processing buffer {"connection_id":110279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:12:59] local.INFO: Packet analysis {"connection_id":110279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:12:59] local.INFO: Extracted packet for processing {"connection_id":110279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":110279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:12:59] local.INFO: GPS data processed {"connection_id":110279,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:12:59] local.INFO: Acknowledgment sent {"connection_id":110279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:13:13] local.INFO: TCP Data received {"connection_id":109327,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:13:13] local.INFO: Processing buffer {"connection_id":109327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:13:13] local.INFO: IMEI packet received {"connection_id":109327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":109327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:13:18] local.INFO: TCP Data received {"connection_id":109327,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:13:18] local.INFO: Processing buffer {"connection_id":109327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:13:18] local.INFO: IMEI packet received {"connection_id":109327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 07:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":109327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:13:19] local.INFO: TCP Data received {"connection_id":109327,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7a6eca8012d34c24006aa3f30000c013030..."} 
[2026-06-21 07:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7a6eca8012d34c24006aa3f30000c013030..."} 
[2026-06-21 07:13:19] local.INFO: Processing buffer {"connection_id":109327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7a6eca8012d34c24006aa3f30000c013030..."} 
[2026-06-21 07:13:19] local.INFO: Packet analysis {"connection_id":109327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7a6"} 
[2026-06-21 07:13:19] local.INFO: Extracted packet for processing {"connection_id":109327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7a6"} 
[2026-06-21 07:13:19] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111820592,"longitude_deg":75.843232,"latitude_deg":11.1820592,"altitude":12,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa3f30","is_valid_coordinates":true} 
[2026-06-21 07:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456192746496001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":126022835909951488,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824369152,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782002937000,"timestamp_ms":1782002937000,"timestamp_seconds":1782002937,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7a6eca8"} 
[2026-06-21 07:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:13: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-06-21 07:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 07:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":109327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":109327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 07:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":109327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 07:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 07:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 07:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456192746496001,"66":28148,"97":206,"81":23296,"24":0,"16":126022835909951488,"45":3801671432824369152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 07:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 07:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 07:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456192746496001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:13:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 07:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 07:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":126022835909951488,"km_value":126022835909951.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824369152,"description":"Unknown IO ID 45"} 
[2026-06-21 07:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456192746496001,"power":28148,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824369152}} 
[2026-06-21 07:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":109327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:13:19] local.INFO: GPS data processed {"connection_id":109327,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:13:19] local.INFO: Acknowledgment sent {"connection_id":109327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:13:30] local.INFO: TCP Data received {"connection_id":110279,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:13:31] local.INFO: Processing buffer {"connection_id":110279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:13:31] local.INFO: Packet analysis {"connection_id":110279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:13:31] local.INFO: Extracted packet for processing {"connection_id":110279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:31] 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-06-21 07:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:13:31] local.INFO: GPS data processed {"connection_id":110279,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:13:31] local.INFO: Acknowledgment sent {"connection_id":110279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:13:52] local.INFO: TCP Data received {"connection_id":110280,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:13:52] local.INFO: Processing buffer {"connection_id":110280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:13:52] local.INFO: IMEI packet received {"connection_id":110280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":110280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:13:58] local.INFO: TCP Data received {"connection_id":110280,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:13:58] local.INFO: Processing buffer {"connection_id":110280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:13:58] local.INFO: IMEI packet received {"connection_id":110280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":110280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:13:58] local.INFO: TCP Data received {"connection_id":110280,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:13:58] local.INFO: Processing buffer {"connection_id":110280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:13:58] local.INFO: Packet analysis {"connection_id":110280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:13:58] local.INFO: Extracted packet for processing {"connection_id":110280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:13:58] 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-06-21 07:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":110280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:13:59] local.INFO: GPS data processed {"connection_id":110280,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:13:59] local.INFO: Acknowledgment sent {"connection_id":110280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:14:03] local.INFO: TCP Data received {"connection_id":108539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:14:03] local.INFO: Processing buffer {"connection_id":108539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:14:03] local.INFO: IMEI packet received {"connection_id":108539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":108539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:14:30] local.INFO: TCP Data received {"connection_id":110280,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:14:30] local.INFO: Processing buffer {"connection_id":110280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:14:30] local.INFO: Packet analysis {"connection_id":110280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:14:30] local.INFO: Extracted packet for processing {"connection_id":110280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:14:30] 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-06-21 07:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":110280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:14:30] local.INFO: GPS data processed {"connection_id":110280,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:14:30] local.INFO: Acknowledgment sent {"connection_id":110280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:14:53] local.INFO: TCP Data received {"connection_id":109328,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:14:53] local.INFO: Processing buffer {"connection_id":109328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:14:53] local.INFO: IMEI packet received {"connection_id":109328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":109328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:14:58] local.INFO: TCP Data received {"connection_id":109328,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:14:58] local.INFO: Processing buffer {"connection_id":109328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:14:58] local.INFO: IMEI packet received {"connection_id":109328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":109328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:14:58] local.INFO: TCP Data received {"connection_id":109328,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:14:58] local.INFO: Processing buffer {"connection_id":109328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7d56b00012d34c14006aa3d28000801172d..."} 
[2026-06-21 07:14:58] local.INFO: Packet analysis {"connection_id":109328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:14:58] local.INFO: Extracted packet for processing {"connection_id":109328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7d5"} 
[2026-06-21 07:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193454848001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:14:58] 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-06-21 07:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782005984000,"timestamp_ms":1782005984000,"timestamp_seconds":1782005984,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7d56b00"} 
[2026-06-21 07:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193454848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193454848001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:14:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193454848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":109328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:14:58] local.INFO: GPS data processed {"connection_id":109328,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:14:58] local.INFO: Acknowledgment sent {"connection_id":109328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:15:30] local.INFO: TCP Data received {"connection_id":109328,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:15:30] local.INFO: Processing buffer {"connection_id":109328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:15:30] local.INFO: Packet analysis {"connection_id":109328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:15:30] local.INFO: Extracted packet for processing {"connection_id":109328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:15:30] 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-06-21 07:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:15:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":109328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:15:30] local.INFO: GPS data processed {"connection_id":109328,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:15:30] local.INFO: Acknowledgment sent {"connection_id":109328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:15:52] local.INFO: TCP Data received {"connection_id":109330,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:15:52] local.INFO: Processing buffer {"connection_id":109330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:15:52] local.INFO: IMEI packet received {"connection_id":109330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":109330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:15:58] local.INFO: TCP Data received {"connection_id":109330,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:15:58] local.INFO: Processing buffer {"connection_id":109330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:15:58] local.INFO: IMEI packet received {"connection_id":109330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":109330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:15:59] local.INFO: TCP Data received {"connection_id":109330,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:15:59] local.INFO: Processing buffer {"connection_id":109330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:15:59] local.INFO: Packet analysis {"connection_id":109330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:15:59] local.INFO: Extracted packet for processing {"connection_id":109330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 07:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 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-06-21 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 07:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:15:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":109330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:15:59] local.INFO: GPS data processed {"connection_id":109330,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:15:59] local.INFO: Acknowledgment sent {"connection_id":109330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:16:31] local.INFO: TCP Data received {"connection_id":109330,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:16:31] local.INFO: Processing buffer {"connection_id":109330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:16:31] local.INFO: Packet analysis {"connection_id":109330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:16:31] local.INFO: Extracted packet for processing {"connection_id":109330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 07:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:16:31] 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-06-21 07:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 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-06-21 07:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 07:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:16:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":109330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:16:31] local.INFO: GPS data processed {"connection_id":109330,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:16:31] local.INFO: Acknowledgment sent {"connection_id":109330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:16:52] local.INFO: TCP Data received {"connection_id":110282,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:16:52] local.INFO: Processing buffer {"connection_id":110282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:16:52] local.INFO: IMEI packet received {"connection_id":110282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":110282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:16:58] local.INFO: TCP Data received {"connection_id":110282,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:16:58] local.INFO: Processing buffer {"connection_id":110282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:16:58] local.INFO: IMEI packet received {"connection_id":110282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":110282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:16:59] local.INFO: TCP Data received {"connection_id":110282,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:16:59] local.INFO: Processing buffer {"connection_id":110282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:16:59] local.INFO: Packet analysis {"connection_id":110282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:16:59] local.INFO: Extracted packet for processing {"connection_id":110282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":110282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:16:59] local.INFO: GPS data processed {"connection_id":110282,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:16:59] local.INFO: Acknowledgment sent {"connection_id":110282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:17:30] local.INFO: TCP Data received {"connection_id":110282,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:17:30] local.INFO: Processing buffer {"connection_id":110282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:17:30] local.INFO: Packet analysis {"connection_id":110282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:17:30] local.INFO: Extracted packet for processing {"connection_id":110282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:17:30] 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-06-21 07:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":110282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:17:30] local.INFO: GPS data processed {"connection_id":110282,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:17:30] local.INFO: Acknowledgment sent {"connection_id":110282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:17:52] local.INFO: TCP Data received {"connection_id":109331,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:17:52] local.INFO: Processing buffer {"connection_id":109331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:17:52] local.INFO: IMEI packet received {"connection_id":109331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":109331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:17:58] local.INFO: TCP Data received {"connection_id":109331,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:17:58] local.INFO: Processing buffer {"connection_id":109331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:17:58] local.INFO: IMEI packet received {"connection_id":109331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":109331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:17:58] local.INFO: TCP Data received {"connection_id":109331,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:17:58] local.INFO: Processing buffer {"connection_id":109331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:17:58] local.INFO: Packet analysis {"connection_id":109331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:17:58] local.INFO: Extracted packet for processing {"connection_id":109331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:17:58] 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-06-21 07:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":109331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:17:58] local.INFO: GPS data processed {"connection_id":109331,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:17:58] local.INFO: Acknowledgment sent {"connection_id":109331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:18:30] local.INFO: TCP Data received {"connection_id":109331,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:18:30] local.INFO: Processing buffer {"connection_id":109331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:18:30] local.INFO: Packet analysis {"connection_id":109331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:18:30] local.INFO: Extracted packet for processing {"connection_id":109331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:18:30] 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-06-21 07:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:18:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":109331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:18:30] local.INFO: GPS data processed {"connection_id":109331,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:18:30] local.INFO: Acknowledgment sent {"connection_id":109331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:18:58] local.INFO: TCP Data received {"connection_id":108542,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:18:58] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:18:58] local.INFO: IMEI packet received {"connection_id":108542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":108542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:19:03] local.INFO: TCP Data received {"connection_id":108542,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:03] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:03] local.INFO: IMEI packet received {"connection_id":108542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":108542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:19:05] local.INFO: TCP Data received {"connection_id":108542,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:05] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:05] local.INFO: Packet analysis {"connection_id":108542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:19:05] local.INFO: Extracted packet for processing {"connection_id":108542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19: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-06-21 07:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:19:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":108542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:19:05] local.INFO: GPS data processed {"connection_id":108542,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:19:05] local.INFO: Acknowledgment sent {"connection_id":108542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:19:08] local.INFO: TCP Data received {"connection_id":108542,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:08] local.INFO: Processing buffer {"connection_id":108542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:08] local.INFO: Packet analysis {"connection_id":108542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:19:08] local.INFO: Extracted packet for processing {"connection_id":108542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:08] 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-06-21 07:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":108542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:19:08] local.INFO: GPS data processed {"connection_id":108542,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:19:08] local.INFO: Acknowledgment sent {"connection_id":108542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:19:33] local.INFO: TCP Data received {"connection_id":110283,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:19:33] local.INFO: Processing buffer {"connection_id":110283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:19:33] local.INFO: IMEI packet received {"connection_id":110283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":110283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:19:53] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:53] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:53] local.INFO: IMEI packet received {"connection_id":108725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":108725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:19:58] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:58] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:19:58] local.INFO: IMEI packet received {"connection_id":108725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":108725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:19:58] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:58] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7da02c8012d34c14006aa3d28000901172f..."} 
[2026-06-21 07:19:58] local.INFO: Packet analysis {"connection_id":108725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:19:58] local.INFO: Extracted packet for processing {"connection_id":108725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7da"} 
[2026-06-21 07:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193531904001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:19:58] 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-06-21 07:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782006285000,"timestamp_ms":1782006285000,"timestamp_seconds":1782006285,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7da02c8"} 
[2026-06-21 07:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193531904001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193531904001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:19:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193531904001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":108725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:19:58] local.INFO: GPS data processed {"connection_id":108725,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:19:58] local.INFO: Acknowledgment sent {"connection_id":108725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:20:13] local.INFO: TCP Data received {"connection_id":110284,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:20:13] local.INFO: Processing buffer {"connection_id":110284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:20:13] local.INFO: IMEI packet received {"connection_id":110284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":110284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:20:30] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:20:30] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:20:30] local.INFO: Packet analysis {"connection_id":108725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:20:30] local.INFO: Extracted packet for processing {"connection_id":108725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:20:30] 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-06-21 07:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:20:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":108725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:20:30] local.INFO: GPS data processed {"connection_id":108725,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:20:30] local.INFO: Acknowledgment sent {"connection_id":108725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:20:52] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:20:52] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:20:52] local.INFO: IMEI packet received {"connection_id":110285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":110285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:20:58] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:20:58] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:20:58] local.INFO: IMEI packet received {"connection_id":110285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":110285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:20:58] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:20:58] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:20:58] local.INFO: Packet analysis {"connection_id":110285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:20:58] local.INFO: Extracted packet for processing {"connection_id":110285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:20:58] 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-06-21 07:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:20:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":110285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:20:58] local.INFO: GPS data processed {"connection_id":110285,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:20:58] local.INFO: Acknowledgment sent {"connection_id":110285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:21:30] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:21:30] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:21:30] local.INFO: Packet analysis {"connection_id":110285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:21:30] local.INFO: Extracted packet for processing {"connection_id":110285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:21:30] 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-06-21 07:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":110285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:21:30] local.INFO: GPS data processed {"connection_id":110285,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:21:30] local.INFO: Acknowledgment sent {"connection_id":110285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:21:52] local.INFO: TCP Data received {"connection_id":109333,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:21:52] local.INFO: Processing buffer {"connection_id":109333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:21:52] local.INFO: IMEI packet received {"connection_id":109333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":109333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:21:58] local.INFO: TCP Data received {"connection_id":109333,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:21:58] local.INFO: Processing buffer {"connection_id":109333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:21:58] local.INFO: IMEI packet received {"connection_id":109333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":109333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:21:59] local.INFO: TCP Data received {"connection_id":109333,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:21:59] local.INFO: Processing buffer {"connection_id":109333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:21:59] local.INFO: Packet analysis {"connection_id":109333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:21:59] local.INFO: Extracted packet for processing {"connection_id":109333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07: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-06-21 07:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":109333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:21:59] local.INFO: GPS data processed {"connection_id":109333,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:21:59] local.INFO: Acknowledgment sent {"connection_id":109333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:22:30] local.INFO: TCP Data received {"connection_id":109333,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:22:30] local.INFO: Processing buffer {"connection_id":109333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:22:30] local.INFO: Packet analysis {"connection_id":109333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:22:30] local.INFO: Extracted packet for processing {"connection_id":109333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:22:30] 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-06-21 07:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":109333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:22:30] local.INFO: GPS data processed {"connection_id":109333,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:22:30] local.INFO: Acknowledgment sent {"connection_id":109333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:22:58] local.INFO: TCP Data received {"connection_id":109334,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:22:58] local.INFO: Processing buffer {"connection_id":109334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:22:58] local.INFO: IMEI packet received {"connection_id":109334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":109334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:22:59] local.INFO: TCP Data received {"connection_id":109334,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:22:59] local.INFO: Processing buffer {"connection_id":109334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:22:59] local.INFO: Packet analysis {"connection_id":109334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:22:59] local.INFO: Extracted packet for processing {"connection_id":109334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":109334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:22:59] local.INFO: GPS data processed {"connection_id":109334,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:22:59] local.INFO: Acknowledgment sent {"connection_id":109334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:23:31] local.INFO: TCP Data received {"connection_id":109334,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:23:31] local.INFO: Processing buffer {"connection_id":109334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:23:31] local.INFO: Packet analysis {"connection_id":109334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:23:31] local.INFO: Extracted packet for processing {"connection_id":109334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:23:31] 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-06-21 07:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:23:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":109334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:23:31] local.INFO: GPS data processed {"connection_id":109334,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:23:31] local.INFO: Acknowledgment sent {"connection_id":109334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:23:53] local.INFO: TCP Data received {"connection_id":110287,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:23:53] local.INFO: Processing buffer {"connection_id":110287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:23:53] local.INFO: IMEI packet received {"connection_id":110287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":110287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:23:58] local.INFO: TCP Data received {"connection_id":110287,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:23:58] local.INFO: Processing buffer {"connection_id":110287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:23:58] local.INFO: IMEI packet received {"connection_id":110287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":110287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:23:59] local.INFO: TCP Data received {"connection_id":110287,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:23:59] local.INFO: Processing buffer {"connection_id":110287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:23:59] local.INFO: Packet analysis {"connection_id":110287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:23:59] local.INFO: Extracted packet for processing {"connection_id":110287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:23:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":110287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:23:59] local.INFO: GPS data processed {"connection_id":110287,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:23:59] local.INFO: Acknowledgment sent {"connection_id":110287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:24:03] local.INFO: TCP Data received {"connection_id":110287,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:24:03] local.INFO: Processing buffer {"connection_id":110287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:24:03] local.INFO: Packet analysis {"connection_id":110287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:24:03] local.INFO: Extracted packet for processing {"connection_id":110287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:24:03] 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-06-21 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":110287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:24:03] local.INFO: GPS data processed {"connection_id":110287,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:24:03] local.INFO: Acknowledgment sent {"connection_id":110287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:24:35] local.INFO: TCP Data received {"connection_id":110287,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:24:35] local.INFO: Processing buffer {"connection_id":110287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:24:35] local.INFO: Packet analysis {"connection_id":110287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:24:35] local.INFO: Extracted packet for processing {"connection_id":110287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:24: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-06-21 07:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:24:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":110287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:24:35] local.INFO: GPS data processed {"connection_id":110287,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:24:35] local.INFO: Acknowledgment sent {"connection_id":110287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:24:53] local.INFO: TCP Data received {"connection_id":110288,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:24:53] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:24:53] local.INFO: IMEI packet received {"connection_id":110288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":110288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:24:58] local.INFO: TCP Data received {"connection_id":110288,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:24:58] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:24:58] local.INFO: IMEI packet received {"connection_id":110288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":110288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:25:00] local.INFO: TCP Data received {"connection_id":110288,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:25:00] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 07:25:00] local.INFO: Packet analysis {"connection_id":110288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:25:00] local.INFO: Extracted packet for processing {"connection_id":110288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 07:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:00] 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-06-21 07:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 07:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":110288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:25:00] local.INFO: GPS data processed {"connection_id":110288,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:25:00] local.INFO: Acknowledgment sent {"connection_id":110288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:25:31] local.INFO: TCP Data received {"connection_id":110288,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:25:31] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:25:31] local.INFO: Packet analysis {"connection_id":110288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:25:31] local.INFO: Extracted packet for processing {"connection_id":110288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:31] 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-06-21 07:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:25:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":110288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:25:31] local.INFO: GPS data processed {"connection_id":110288,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:25:31] local.INFO: Acknowledgment sent {"connection_id":110288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:25:43] local.INFO: TCP Data received {"connection_id":109335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:25:43] local.INFO: Processing buffer {"connection_id":109335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:25:43] local.INFO: IMEI packet received {"connection_id":109335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":109335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:25:52] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:25:52] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:25:52] local.INFO: IMEI packet received {"connection_id":108544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":108544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:25:58] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:25:58] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:25:58] local.INFO: IMEI packet received {"connection_id":108544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":108544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:25:59] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:25:59] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:25:59] local.INFO: Packet analysis {"connection_id":108544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:25:59] local.INFO: Extracted packet for processing {"connection_id":108544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":108544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:25:59] local.INFO: GPS data processed {"connection_id":108544,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:25:59] local.INFO: Acknowledgment sent {"connection_id":108544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:26:13] local.INFO: TCP Data received {"connection_id":108727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:26:13] local.INFO: Processing buffer {"connection_id":108727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:26:13] local.INFO: IMEI packet received {"connection_id":108727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":108727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:26:31] local.INFO: TCP Data received {"connection_id":108544,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:26:31] local.INFO: Processing buffer {"connection_id":108544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:26:31] local.INFO: Packet analysis {"connection_id":108544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:26:31] local.INFO: Extracted packet for processing {"connection_id":108544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:26:31] 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-06-21 07:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":108544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:26:31] local.INFO: GPS data processed {"connection_id":108544,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:26:31] local.INFO: Acknowledgment sent {"connection_id":108544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:26:52] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:26:52] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:26:52] local.INFO: IMEI packet received {"connection_id":108728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":108728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:26:58] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:26:58] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:26:58] local.INFO: IMEI packet received {"connection_id":108728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":108728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:26:59] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:26:59] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:26:59] local.INFO: Packet analysis {"connection_id":108728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:26:59] local.INFO: Extracted packet for processing {"connection_id":108728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":108728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:26:59] local.INFO: GPS data processed {"connection_id":108728,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:26:59] local.INFO: Acknowledgment sent {"connection_id":108728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:27:31] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:27:31] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:27:31] local.INFO: Packet analysis {"connection_id":108728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:27:31] local.INFO: Extracted packet for processing {"connection_id":108728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 07:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:27:31] 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-06-21 07:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 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-06-21 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 07:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":108728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:27:31] local.INFO: GPS data processed {"connection_id":108728,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:27:31] local.INFO: Acknowledgment sent {"connection_id":108728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:27:58] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:27:58] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:27:58] local.INFO: IMEI packet received {"connection_id":108546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":108546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:28:03] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:03] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:03] local.INFO: IMEI packet received {"connection_id":108546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":108546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:28:04] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:04] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:04] local.INFO: Packet analysis {"connection_id":108546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:28:04] local.INFO: Extracted packet for processing {"connection_id":108546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28: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-06-21 07:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":108546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:28:04] local.INFO: GPS data processed {"connection_id":108546,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:28:04] local.INFO: Acknowledgment sent {"connection_id":108546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:28:10] local.INFO: TCP Data received {"connection_id":108546,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:10] local.INFO: Processing buffer {"connection_id":108546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:10] local.INFO: Packet analysis {"connection_id":108546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:28:10] local.INFO: Extracted packet for processing {"connection_id":108546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07: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-06-21 07:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:10] 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-06-21 07:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":108546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:28:10] local.INFO: GPS data processed {"connection_id":108546,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:28:10] local.INFO: Acknowledgment sent {"connection_id":108546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:28:53] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:53] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:53] local.INFO: IMEI packet received {"connection_id":108730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":108730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:28:58] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:58] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:28:58] local.INFO: IMEI packet received {"connection_id":108730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":108730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:28:59] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:59] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:28:59] local.INFO: Packet analysis {"connection_id":108730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:28:59] local.INFO: Extracted packet for processing {"connection_id":108730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":108730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:28:59] local.INFO: GPS data processed {"connection_id":108730,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:28:59] local.INFO: Acknowledgment sent {"connection_id":108730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:29:31] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:29:31] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:29:31] local.INFO: Packet analysis {"connection_id":108730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:29:31] local.INFO: Extracted packet for processing {"connection_id":108730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:29:31] 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-06-21 07:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:29:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":108730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:29:31] local.INFO: GPS data processed {"connection_id":108730,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:29:31] local.INFO: Acknowledgment sent {"connection_id":108730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:29:52] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:29:52] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:29:52] local.INFO: IMEI packet received {"connection_id":108547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":108547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:29:58] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:29:58] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:29:58] local.INFO: IMEI packet received {"connection_id":108547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":108547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:29:59] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:29:59] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e33258012d34c14006aa3d28000d01172e..."} 
[2026-06-21 07:29:59] local.INFO: Packet analysis {"connection_id":108547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:29:59] local.INFO: Extracted packet for processing {"connection_id":108547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e3"} 
[2026-06-21 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193686016001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782006887000,"timestamp_ms":1782006887000,"timestamp_seconds":1782006887,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e33258"} 
[2026-06-21 07:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193686016001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193686016001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193686016001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":108547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:29:59] local.INFO: GPS data processed {"connection_id":108547,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:29:59] local.INFO: Acknowledgment sent {"connection_id":108547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:30:31] local.INFO: TCP Data received {"connection_id":108547,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:30:31] local.INFO: Processing buffer {"connection_id":108547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:30:31] local.INFO: Packet analysis {"connection_id":108547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:30:31] local.INFO: Extracted packet for processing {"connection_id":108547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:30:31] 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-06-21 07:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":108547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:30:31] local.INFO: GPS data processed {"connection_id":108547,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:30:31] local.INFO: Acknowledgment sent {"connection_id":108547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:30:58] local.INFO: TCP Data received {"connection_id":110289,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:30:58] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:30:58] local.INFO: IMEI packet received {"connection_id":110289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":110289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:31:03] local.INFO: TCP Data received {"connection_id":110289,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:03] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:03] local.INFO: IMEI packet received {"connection_id":110289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":110289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:31:04] local.INFO: TCP Data received {"connection_id":110289,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:04] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:04] local.INFO: Packet analysis {"connection_id":110289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:31:04] local.INFO: Extracted packet for processing {"connection_id":110289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31: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-06-21 07:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":110289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:31:04] local.INFO: GPS data processed {"connection_id":110289,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:31:04] local.INFO: Acknowledgment sent {"connection_id":110289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:31:08] local.INFO: TCP Data received {"connection_id":110289,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:08] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:08] local.INFO: Packet analysis {"connection_id":110289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:31:08] local.INFO: Extracted packet for processing {"connection_id":110289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:08] 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-06-21 07:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":110289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:31:08] local.INFO: GPS data processed {"connection_id":110289,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:31:08] local.INFO: Acknowledgment sent {"connection_id":110289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:31:43] local.INFO: TCP Data received {"connection_id":108549,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:31:43] local.INFO: Processing buffer {"connection_id":108549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:31:43] local.INFO: IMEI packet received {"connection_id":108549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":108549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:31:53] local.INFO: TCP Data received {"connection_id":109337,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:53] local.INFO: Processing buffer {"connection_id":109337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:53] local.INFO: IMEI packet received {"connection_id":109337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":109337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:31:58] local.INFO: TCP Data received {"connection_id":109337,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:58] local.INFO: Processing buffer {"connection_id":109337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:31:58] local.INFO: IMEI packet received {"connection_id":109337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":109337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:31:59] local.INFO: TCP Data received {"connection_id":109337,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:59] local.INFO: Processing buffer {"connection_id":109337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:31:59] local.INFO: Packet analysis {"connection_id":109337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:31:59] local.INFO: Extracted packet for processing {"connection_id":109337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":109337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:31:59] local.INFO: GPS data processed {"connection_id":109337,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:31:59] local.INFO: Acknowledgment sent {"connection_id":109337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:32:13] local.INFO: TCP Data received {"connection_id":108731,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:32:13] local.INFO: Processing buffer {"connection_id":108731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:32:13] local.INFO: IMEI packet received {"connection_id":108731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":108731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:32:30] local.INFO: TCP Data received {"connection_id":109337,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:32:30] local.INFO: Processing buffer {"connection_id":109337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:32:30] local.INFO: Packet analysis {"connection_id":109337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:32:30] local.INFO: Extracted packet for processing {"connection_id":109337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:32:30] 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-06-21 07:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":109337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:32:30] local.INFO: GPS data processed {"connection_id":109337,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:32:30] local.INFO: Acknowledgment sent {"connection_id":109337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:32:52] local.INFO: TCP Data received {"connection_id":108732,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:32:52] local.INFO: Processing buffer {"connection_id":108732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:32:52] local.INFO: IMEI packet received {"connection_id":108732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":108732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:32:58] local.INFO: TCP Data received {"connection_id":108732,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:32:58] local.INFO: Processing buffer {"connection_id":108732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:32:58] local.INFO: IMEI packet received {"connection_id":108732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":108732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:32:58] local.INFO: TCP Data received {"connection_id":108732,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:32:58] local.INFO: Processing buffer {"connection_id":108732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:32:58] local.INFO: Packet analysis {"connection_id":108732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:32:58] local.INFO: Extracted packet for processing {"connection_id":108732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:32:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:32:58] 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-06-21 07:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":108732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:32:59] local.INFO: GPS data processed {"connection_id":108732,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:32:59] local.INFO: Acknowledgment sent {"connection_id":108732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:33:30] local.INFO: TCP Data received {"connection_id":108732,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:33:30] local.INFO: Processing buffer {"connection_id":108732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:33:30] local.INFO: Packet analysis {"connection_id":108732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:33:30] local.INFO: Extracted packet for processing {"connection_id":108732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:33:30] 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-06-21 07:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:33:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":108732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:33:30] local.INFO: GPS data processed {"connection_id":108732,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:33:30] local.INFO: Acknowledgment sent {"connection_id":108732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:33:52] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:33:52] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:33:52] local.INFO: IMEI packet received {"connection_id":108733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":108733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:33:57] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:33:57] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:33:57] local.INFO: IMEI packet received {"connection_id":108733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":108733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:33:58] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:33:58] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:33:58] local.INFO: Packet analysis {"connection_id":108733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:33:58] local.INFO: Extracted packet for processing {"connection_id":108733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:33:58] 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-06-21 07:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:33:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":108733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:33:58] local.INFO: GPS data processed {"connection_id":108733,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:33:58] local.INFO: Acknowledgment sent {"connection_id":108733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:34:30] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:34:30] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:34:30] local.INFO: Packet analysis {"connection_id":108733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:34:30] local.INFO: Extracted packet for processing {"connection_id":108733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:34:30] 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-06-21 07:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:34:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:34:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":108733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:34:30] local.INFO: GPS data processed {"connection_id":108733,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:34:30] local.INFO: Acknowledgment sent {"connection_id":108733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:34:52] local.INFO: TCP Data received {"connection_id":109338,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:34:52] local.INFO: Processing buffer {"connection_id":109338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:34:52] local.INFO: IMEI packet received {"connection_id":109338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":109338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:34:57] local.INFO: TCP Data received {"connection_id":109338,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:34:57] local.INFO: Processing buffer {"connection_id":109338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:34:57] local.INFO: IMEI packet received {"connection_id":109338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":109338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:34:59] local.INFO: TCP Data received {"connection_id":109338,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:34:59] local.INFO: Processing buffer {"connection_id":109338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7e7ca20012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:34:59] local.INFO: Packet analysis {"connection_id":109338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:34:59] local.INFO: Extracted packet for processing {"connection_id":109338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7e7"} 
[2026-06-21 07:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193763072001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782007188000,"timestamp_ms":1782007188000,"timestamp_seconds":1782007188,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7e7ca20"} 
[2026-06-21 07:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193763072001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193763072001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193763072001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":109338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:34:59] local.INFO: GPS data processed {"connection_id":109338,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:34:59] local.INFO: Acknowledgment sent {"connection_id":109338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:35:32] local.INFO: TCP Data received {"connection_id":109338,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:35:32] local.INFO: Processing buffer {"connection_id":109338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:35:32] local.INFO: Packet analysis {"connection_id":109338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:35:32] local.INFO: Extracted packet for processing {"connection_id":109338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:35:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:35:32] 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-06-21 07:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":109338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:35:32] local.INFO: GPS data processed {"connection_id":109338,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:35:32] local.INFO: Acknowledgment sent {"connection_id":109338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:35:57] local.INFO: TCP Data received {"connection_id":108736,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:35:57] local.INFO: Processing buffer {"connection_id":108736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:35:57] local.INFO: IMEI packet received {"connection_id":108736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":108736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:36:03] local.INFO: TCP Data received {"connection_id":108736,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:03] local.INFO: Processing buffer {"connection_id":108736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:03] local.INFO: IMEI packet received {"connection_id":108736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":108736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:36:05] local.INFO: TCP Data received {"connection_id":108736,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:05] local.INFO: Processing buffer {"connection_id":108736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:05] local.INFO: Packet analysis {"connection_id":108736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:36:05] local.INFO: Extracted packet for processing {"connection_id":108736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36: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-06-21 07:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:36:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":108736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:36:05] local.INFO: GPS data processed {"connection_id":108736,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:36:05] local.INFO: Acknowledgment sent {"connection_id":108736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:36:36] local.INFO: TCP Data received {"connection_id":108736,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:36] local.INFO: Processing buffer {"connection_id":108736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:36] local.INFO: Packet analysis {"connection_id":108736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:36:36] local.INFO: Extracted packet for processing {"connection_id":108736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36: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-06-21 07:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:36:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":108736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:36:36] local.INFO: GPS data processed {"connection_id":108736,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:36:36] local.INFO: Acknowledgment sent {"connection_id":108736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:36:52] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:52] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:52] local.INFO: IMEI packet received {"connection_id":108551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":108551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:36:58] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:58] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:36:58] local.INFO: IMEI packet received {"connection_id":108551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":108551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:36:59] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:59] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:36:59] local.INFO: Packet analysis {"connection_id":108551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:36:59] local.INFO: Extracted packet for processing {"connection_id":108551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":108551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:36:59] local.INFO: GPS data processed {"connection_id":108551,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:36:59] local.INFO: Acknowledgment sent {"connection_id":108551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:37:31] local.INFO: TCP Data received {"connection_id":108551,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:37:31] local.INFO: Processing buffer {"connection_id":108551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:37:31] local.INFO: Packet analysis {"connection_id":108551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:37:31] local.INFO: Extracted packet for processing {"connection_id":108551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:37:31] 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-06-21 07:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:37:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":108551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:37:31] local.INFO: GPS data processed {"connection_id":108551,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:37:31] local.INFO: Acknowledgment sent {"connection_id":108551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:37:33] local.INFO: TCP Data received {"connection_id":110291,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:37:33] local.INFO: Processing buffer {"connection_id":110291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:37:33] local.INFO: IMEI packet received {"connection_id":110291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":110291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:37:52] local.INFO: TCP Data received {"connection_id":110292,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:37:52] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:37:52] local.INFO: IMEI packet received {"connection_id":110292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":110292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:37:57] local.INFO: TCP Data received {"connection_id":110292,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:37:57] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:37:57] local.INFO: IMEI packet received {"connection_id":110292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":110292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:37:58] local.INFO: TCP Data received {"connection_id":110292,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:37:58] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:37:58] local.INFO: Packet analysis {"connection_id":110292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:37:58] local.INFO: Extracted packet for processing {"connection_id":110292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 07:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:37:58] 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-06-21 07:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 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-06-21 07:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 07:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:37:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":110292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:37:58] local.INFO: GPS data processed {"connection_id":110292,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:37:58] local.INFO: Acknowledgment sent {"connection_id":110292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:38:13] local.INFO: TCP Data received {"connection_id":110293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:38:13] local.INFO: Processing buffer {"connection_id":110293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:38:13] local.INFO: IMEI packet received {"connection_id":110293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":110293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:38:30] local.INFO: TCP Data received {"connection_id":110292,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:38:30] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:38:30] local.INFO: Packet analysis {"connection_id":110292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:38:30] local.INFO: Extracted packet for processing {"connection_id":110292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:38:30] 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-06-21 07:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:38:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":110292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:38:30] local.INFO: GPS data processed {"connection_id":110292,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:38:30] local.INFO: Acknowledgment sent {"connection_id":110292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:38:52] local.INFO: TCP Data received {"connection_id":109339,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:38:52] local.INFO: Processing buffer {"connection_id":109339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:38:52] local.INFO: IMEI packet received {"connection_id":109339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":109339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:38:57] local.INFO: TCP Data received {"connection_id":109339,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:38:58] local.INFO: Processing buffer {"connection_id":109339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:38:58] local.INFO: IMEI packet received {"connection_id":109339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":109339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:38:58] local.INFO: TCP Data received {"connection_id":109339,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:38:58] local.INFO: Processing buffer {"connection_id":109339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:38:58] local.INFO: Packet analysis {"connection_id":109339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:38:58] local.INFO: Extracted packet for processing {"connection_id":109339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:38:58] 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-06-21 07:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:38:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":109339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:38:58] local.INFO: GPS data processed {"connection_id":109339,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:38:58] local.INFO: Acknowledgment sent {"connection_id":109339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:39:30] local.INFO: TCP Data received {"connection_id":109339,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:39:30] local.INFO: Processing buffer {"connection_id":109339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:39:30] local.INFO: Packet analysis {"connection_id":109339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:39:30] local.INFO: Extracted packet for processing {"connection_id":109339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:39:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:39:30] 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-06-21 07:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:39:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:39:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":109339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:39:30] local.INFO: GPS data processed {"connection_id":109339,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:39:30] local.INFO: Acknowledgment sent {"connection_id":109339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:39:57] local.INFO: TCP Data received {"connection_id":109340,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:39:57] local.INFO: Processing buffer {"connection_id":109340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:39:57] local.INFO: IMEI packet received {"connection_id":109340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":109340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:40:03] local.INFO: TCP Data received {"connection_id":109340,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:03] local.INFO: Processing buffer {"connection_id":109340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:03] local.INFO: IMEI packet received {"connection_id":109340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":109340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:40:04] local.INFO: TCP Data received {"connection_id":109340,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:40:04] local.INFO: Processing buffer {"connection_id":109340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:40:04] local.INFO: Packet analysis {"connection_id":109340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:40:04] local.INFO: Extracted packet for processing {"connection_id":109340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07: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-06-21 07:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":109340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:40:04] local.INFO: GPS data processed {"connection_id":109340,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:40:04] local.INFO: Acknowledgment sent {"connection_id":109340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:40:08] local.INFO: TCP Data received {"connection_id":109340,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:40:08] local.INFO: Processing buffer {"connection_id":109340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7ec61e8012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:40:08] local.INFO: Packet analysis {"connection_id":109340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:40:08] local.INFO: Extracted packet for processing {"connection_id":109340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7ec"} 
[2026-06-21 07:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193840128001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:08] 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-06-21 07:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782007489000,"timestamp_ms":1782007489000,"timestamp_seconds":1782007489,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7ec61e8"} 
[2026-06-21 07:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 07:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193840128001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193840128001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:40:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193840128001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":109340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:40:08] local.INFO: GPS data processed {"connection_id":109340,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:40:08] local.INFO: Acknowledgment sent {"connection_id":109340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:40:52] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:52] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:52] local.INFO: IMEI packet received {"connection_id":108737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":108737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:40:57] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:57] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:40:57] local.INFO: IMEI packet received {"connection_id":108737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":108737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:40:58] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:40:58] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:40:58] local.INFO: Packet analysis {"connection_id":108737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:40:58] local.INFO: Extracted packet for processing {"connection_id":108737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:40:58] 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-06-21 07:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:40:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":108737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:40:58] local.INFO: GPS data processed {"connection_id":108737,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:40:58] local.INFO: Acknowledgment sent {"connection_id":108737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:41:30] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:41:30] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:41:30] local.INFO: Packet analysis {"connection_id":108737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:41:30] local.INFO: Extracted packet for processing {"connection_id":108737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 07:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:41:30] 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-06-21 07:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 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-06-21 07:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 07:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":108737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:41:30] local.INFO: GPS data processed {"connection_id":108737,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:41:30] local.INFO: Acknowledgment sent {"connection_id":108737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:41:52] local.INFO: TCP Data received {"connection_id":108553,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:41:52] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:41:52] local.INFO: IMEI packet received {"connection_id":108553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":108553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:41:57] local.INFO: TCP Data received {"connection_id":108553,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:41:57] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:41:57] local.INFO: IMEI packet received {"connection_id":108553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":108553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:41:58] local.INFO: TCP Data received {"connection_id":108553,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:41:58] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:41:58] local.INFO: Packet analysis {"connection_id":108553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:41:58] local.INFO: Extracted packet for processing {"connection_id":108553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:41:58] 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-06-21 07:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:41:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":108553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:41:58] local.INFO: GPS data processed {"connection_id":108553,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:41:58] local.INFO: Acknowledgment sent {"connection_id":108553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:42:30] local.INFO: TCP Data received {"connection_id":108553,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:42:30] local.INFO: Processing buffer {"connection_id":108553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:42:30] local.INFO: Packet analysis {"connection_id":108553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:42:30] local.INFO: Extracted packet for processing {"connection_id":108553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:42:30] 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-06-21 07:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:42:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":108553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:42:30] local.INFO: GPS data processed {"connection_id":108553,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:42:30] local.INFO: Acknowledgment sent {"connection_id":108553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:42:52] local.INFO: TCP Data received {"connection_id":110294,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:42:52] local.INFO: Processing buffer {"connection_id":110294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:42:52] local.INFO: IMEI packet received {"connection_id":110294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":110294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:42:58] local.INFO: TCP Data received {"connection_id":110294,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:42:58] local.INFO: Processing buffer {"connection_id":110294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:42:58] local.INFO: IMEI packet received {"connection_id":110294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":110294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:42:59] local.INFO: TCP Data received {"connection_id":110294,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:42:59] local.INFO: Processing buffer {"connection_id":110294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:42:59] local.INFO: Packet analysis {"connection_id":110294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:42:59] local.INFO: Extracted packet for processing {"connection_id":110294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:42:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":110294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:42:59] local.INFO: GPS data processed {"connection_id":110294,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:42:59] local.INFO: Acknowledgment sent {"connection_id":110294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:43:30] local.INFO: TCP Data received {"connection_id":110294,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:43:30] local.INFO: Processing buffer {"connection_id":110294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:43:30] local.INFO: Packet analysis {"connection_id":110294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:43:30] local.INFO: Extracted packet for processing {"connection_id":110294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:43:30] 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-06-21 07:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:43:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":110294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:43:30] local.INFO: GPS data processed {"connection_id":110294,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:43:30] local.INFO: Acknowledgment sent {"connection_id":110294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:43:38] local.INFO: TCP Data received {"connection_id":108554,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:43:38] local.INFO: Processing buffer {"connection_id":108554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:43:38] local.INFO: IMEI packet received {"connection_id":108554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":108554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:43:57] local.INFO: TCP Data received {"connection_id":108739,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:43:57] local.INFO: Processing buffer {"connection_id":108739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:43:57] local.INFO: IMEI packet received {"connection_id":108739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":108739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:44:03] local.INFO: TCP Data received {"connection_id":108739,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:03] local.INFO: Processing buffer {"connection_id":108739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:03] local.INFO: IMEI packet received {"connection_id":108739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":108739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:44:04] local.INFO: TCP Data received {"connection_id":108739,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:04] local.INFO: Processing buffer {"connection_id":108739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:04] local.INFO: Packet analysis {"connection_id":108739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:44:04] local.INFO: Extracted packet for processing {"connection_id":108739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07: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-06-21 07:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":108739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:44:04] local.INFO: GPS data processed {"connection_id":108739,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:44:04] local.INFO: Acknowledgment sent {"connection_id":108739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:44:08] local.INFO: TCP Data received {"connection_id":108739,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:08] local.INFO: Processing buffer {"connection_id":108739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:08] local.INFO: Packet analysis {"connection_id":108739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:44:08] local.INFO: Extracted packet for processing {"connection_id":108739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:08] 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-06-21 07:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":108739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:44:08] local.INFO: GPS data processed {"connection_id":108739,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:44:08] local.INFO: Acknowledgment sent {"connection_id":108739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:44:13] local.INFO: TCP Data received {"connection_id":109343,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:44:13] local.INFO: Processing buffer {"connection_id":109343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:44:13] local.INFO: IMEI packet received {"connection_id":109343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":109343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:44:53] local.INFO: TCP Data received {"connection_id":110296,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:53] local.INFO: Processing buffer {"connection_id":110296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:53] local.INFO: IMEI packet received {"connection_id":110296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":110296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:44:57] local.INFO: TCP Data received {"connection_id":110296,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:58] local.INFO: Processing buffer {"connection_id":110296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:44:58] local.INFO: IMEI packet received {"connection_id":110296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":110296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:44:59] local.INFO: TCP Data received {"connection_id":110296,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:59] local.INFO: Processing buffer {"connection_id":110296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f0f9b0012d34c14006aa3d28000d01172d..."} 
[2026-06-21 07:44:59] local.INFO: Packet analysis {"connection_id":110296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:44:59] local.INFO: Extracted packet for processing {"connection_id":110296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f0"} 
[2026-06-21 07:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07: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-06-21 07:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193917184001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782007790000,"timestamp_ms":1782007790000,"timestamp_seconds":1782007790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f0f9b0"} 
[2026-06-21 07:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193917184001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193917184001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193917184001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":110296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:44:59] local.INFO: GPS data processed {"connection_id":110296,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:44:59] local.INFO: Acknowledgment sent {"connection_id":110296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:45:30] local.INFO: TCP Data received {"connection_id":110296,"ip":"117.224.0.40","data_length":93,"data_hex":"00000000000000518e010000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110296,"packet_length":93,"packet_hex":"00000000000000518e010000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:45:30] local.INFO: Processing buffer {"connection_id":110296,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:45:30] local.INFO: Packet analysis {"connection_id":110296,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee7f5"} 
[2026-06-21 07:45:30] local.INFO: Extracted packet for processing {"connection_id":110296,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee7f5"} 
[2026-06-21 07:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-21 07:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:45:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:45:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 07:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110296,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 07:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110296,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 07:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110296,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 07:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 07:45:30] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 07:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":110296,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 07:45:30] local.ERROR: GPS data processing failed {"connection_id":110296,"error":"No valid data to process"} 
[2026-06-21 07:45:30] local.INFO: Acknowledgment sent {"connection_id":110296,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 07:45:52] local.INFO: TCP Data received {"connection_id":109344,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:45:52] local.INFO: Processing buffer {"connection_id":109344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:45:52] local.INFO: IMEI packet received {"connection_id":109344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":109344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:45:57] local.INFO: TCP Data received {"connection_id":109344,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:45:57] local.INFO: Processing buffer {"connection_id":109344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:45:57] local.INFO: IMEI packet received {"connection_id":109344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":109344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:45:59] local.INFO: TCP Data received {"connection_id":109344,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:45:59] local.INFO: Processing buffer {"connection_id":109344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:45:59] local.INFO: Packet analysis {"connection_id":109344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:45:59] local.INFO: Extracted packet for processing {"connection_id":109344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":109344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:45:59] local.INFO: GPS data processed {"connection_id":109344,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:45:59] local.INFO: Acknowledgment sent {"connection_id":109344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:46:31] local.INFO: TCP Data received {"connection_id":109344,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:46:31] local.INFO: Processing buffer {"connection_id":109344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:46:31] local.INFO: Packet analysis {"connection_id":109344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:46:31] local.INFO: Extracted packet for processing {"connection_id":109344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:46:31] 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-06-21 07:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:46:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":109344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:46:31] local.INFO: GPS data processed {"connection_id":109344,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:46:31] local.INFO: Acknowledgment sent {"connection_id":109344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:46:58] local.INFO: TCP Data received {"connection_id":110297,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:46:58] local.INFO: Processing buffer {"connection_id":110297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:46:58] local.INFO: IMEI packet received {"connection_id":110297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":110297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:47:02] local.INFO: TCP Data received {"connection_id":110297,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:02] local.INFO: Processing buffer {"connection_id":110297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:02] local.INFO: IMEI packet received {"connection_id":110297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":110297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:47:04] local.INFO: TCP Data received {"connection_id":110297,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:04] local.INFO: Processing buffer {"connection_id":110297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:04] local.INFO: Packet analysis {"connection_id":110297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:47:04] local.INFO: Extracted packet for processing {"connection_id":110297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47: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-06-21 07:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":110297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:47:04] local.INFO: GPS data processed {"connection_id":110297,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:47:04] local.INFO: Acknowledgment sent {"connection_id":110297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:47:08] local.INFO: TCP Data received {"connection_id":110297,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:08] local.INFO: Processing buffer {"connection_id":110297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:08] local.INFO: Packet analysis {"connection_id":110297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:47:08] local.INFO: Extracted packet for processing {"connection_id":110297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:08] 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-06-21 07:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":110297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:47:08] local.INFO: GPS data processed {"connection_id":110297,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:47:08] local.INFO: Acknowledgment sent {"connection_id":110297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:47:52] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:52] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:52] local.INFO: IMEI packet received {"connection_id":108741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":108741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:47:57] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:57] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:47:57] local.INFO: IMEI packet received {"connection_id":108741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":108741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:47:59] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:59] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:47:59] local.INFO: Packet analysis {"connection_id":108741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:47:59] local.INFO: Extracted packet for processing {"connection_id":108741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":108741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:48:00] local.INFO: GPS data processed {"connection_id":108741,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:48:00] local.INFO: Acknowledgment sent {"connection_id":108741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:48:31] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:48:31] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:48:31] local.INFO: Packet analysis {"connection_id":108741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:48:31] local.INFO: Extracted packet for processing {"connection_id":108741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:48:31] 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-06-21 07:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":108741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:48:31] local.INFO: GPS data processed {"connection_id":108741,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:48:31] local.INFO: Acknowledgment sent {"connection_id":108741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:48:52] local.INFO: TCP Data received {"connection_id":110299,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:48:52] local.INFO: Processing buffer {"connection_id":110299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:48:52] local.INFO: IMEI packet received {"connection_id":110299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":110299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:48:57] local.INFO: TCP Data received {"connection_id":110299,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:48:57] local.INFO: Processing buffer {"connection_id":110299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:48:57] local.INFO: IMEI packet received {"connection_id":110299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":110299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:48:59] local.INFO: TCP Data received {"connection_id":110299,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:48:59] local.INFO: Processing buffer {"connection_id":110299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:48:59] local.INFO: Packet analysis {"connection_id":110299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:48:59] local.INFO: Extracted packet for processing {"connection_id":110299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:48:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":110299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:48:59] local.INFO: GPS data processed {"connection_id":110299,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:48:59] local.INFO: Acknowledgment sent {"connection_id":110299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:49:31] local.INFO: TCP Data received {"connection_id":110299,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:49:31] local.INFO: Processing buffer {"connection_id":110299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:49:31] local.INFO: Packet analysis {"connection_id":110299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:49:31] local.INFO: Extracted packet for processing {"connection_id":110299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:49:31] 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-06-21 07:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:49:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":110299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:49:31] local.INFO: GPS data processed {"connection_id":110299,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:49:31] local.INFO: Acknowledgment sent {"connection_id":110299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:49:38] local.INFO: TCP Data received {"connection_id":108742,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:49:38] local.INFO: Processing buffer {"connection_id":108742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:49:38] local.INFO: IMEI packet received {"connection_id":108742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":108742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:49:52] local.INFO: TCP Data received {"connection_id":108743,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:49:52] local.INFO: Processing buffer {"connection_id":108743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:49:52] local.INFO: IMEI packet received {"connection_id":108743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":108743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:49:58] local.INFO: TCP Data received {"connection_id":108743,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:49:58] local.INFO: Processing buffer {"connection_id":108743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:49:58] local.INFO: IMEI packet received {"connection_id":108743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":108743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:49:59] local.INFO: TCP Data received {"connection_id":108743,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:49:59] local.INFO: Processing buffer {"connection_id":108743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:49:59] local.INFO: Packet analysis {"connection_id":108743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:49:59] local.INFO: Extracted packet for processing {"connection_id":108743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 07:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 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-06-21 07:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 07:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:49:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":108743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:49:59] local.INFO: GPS data processed {"connection_id":108743,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:49:59] local.INFO: Acknowledgment sent {"connection_id":108743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:50:13] local.INFO: TCP Data received {"connection_id":108744,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:50:13] local.INFO: Processing buffer {"connection_id":108744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:50:13] local.INFO: IMEI packet received {"connection_id":108744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":108744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:50:31] local.INFO: TCP Data received {"connection_id":108743,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:50:31] local.INFO: Processing buffer {"connection_id":108743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7f59178012d34c14006aa3d28000e01172b..."} 
[2026-06-21 07:50:31] local.INFO: Packet analysis {"connection_id":108743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:50:31] local.INFO: Extracted packet for processing {"connection_id":108743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7f5"} 
[2026-06-21 07:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":14,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193994240001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:50:31] 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-06-21 07:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008091000,"timestamp_ms":1782008091000,"timestamp_seconds":1782008091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7f59178"} 
[2026-06-21 07:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193994240001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193994240001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:50:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193994240001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":108743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:50:31] local.INFO: GPS data processed {"connection_id":108743,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:50:31] local.INFO: Acknowledgment sent {"connection_id":108743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:50:57] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:50:57] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:50:57] local.INFO: IMEI packet received {"connection_id":108745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":108745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:51:02] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:02] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:02] local.INFO: IMEI packet received {"connection_id":108745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":108745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:51:04] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:04] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:04] local.INFO: Packet analysis {"connection_id":108745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:51:04] local.INFO: Extracted packet for processing {"connection_id":108745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07: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-06-21 07:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":108745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:51:04] local.INFO: GPS data processed {"connection_id":108745,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:51:04] local.INFO: Acknowledgment sent {"connection_id":108745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:51:08] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:08] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:08] local.INFO: Packet analysis {"connection_id":108745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:51:08] local.INFO: Extracted packet for processing {"connection_id":108745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07: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-06-21 07:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:08] 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-06-21 07:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07: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-06-21 07:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":108745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:51:08] local.INFO: GPS data processed {"connection_id":108745,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:51:08] local.INFO: Acknowledgment sent {"connection_id":108745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:51:53] local.INFO: TCP Data received {"connection_id":109345,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:53] local.INFO: Processing buffer {"connection_id":109345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:53] local.INFO: IMEI packet received {"connection_id":109345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":109345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:51:57] local.INFO: TCP Data received {"connection_id":109345,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:57] local.INFO: Processing buffer {"connection_id":109345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:51:57] local.INFO: IMEI packet received {"connection_id":109345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":109345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:51:59] local.INFO: TCP Data received {"connection_id":109345,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:59] local.INFO: Processing buffer {"connection_id":109345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:51:59] local.INFO: Packet analysis {"connection_id":109345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:51:59] local.INFO: Extracted packet for processing {"connection_id":109345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":109345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:51:59] local.INFO: GPS data processed {"connection_id":109345,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:51:59] local.INFO: Acknowledgment sent {"connection_id":109345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:52:31] local.INFO: TCP Data received {"connection_id":109345,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:52:31] local.INFO: Processing buffer {"connection_id":109345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:52:31] local.INFO: Packet analysis {"connection_id":109345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:52:31] local.INFO: Extracted packet for processing {"connection_id":109345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:52:31] 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-06-21 07:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":109345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:52:31] local.INFO: GPS data processed {"connection_id":109345,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:52:31] local.INFO: Acknowledgment sent {"connection_id":109345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:52:52] local.INFO: TCP Data received {"connection_id":110300,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:52:52] local.INFO: Processing buffer {"connection_id":110300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:52:52] local.INFO: IMEI packet received {"connection_id":110300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":110300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:52:57] local.INFO: TCP Data received {"connection_id":110300,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:52:57] local.INFO: Processing buffer {"connection_id":110300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:52:57] local.INFO: IMEI packet received {"connection_id":110300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":110300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:52:59] local.INFO: TCP Data received {"connection_id":110300,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:52:59] local.INFO: Processing buffer {"connection_id":110300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:52:59] local.INFO: Packet analysis {"connection_id":110300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:52:59] local.INFO: Extracted packet for processing {"connection_id":110300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:52:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":110300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:52:59] local.INFO: GPS data processed {"connection_id":110300,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:52:59] local.INFO: Acknowledgment sent {"connection_id":110300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:53:31] local.INFO: TCP Data received {"connection_id":110300,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:53:31] local.INFO: Processing buffer {"connection_id":110300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:53:31] local.INFO: Packet analysis {"connection_id":110300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:53:31] local.INFO: Extracted packet for processing {"connection_id":110300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:53:31] 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-06-21 07:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:53:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":110300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:53:31] local.INFO: GPS data processed {"connection_id":110300,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:53:31] local.INFO: Acknowledgment sent {"connection_id":110300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:53:52] local.INFO: TCP Data received {"connection_id":108559,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:53:52] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:53:52] local.INFO: IMEI packet received {"connection_id":108559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":108559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:53:58] local.INFO: TCP Data received {"connection_id":108559,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:53:58] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:53:58] local.INFO: IMEI packet received {"connection_id":108559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":108559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:53:58] local.INFO: TCP Data received {"connection_id":108559,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:53:58] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:53:58] local.INFO: Packet analysis {"connection_id":108559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:53:58] local.INFO: Extracted packet for processing {"connection_id":108559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:53:58] 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-06-21 07:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:53:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:53:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":108559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:53:58] local.INFO: GPS data processed {"connection_id":108559,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:53:58] local.INFO: Acknowledgment sent {"connection_id":108559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:54:30] local.INFO: TCP Data received {"connection_id":108559,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:54:30] local.INFO: Processing buffer {"connection_id":108559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:54:30] local.INFO: Packet analysis {"connection_id":108559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:54:30] local.INFO: Extracted packet for processing {"connection_id":108559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:54:30] 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-06-21 07:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:54:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":108559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:54:30] local.INFO: GPS data processed {"connection_id":108559,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:54:30] local.INFO: Acknowledgment sent {"connection_id":108559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:54:57] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:54:57] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:54:57] local.INFO: IMEI packet received {"connection_id":108747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":108747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:55:02] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:03] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:03] local.INFO: IMEI packet received {"connection_id":108747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":108747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:55:04] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:55:04] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:55:04] local.INFO: Packet analysis {"connection_id":108747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:55:04] local.INFO: Extracted packet for processing {"connection_id":108747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07: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-06-21 07:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":108747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:55:04] local.INFO: GPS data processed {"connection_id":108747,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:55:04] local.INFO: Acknowledgment sent {"connection_id":108747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:55:08] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:55:08] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fa2940012d34c14006aa3d28001101172c..."} 
[2026-06-21 07:55:08] local.INFO: Packet analysis {"connection_id":108747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:55:08] local.INFO: Extracted packet for processing {"connection_id":108747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fa"} 
[2026-06-21 07:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":17,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194071296001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:08] 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-06-21 07:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782008392000,"timestamp_ms":1782008392000,"timestamp_seconds":1782008392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fa2940"} 
[2026-06-21 07:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 07:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194071296001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194071296001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194071296001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":108747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:55:08] local.INFO: GPS data processed {"connection_id":108747,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:55:08] local.INFO: Acknowledgment sent {"connection_id":108747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:55:43] local.INFO: TCP Data received {"connection_id":108748,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:55:43] local.INFO: Processing buffer {"connection_id":108748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:55:43] local.INFO: IMEI packet received {"connection_id":108748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":108748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:55:53] local.INFO: TCP Data received {"connection_id":109346,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:53] local.INFO: Processing buffer {"connection_id":109346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:53] local.INFO: IMEI packet received {"connection_id":109346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":109346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:55:58] local.INFO: TCP Data received {"connection_id":109346,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:58] local.INFO: Processing buffer {"connection_id":109346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:55:58] local.INFO: IMEI packet received {"connection_id":109346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":109346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:55:59] local.INFO: TCP Data received {"connection_id":109346,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:55:59] local.INFO: Processing buffer {"connection_id":109346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:55:59] local.INFO: Packet analysis {"connection_id":109346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:55:59] local.INFO: Extracted packet for processing {"connection_id":109346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":109346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:55:59] local.INFO: GPS data processed {"connection_id":109346,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:55:59] local.INFO: Acknowledgment sent {"connection_id":109346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:56:19] local.INFO: TCP Data received {"connection_id":110302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:56:19] local.INFO: Processing buffer {"connection_id":110302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 07:56:19] local.INFO: IMEI packet received {"connection_id":110302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 07:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":110302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:56:30] local.INFO: TCP Data received {"connection_id":109346,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:56:30] local.INFO: Processing buffer {"connection_id":109346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:56:30] local.INFO: Packet analysis {"connection_id":109346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:56:30] local.INFO: Extracted packet for processing {"connection_id":109346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:56:30] 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-06-21 07:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:56:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":109346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:56:30] local.INFO: GPS data processed {"connection_id":109346,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:56:30] local.INFO: Acknowledgment sent {"connection_id":109346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:56:52] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:56:52] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:56:52] local.INFO: IMEI packet received {"connection_id":108749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":108749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:56:58] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:56:58] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:56:58] local.INFO: IMEI packet received {"connection_id":108749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":108749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:56:59] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:56:59] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:56:59] local.INFO: Packet analysis {"connection_id":108749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:56:59] local.INFO: Extracted packet for processing {"connection_id":108749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 07:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":108749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:56:59] local.INFO: GPS data processed {"connection_id":108749,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:56:59] local.INFO: Acknowledgment sent {"connection_id":108749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:57:31] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:57:31] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:57:31] local.INFO: Packet analysis {"connection_id":108749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:57:31] local.INFO: Extracted packet for processing {"connection_id":108749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:57:31] 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-06-21 07:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:57:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":108749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:57:31] local.INFO: GPS data processed {"connection_id":108749,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:57:31] local.INFO: Acknowledgment sent {"connection_id":108749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:57:52] local.INFO: TCP Data received {"connection_id":108560,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:57:52] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:57:52] local.INFO: IMEI packet received {"connection_id":108560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":108560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:57:58] local.INFO: TCP Data received {"connection_id":108560,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:57:58] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:57:58] local.INFO: IMEI packet received {"connection_id":108560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":108560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:57:58] local.INFO: TCP Data received {"connection_id":108560,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:57:58] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:57:58] local.INFO: Packet analysis {"connection_id":108560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:57:58] local.INFO: Extracted packet for processing {"connection_id":108560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 07:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:57:58] 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-06-21 07:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 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-06-21 07:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 07:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:57:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:57:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":108560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:57:58] local.INFO: GPS data processed {"connection_id":108560,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:57:58] local.INFO: Acknowledgment sent {"connection_id":108560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:58:31] local.INFO: TCP Data received {"connection_id":108560,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:58:31] local.INFO: Processing buffer {"connection_id":108560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:58:31] local.INFO: Packet analysis {"connection_id":108560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:58:31] local.INFO: Extracted packet for processing {"connection_id":108560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:58:31] 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-06-21 07:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":108560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:58:31] local.INFO: GPS data processed {"connection_id":108560,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:58:31] local.INFO: Acknowledgment sent {"connection_id":108560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:58:58] local.INFO: TCP Data received {"connection_id":110304,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:58:58] local.INFO: Processing buffer {"connection_id":110304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:58:58] local.INFO: IMEI packet received {"connection_id":110304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":110304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:59:02] local.INFO: TCP Data received {"connection_id":110304,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:02] local.INFO: Processing buffer {"connection_id":110304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:02] local.INFO: IMEI packet received {"connection_id":110304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":110304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:59:04] local.INFO: TCP Data received {"connection_id":110304,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:04] local.INFO: Processing buffer {"connection_id":110304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:04] local.INFO: Packet analysis {"connection_id":110304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:59:04] local.INFO: Extracted packet for processing {"connection_id":110304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07: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-06-21 07:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":110304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:59:04] local.INFO: GPS data processed {"connection_id":110304,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:59:04] local.INFO: Acknowledgment sent {"connection_id":110304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:59:08] local.INFO: TCP Data received {"connection_id":110304,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:08] local.INFO: Processing buffer {"connection_id":110304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:08] local.INFO: Packet analysis {"connection_id":110304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:59:08] local.INFO: Extracted packet for processing {"connection_id":110304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:08] 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-06-21 07:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:59:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":110304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:59:08] local.INFO: GPS data processed {"connection_id":110304,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:59:08] local.INFO: Acknowledgment sent {"connection_id":110304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 07:59:52] local.INFO: TCP Data received {"connection_id":108561,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:52] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:52] local.INFO: IMEI packet received {"connection_id":108561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 07:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":108561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 07:59:57] local.INFO: TCP Data received {"connection_id":108561,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:57] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 07:59:57] local.INFO: IMEI packet received {"connection_id":108561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 07:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":108561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 07:59:58] local.INFO: TCP Data received {"connection_id":108561,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:58] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 07:59:58] local.INFO: Packet analysis {"connection_id":108561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:59:58] local.INFO: Extracted packet for processing {"connection_id":108561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 07:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 07:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 07:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 07:59:58] 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-06-21 07:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 07:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 07:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 07:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 07:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 07:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 07:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 07:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 07:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 07:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 07:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 07:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 07:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 07:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 07:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 07:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 07:59:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 07:59:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 07:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 07:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 07:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 07:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":108561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 07:59:58] local.INFO: GPS data processed {"connection_id":108561,"processed":1,"errors":0,"total":1} 
[2026-06-21 07:59:58] local.INFO: Acknowledgment sent {"connection_id":108561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:00:31] local.INFO: TCP Data received {"connection_id":108561,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 08:00:31] local.INFO: Processing buffer {"connection_id":108561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7fec108012d34c14006aa3d28001001172d..."} 
[2026-06-21 08:00:31] local.INFO: Packet analysis {"connection_id":108561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 08:00:31] local.INFO: Extracted packet for processing {"connection_id":108561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7fe"} 
[2026-06-21 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":16,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194148352001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:00:31] 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-06-21 08:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008693000,"timestamp_ms":1782008693000,"timestamp_seconds":1782008693,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7fec108"} 
[2026-06-21 08:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194148352001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194148352001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194148352001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":108561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:00:31] local.INFO: GPS data processed {"connection_id":108561,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:00:31] local.INFO: Acknowledgment sent {"connection_id":108561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:00:52] local.INFO: TCP Data received {"connection_id":109350,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:00:52] local.INFO: Processing buffer {"connection_id":109350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:00:52] local.INFO: IMEI packet received {"connection_id":109350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":109350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:00:57] local.INFO: TCP Data received {"connection_id":109350,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:00:57] local.INFO: Processing buffer {"connection_id":109350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:00:57] local.INFO: IMEI packet received {"connection_id":109350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":109350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:00:58] local.INFO: TCP Data received {"connection_id":109350,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:00:58] local.INFO: Processing buffer {"connection_id":109350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:00:58] local.INFO: Packet analysis {"connection_id":109350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:00:58] local.INFO: Extracted packet for processing {"connection_id":109350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:00:58] 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-06-21 08:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":109350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:00:58] local.INFO: GPS data processed {"connection_id":109350,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:00:58] local.INFO: Acknowledgment sent {"connection_id":109350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:01:30] local.INFO: TCP Data received {"connection_id":109350,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:01:30] local.INFO: Processing buffer {"connection_id":109350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:01:30] local.INFO: Packet analysis {"connection_id":109350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:01:30] local.INFO: Extracted packet for processing {"connection_id":109350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:01:30] 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-06-21 08:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:01:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":109350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:01:30] local.INFO: GPS data processed {"connection_id":109350,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:01:30] local.INFO: Acknowledgment sent {"connection_id":109350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:01:38] local.INFO: TCP Data received {"connection_id":110305,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:01:38] local.INFO: Processing buffer {"connection_id":110305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:01:38] local.INFO: IMEI packet received {"connection_id":110305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":110305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:01:52] local.INFO: TCP Data received {"connection_id":110306,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:01:52] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:01:52] local.INFO: IMEI packet received {"connection_id":110306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":110306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:01:57] local.INFO: TCP Data received {"connection_id":110306,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:01:57] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:01:57] local.INFO: IMEI packet received {"connection_id":110306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":110306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:01:58] local.INFO: TCP Data received {"connection_id":110306,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:01:58] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:01:58] local.INFO: Packet analysis {"connection_id":110306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:01:58] local.INFO: Extracted packet for processing {"connection_id":110306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:01:58] 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-06-21 08:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 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-06-21 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:01:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":110306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:01:58] local.INFO: GPS data processed {"connection_id":110306,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:01:58] local.INFO: Acknowledgment sent {"connection_id":110306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:02:13] local.INFO: TCP Data received {"connection_id":108750,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:02:13] local.INFO: Processing buffer {"connection_id":108750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:02:13] local.INFO: IMEI packet received {"connection_id":108750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":108750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:02:30] local.INFO: TCP Data received {"connection_id":110306,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:02:30] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:02:30] local.INFO: Packet analysis {"connection_id":110306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:02:30] local.INFO: Extracted packet for processing {"connection_id":110306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:02:30] 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-06-21 08:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:02:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":110306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:02:30] local.INFO: GPS data processed {"connection_id":110306,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:02:30] local.INFO: Acknowledgment sent {"connection_id":110306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:02:57] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:02:57] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:02:57] local.INFO: IMEI packet received {"connection_id":108562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":108562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:03:02] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:02] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:02] local.INFO: IMEI packet received {"connection_id":108562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":108562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:03:04] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:04] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:04] local.INFO: Packet analysis {"connection_id":108562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:03:04] local.INFO: Extracted packet for processing {"connection_id":108562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03: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-06-21 08:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":108562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:03:04] local.INFO: GPS data processed {"connection_id":108562,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:03:04] local.INFO: Acknowledgment sent {"connection_id":108562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:03:08] local.INFO: TCP Data received {"connection_id":108562,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:08] local.INFO: Processing buffer {"connection_id":108562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:08] local.INFO: Packet analysis {"connection_id":108562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:03:08] local.INFO: Extracted packet for processing {"connection_id":108562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08: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-06-21 08:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:08] 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-06-21 08:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08: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-06-21 08:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:03:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":108562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:03:08] local.INFO: GPS data processed {"connection_id":108562,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:03:08] local.INFO: Acknowledgment sent {"connection_id":108562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:03:53] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:53] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:53] local.INFO: IMEI packet received {"connection_id":110307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":110307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:03:57] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:57] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:03:57] local.INFO: IMEI packet received {"connection_id":110307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":110307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:03:59] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:59] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:03:59] local.INFO: Packet analysis {"connection_id":110307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:03:59] local.INFO: Extracted packet for processing {"connection_id":110307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:03:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":110307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:03:59] local.INFO: GPS data processed {"connection_id":110307,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:03:59] local.INFO: Acknowledgment sent {"connection_id":110307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:04:31] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:04:31] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:04:31] local.INFO: Packet analysis {"connection_id":110307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:04:31] local.INFO: Extracted packet for processing {"connection_id":110307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:04:31] 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-06-21 08:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:04:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":110307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:04:31] local.INFO: GPS data processed {"connection_id":110307,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:04:31] local.INFO: Acknowledgment sent {"connection_id":110307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:04:52] local.INFO: TCP Data received {"connection_id":109351,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:04:52] local.INFO: Processing buffer {"connection_id":109351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:04:52] local.INFO: IMEI packet received {"connection_id":109351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":109351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:04:57] local.INFO: TCP Data received {"connection_id":109351,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:04:57] local.INFO: Processing buffer {"connection_id":109351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:04:57] local.INFO: IMEI packet received {"connection_id":109351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":109351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:04:59] local.INFO: TCP Data received {"connection_id":109351,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:04:59] local.INFO: Processing buffer {"connection_id":109351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:04:59] local.INFO: Packet analysis {"connection_id":109351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:04:59] local.INFO: Extracted packet for processing {"connection_id":109351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 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-06-21 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:04:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:04:59] local.INFO: GPS data processed {"connection_id":109351,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:04:59] local.INFO: Acknowledgment sent {"connection_id":109351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:05:30] local.INFO: TCP Data received {"connection_id":109351,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:05:30] local.INFO: Processing buffer {"connection_id":109351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80358d0012d34c14006aa3d28000901172d..."} 
[2026-06-21 08:05:30] local.INFO: Packet analysis {"connection_id":109351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:05:30] local.INFO: Extracted packet for processing {"connection_id":109351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee803"} 
[2026-06-21 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194225408001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:05:30] 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-06-21 08:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782008994000,"timestamp_ms":1782008994000,"timestamp_seconds":1782008994,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80358d0"} 
[2026-06-21 08:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194225408001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194225408001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:05:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194225408001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":109351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:05:31] local.INFO: GPS data processed {"connection_id":109351,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:05:31] local.INFO: Acknowledgment sent {"connection_id":109351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:05:57] local.INFO: TCP Data received {"connection_id":110308,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:05:57] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:05:57] local.INFO: IMEI packet received {"connection_id":110308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":110308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:06:02] local.INFO: TCP Data received {"connection_id":110308,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:02] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:02] local.INFO: IMEI packet received {"connection_id":110308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":110308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:06:04] local.INFO: TCP Data received {"connection_id":110308,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:04] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:04] local.INFO: Packet analysis {"connection_id":110308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:06:04] local.INFO: Extracted packet for processing {"connection_id":110308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06: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-06-21 08:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":110308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:06:04] local.INFO: GPS data processed {"connection_id":110308,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:06:04] local.INFO: Acknowledgment sent {"connection_id":110308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:06:08] local.INFO: TCP Data received {"connection_id":110308,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:08] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:08] local.INFO: Packet analysis {"connection_id":110308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:06:08] local.INFO: Extracted packet for processing {"connection_id":110308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:08] 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-06-21 08:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:06:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:06:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":110308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:06:08] local.INFO: GPS data processed {"connection_id":110308,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:06:08] local.INFO: Acknowledgment sent {"connection_id":110308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:06:52] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:52] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:52] local.INFO: IMEI packet received {"connection_id":108564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":108564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:06:58] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:58] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:06:58] local.INFO: IMEI packet received {"connection_id":108564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":108564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:06:58] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:58] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:06:58] local.INFO: Packet analysis {"connection_id":108564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:06:58] local.INFO: Extracted packet for processing {"connection_id":108564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:06:58] 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-06-21 08:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:06:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":108564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:06:58] local.INFO: GPS data processed {"connection_id":108564,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:06:58] local.INFO: Acknowledgment sent {"connection_id":108564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:07:31] local.INFO: TCP Data received {"connection_id":108564,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:07:31] local.INFO: Processing buffer {"connection_id":108564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:07:31] local.INFO: Packet analysis {"connection_id":108564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:07:31] local.INFO: Extracted packet for processing {"connection_id":108564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:07:31] 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-06-21 08:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:07:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":108564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:07:31] local.INFO: GPS data processed {"connection_id":108564,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:07:31] local.INFO: Acknowledgment sent {"connection_id":108564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:07:38] local.INFO: TCP Data received {"connection_id":108565,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:07:38] local.INFO: Processing buffer {"connection_id":108565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:07:38] local.INFO: IMEI packet received {"connection_id":108565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":108565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:07:52] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:07:52] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:07:52] local.INFO: IMEI packet received {"connection_id":108753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":108753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:07:57] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:07:57] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:07:57] local.INFO: IMEI packet received {"connection_id":108753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":108753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:07:58] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:07:58] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:07:58] local.INFO: Packet analysis {"connection_id":108753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:07:58] local.INFO: Extracted packet for processing {"connection_id":108753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:07:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:07:58] 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-06-21 08:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:07:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":108753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:07:58] local.INFO: GPS data processed {"connection_id":108753,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:07:58] local.INFO: Acknowledgment sent {"connection_id":108753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:08:13] local.INFO: TCP Data received {"connection_id":108754,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:08:13] local.INFO: Processing buffer {"connection_id":108754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:08:13] local.INFO: IMEI packet received {"connection_id":108754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":108754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:08:30] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:08:30] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:08:30] local.INFO: Packet analysis {"connection_id":108753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:08:30] local.INFO: Extracted packet for processing {"connection_id":108753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:08:30] 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-06-21 08:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:08:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":108753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:08:30] local.INFO: GPS data processed {"connection_id":108753,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:08:30] local.INFO: Acknowledgment sent {"connection_id":108753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:08:57] local.INFO: TCP Data received {"connection_id":109353,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:08:57] local.INFO: Processing buffer {"connection_id":109353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:08:57] local.INFO: IMEI packet received {"connection_id":109353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":109353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:09:02] local.INFO: TCP Data received {"connection_id":109353,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:03] local.INFO: Processing buffer {"connection_id":109353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:03] local.INFO: IMEI packet received {"connection_id":109353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":109353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:09:04] local.INFO: TCP Data received {"connection_id":109353,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:04] local.INFO: Processing buffer {"connection_id":109353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:04] local.INFO: Packet analysis {"connection_id":109353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:09:04] local.INFO: Extracted packet for processing {"connection_id":109353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09: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-06-21 08:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":109353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:09:04] local.INFO: GPS data processed {"connection_id":109353,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:09:04] local.INFO: Acknowledgment sent {"connection_id":109353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:09:35] local.INFO: TCP Data received {"connection_id":109353,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:35] local.INFO: Processing buffer {"connection_id":109353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:35] local.INFO: Packet analysis {"connection_id":109353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:09:35] local.INFO: Extracted packet for processing {"connection_id":109353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09: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-06-21 08:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:09:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":109353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:09:35] local.INFO: GPS data processed {"connection_id":109353,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:09:35] local.INFO: Acknowledgment sent {"connection_id":109353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:09:52] local.INFO: TCP Data received {"connection_id":108567,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:52] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:52] local.INFO: IMEI packet received {"connection_id":108567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":108567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:09:57] local.INFO: TCP Data received {"connection_id":108567,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:57] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:09:57] local.INFO: IMEI packet received {"connection_id":108567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":108567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:09:59] local.INFO: TCP Data received {"connection_id":108567,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:59] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:09:59] local.INFO: Packet analysis {"connection_id":108567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:09:59] local.INFO: Extracted packet for processing {"connection_id":108567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":108567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:09:59] local.INFO: GPS data processed {"connection_id":108567,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:09:59] local.INFO: Acknowledgment sent {"connection_id":108567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:10:31] local.INFO: TCP Data received {"connection_id":108567,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:10:31] local.INFO: Processing buffer {"connection_id":108567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee807f098012d34c14006aa3d28000a01172c..."} 
[2026-06-21 08:10:31] local.INFO: Packet analysis {"connection_id":108567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:10:31] local.INFO: Extracted packet for processing {"connection_id":108567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee807"} 
[2026-06-21 08:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194302464001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:10:31] 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-06-21 08:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782009295000,"timestamp_ms":1782009295000,"timestamp_seconds":1782009295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee807f098"} 
[2026-06-21 08:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 08:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194302464001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194302464001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194302464001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":108567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:10:31] local.INFO: GPS data processed {"connection_id":108567,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:10:31] local.INFO: Acknowledgment sent {"connection_id":108567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:10:52] local.INFO: TCP Data received {"connection_id":108568,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:10:52] local.INFO: Processing buffer {"connection_id":108568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:10:52] local.INFO: IMEI packet received {"connection_id":108568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":108568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:10:57] local.INFO: TCP Data received {"connection_id":108568,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:10:57] local.INFO: Processing buffer {"connection_id":108568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:10:57] local.INFO: IMEI packet received {"connection_id":108568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":108568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:10:59] local.INFO: TCP Data received {"connection_id":108568,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:10:59] local.INFO: Processing buffer {"connection_id":108568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:10:59] local.INFO: Packet analysis {"connection_id":108568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:10:59] local.INFO: Extracted packet for processing {"connection_id":108568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":108568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:10:59] local.INFO: GPS data processed {"connection_id":108568,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:10:59] local.INFO: Acknowledgment sent {"connection_id":108568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:11:30] local.INFO: TCP Data received {"connection_id":108568,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:11:30] local.INFO: Processing buffer {"connection_id":108568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:11:30] local.INFO: Packet analysis {"connection_id":108568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:11:30] local.INFO: Extracted packet for processing {"connection_id":108568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:11:30] 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-06-21 08:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:11:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:11:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":108568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:11:30] local.INFO: GPS data processed {"connection_id":108568,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:11:30] local.INFO: Acknowledgment sent {"connection_id":108568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:11:52] local.INFO: TCP Data received {"connection_id":109355,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:11:52] local.INFO: Processing buffer {"connection_id":109355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:11:52] local.INFO: IMEI packet received {"connection_id":109355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":109355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:11:57] local.INFO: TCP Data received {"connection_id":109355,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:11:57] local.INFO: Processing buffer {"connection_id":109355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:11:57] local.INFO: IMEI packet received {"connection_id":109355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":109355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:11:59] local.INFO: TCP Data received {"connection_id":109355,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:11:59] local.INFO: Processing buffer {"connection_id":109355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:11:59] local.INFO: Packet analysis {"connection_id":109355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:11:59] local.INFO: Extracted packet for processing {"connection_id":109355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":109355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:11:59] local.INFO: GPS data processed {"connection_id":109355,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:11:59] local.INFO: Acknowledgment sent {"connection_id":109355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:12:32] local.INFO: TCP Data received {"connection_id":109355,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:12:32] local.INFO: Processing buffer {"connection_id":109355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:12:32] local.INFO: Packet analysis {"connection_id":109355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:12:32] local.INFO: Extracted packet for processing {"connection_id":109355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:12:32] 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-06-21 08:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 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-06-21 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 08:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":109355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:12:32] local.INFO: GPS data processed {"connection_id":109355,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:12:32] local.INFO: Acknowledgment sent {"connection_id":109355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:12:57] local.INFO: TCP Data received {"connection_id":108757,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:12:57] local.INFO: Processing buffer {"connection_id":108757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:12:57] local.INFO: IMEI packet received {"connection_id":108757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":108757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:13:02] local.INFO: TCP Data received {"connection_id":108757,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:02] local.INFO: Processing buffer {"connection_id":108757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:02] local.INFO: IMEI packet received {"connection_id":108757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":108757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:13:03] local.INFO: TCP Data received {"connection_id":108757,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:03] local.INFO: Processing buffer {"connection_id":108757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:03] local.INFO: Packet analysis {"connection_id":108757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:13:03] local.INFO: Extracted packet for processing {"connection_id":108757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:03] 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-06-21 08:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":108757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:13:04] local.INFO: GPS data processed {"connection_id":108757,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:13:04] local.INFO: Acknowledgment sent {"connection_id":108757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:13:08] local.INFO: TCP Data received {"connection_id":108757,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:08] local.INFO: Processing buffer {"connection_id":108757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:08] local.INFO: Packet analysis {"connection_id":108757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:13:08] local.INFO: Extracted packet for processing {"connection_id":108757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:08] 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-06-21 08:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":108757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:13:08] local.INFO: GPS data processed {"connection_id":108757,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:13:08] local.INFO: Acknowledgment sent {"connection_id":108757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:13:28] local.INFO: TCP Data received {"connection_id":110309,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:13:28] local.INFO: Processing buffer {"connection_id":110309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:13:28] local.INFO: IMEI packet received {"connection_id":110309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":110309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:13:53] local.INFO: TCP Data received {"connection_id":110310,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:53] local.INFO: Processing buffer {"connection_id":110310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:53] local.INFO: IMEI packet received {"connection_id":110310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":110310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:13:57] local.INFO: TCP Data received {"connection_id":110310,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:57] local.INFO: Processing buffer {"connection_id":110310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:13:57] local.INFO: IMEI packet received {"connection_id":110310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":110310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:13:58] local.INFO: TCP Data received {"connection_id":110310,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:58] local.INFO: Processing buffer {"connection_id":110310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:13:58] local.INFO: Packet analysis {"connection_id":110310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:13:58] local.INFO: Extracted packet for processing {"connection_id":110310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:13:58] 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-06-21 08:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":110310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:13:58] local.INFO: GPS data processed {"connection_id":110310,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:13:58] local.INFO: Acknowledgment sent {"connection_id":110310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:14:13] local.INFO: TCP Data received {"connection_id":108569,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:14:13] local.INFO: Processing buffer {"connection_id":108569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:14:13] local.INFO: IMEI packet received {"connection_id":108569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":108569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:14:20] local.INFO: TCP Data received {"connection_id":108569,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:14:20] local.INFO: Processing buffer {"connection_id":108569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:14:20] local.INFO: IMEI packet received {"connection_id":108569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 08:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":108569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:14:30] local.INFO: TCP Data received {"connection_id":110310,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:14:30] local.INFO: Processing buffer {"connection_id":110310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:14:30] local.INFO: Packet analysis {"connection_id":110310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:14:30] local.INFO: Extracted packet for processing {"connection_id":110310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:14:30] 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-06-21 08:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":110310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:14:30] local.INFO: GPS data processed {"connection_id":110310,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:14:30] local.INFO: Acknowledgment sent {"connection_id":110310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:15:07] local.INFO: TCP Data received {"connection_id":109356,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:07] local.INFO: Processing buffer {"connection_id":109356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:07] local.INFO: IMEI packet received {"connection_id":109356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":109356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:15:13] local.INFO: TCP Data received {"connection_id":109356,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:13] local.INFO: Processing buffer {"connection_id":109356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:13] local.INFO: IMEI packet received {"connection_id":109356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":109356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:15:14] local.INFO: TCP Data received {"connection_id":109356,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:15:14] local.INFO: Processing buffer {"connection_id":109356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:15:14] local.INFO: Packet analysis {"connection_id":109356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:15:14] local.INFO: Extracted packet for processing {"connection_id":109356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08: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-06-21 08:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15: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-06-21 08:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08: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-06-21 08:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":109356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":109356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":109356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:15:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":109356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:15:14] local.INFO: GPS data processed {"connection_id":109356,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:15:14] local.INFO: Acknowledgment sent {"connection_id":109356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:15:18] local.INFO: TCP Data received {"connection_id":109356,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:15:18] local.INFO: Processing buffer {"connection_id":109356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 08:15:18] local.INFO: Packet analysis {"connection_id":109356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:15:18] local.INFO: Extracted packet for processing {"connection_id":109356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 08:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08: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-06-21 08:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 08:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:15: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-06-21 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08: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-06-21 08:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":109356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":109356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":109356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:15:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:15:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":109356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:15:18] local.INFO: GPS data processed {"connection_id":109356,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:15:18] local.INFO: Acknowledgment sent {"connection_id":109356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:15:53] local.INFO: TCP Data received {"connection_id":109357,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:53] local.INFO: Processing buffer {"connection_id":109357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:53] local.INFO: IMEI packet received {"connection_id":109357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":109357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:15:57] local.INFO: TCP Data received {"connection_id":109357,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:57] local.INFO: Processing buffer {"connection_id":109357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:15:57] local.INFO: IMEI packet received {"connection_id":109357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":109357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:15:59] local.INFO: TCP Data received {"connection_id":109357,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:15:59] local.INFO: Processing buffer {"connection_id":109357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:15:59] local.INFO: Packet analysis {"connection_id":109357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:15:59] local.INFO: Extracted packet for processing {"connection_id":109357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:15:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":109357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:15:59] local.INFO: GPS data processed {"connection_id":109357,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:15:59] local.INFO: Acknowledgment sent {"connection_id":109357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:16:31] local.INFO: TCP Data received {"connection_id":109357,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:16:31] local.INFO: Processing buffer {"connection_id":109357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:16:31] local.INFO: Packet analysis {"connection_id":109357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:16:31] local.INFO: Extracted packet for processing {"connection_id":109357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:16:31] 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-06-21 08:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:16:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":109357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:16:31] local.INFO: GPS data processed {"connection_id":109357,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:16:31] local.INFO: Acknowledgment sent {"connection_id":109357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:16:52] local.INFO: TCP Data received {"connection_id":108758,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:16:52] local.INFO: Processing buffer {"connection_id":108758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:16:52] local.INFO: IMEI packet received {"connection_id":108758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":108758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:16:57] local.INFO: TCP Data received {"connection_id":108758,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:16:57] local.INFO: Processing buffer {"connection_id":108758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:16:57] local.INFO: IMEI packet received {"connection_id":108758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":108758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:16:58] local.INFO: TCP Data received {"connection_id":108758,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:16:58] local.INFO: Processing buffer {"connection_id":108758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:16:58] local.INFO: Packet analysis {"connection_id":108758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:16:58] local.INFO: Extracted packet for processing {"connection_id":108758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:16:58] 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-06-21 08:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 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-06-21 08:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:16:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:16:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":108758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:16:58] local.INFO: GPS data processed {"connection_id":108758,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:16:58] local.INFO: Acknowledgment sent {"connection_id":108758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:17:30] local.INFO: TCP Data received {"connection_id":108758,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:17:30] local.INFO: Processing buffer {"connection_id":108758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:17:30] local.INFO: Packet analysis {"connection_id":108758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:17:30] local.INFO: Extracted packet for processing {"connection_id":108758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:17:30] 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-06-21 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":108758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:17:30] local.INFO: GPS data processed {"connection_id":108758,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:17:30] local.INFO: Acknowledgment sent {"connection_id":108758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:17:52] local.INFO: TCP Data received {"connection_id":110312,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:17:52] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:17:52] local.INFO: IMEI packet received {"connection_id":110312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":110312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:17:57] local.INFO: TCP Data received {"connection_id":110312,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:17:57] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:17:57] local.INFO: IMEI packet received {"connection_id":110312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":110312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:17:59] local.INFO: TCP Data received {"connection_id":110312,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:17:59] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:17:59] local.INFO: Packet analysis {"connection_id":110312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:17:59] local.INFO: Extracted packet for processing {"connection_id":110312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":110312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:17:59] local.INFO: GPS data processed {"connection_id":110312,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:17:59] local.INFO: Acknowledgment sent {"connection_id":110312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:18:30] local.INFO: TCP Data received {"connection_id":110312,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:18:30] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:18:30] local.INFO: Packet analysis {"connection_id":110312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:18:30] local.INFO: Extracted packet for processing {"connection_id":110312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:18:30] 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-06-21 08:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:18:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":110312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:18:30] local.INFO: GPS data processed {"connection_id":110312,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:18:30] local.INFO: Acknowledgment sent {"connection_id":110312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:18:57] local.INFO: TCP Data received {"connection_id":108572,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:18:57] local.INFO: Processing buffer {"connection_id":108572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:18:57] local.INFO: IMEI packet received {"connection_id":108572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":108572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:19:02] local.INFO: TCP Data received {"connection_id":108572,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:02] local.INFO: Processing buffer {"connection_id":108572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:02] local.INFO: IMEI packet received {"connection_id":108572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":108572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:19:04] local.INFO: TCP Data received {"connection_id":108572,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:04] local.INFO: Processing buffer {"connection_id":108572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:04] local.INFO: Packet analysis {"connection_id":108572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:19:04] local.INFO: Extracted packet for processing {"connection_id":108572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19: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-06-21 08:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":108572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:19:04] local.INFO: GPS data processed {"connection_id":108572,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:19:04] local.INFO: Acknowledgment sent {"connection_id":108572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:19:08] local.INFO: TCP Data received {"connection_id":108572,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:08] local.INFO: Processing buffer {"connection_id":108572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:08] local.INFO: Packet analysis {"connection_id":108572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:19:08] local.INFO: Extracted packet for processing {"connection_id":108572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:08] 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-06-21 08:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 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-06-21 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":108572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:19:08] local.INFO: GPS data processed {"connection_id":108572,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:19:08] local.INFO: Acknowledgment sent {"connection_id":108572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:19:23] local.INFO: TCP Data received {"connection_id":109359,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:19:23] local.INFO: Processing buffer {"connection_id":109359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:19:23] local.INFO: IMEI packet received {"connection_id":109359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":109359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:19:52] local.INFO: TCP Data received {"connection_id":110313,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:52] local.INFO: Processing buffer {"connection_id":110313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:52] local.INFO: IMEI packet received {"connection_id":110313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":110313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:19:57] local.INFO: TCP Data received {"connection_id":110313,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:57] local.INFO: Processing buffer {"connection_id":110313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:19:57] local.INFO: IMEI packet received {"connection_id":110313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":110313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:19:58] local.INFO: TCP Data received {"connection_id":110313,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:58] local.INFO: Processing buffer {"connection_id":110313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:19:58] local.INFO: Packet analysis {"connection_id":110313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:19:58] local.INFO: Extracted packet for processing {"connection_id":110313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:19:58] 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-06-21 08:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:19:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":110313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:19:58] local.INFO: GPS data processed {"connection_id":110313,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:19:58] local.INFO: Acknowledgment sent {"connection_id":110313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:20:30] local.INFO: TCP Data received {"connection_id":110313,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:20:30] local.INFO: Processing buffer {"connection_id":110313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8112028012d34c14006aa3d28000d01172c..."} 
[2026-06-21 08:20:30] local.INFO: Packet analysis {"connection_id":110313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:20:30] local.INFO: Extracted packet for processing {"connection_id":110313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee811"} 
[2026-06-21 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194456576001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:20:30] 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-06-21 08:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782009897000,"timestamp_ms":1782009897000,"timestamp_seconds":1782009897,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8112028"} 
[2026-06-21 08:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 08:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194456576001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194456576001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:20:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194456576001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":110313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:20:30] local.INFO: GPS data processed {"connection_id":110313,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:20:30] local.INFO: Acknowledgment sent {"connection_id":110313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:20:52] local.INFO: TCP Data received {"connection_id":108573,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:20:52] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:20:52] local.INFO: IMEI packet received {"connection_id":108573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":108573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:20:57] local.INFO: TCP Data received {"connection_id":108573,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:20:57] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:20:57] local.INFO: IMEI packet received {"connection_id":108573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":108573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:20:59] local.INFO: TCP Data received {"connection_id":108573,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:20:59] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:20:59] local.INFO: Packet analysis {"connection_id":108573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:20:59] local.INFO: Extracted packet for processing {"connection_id":108573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08: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-06-21 08:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08: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-06-21 08:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":108573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:20:59] local.INFO: GPS data processed {"connection_id":108573,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:20:59] local.INFO: Acknowledgment sent {"connection_id":108573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:21:31] local.INFO: TCP Data received {"connection_id":108573,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:21:31] local.INFO: Processing buffer {"connection_id":108573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:21:31] local.INFO: Packet analysis {"connection_id":108573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:21:31] local.INFO: Extracted packet for processing {"connection_id":108573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:21:31] 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-06-21 08:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:21:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":108573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:21:31] local.INFO: GPS data processed {"connection_id":108573,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:21:31] local.INFO: Acknowledgment sent {"connection_id":108573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:21:52] local.INFO: TCP Data received {"connection_id":108761,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:21:52] local.INFO: Processing buffer {"connection_id":108761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:21:52] local.INFO: IMEI packet received {"connection_id":108761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":108761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:21:57] local.INFO: TCP Data received {"connection_id":108761,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:21:57] local.INFO: Processing buffer {"connection_id":108761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:21:57] local.INFO: IMEI packet received {"connection_id":108761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":108761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:21:58] local.INFO: TCP Data received {"connection_id":108761,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:21:58] local.INFO: Processing buffer {"connection_id":108761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:21:58] local.INFO: Packet analysis {"connection_id":108761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:21:58] local.INFO: Extracted packet for processing {"connection_id":108761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:21:58] 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-06-21 08:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:21:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":108761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:21:58] local.INFO: GPS data processed {"connection_id":108761,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:21:58] local.INFO: Acknowledgment sent {"connection_id":108761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:22:30] local.INFO: TCP Data received {"connection_id":108761,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:22:30] local.INFO: Processing buffer {"connection_id":108761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:22:30] local.INFO: Packet analysis {"connection_id":108761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:22:30] local.INFO: Extracted packet for processing {"connection_id":108761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:22:30] 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-06-21 08:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":108761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:22:30] local.INFO: GPS data processed {"connection_id":108761,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:22:30] local.INFO: Acknowledgment sent {"connection_id":108761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:22:57] local.INFO: TCP Data received {"connection_id":109360,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:22:57] local.INFO: Processing buffer {"connection_id":109360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:22:57] local.INFO: IMEI packet received {"connection_id":109360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":109360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:23:02] local.INFO: TCP Data received {"connection_id":109360,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:02] local.INFO: Processing buffer {"connection_id":109360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:02] local.INFO: IMEI packet received {"connection_id":109360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":109360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:23:04] local.INFO: TCP Data received {"connection_id":109360,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:04] local.INFO: Processing buffer {"connection_id":109360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:04] local.INFO: Packet analysis {"connection_id":109360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:23:04] local.INFO: Extracted packet for processing {"connection_id":109360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23: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-06-21 08:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 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-06-21 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":109360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:23:04] local.INFO: GPS data processed {"connection_id":109360,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:23:04] local.INFO: Acknowledgment sent {"connection_id":109360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:23:09] local.INFO: TCP Data received {"connection_id":109360,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:09] local.INFO: Processing buffer {"connection_id":109360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:09] local.INFO: Packet analysis {"connection_id":109360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:23:09] local.INFO: Extracted packet for processing {"connection_id":109360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23: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-06-21 08:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":109360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:23:09] local.INFO: GPS data processed {"connection_id":109360,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:23:09] local.INFO: Acknowledgment sent {"connection_id":109360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:23:53] local.INFO: TCP Data received {"connection_id":108762,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:53] local.INFO: Processing buffer {"connection_id":108762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:53] local.INFO: IMEI packet received {"connection_id":108762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":108762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:23:57] local.INFO: TCP Data received {"connection_id":108762,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:57] local.INFO: Processing buffer {"connection_id":108762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:23:57] local.INFO: IMEI packet received {"connection_id":108762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":108762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:23:58] local.INFO: TCP Data received {"connection_id":108762,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:58] local.INFO: Processing buffer {"connection_id":108762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:23:58] local.INFO: Packet analysis {"connection_id":108762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:23:58] local.INFO: Extracted packet for processing {"connection_id":108762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:23:58] 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-06-21 08:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 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-06-21 08:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:23:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":108762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:23:58] local.INFO: GPS data processed {"connection_id":108762,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:23:58] local.INFO: Acknowledgment sent {"connection_id":108762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:24:31] local.INFO: TCP Data received {"connection_id":108762,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:24:31] local.INFO: Processing buffer {"connection_id":108762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:24:31] local.INFO: Packet analysis {"connection_id":108762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:24:31] local.INFO: Extracted packet for processing {"connection_id":108762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:24:31] 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-06-21 08:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:24:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":108762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:24:31] local.INFO: GPS data processed {"connection_id":108762,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:24:31] local.INFO: Acknowledgment sent {"connection_id":108762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:24:52] local.INFO: TCP Data received {"connection_id":108577,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:24:52] local.INFO: Processing buffer {"connection_id":108577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:24:52] local.INFO: IMEI packet received {"connection_id":108577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":108577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:24:57] local.INFO: TCP Data received {"connection_id":108577,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:24:57] local.INFO: Processing buffer {"connection_id":108577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:24:57] local.INFO: IMEI packet received {"connection_id":108577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":108577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:24:59] local.INFO: TCP Data received {"connection_id":108577,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:24:59] local.INFO: Processing buffer {"connection_id":108577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:24:59] local.INFO: Packet analysis {"connection_id":108577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:24:59] local.INFO: Extracted packet for processing {"connection_id":108577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:24:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":108577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:24:59] local.INFO: GPS data processed {"connection_id":108577,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:24:59] local.INFO: Acknowledgment sent {"connection_id":108577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:25:13] local.INFO: TCP Data received {"connection_id":108578,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:25:13] local.INFO: Processing buffer {"connection_id":108578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:25:13] local.INFO: IMEI packet received {"connection_id":108578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":108578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:25:31] local.INFO: TCP Data received {"connection_id":108577,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:25:31] local.INFO: Processing buffer {"connection_id":108577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee815b7f0012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:25:31] local.INFO: Packet analysis {"connection_id":108577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:25:31] local.INFO: Extracted packet for processing {"connection_id":108577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee815"} 
[2026-06-21 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194533632001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:25:31] 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-06-21 08:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782010198000,"timestamp_ms":1782010198000,"timestamp_seconds":1782010198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee815b7f0"} 
[2026-06-21 08:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194533632001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194533632001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:25:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194533632001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":108577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:25:31] local.INFO: GPS data processed {"connection_id":108577,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:25:31] local.INFO: Acknowledgment sent {"connection_id":108577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:25:52] local.INFO: TCP Data received {"connection_id":108579,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:25:52] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:25:52] local.INFO: IMEI packet received {"connection_id":108579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":108579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:25:57] local.INFO: TCP Data received {"connection_id":108579,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:25:57] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:25:57] local.INFO: IMEI packet received {"connection_id":108579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":108579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:25:58] local.INFO: TCP Data received {"connection_id":108579,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:25:58] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:25:58] local.INFO: Packet analysis {"connection_id":108579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:25:58] local.INFO: Extracted packet for processing {"connection_id":108579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:25:58] 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-06-21 08:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 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-06-21 08:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:25:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:25:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":108579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:25:58] local.INFO: GPS data processed {"connection_id":108579,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:25:58] local.INFO: Acknowledgment sent {"connection_id":108579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:26:29] local.INFO: TCP Data received {"connection_id":108579,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:26:30] local.INFO: Processing buffer {"connection_id":108579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:26:30] local.INFO: Packet analysis {"connection_id":108579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:26:30] local.INFO: Extracted packet for processing {"connection_id":108579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:26:30] 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-06-21 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:26:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":108579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:26:30] local.INFO: GPS data processed {"connection_id":108579,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:26:30] local.INFO: Acknowledgment sent {"connection_id":108579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:26:53] local.INFO: TCP Data received {"connection_id":108764,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:26:53] local.INFO: Processing buffer {"connection_id":108764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:26:53] local.INFO: IMEI packet received {"connection_id":108764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":108764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:26:57] local.INFO: TCP Data received {"connection_id":108764,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:26:57] local.INFO: Processing buffer {"connection_id":108764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:26:57] local.INFO: IMEI packet received {"connection_id":108764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":108764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:26:59] local.INFO: TCP Data received {"connection_id":108764,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:26:59] local.INFO: Processing buffer {"connection_id":108764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:26:59] local.INFO: Packet analysis {"connection_id":108764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:26:59] local.INFO: Extracted packet for processing {"connection_id":108764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":108764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:26:59] local.INFO: GPS data processed {"connection_id":108764,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:26:59] local.INFO: Acknowledgment sent {"connection_id":108764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:27:32] local.INFO: TCP Data received {"connection_id":108764,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:27:32] local.INFO: Processing buffer {"connection_id":108764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:27:32] local.INFO: Packet analysis {"connection_id":108764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:27:32] local.INFO: Extracted packet for processing {"connection_id":108764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:27:32] 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-06-21 08:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":108764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:27:32] local.INFO: GPS data processed {"connection_id":108764,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:27:32] local.INFO: Acknowledgment sent {"connection_id":108764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:27:52] local.INFO: TCP Data received {"connection_id":108581,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:27:52] local.INFO: Processing buffer {"connection_id":108581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:27:52] local.INFO: IMEI packet received {"connection_id":108581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":108581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:27:57] local.INFO: TCP Data received {"connection_id":108581,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:27:57] local.INFO: Processing buffer {"connection_id":108581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:27:57] local.INFO: IMEI packet received {"connection_id":108581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":108581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:27:59] local.INFO: TCP Data received {"connection_id":108581,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:27:59] local.INFO: Processing buffer {"connection_id":108581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:27:59] local.INFO: Packet analysis {"connection_id":108581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:27:59] local.INFO: Extracted packet for processing {"connection_id":108581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":108581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:27:59] local.INFO: GPS data processed {"connection_id":108581,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:27:59] local.INFO: Acknowledgment sent {"connection_id":108581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:28:30] local.INFO: TCP Data received {"connection_id":108581,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:28:30] local.INFO: Processing buffer {"connection_id":108581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:28:30] local.INFO: Packet analysis {"connection_id":108581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:28:30] local.INFO: Extracted packet for processing {"connection_id":108581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:28:30] 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-06-21 08:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":108581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:28:30] local.INFO: GPS data processed {"connection_id":108581,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:28:30] local.INFO: Acknowledgment sent {"connection_id":108581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:28:52] local.INFO: TCP Data received {"connection_id":109361,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:28:52] local.INFO: Processing buffer {"connection_id":109361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:28:52] local.INFO: IMEI packet received {"connection_id":109361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":109361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:28:57] local.INFO: TCP Data received {"connection_id":109361,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:28:57] local.INFO: Processing buffer {"connection_id":109361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:28:57] local.INFO: IMEI packet received {"connection_id":109361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":109361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:29:00] local.INFO: TCP Data received {"connection_id":109361,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:00] local.INFO: Processing buffer {"connection_id":109361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:00] local.INFO: Packet analysis {"connection_id":109361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:29:00] local.INFO: Extracted packet for processing {"connection_id":109361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:29:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:00] 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-06-21 08:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:29:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":109361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:29:00] local.INFO: GPS data processed {"connection_id":109361,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:29:00] local.INFO: Acknowledgment sent {"connection_id":109361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:29:31] local.INFO: TCP Data received {"connection_id":109361,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:31] local.INFO: Processing buffer {"connection_id":109361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:31] local.INFO: Packet analysis {"connection_id":109361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:29:31] local.INFO: Extracted packet for processing {"connection_id":109361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:31] 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-06-21 08:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:29:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":109361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:29:31] local.INFO: GPS data processed {"connection_id":109361,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:29:31] local.INFO: Acknowledgment sent {"connection_id":109361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:29:52] local.INFO: TCP Data received {"connection_id":108766,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:29:52] local.INFO: Processing buffer {"connection_id":108766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:29:52] local.INFO: IMEI packet received {"connection_id":108766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":108766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:29:57] local.INFO: TCP Data received {"connection_id":108766,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:29:57] local.INFO: Processing buffer {"connection_id":108766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:29:57] local.INFO: IMEI packet received {"connection_id":108766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":108766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:29:59] local.INFO: TCP Data received {"connection_id":108766,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:59] local.INFO: Processing buffer {"connection_id":108766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:29:59] local.INFO: Packet analysis {"connection_id":108766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:29:59] local.INFO: Extracted packet for processing {"connection_id":108766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 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-06-21 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":108766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:29:59] local.INFO: GPS data processed {"connection_id":108766,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:29:59] local.INFO: Acknowledgment sent {"connection_id":108766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:30:31] local.INFO: TCP Data received {"connection_id":108766,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:30:31] local.INFO: Processing buffer {"connection_id":108766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81a4fb8012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:30:31] local.INFO: Packet analysis {"connection_id":108766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:30:31] local.INFO: Extracted packet for processing {"connection_id":108766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81a"} 
[2026-06-21 08:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194610688001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:30:31] 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-06-21 08:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782010499000,"timestamp_ms":1782010499000,"timestamp_seconds":1782010499,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81a4fb8"} 
[2026-06-21 08:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194610688001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194610688001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194610688001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":108766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:30:31] local.INFO: GPS data processed {"connection_id":108766,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:30:31] local.INFO: Acknowledgment sent {"connection_id":108766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:30:38] local.INFO: TCP Data received {"connection_id":108767,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:30:38] local.INFO: Processing buffer {"connection_id":108767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:30:38] local.INFO: IMEI packet received {"connection_id":108767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":108767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:30:57] local.INFO: TCP Data received {"connection_id":108582,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:30:57] local.INFO: Processing buffer {"connection_id":108582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:30:57] local.INFO: IMEI packet received {"connection_id":108582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":108582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:31:03] local.INFO: TCP Data received {"connection_id":108582,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:03] local.INFO: Processing buffer {"connection_id":108582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:03] local.INFO: IMEI packet received {"connection_id":108582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":108582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:31:04] local.INFO: TCP Data received {"connection_id":108582,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:04] local.INFO: Processing buffer {"connection_id":108582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:04] local.INFO: Packet analysis {"connection_id":108582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:31:04] local.INFO: Extracted packet for processing {"connection_id":108582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31: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-06-21 08:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":108582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:31:04] local.INFO: GPS data processed {"connection_id":108582,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:31:04] local.INFO: Acknowledgment sent {"connection_id":108582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:31:08] local.INFO: TCP Data received {"connection_id":108582,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:08] local.INFO: Processing buffer {"connection_id":108582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:08] local.INFO: Packet analysis {"connection_id":108582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:31:08] local.INFO: Extracted packet for processing {"connection_id":108582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:08] 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-06-21 08:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":108582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:31:08] local.INFO: GPS data processed {"connection_id":108582,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:31:08] local.INFO: Acknowledgment sent {"connection_id":108582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:31:13] local.INFO: TCP Data received {"connection_id":108768,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:31:13] local.INFO: Processing buffer {"connection_id":108768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:31:13] local.INFO: IMEI packet received {"connection_id":108768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":108768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:31:52] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:52] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:52] local.INFO: IMEI packet received {"connection_id":108769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":108769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:31:57] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:57] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:31:57] local.INFO: IMEI packet received {"connection_id":108769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":108769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:31:59] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:59] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:31:59] local.INFO: Packet analysis {"connection_id":108769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:31:59] local.INFO: Extracted packet for processing {"connection_id":108769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":108769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:31:59] local.INFO: GPS data processed {"connection_id":108769,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:31:59] local.INFO: Acknowledgment sent {"connection_id":108769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:32:31] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:32:31] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:32:31] local.INFO: Packet analysis {"connection_id":108769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:32:31] local.INFO: Extracted packet for processing {"connection_id":108769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:32:31] 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-06-21 08:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:32:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":108769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:32:31] local.INFO: GPS data processed {"connection_id":108769,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:32:31] local.INFO: Acknowledgment sent {"connection_id":108769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:32:52] local.INFO: TCP Data received {"connection_id":108583,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:32:52] local.INFO: Processing buffer {"connection_id":108583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:32:52] local.INFO: IMEI packet received {"connection_id":108583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":108583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:32:57] local.INFO: TCP Data received {"connection_id":108583,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:32:57] local.INFO: Processing buffer {"connection_id":108583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:32:57] local.INFO: IMEI packet received {"connection_id":108583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":108583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:32:59] local.INFO: TCP Data received {"connection_id":108583,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:32:59] local.INFO: Processing buffer {"connection_id":108583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:32:59] local.INFO: Packet analysis {"connection_id":108583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:32:59] local.INFO: Extracted packet for processing {"connection_id":108583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08: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-06-21 08:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08: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-06-21 08:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":108583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:32:59] local.INFO: GPS data processed {"connection_id":108583,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:32:59] local.INFO: Acknowledgment sent {"connection_id":108583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:33:31] local.INFO: TCP Data received {"connection_id":108583,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:33:31] local.INFO: Processing buffer {"connection_id":108583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:33:31] local.INFO: Packet analysis {"connection_id":108583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:33:31] local.INFO: Extracted packet for processing {"connection_id":108583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:33:31] 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-06-21 08:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:33:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":108583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:33:31] local.INFO: GPS data processed {"connection_id":108583,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:33:31] local.INFO: Acknowledgment sent {"connection_id":108583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:33:57] local.INFO: TCP Data received {"connection_id":109362,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:33:57] local.INFO: Processing buffer {"connection_id":109362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:33:57] local.INFO: IMEI packet received {"connection_id":109362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":109362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:34:02] local.INFO: TCP Data received {"connection_id":109362,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:02] local.INFO: Processing buffer {"connection_id":109362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:02] local.INFO: IMEI packet received {"connection_id":109362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":109362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:34:03] local.INFO: TCP Data received {"connection_id":109362,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:03] local.INFO: Processing buffer {"connection_id":109362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:03] local.INFO: Packet analysis {"connection_id":109362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:34:03] local.INFO: Extracted packet for processing {"connection_id":109362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:03] 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-06-21 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":109362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:34:03] local.INFO: GPS data processed {"connection_id":109362,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:34:03] local.INFO: Acknowledgment sent {"connection_id":109362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:34:09] local.INFO: TCP Data received {"connection_id":109362,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:09] local.INFO: Processing buffer {"connection_id":109362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:09] local.INFO: Packet analysis {"connection_id":109362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:34:09] local.INFO: Extracted packet for processing {"connection_id":109362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34: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-06-21 08:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:34:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":109362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:34:09] local.INFO: GPS data processed {"connection_id":109362,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:34:09] local.INFO: Acknowledgment sent {"connection_id":109362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:34:52] local.INFO: TCP Data received {"connection_id":108584,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:52] local.INFO: Processing buffer {"connection_id":108584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:52] local.INFO: IMEI packet received {"connection_id":108584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":108584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:34:57] local.INFO: TCP Data received {"connection_id":108584,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:57] local.INFO: Processing buffer {"connection_id":108584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:34:57] local.INFO: IMEI packet received {"connection_id":108584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":108584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:34:59] local.INFO: TCP Data received {"connection_id":108584,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:59] local.INFO: Processing buffer {"connection_id":108584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:34:59] local.INFO: Packet analysis {"connection_id":108584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:34:59] local.INFO: Extracted packet for processing {"connection_id":108584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":108584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:34:59] local.INFO: GPS data processed {"connection_id":108584,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:34:59] local.INFO: Acknowledgment sent {"connection_id":108584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:35:30] local.INFO: TCP Data received {"connection_id":108584,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:35:30] local.INFO: Processing buffer {"connection_id":108584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81ee780012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:35:30] local.INFO: Packet analysis {"connection_id":108584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:35:30] local.INFO: Extracted packet for processing {"connection_id":108584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee81e"} 
[2026-06-21 08:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194687744001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:35:30] 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-06-21 08:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782010800000,"timestamp_ms":1782010800000,"timestamp_seconds":1782010800,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81ee780"} 
[2026-06-21 08:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 08:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194687744001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194687744001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194687744001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":108584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:35:30] local.INFO: GPS data processed {"connection_id":108584,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:35:30] local.INFO: Acknowledgment sent {"connection_id":108584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:35:53] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:35:53] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:35:53] local.INFO: IMEI packet received {"connection_id":110318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":110318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:35:57] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:35:57] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:35:57] local.INFO: IMEI packet received {"connection_id":110318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":110318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:35:59] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:35:59] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:35:59] local.INFO: Packet analysis {"connection_id":110318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:35:59] local.INFO: Extracted packet for processing {"connection_id":110318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":110318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:35:59] local.INFO: GPS data processed {"connection_id":110318,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:35:59] local.INFO: Acknowledgment sent {"connection_id":110318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:36:30] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:36:30] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:36:30] local.INFO: Packet analysis {"connection_id":110318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:36:30] local.INFO: Extracted packet for processing {"connection_id":110318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:36:30] 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-06-21 08:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:36:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":110318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:36:30] local.INFO: GPS data processed {"connection_id":110318,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:36:30] local.INFO: Acknowledgment sent {"connection_id":110318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:36:38] local.INFO: TCP Data received {"connection_id":108771,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:36:38] local.INFO: Processing buffer {"connection_id":108771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:36:38] local.INFO: IMEI packet received {"connection_id":108771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":108771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:36:52] local.INFO: TCP Data received {"connection_id":109363,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:36:52] local.INFO: Processing buffer {"connection_id":109363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:36:52] local.INFO: IMEI packet received {"connection_id":109363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":109363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:36:57] local.INFO: TCP Data received {"connection_id":109363,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:36:57] local.INFO: Processing buffer {"connection_id":109363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:36:57] local.INFO: IMEI packet received {"connection_id":109363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":109363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:37:01] local.INFO: TCP Data received {"connection_id":109363,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:37:01] local.INFO: Processing buffer {"connection_id":109363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:37:01] local.INFO: Packet analysis {"connection_id":109363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:37:01] local.INFO: Extracted packet for processing {"connection_id":109363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:37:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:37:01] 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-06-21 08:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":109363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":109363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":109363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:37:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:37:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":109363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:37:01] local.INFO: GPS data processed {"connection_id":109363,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:37:01] local.INFO: Acknowledgment sent {"connection_id":109363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:37:13] local.INFO: TCP Data received {"connection_id":110319,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:37:13] local.INFO: Processing buffer {"connection_id":110319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:37:13] local.INFO: IMEI packet received {"connection_id":110319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":110319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:37:33] local.INFO: TCP Data received {"connection_id":109363,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:37:33] local.INFO: Processing buffer {"connection_id":109363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:37:33] local.INFO: Packet analysis {"connection_id":109363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:37:33] local.INFO: Extracted packet for processing {"connection_id":109363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:37:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:37:33] 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-06-21 08:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:37:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:37:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":109363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:37:33] local.INFO: GPS data processed {"connection_id":109363,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:37:33] local.INFO: Acknowledgment sent {"connection_id":109363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:37:57] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:37:57] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:37:57] local.INFO: IMEI packet received {"connection_id":108772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":108772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:38:02] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:02] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:02] local.INFO: IMEI packet received {"connection_id":108772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":108772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:38:03] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:03] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:03] local.INFO: Packet analysis {"connection_id":108772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:38:03] local.INFO: Extracted packet for processing {"connection_id":108772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:03] 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-06-21 08:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:38:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":108772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:38:04] local.INFO: GPS data processed {"connection_id":108772,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:38:04] local.INFO: Acknowledgment sent {"connection_id":108772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:38:09] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:09] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:09] local.INFO: Packet analysis {"connection_id":108772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:38:09] local.INFO: Extracted packet for processing {"connection_id":108772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08: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-06-21 08:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38: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-06-21 08:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08: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-06-21 08:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:38:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":108772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:38:09] local.INFO: GPS data processed {"connection_id":108772,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:38:09] local.INFO: Acknowledgment sent {"connection_id":108772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:38:52] local.INFO: TCP Data received {"connection_id":108585,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:52] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:52] local.INFO: IMEI packet received {"connection_id":108585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":108585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:38:57] local.INFO: TCP Data received {"connection_id":108585,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:57] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:38:57] local.INFO: IMEI packet received {"connection_id":108585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":108585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:38:59] local.INFO: TCP Data received {"connection_id":108585,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:59] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:38:59] local.INFO: Packet analysis {"connection_id":108585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:38:59] local.INFO: Extracted packet for processing {"connection_id":108585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":108585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:38:59] local.INFO: GPS data processed {"connection_id":108585,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:38:59] local.INFO: Acknowledgment sent {"connection_id":108585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:39:03] local.INFO: TCP Data received {"connection_id":108585,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:03] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:03] local.INFO: Packet analysis {"connection_id":108585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:39:03] local.INFO: Extracted packet for processing {"connection_id":108585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:03] 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-06-21 08:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:39:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":108585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:39:03] local.INFO: GPS data processed {"connection_id":108585,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:39:03] local.INFO: Acknowledgment sent {"connection_id":108585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:39:35] local.INFO: TCP Data received {"connection_id":108585,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:35] local.INFO: Processing buffer {"connection_id":108585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:35] local.INFO: Packet analysis {"connection_id":108585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:39:35] local.INFO: Extracted packet for processing {"connection_id":108585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39: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-06-21 08:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:39:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":108585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:39:35] local.INFO: GPS data processed {"connection_id":108585,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:39:35] local.INFO: Acknowledgment sent {"connection_id":108585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:39:53] local.INFO: TCP Data received {"connection_id":109364,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:39:53] local.INFO: Processing buffer {"connection_id":109364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:39:53] local.INFO: IMEI packet received {"connection_id":109364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":109364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:39:57] local.INFO: TCP Data received {"connection_id":109364,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:39:57] local.INFO: Processing buffer {"connection_id":109364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:39:57] local.INFO: IMEI packet received {"connection_id":109364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":109364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:39:59] local.INFO: TCP Data received {"connection_id":109364,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:59] local.INFO: Processing buffer {"connection_id":109364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:39:59] local.INFO: Packet analysis {"connection_id":109364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:39:59] local.INFO: Extracted packet for processing {"connection_id":109364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":109364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:39:59] local.INFO: GPS data processed {"connection_id":109364,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:39:59] local.INFO: Acknowledgment sent {"connection_id":109364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:40:31] local.INFO: TCP Data received {"connection_id":109364,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:40:31] local.INFO: Processing buffer {"connection_id":109364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8237f48012d34c14006aa3d28000d01172b..."} 
[2026-06-21 08:40:31] local.INFO: Packet analysis {"connection_id":109364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:40:31] local.INFO: Extracted packet for processing {"connection_id":109364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee823"} 
[2026-06-21 08:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":13,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194764800001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:40:31] 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-06-21 08:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782011101000,"timestamp_ms":1782011101000,"timestamp_seconds":1782011101,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8237f48"} 
[2026-06-21 08:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194764800001,"66":24647,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194764800001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194764800001,"power":24647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":109364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:40:31] local.INFO: GPS data processed {"connection_id":109364,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:40:31] local.INFO: Acknowledgment sent {"connection_id":109364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:40:52] local.INFO: TCP Data received {"connection_id":110321,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:40:52] local.INFO: Processing buffer {"connection_id":110321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:40:52] local.INFO: IMEI packet received {"connection_id":110321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":110321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:40:57] local.INFO: TCP Data received {"connection_id":110321,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:40:57] local.INFO: Processing buffer {"connection_id":110321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:40:57] local.INFO: IMEI packet received {"connection_id":110321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":110321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:40:59] local.INFO: TCP Data received {"connection_id":110321,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:40:59] local.INFO: Processing buffer {"connection_id":110321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:40:59] local.INFO: Packet analysis {"connection_id":110321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:40:59] local.INFO: Extracted packet for processing {"connection_id":110321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 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-06-21 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":110321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:40:59] local.INFO: GPS data processed {"connection_id":110321,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:40:59] local.INFO: Acknowledgment sent {"connection_id":110321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:41:31] local.INFO: TCP Data received {"connection_id":110321,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:41:31] local.INFO: Processing buffer {"connection_id":110321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:41:31] local.INFO: Packet analysis {"connection_id":110321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:41:31] local.INFO: Extracted packet for processing {"connection_id":110321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:41:31] 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-06-21 08:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:41:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":110321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:41:31] local.INFO: GPS data processed {"connection_id":110321,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:41:31] local.INFO: Acknowledgment sent {"connection_id":110321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:41:57] local.INFO: TCP Data received {"connection_id":108586,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:41:57] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:41:57] local.INFO: IMEI packet received {"connection_id":108586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":108586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:42:02] local.INFO: TCP Data received {"connection_id":108586,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:02] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:02] local.INFO: IMEI packet received {"connection_id":108586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":108586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:42:04] local.INFO: TCP Data received {"connection_id":108586,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:04] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:04] local.INFO: Packet analysis {"connection_id":108586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:42:04] local.INFO: Extracted packet for processing {"connection_id":108586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42: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-06-21 08:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":108586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:42:04] local.INFO: GPS data processed {"connection_id":108586,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:42:04] local.INFO: Acknowledgment sent {"connection_id":108586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:42:08] local.INFO: TCP Data received {"connection_id":108586,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:08] local.INFO: Processing buffer {"connection_id":108586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:08] local.INFO: Packet analysis {"connection_id":108586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:42:08] local.INFO: Extracted packet for processing {"connection_id":108586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:08] 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-06-21 08:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:42:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":108586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:42:08] local.INFO: GPS data processed {"connection_id":108586,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:42:08] local.INFO: Acknowledgment sent {"connection_id":108586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:42:38] local.INFO: TCP Data received {"connection_id":110322,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:42:38] local.INFO: Processing buffer {"connection_id":110322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:42:38] local.INFO: IMEI packet received {"connection_id":110322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":110322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:42:52] local.INFO: TCP Data received {"connection_id":110323,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:52] local.INFO: Processing buffer {"connection_id":110323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:52] local.INFO: IMEI packet received {"connection_id":110323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":110323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:42:57] local.INFO: TCP Data received {"connection_id":110323,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:57] local.INFO: Processing buffer {"connection_id":110323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:42:57] local.INFO: IMEI packet received {"connection_id":110323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":110323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:42:59] local.INFO: TCP Data received {"connection_id":110323,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:59] local.INFO: Processing buffer {"connection_id":110323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:42:59] local.INFO: Packet analysis {"connection_id":110323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:42:59] local.INFO: Extracted packet for processing {"connection_id":110323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:42:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":110323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:42:59] local.INFO: GPS data processed {"connection_id":110323,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:42:59] local.INFO: Acknowledgment sent {"connection_id":110323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:43:13] local.INFO: TCP Data received {"connection_id":108775,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:43:13] local.INFO: Processing buffer {"connection_id":108775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:43:13] local.INFO: IMEI packet received {"connection_id":108775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":108775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:43:32] local.INFO: TCP Data received {"connection_id":110323,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:43:32] local.INFO: Processing buffer {"connection_id":110323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:43:32] local.INFO: Packet analysis {"connection_id":110323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:43:32] local.INFO: Extracted packet for processing {"connection_id":110323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:43:32] 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-06-21 08:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:43:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":110323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:43:32] local.INFO: GPS data processed {"connection_id":110323,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:43:32] local.INFO: Acknowledgment sent {"connection_id":110323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:43:53] local.INFO: TCP Data received {"connection_id":108776,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:43:53] local.INFO: Processing buffer {"connection_id":108776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:43:53] local.INFO: IMEI packet received {"connection_id":108776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":108776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:43:57] local.INFO: TCP Data received {"connection_id":108776,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:43:57] local.INFO: Processing buffer {"connection_id":108776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:43:57] local.INFO: IMEI packet received {"connection_id":108776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":108776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:44:00] local.INFO: TCP Data received {"connection_id":108776,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:00] local.INFO: Processing buffer {"connection_id":108776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:00] local.INFO: Packet analysis {"connection_id":108776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:44:00] local.INFO: Extracted packet for processing {"connection_id":108776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:00] 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-06-21 08:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:44:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":108776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:44:00] local.INFO: GPS data processed {"connection_id":108776,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:44:00] local.INFO: Acknowledgment sent {"connection_id":108776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:44:31] local.INFO: TCP Data received {"connection_id":108776,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:31] local.INFO: Processing buffer {"connection_id":108776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:31] local.INFO: Packet analysis {"connection_id":108776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:44:31] local.INFO: Extracted packet for processing {"connection_id":108776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:31] 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-06-21 08:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":108776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:44:31] local.INFO: GPS data processed {"connection_id":108776,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:44:31] local.INFO: Acknowledgment sent {"connection_id":108776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:44:52] local.INFO: TCP Data received {"connection_id":109367,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:44:52] local.INFO: Processing buffer {"connection_id":109367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:44:52] local.INFO: IMEI packet received {"connection_id":109367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":109367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:44:57] local.INFO: TCP Data received {"connection_id":109367,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:44:57] local.INFO: Processing buffer {"connection_id":109367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:44:57] local.INFO: IMEI packet received {"connection_id":109367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":109367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:44:59] local.INFO: TCP Data received {"connection_id":109367,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:59] local.INFO: Processing buffer {"connection_id":109367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:44:59] local.INFO: Packet analysis {"connection_id":109367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:44:59] local.INFO: Extracted packet for processing {"connection_id":109367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 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-06-21 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":109367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:44:59] local.INFO: GPS data processed {"connection_id":109367,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:44:59] local.INFO: Acknowledgment sent {"connection_id":109367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:45:30] local.INFO: TCP Data received {"connection_id":109367,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:45:30] local.INFO: Processing buffer {"connection_id":109367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8281710012d34c14006aa3d28000c01172a..."} 
[2026-06-21 08:45:30] local.INFO: Packet analysis {"connection_id":109367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:45:30] local.INFO: Extracted packet for processing {"connection_id":109367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee828"} 
[2026-06-21 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":12,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194841856001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:45:30] 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-06-21 08:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782011402000,"timestamp_ms":1782011402000,"timestamp_seconds":1782011402,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8281710"} 
[2026-06-21 08:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 08:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194841856001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194841856001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:45:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194841856001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":109367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:45:30] local.INFO: GPS data processed {"connection_id":109367,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:45:30] local.INFO: Acknowledgment sent {"connection_id":109367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:45:52] local.INFO: TCP Data received {"connection_id":110324,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:45:52] local.INFO: Processing buffer {"connection_id":110324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:45:52] local.INFO: IMEI packet received {"connection_id":110324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":110324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:45:57] local.INFO: TCP Data received {"connection_id":110324,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:45:57] local.INFO: Processing buffer {"connection_id":110324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:45:57] local.INFO: IMEI packet received {"connection_id":110324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":110324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:45:59] local.INFO: TCP Data received {"connection_id":110324,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:45:59] local.INFO: Processing buffer {"connection_id":110324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:45:59] local.INFO: Packet analysis {"connection_id":110324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:45:59] local.INFO: Extracted packet for processing {"connection_id":110324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":110324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:45:59] local.INFO: GPS data processed {"connection_id":110324,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:45:59] local.INFO: Acknowledgment sent {"connection_id":110324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:46:32] local.INFO: TCP Data received {"connection_id":110324,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:46:32] local.INFO: Processing buffer {"connection_id":110324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:46:32] local.INFO: Packet analysis {"connection_id":110324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:46:32] local.INFO: Extracted packet for processing {"connection_id":110324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:46:32] 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-06-21 08:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:46:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":110324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:46:32] local.INFO: GPS data processed {"connection_id":110324,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:46:32] local.INFO: Acknowledgment sent {"connection_id":110324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:46:52] local.INFO: TCP Data received {"connection_id":109369,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:46:52] local.INFO: Processing buffer {"connection_id":109369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:46:52] local.INFO: IMEI packet received {"connection_id":109369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":109369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:46:57] local.INFO: TCP Data received {"connection_id":109369,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:46:57] local.INFO: Processing buffer {"connection_id":109369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:46:57] local.INFO: IMEI packet received {"connection_id":109369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":109369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:47:00] local.INFO: TCP Data received {"connection_id":109369,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:47:00] local.INFO: Processing buffer {"connection_id":109369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:47:00] local.INFO: Packet analysis {"connection_id":109369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:47:00] local.INFO: Extracted packet for processing {"connection_id":109369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:47:00] 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-06-21 08:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:47:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":109369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:47:00] local.INFO: GPS data processed {"connection_id":109369,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:47:00] local.INFO: Acknowledgment sent {"connection_id":109369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:47:32] local.INFO: TCP Data received {"connection_id":109369,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:47:32] local.INFO: Processing buffer {"connection_id":109369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:47:32] local.INFO: Packet analysis {"connection_id":109369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:47:32] local.INFO: Extracted packet for processing {"connection_id":109369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:47:32] 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-06-21 08:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:47:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":109369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:47:33] local.INFO: GPS data processed {"connection_id":109369,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:47:33] local.INFO: Acknowledgment sent {"connection_id":109369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:47:57] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:47:57] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:47:57] local.INFO: IMEI packet received {"connection_id":110326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":110326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:48:02] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:02] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:02] local.INFO: IMEI packet received {"connection_id":110326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":110326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:48:04] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:04] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:04] local.INFO: Packet analysis {"connection_id":110326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:48:04] local.INFO: Extracted packet for processing {"connection_id":110326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08: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-06-21 08:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":110326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:48:04] local.INFO: GPS data processed {"connection_id":110326,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:48:04] local.INFO: Acknowledgment sent {"connection_id":110326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:48:09] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:09] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:09] local.INFO: Packet analysis {"connection_id":110326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:48:09] local.INFO: Extracted packet for processing {"connection_id":110326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48: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-06-21 08:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":110326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:48:09] local.INFO: GPS data processed {"connection_id":110326,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:48:09] local.INFO: Acknowledgment sent {"connection_id":110326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:48:43] local.INFO: TCP Data received {"connection_id":110327,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:48:43] local.INFO: Processing buffer {"connection_id":110327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:48:43] local.INFO: IMEI packet received {"connection_id":110327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":110327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:48:52] local.INFO: TCP Data received {"connection_id":109370,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:52] local.INFO: Processing buffer {"connection_id":109370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:52] local.INFO: IMEI packet received {"connection_id":109370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":109370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:48:57] local.INFO: TCP Data received {"connection_id":109370,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:57] local.INFO: Processing buffer {"connection_id":109370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:48:57] local.INFO: IMEI packet received {"connection_id":109370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":109370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:48:59] local.INFO: TCP Data received {"connection_id":109370,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:59] local.INFO: Processing buffer {"connection_id":109370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:48:59] local.INFO: Packet analysis {"connection_id":109370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:48:59] local.INFO: Extracted packet for processing {"connection_id":109370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08: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-06-21 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08: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-06-21 08:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:48:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":109370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:48:59] local.INFO: GPS data processed {"connection_id":109370,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:48:59] local.INFO: Acknowledgment sent {"connection_id":109370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:49:13] local.INFO: TCP Data received {"connection_id":108778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:49:13] local.INFO: Processing buffer {"connection_id":108778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:49:13] local.INFO: IMEI packet received {"connection_id":108778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":108778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:49:30] local.INFO: TCP Data received {"connection_id":109370,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:49:30] local.INFO: Processing buffer {"connection_id":109370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:49:30] local.INFO: Packet analysis {"connection_id":109370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:49:30] local.INFO: Extracted packet for processing {"connection_id":109370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:49:30] 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-06-21 08:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:49:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":109370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:49:30] local.INFO: GPS data processed {"connection_id":109370,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:49:30] local.INFO: Acknowledgment sent {"connection_id":109370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:49:53] local.INFO: TCP Data received {"connection_id":110328,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:49:53] local.INFO: Processing buffer {"connection_id":110328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:49:53] local.INFO: IMEI packet received {"connection_id":110328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":110328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:49:57] local.INFO: TCP Data received {"connection_id":110328,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:49:57] local.INFO: Processing buffer {"connection_id":110328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:49:57] local.INFO: IMEI packet received {"connection_id":110328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":110328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:49:59] local.INFO: TCP Data received {"connection_id":110328,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:49:59] local.INFO: Processing buffer {"connection_id":110328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:49:59] local.INFO: Packet analysis {"connection_id":110328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:49:59] local.INFO: Extracted packet for processing {"connection_id":110328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:49:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":110328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:49:59] local.INFO: GPS data processed {"connection_id":110328,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:49:59] local.INFO: Acknowledgment sent {"connection_id":110328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:50:31] local.INFO: TCP Data received {"connection_id":110328,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:50:31] local.INFO: Processing buffer {"connection_id":110328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee82caed8012d34c14006aa3d28000601172c..."} 
[2026-06-21 08:50:31] local.INFO: Packet analysis {"connection_id":110328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:50:31] local.INFO: Extracted packet for processing {"connection_id":110328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee82c"} 
[2026-06-21 08:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194918912001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:50:31] 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-06-21 08:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782011703000,"timestamp_ms":1782011703000,"timestamp_seconds":1782011703,"priority":1,"record_length":96,"hex_timestamp":"0000019ee82caed8"} 
[2026-06-21 08:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 08:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194918912001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194918912001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:50:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194918912001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":110328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:50:31] local.INFO: GPS data processed {"connection_id":110328,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:50:31] local.INFO: Acknowledgment sent {"connection_id":110328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:50:52] local.INFO: TCP Data received {"connection_id":108587,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:50:52] local.INFO: Processing buffer {"connection_id":108587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:50:52] local.INFO: IMEI packet received {"connection_id":108587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":108587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:50:57] local.INFO: TCP Data received {"connection_id":108587,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:50:57] local.INFO: Processing buffer {"connection_id":108587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:50:57] local.INFO: IMEI packet received {"connection_id":108587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":108587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:51:00] local.INFO: TCP Data received {"connection_id":108587,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:51:00] local.INFO: Processing buffer {"connection_id":108587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:51:00] local.INFO: Packet analysis {"connection_id":108587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:51:00] local.INFO: Extracted packet for processing {"connection_id":108587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:51:00] 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-06-21 08:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":108587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:51:00] local.INFO: GPS data processed {"connection_id":108587,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:51:00] local.INFO: Acknowledgment sent {"connection_id":108587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:51:32] local.INFO: TCP Data received {"connection_id":108587,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:51:32] local.INFO: Processing buffer {"connection_id":108587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:51:32] local.INFO: Packet analysis {"connection_id":108587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:51:32] local.INFO: Extracted packet for processing {"connection_id":108587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 08:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:51:32] 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-06-21 08:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 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-06-21 08:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 08:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:51:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":108587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:51:32] local.INFO: GPS data processed {"connection_id":108587,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:51:32] local.INFO: Acknowledgment sent {"connection_id":108587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:51:57] local.INFO: TCP Data received {"connection_id":108588,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:51:57] local.INFO: Processing buffer {"connection_id":108588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:51:57] local.INFO: IMEI packet received {"connection_id":108588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":108588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:52:02] local.INFO: TCP Data received {"connection_id":108588,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:02] local.INFO: Processing buffer {"connection_id":108588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:02] local.INFO: IMEI packet received {"connection_id":108588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":108588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:52:03] local.INFO: TCP Data received {"connection_id":108588,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:03] local.INFO: Processing buffer {"connection_id":108588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:03] local.INFO: Packet analysis {"connection_id":108588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:52:03] local.INFO: Extracted packet for processing {"connection_id":108588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:03] 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-06-21 08:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:52:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":108588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:52:03] local.INFO: GPS data processed {"connection_id":108588,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:52:03] local.INFO: Acknowledgment sent {"connection_id":108588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:52:08] local.INFO: TCP Data received {"connection_id":108588,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:08] local.INFO: Processing buffer {"connection_id":108588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:08] local.INFO: Packet analysis {"connection_id":108588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:52:08] local.INFO: Extracted packet for processing {"connection_id":108588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:08] 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-06-21 08:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":108588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:52:08] local.INFO: GPS data processed {"connection_id":108588,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:52:08] local.INFO: Acknowledgment sent {"connection_id":108588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:52:52] local.INFO: TCP Data received {"connection_id":109371,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:52] local.INFO: Processing buffer {"connection_id":109371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:52] local.INFO: IMEI packet received {"connection_id":109371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":109371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:52:57] local.INFO: TCP Data received {"connection_id":109371,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:57] local.INFO: Processing buffer {"connection_id":109371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:52:57] local.INFO: IMEI packet received {"connection_id":109371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":109371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:52:59] local.INFO: TCP Data received {"connection_id":109371,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:59] local.INFO: Processing buffer {"connection_id":109371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:52:59] local.INFO: Packet analysis {"connection_id":109371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:52:59] local.INFO: Extracted packet for processing {"connection_id":109371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:52:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":109371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:52:59] local.INFO: GPS data processed {"connection_id":109371,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:52:59] local.INFO: Acknowledgment sent {"connection_id":109371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:53:31] local.INFO: TCP Data received {"connection_id":109371,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:53:31] local.INFO: Processing buffer {"connection_id":109371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:53:31] local.INFO: Packet analysis {"connection_id":109371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:53:31] local.INFO: Extracted packet for processing {"connection_id":109371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:53:31] 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-06-21 08:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:53:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":109371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:53:31] local.INFO: GPS data processed {"connection_id":109371,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:53:31] local.INFO: Acknowledgment sent {"connection_id":109371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:53:53] local.INFO: TCP Data received {"connection_id":108591,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:53:53] local.INFO: Processing buffer {"connection_id":108591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:53:53] local.INFO: IMEI packet received {"connection_id":108591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":108591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:53:57] local.INFO: TCP Data received {"connection_id":108591,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:53:57] local.INFO: Processing buffer {"connection_id":108591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:53:57] local.INFO: IMEI packet received {"connection_id":108591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":108591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:53:59] local.INFO: TCP Data received {"connection_id":108591,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:53:59] local.INFO: Processing buffer {"connection_id":108591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:53:59] local.INFO: Packet analysis {"connection_id":108591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:53:59] local.INFO: Extracted packet for processing {"connection_id":108591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:53:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":108591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:53:59] local.INFO: GPS data processed {"connection_id":108591,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:53:59] local.INFO: Acknowledgment sent {"connection_id":108591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:54:31] local.INFO: TCP Data received {"connection_id":108591,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:54:31] local.INFO: Processing buffer {"connection_id":108591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:54:31] local.INFO: Packet analysis {"connection_id":108591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:54:31] local.INFO: Extracted packet for processing {"connection_id":108591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:54:31] 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-06-21 08:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:54:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":108591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:54:31] local.INFO: GPS data processed {"connection_id":108591,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:54:31] local.INFO: Acknowledgment sent {"connection_id":108591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:54:33] local.INFO: TCP Data received {"connection_id":108780,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:54:33] local.INFO: Processing buffer {"connection_id":108780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:54:33] local.INFO: IMEI packet received {"connection_id":108780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":108780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:54:52] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:54:52] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:54:52] local.INFO: IMEI packet received {"connection_id":108781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":108781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:54:57] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:54:57] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:54:57] local.INFO: IMEI packet received {"connection_id":108781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":108781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:55:00] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:55:00] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:55:00] local.INFO: Packet analysis {"connection_id":108781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:55:00] local.INFO: Extracted packet for processing {"connection_id":108781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:00] 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-06-21 08:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:55:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":108781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:55:00] local.INFO: GPS data processed {"connection_id":108781,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:55:00] local.INFO: Acknowledgment sent {"connection_id":108781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:55:13] local.INFO: TCP Data received {"connection_id":108782,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:55:13] local.INFO: Processing buffer {"connection_id":108782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 08:55:13] local.INFO: IMEI packet received {"connection_id":108782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 08:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":108782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:55:32] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:55:32] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83146a0012d34c14006aa3d28000601172a..."} 
[2026-06-21 08:55:32] local.INFO: Packet analysis {"connection_id":108781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:55:32] local.INFO: Extracted packet for processing {"connection_id":108781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee831"} 
[2026-06-21 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194995968001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:32] 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-06-21 08:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782012004000,"timestamp_ms":1782012004000,"timestamp_seconds":1782012004,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83146a0"} 
[2026-06-21 08:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194995968001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194995968001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:55:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194995968001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":108781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:55:32] local.INFO: GPS data processed {"connection_id":108781,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:55:32] local.INFO: Acknowledgment sent {"connection_id":108781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:55:52] local.INFO: TCP Data received {"connection_id":109372,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:55:52] local.INFO: Processing buffer {"connection_id":109372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:55:52] local.INFO: IMEI packet received {"connection_id":109372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":109372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:55:57] local.INFO: TCP Data received {"connection_id":109372,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:55:57] local.INFO: Processing buffer {"connection_id":109372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:55:57] local.INFO: IMEI packet received {"connection_id":109372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":109372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:55:59] local.INFO: TCP Data received {"connection_id":109372,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:55:59] local.INFO: Processing buffer {"connection_id":109372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:55:59] local.INFO: Packet analysis {"connection_id":109372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:55:59] local.INFO: Extracted packet for processing {"connection_id":109372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":109372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:55:59] local.INFO: GPS data processed {"connection_id":109372,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:55:59] local.INFO: Acknowledgment sent {"connection_id":109372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:56:31] local.INFO: TCP Data received {"connection_id":109372,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:56:31] local.INFO: Processing buffer {"connection_id":109372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:56:31] local.INFO: Packet analysis {"connection_id":109372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:56:31] local.INFO: Extracted packet for processing {"connection_id":109372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:56:31] 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-06-21 08:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:56:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":109372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:56:31] local.INFO: GPS data processed {"connection_id":109372,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:56:31] local.INFO: Acknowledgment sent {"connection_id":109372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:56:52] local.INFO: TCP Data received {"connection_id":110330,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:56:52] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:56:52] local.INFO: IMEI packet received {"connection_id":110330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":110330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:56:57] local.INFO: TCP Data received {"connection_id":110330,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:56:57] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:56:57] local.INFO: IMEI packet received {"connection_id":110330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":110330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:57:01] local.INFO: TCP Data received {"connection_id":110330,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:01] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:01] local.INFO: Packet analysis {"connection_id":110330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:57:01] local.INFO: Extracted packet for processing {"connection_id":110330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:01] 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-06-21 08:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:57:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:57:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":110330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:57:01] local.INFO: GPS data processed {"connection_id":110330,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:57:01] local.INFO: Acknowledgment sent {"connection_id":110330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:57:32] local.INFO: TCP Data received {"connection_id":110330,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:32] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:32] local.INFO: Packet analysis {"connection_id":110330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:57:32] local.INFO: Extracted packet for processing {"connection_id":110330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:57:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:32] 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-06-21 08:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":110330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:57:32] local.INFO: GPS data processed {"connection_id":110330,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:57:32] local.INFO: Acknowledgment sent {"connection_id":110330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:57:52] local.INFO: TCP Data received {"connection_id":108783,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:57:52] local.INFO: Processing buffer {"connection_id":108783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:57:52] local.INFO: IMEI packet received {"connection_id":108783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":108783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:57:57] local.INFO: TCP Data received {"connection_id":108783,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:57:57] local.INFO: Processing buffer {"connection_id":108783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:57:57] local.INFO: IMEI packet received {"connection_id":108783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":108783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:57:59] local.INFO: TCP Data received {"connection_id":108783,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:59] local.INFO: Processing buffer {"connection_id":108783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:57:59] local.INFO: Packet analysis {"connection_id":108783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:57:59] local.INFO: Extracted packet for processing {"connection_id":108783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 08:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":108783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:57:59] local.INFO: GPS data processed {"connection_id":108783,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:57:59] local.INFO: Acknowledgment sent {"connection_id":108783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:58:30] local.INFO: TCP Data received {"connection_id":108783,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:58:30] local.INFO: Processing buffer {"connection_id":108783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:58:30] local.INFO: Packet analysis {"connection_id":108783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:58:30] local.INFO: Extracted packet for processing {"connection_id":108783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:58:30] 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-06-21 08:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":108783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:58:31] local.INFO: GPS data processed {"connection_id":108783,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:58:31] local.INFO: Acknowledgment sent {"connection_id":108783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:58:52] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:58:52] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:58:52] local.INFO: IMEI packet received {"connection_id":108784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":108784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:58:57] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:58:57] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:58:57] local.INFO: IMEI packet received {"connection_id":108784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":108784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:59:01] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:01] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:01] local.INFO: Packet analysis {"connection_id":108784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:59:01] local.INFO: Extracted packet for processing {"connection_id":108784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:59:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:01] 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-06-21 08:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":108784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:59:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:59:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":108784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:59:01] local.INFO: GPS data processed {"connection_id":108784,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:59:01] local.INFO: Acknowledgment sent {"connection_id":108784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:59:32] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:32] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:32] local.INFO: Packet analysis {"connection_id":108784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:59:32] local.INFO: Extracted packet for processing {"connection_id":108784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:32] 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-06-21 08:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":108784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:59:32] local.INFO: GPS data processed {"connection_id":108784,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:59:32] local.INFO: Acknowledgment sent {"connection_id":108784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 08:59:52] local.INFO: TCP Data received {"connection_id":109375,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:59:52] local.INFO: Processing buffer {"connection_id":109375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:59:52] local.INFO: IMEI packet received {"connection_id":109375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 08:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":109375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 08:59:57] local.INFO: TCP Data received {"connection_id":109375,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:59:57] local.INFO: Processing buffer {"connection_id":109375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 08:59:57] local.INFO: IMEI packet received {"connection_id":109375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 08:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":109375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 08:59:58] local.INFO: TCP Data received {"connection_id":109375,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:58] local.INFO: Processing buffer {"connection_id":109375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 08:59:58] local.INFO: Packet analysis {"connection_id":109375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:59:58] local.INFO: Extracted packet for processing {"connection_id":109375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 08:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 08:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 08:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 08:59:58] 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-06-21 08:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 08:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 08:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 08:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 08:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 08:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 08:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 08:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 08:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 08:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 08:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 08:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 08:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 08:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 08:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 08:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 08:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 08:59:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 08:59:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 08:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 08:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 08:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 08:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":109375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 08:59:58] local.INFO: GPS data processed {"connection_id":109375,"processed":1,"errors":0,"total":1} 
[2026-06-21 08:59:58] local.INFO: Acknowledgment sent {"connection_id":109375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:00:28] local.INFO: TCP Data received {"connection_id":109376,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:00:28] local.INFO: Processing buffer {"connection_id":109376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:00:28] local.INFO: IMEI packet received {"connection_id":109376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":109376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:00:31] local.INFO: TCP Data received {"connection_id":109375,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 09:00:31] local.INFO: Processing buffer {"connection_id":109375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee835de68012d34c14006aa3d28000901172c..."} 
[2026-06-21 09:00:31] local.INFO: Packet analysis {"connection_id":109375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 09:00:31] local.INFO: Extracted packet for processing {"connection_id":109375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee835"} 
[2026-06-21 09:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195073024001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:00:31] 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-06-21 09:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012305000,"timestamp_ms":1782012305000,"timestamp_seconds":1782012305,"priority":1,"record_length":96,"hex_timestamp":"0000019ee835de68"} 
[2026-06-21 09:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195073024001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195073024001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195073024001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":109375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:00:31] local.INFO: GPS data processed {"connection_id":109375,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:00:31] local.INFO: Acknowledgment sent {"connection_id":109375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:00:57] local.INFO: TCP Data received {"connection_id":108593,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:00:57] local.INFO: Processing buffer {"connection_id":108593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:00:57] local.INFO: IMEI packet received {"connection_id":108593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":108593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:01:02] local.INFO: TCP Data received {"connection_id":108593,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:02] local.INFO: Processing buffer {"connection_id":108593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:02] local.INFO: IMEI packet received {"connection_id":108593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":108593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:01:09] local.INFO: TCP Data received {"connection_id":108593,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:09] local.INFO: Processing buffer {"connection_id":108593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:09] local.INFO: Packet analysis {"connection_id":108593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:01:09] local.INFO: Extracted packet for processing {"connection_id":108593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01: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-06-21 09:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":108593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:01:09] local.INFO: GPS data processed {"connection_id":108593,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:01:09] local.INFO: Acknowledgment sent {"connection_id":108593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:01:09] local.INFO: TCP Data received {"connection_id":108593,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:09] local.INFO: Processing buffer {"connection_id":108593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:09] local.INFO: Packet analysis {"connection_id":108593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:01:09] local.INFO: Extracted packet for processing {"connection_id":108593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01: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-06-21 09:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":108593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:01:10] local.INFO: GPS data processed {"connection_id":108593,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:01:10] local.INFO: Acknowledgment sent {"connection_id":108593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:01:13] local.INFO: TCP Data received {"connection_id":110332,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:01:13] local.INFO: Processing buffer {"connection_id":110332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:01:13] local.INFO: IMEI packet received {"connection_id":110332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":110332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:01:18] local.INFO: TCP Data received {"connection_id":110332,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:01:18] local.INFO: Processing buffer {"connection_id":110332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:01:18] local.INFO: IMEI packet received {"connection_id":110332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-21 09:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":110332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:01:19] local.INFO: TCP Data received {"connection_id":110332,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ee81736c0012d34c18006aa3ea8001100641f..."} 
[2026-06-21 09:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee81736c0012d34c18006aa3ea8001100641f..."} 
[2026-06-21 09:01:19] local.INFO: Processing buffer {"connection_id":110332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee81736c0012d34c18006aa3ea8001100641f..."} 
[2026-06-21 09:01:19] local.INFO: Packet analysis {"connection_id":110332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee817"} 
[2026-06-21 09:01:19] local.INFO: Extracted packet for processing {"connection_id":110332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee817"} 
[2026-06-21 09:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820456,"longitude_deg":75.8432128,"latitude_deg":11.1820456,"altitude":17,"angle":100,"satellites":31,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3ea8","is_valid_coordinates":true} 
[2026-06-21 09:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194558720001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":126022835909951488,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591801344,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782010296000,"timestamp_ms":1782010296000,"timestamp_seconds":1782010296,"priority":1,"record_length":96,"hex_timestamp":"0000019ee81736c0"} 
[2026-06-21 09:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-21 09:01:19] 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-06-21 09:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 09:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-21 09:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-21 09:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-21 09:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194558720001,"66":26082,"97":206,"81":23296,"24":0,"16":126022835909951488,"45":3801460326591801344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-21 09:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-21 09:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-21 09:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194558720001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-21 09:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-21 09:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":126022835909951488,"km_value":126022835909951.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591801344,"description":"Unknown IO ID 45"} 
[2026-06-21 09:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194558720001,"power":26082,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326591801344}} 
[2026-06-21 09:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":110332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:01:19] local.INFO: GPS data processed {"connection_id":110332,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:01:19] local.INFO: Acknowledgment sent {"connection_id":110332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:01:52] local.INFO: TCP Data received {"connection_id":108785,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:52] local.INFO: Processing buffer {"connection_id":108785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:52] local.INFO: IMEI packet received {"connection_id":108785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":108785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:01:57] local.INFO: TCP Data received {"connection_id":108785,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:57] local.INFO: Processing buffer {"connection_id":108785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:01:57] local.INFO: IMEI packet received {"connection_id":108785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":108785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:01:59] local.INFO: TCP Data received {"connection_id":108785,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:59] local.INFO: Processing buffer {"connection_id":108785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:01:59] local.INFO: Packet analysis {"connection_id":108785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:01:59] local.INFO: Extracted packet for processing {"connection_id":108785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":108785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:01:59] local.INFO: GPS data processed {"connection_id":108785,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:01:59] local.INFO: Acknowledgment sent {"connection_id":108785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:02:04] local.INFO: TCP Data received {"connection_id":109377,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:02:04] local.INFO: Processing buffer {"connection_id":109377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:02:04] local.INFO: IMEI packet received {"connection_id":109377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":109377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:02:31] local.INFO: TCP Data received {"connection_id":108785,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:02:31] local.INFO: Processing buffer {"connection_id":108785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:02:31] local.INFO: Packet analysis {"connection_id":108785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:02:31] local.INFO: Extracted packet for processing {"connection_id":108785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:02:31] 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-06-21 09:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:02:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":108785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:02:31] local.INFO: GPS data processed {"connection_id":108785,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:02:31] local.INFO: Acknowledgment sent {"connection_id":108785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:02:52] local.INFO: TCP Data received {"connection_id":110333,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:02:52] local.INFO: Processing buffer {"connection_id":110333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:02:52] local.INFO: IMEI packet received {"connection_id":110333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":110333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:02:57] local.INFO: TCP Data received {"connection_id":110333,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:02:57] local.INFO: Processing buffer {"connection_id":110333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:02:57] local.INFO: IMEI packet received {"connection_id":110333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":110333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:02:59] local.INFO: TCP Data received {"connection_id":110333,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:02:59] local.INFO: Processing buffer {"connection_id":110333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:02:59] local.INFO: Packet analysis {"connection_id":110333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:02:59] local.INFO: Extracted packet for processing {"connection_id":110333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:02:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":110333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:02:59] local.INFO: GPS data processed {"connection_id":110333,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:02:59] local.INFO: Acknowledgment sent {"connection_id":110333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:03:31] local.INFO: TCP Data received {"connection_id":110333,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:03:31] local.INFO: Processing buffer {"connection_id":110333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:03:31] local.INFO: Packet analysis {"connection_id":110333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:03:31] local.INFO: Extracted packet for processing {"connection_id":110333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:03:31] 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-06-21 09:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:03:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":110333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:03:31] local.INFO: GPS data processed {"connection_id":110333,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:03:31] local.INFO: Acknowledgment sent {"connection_id":110333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:03:52] local.INFO: TCP Data received {"connection_id":108786,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:03:52] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:03:52] local.INFO: IMEI packet received {"connection_id":108786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":108786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:03:57] local.INFO: TCP Data received {"connection_id":108786,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:03:57] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:03:57] local.INFO: IMEI packet received {"connection_id":108786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":108786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:03:59] local.INFO: TCP Data received {"connection_id":108786,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:03:59] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:03:59] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:03:59] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:03:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:03:59] local.INFO: GPS data processed {"connection_id":108786,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:03:59] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:04:31] local.INFO: TCP Data received {"connection_id":108786,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:04:31] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:04:31] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:04:31] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:04:31] 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-06-21 09:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 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-06-21 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 09:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:04:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:04:31] local.INFO: GPS data processed {"connection_id":108786,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:04:31] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:04:57] local.INFO: TCP Data received {"connection_id":109378,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:04:57] local.INFO: Processing buffer {"connection_id":109378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:04:57] local.INFO: IMEI packet received {"connection_id":109378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":109378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:05:02] local.INFO: TCP Data received {"connection_id":109378,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:02] local.INFO: Processing buffer {"connection_id":109378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:02] local.INFO: IMEI packet received {"connection_id":109378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":109378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:05:04] local.INFO: TCP Data received {"connection_id":109378,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:05:04] local.INFO: Processing buffer {"connection_id":109378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:05:04] local.INFO: Packet analysis {"connection_id":109378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:05:04] local.INFO: Extracted packet for processing {"connection_id":109378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05: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-06-21 09:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:05:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":109378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:05:04] local.INFO: GPS data processed {"connection_id":109378,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:05:04] local.INFO: Acknowledgment sent {"connection_id":109378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:05:08] local.INFO: TCP Data received {"connection_id":109378,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:05:08] local.INFO: Processing buffer {"connection_id":109378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 09:05:08] local.INFO: Packet analysis {"connection_id":109378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:05:08] local.INFO: Extracted packet for processing {"connection_id":109378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 09:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:08] 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-06-21 09:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 09:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":109378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:05:08] local.INFO: GPS data processed {"connection_id":109378,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:05:08] local.INFO: Acknowledgment sent {"connection_id":109378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:05:52] local.INFO: TCP Data received {"connection_id":108595,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:52] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:52] local.INFO: IMEI packet received {"connection_id":108595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":108595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:05:57] local.INFO: TCP Data received {"connection_id":108595,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:57] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:05:57] local.INFO: IMEI packet received {"connection_id":108595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":108595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:05:59] local.INFO: TCP Data received {"connection_id":108595,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:05:59] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:05:59] local.INFO: Packet analysis {"connection_id":108595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:05:59] local.INFO: Extracted packet for processing {"connection_id":108595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:05:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":108595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:05:59] local.INFO: GPS data processed {"connection_id":108595,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:05:59] local.INFO: Acknowledgment sent {"connection_id":108595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:06:30] local.INFO: TCP Data received {"connection_id":108595,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:06:30] local.INFO: Processing buffer {"connection_id":108595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:06:30] local.INFO: Packet analysis {"connection_id":108595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:06:30] local.INFO: Extracted packet for processing {"connection_id":108595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:06:30] 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-06-21 09:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":108595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:06:30] local.INFO: GPS data processed {"connection_id":108595,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:06:30] local.INFO: Acknowledgment sent {"connection_id":108595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:06:52] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:06:52] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:06:52] local.INFO: IMEI packet received {"connection_id":110337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":110337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:06:57] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:06:57] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:06:57] local.INFO: IMEI packet received {"connection_id":110337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":110337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:07:00] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:00] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:00] local.INFO: Packet analysis {"connection_id":110337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:07:00] local.INFO: Extracted packet for processing {"connection_id":110337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:00] 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-06-21 09:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":110337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:07:00] local.INFO: GPS data processed {"connection_id":110337,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:07:00] local.INFO: Acknowledgment sent {"connection_id":110337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:07:23] local.INFO: TCP Data received {"connection_id":108787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:07:23] local.INFO: Processing buffer {"connection_id":108787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:07:23] local.INFO: IMEI packet received {"connection_id":108787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":108787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:07:31] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:31] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:31] local.INFO: Packet analysis {"connection_id":110337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:07:31] local.INFO: Extracted packet for processing {"connection_id":110337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:31] 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-06-21 09:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:07:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":110337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:07:32] local.INFO: GPS data processed {"connection_id":110337,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:07:32] local.INFO: Acknowledgment sent {"connection_id":110337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:07:52] local.INFO: TCP Data received {"connection_id":108596,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:07:52] local.INFO: Processing buffer {"connection_id":108596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:07:52] local.INFO: IMEI packet received {"connection_id":108596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":108596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:07:57] local.INFO: TCP Data received {"connection_id":108596,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:07:57] local.INFO: Processing buffer {"connection_id":108596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:07:57] local.INFO: IMEI packet received {"connection_id":108596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":108596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:07:59] local.INFO: TCP Data received {"connection_id":108596,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:59] local.INFO: Processing buffer {"connection_id":108596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:07:59] local.INFO: Packet analysis {"connection_id":108596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:07:59] local.INFO: Extracted packet for processing {"connection_id":108596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":108596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:07:59] local.INFO: GPS data processed {"connection_id":108596,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:07:59] local.INFO: Acknowledgment sent {"connection_id":108596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:08:31] local.INFO: TCP Data received {"connection_id":108596,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:08:31] local.INFO: Processing buffer {"connection_id":108596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:08:31] local.INFO: Packet analysis {"connection_id":108596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:08:31] local.INFO: Extracted packet for processing {"connection_id":108596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:08:31] 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-06-21 09:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":108596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:08:31] local.INFO: GPS data processed {"connection_id":108596,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:08:31] local.INFO: Acknowledgment sent {"connection_id":108596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:08:57] local.INFO: TCP Data received {"connection_id":109379,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:08:57] local.INFO: Processing buffer {"connection_id":109379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:08:57] local.INFO: IMEI packet received {"connection_id":109379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":109379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:09:02] local.INFO: TCP Data received {"connection_id":109379,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:02] local.INFO: Processing buffer {"connection_id":109379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:02] local.INFO: IMEI packet received {"connection_id":109379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":109379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:09:04] local.INFO: TCP Data received {"connection_id":109379,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:04] local.INFO: Processing buffer {"connection_id":109379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:04] local.INFO: Packet analysis {"connection_id":109379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:09:04] local.INFO: Extracted packet for processing {"connection_id":109379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09: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-06-21 09:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":109379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:09:04] local.INFO: GPS data processed {"connection_id":109379,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:09:04] local.INFO: Acknowledgment sent {"connection_id":109379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:09:08] local.INFO: TCP Data received {"connection_id":109379,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:08] local.INFO: Processing buffer {"connection_id":109379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:08] local.INFO: Packet analysis {"connection_id":109379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:09:08] local.INFO: Extracted packet for processing {"connection_id":109379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:08] 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-06-21 09:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:09:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":109379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:09:08] local.INFO: GPS data processed {"connection_id":109379,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:09:08] local.INFO: Acknowledgment sent {"connection_id":109379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:09:53] local.INFO: TCP Data received {"connection_id":108597,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:53] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:53] local.INFO: IMEI packet received {"connection_id":108597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":108597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:09:57] local.INFO: TCP Data received {"connection_id":108597,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:57] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:09:57] local.INFO: IMEI packet received {"connection_id":108597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":108597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:09:59] local.INFO: TCP Data received {"connection_id":108597,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:59] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:09:59] local.INFO: Packet analysis {"connection_id":108597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:09:59] local.INFO: Extracted packet for processing {"connection_id":108597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":108597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:09:59] local.INFO: GPS data processed {"connection_id":108597,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:09:59] local.INFO: Acknowledgment sent {"connection_id":108597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:10:35] local.INFO: TCP Data received {"connection_id":108597,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:10:35] local.INFO: Processing buffer {"connection_id":108597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83f0df8012d34c14006aa3d28001601172b..."} 
[2026-06-21 09:10:35] local.INFO: Packet analysis {"connection_id":108597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:10:35] local.INFO: Extracted packet for processing {"connection_id":108597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83f"} 
[2026-06-21 09:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":22,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195227136001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:10: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-06-21 09:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782012907000,"timestamp_ms":1782012907000,"timestamp_seconds":1782012907,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83f0df8"} 
[2026-06-21 09:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 09:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195227136001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195227136001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:10:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195227136001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":108597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:10:35] local.INFO: GPS data processed {"connection_id":108597,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:10:35] local.INFO: Acknowledgment sent {"connection_id":108597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:10:52] local.INFO: TCP Data received {"connection_id":108599,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:10:52] local.INFO: Processing buffer {"connection_id":108599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:10:52] local.INFO: IMEI packet received {"connection_id":108599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":108599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:10:57] local.INFO: TCP Data received {"connection_id":108599,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:10:57] local.INFO: Processing buffer {"connection_id":108599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:10:57] local.INFO: IMEI packet received {"connection_id":108599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":108599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:10:59] local.INFO: TCP Data received {"connection_id":108599,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:10:59] local.INFO: Processing buffer {"connection_id":108599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:10:59] local.INFO: Packet analysis {"connection_id":108599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:10:59] local.INFO: Extracted packet for processing {"connection_id":108599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":108599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:10:59] local.INFO: GPS data processed {"connection_id":108599,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:10:59] local.INFO: Acknowledgment sent {"connection_id":108599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:11:32] local.INFO: TCP Data received {"connection_id":108599,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:11:32] local.INFO: Processing buffer {"connection_id":108599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:11:32] local.INFO: Packet analysis {"connection_id":108599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:11:32] local.INFO: Extracted packet for processing {"connection_id":108599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:11:32] 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-06-21 09:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":108599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:11:32] local.INFO: GPS data processed {"connection_id":108599,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:11:32] local.INFO: Acknowledgment sent {"connection_id":108599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:11:52] local.INFO: TCP Data received {"connection_id":109380,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:11:52] local.INFO: Processing buffer {"connection_id":109380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:11:52] local.INFO: IMEI packet received {"connection_id":109380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":109380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:11:57] local.INFO: TCP Data received {"connection_id":109380,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:11:57] local.INFO: Processing buffer {"connection_id":109380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:11:57] local.INFO: IMEI packet received {"connection_id":109380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":109380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:11:59] local.INFO: TCP Data received {"connection_id":109380,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:11:59] local.INFO: Processing buffer {"connection_id":109380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:11:59] local.INFO: Packet analysis {"connection_id":109380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:11:59] local.INFO: Extracted packet for processing {"connection_id":109380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":109380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:11:59] local.INFO: GPS data processed {"connection_id":109380,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:11:59] local.INFO: Acknowledgment sent {"connection_id":109380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:12:30] local.INFO: TCP Data received {"connection_id":109380,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:12:30] local.INFO: Processing buffer {"connection_id":109380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:12:30] local.INFO: Packet analysis {"connection_id":109380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:12:30] local.INFO: Extracted packet for processing {"connection_id":109380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:12:30] 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-06-21 09:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:12:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":109380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:12:30] local.INFO: GPS data processed {"connection_id":109380,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:12:30] local.INFO: Acknowledgment sent {"connection_id":109380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:12:57] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:12:57] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:12:57] local.INFO: IMEI packet received {"connection_id":108788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":108788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:13:02] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:02] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:02] local.INFO: IMEI packet received {"connection_id":108788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":108788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:13:03] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:03] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:03] local.INFO: Packet analysis {"connection_id":108788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:13:03] local.INFO: Extracted packet for processing {"connection_id":108788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:03] 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-06-21 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":108788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:13:04] local.INFO: GPS data processed {"connection_id":108788,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:13:04] local.INFO: Acknowledgment sent {"connection_id":108788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:13:08] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:08] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:08] local.INFO: Packet analysis {"connection_id":108788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:13:08] local.INFO: Extracted packet for processing {"connection_id":108788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:08] 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-06-21 09:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":108788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:13:08] local.INFO: GPS data processed {"connection_id":108788,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:13:08] local.INFO: Acknowledgment sent {"connection_id":108788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:13:18] local.INFO: TCP Data received {"connection_id":110341,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:13:18] local.INFO: Processing buffer {"connection_id":110341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:13:18] local.INFO: IMEI packet received {"connection_id":110341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":110341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:13:52] local.INFO: TCP Data received {"connection_id":109381,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:52] local.INFO: Processing buffer {"connection_id":109381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:52] local.INFO: IMEI packet received {"connection_id":109381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":109381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:13:57] local.INFO: TCP Data received {"connection_id":109381,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:57] local.INFO: Processing buffer {"connection_id":109381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:13:57] local.INFO: IMEI packet received {"connection_id":109381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":109381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:13:58] local.INFO: TCP Data received {"connection_id":109381,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:58] local.INFO: Processing buffer {"connection_id":109381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:13:58] local.INFO: Packet analysis {"connection_id":109381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:13:58] local.INFO: Extracted packet for processing {"connection_id":109381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:13:58] 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-06-21 09:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":109381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:13:58] local.INFO: GPS data processed {"connection_id":109381,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:13:58] local.INFO: Acknowledgment sent {"connection_id":109381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:14:30] local.INFO: TCP Data received {"connection_id":109381,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:14:30] local.INFO: Processing buffer {"connection_id":109381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:14:30] local.INFO: Packet analysis {"connection_id":109381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:14:30] local.INFO: Extracted packet for processing {"connection_id":109381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:14:30] 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-06-21 09:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":109381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:14:30] local.INFO: GPS data processed {"connection_id":109381,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:14:30] local.INFO: Acknowledgment sent {"connection_id":109381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:14:52] local.INFO: TCP Data received {"connection_id":108601,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:14:52] local.INFO: Processing buffer {"connection_id":108601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:14:52] local.INFO: IMEI packet received {"connection_id":108601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":108601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:14:57] local.INFO: TCP Data received {"connection_id":108601,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:14:57] local.INFO: Processing buffer {"connection_id":108601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:14:57] local.INFO: IMEI packet received {"connection_id":108601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":108601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:14:58] local.INFO: TCP Data received {"connection_id":108601,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:14:58] local.INFO: Processing buffer {"connection_id":108601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:14:58] local.INFO: Packet analysis {"connection_id":108601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:14:58] local.INFO: Extracted packet for processing {"connection_id":108601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:14:58] 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-06-21 09:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:14:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":108601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:14:58] local.INFO: GPS data processed {"connection_id":108601,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:14:58] local.INFO: Acknowledgment sent {"connection_id":108601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:15:31] local.INFO: TCP Data received {"connection_id":108601,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:15:31] local.INFO: Processing buffer {"connection_id":108601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee843a5c0012d34c14006aa3d28000a01172e..."} 
[2026-06-21 09:15:31] local.INFO: Packet analysis {"connection_id":108601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:15:31] local.INFO: Extracted packet for processing {"connection_id":108601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee843"} 
[2026-06-21 09:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195304192001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:15:31] 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-06-21 09:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782013208000,"timestamp_ms":1782013208000,"timestamp_seconds":1782013208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee843a5c0"} 
[2026-06-21 09:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 09:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195304192001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195304192001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:15:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195304192001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":108601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:15:31] local.INFO: GPS data processed {"connection_id":108601,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:15:31] local.INFO: Acknowledgment sent {"connection_id":108601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:15:57] local.INFO: TCP Data received {"connection_id":108789,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:15:57] local.INFO: Processing buffer {"connection_id":108789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:15:57] local.INFO: IMEI packet received {"connection_id":108789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":108789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:16:02] local.INFO: TCP Data received {"connection_id":108789,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:02] local.INFO: Processing buffer {"connection_id":108789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:02] local.INFO: IMEI packet received {"connection_id":108789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":108789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:16:03] local.INFO: TCP Data received {"connection_id":108789,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:03] local.INFO: Processing buffer {"connection_id":108789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:03] local.INFO: Packet analysis {"connection_id":108789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:16:03] local.INFO: Extracted packet for processing {"connection_id":108789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:03] 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-06-21 09:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":108789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:16:03] local.INFO: GPS data processed {"connection_id":108789,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:16:03] local.INFO: Acknowledgment sent {"connection_id":108789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:16:08] local.INFO: TCP Data received {"connection_id":108789,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:08] local.INFO: Processing buffer {"connection_id":108789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:08] local.INFO: Packet analysis {"connection_id":108789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:16:08] local.INFO: Extracted packet for processing {"connection_id":108789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:08] 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-06-21 09:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:16:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":108789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:16:08] local.INFO: GPS data processed {"connection_id":108789,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:16:08] local.INFO: Acknowledgment sent {"connection_id":108789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:16:52] local.INFO: TCP Data received {"connection_id":109383,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:52] local.INFO: Processing buffer {"connection_id":109383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:52] local.INFO: IMEI packet received {"connection_id":109383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":109383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:16:57] local.INFO: TCP Data received {"connection_id":109383,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:57] local.INFO: Processing buffer {"connection_id":109383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:16:57] local.INFO: IMEI packet received {"connection_id":109383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":109383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:16:59] local.INFO: TCP Data received {"connection_id":109383,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:59] local.INFO: Processing buffer {"connection_id":109383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:16:59] local.INFO: Packet analysis {"connection_id":109383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:16:59] local.INFO: Extracted packet for processing {"connection_id":109383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":109383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:16:59] local.INFO: GPS data processed {"connection_id":109383,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:16:59] local.INFO: Acknowledgment sent {"connection_id":109383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:17:32] local.INFO: TCP Data received {"connection_id":109383,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:17:32] local.INFO: Processing buffer {"connection_id":109383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:17:32] local.INFO: Packet analysis {"connection_id":109383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:17:32] local.INFO: Extracted packet for processing {"connection_id":109383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:17:32] 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-06-21 09:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:17:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":109383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:17:32] local.INFO: GPS data processed {"connection_id":109383,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:17:32] local.INFO: Acknowledgment sent {"connection_id":109383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:17:52] local.INFO: TCP Data received {"connection_id":108791,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:17:52] local.INFO: Processing buffer {"connection_id":108791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:17:52] local.INFO: IMEI packet received {"connection_id":108791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":108791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:17:57] local.INFO: TCP Data received {"connection_id":108791,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:17:57] local.INFO: Processing buffer {"connection_id":108791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:17:57] local.INFO: IMEI packet received {"connection_id":108791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":108791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:17:59] local.INFO: TCP Data received {"connection_id":108791,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:17:59] local.INFO: Processing buffer {"connection_id":108791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:17:59] local.INFO: Packet analysis {"connection_id":108791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:17:59] local.INFO: Extracted packet for processing {"connection_id":108791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":108791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:17:59] local.INFO: GPS data processed {"connection_id":108791,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:17:59] local.INFO: Acknowledgment sent {"connection_id":108791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:18:31] local.INFO: TCP Data received {"connection_id":108791,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:18:31] local.INFO: Processing buffer {"connection_id":108791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:18:31] local.INFO: Packet analysis {"connection_id":108791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:18:31] local.INFO: Extracted packet for processing {"connection_id":108791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:18:31] 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-06-21 09:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 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-06-21 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 09:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:18:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":108791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:18:31] local.INFO: GPS data processed {"connection_id":108791,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:18:31] local.INFO: Acknowledgment sent {"connection_id":108791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:18:52] local.INFO: TCP Data received {"connection_id":110344,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:18:52] local.INFO: Processing buffer {"connection_id":110344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:18:52] local.INFO: IMEI packet received {"connection_id":110344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":110344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:18:53] local.INFO: TCP Data received {"connection_id":108602,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:18:53] local.INFO: Processing buffer {"connection_id":108602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:18:53] local.INFO: IMEI packet received {"connection_id":108602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":108602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:18:57] local.INFO: TCP Data received {"connection_id":110344,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:18:57] local.INFO: Processing buffer {"connection_id":110344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:18:57] local.INFO: IMEI packet received {"connection_id":110344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":110344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:18:59] local.INFO: TCP Data received {"connection_id":110344,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:18:59] local.INFO: Processing buffer {"connection_id":110344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:18:59] local.INFO: Packet analysis {"connection_id":110344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:18:59] local.INFO: Extracted packet for processing {"connection_id":110344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:18:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":110344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:18:59] local.INFO: GPS data processed {"connection_id":110344,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:18:59] local.INFO: Acknowledgment sent {"connection_id":110344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:19:13] local.INFO: TCP Data received {"connection_id":109384,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:19:13] local.INFO: Processing buffer {"connection_id":109384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:19:13] local.INFO: IMEI packet received {"connection_id":109384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":109384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:19:30] local.INFO: TCP Data received {"connection_id":110344,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:19:30] local.INFO: Processing buffer {"connection_id":110344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:19:30] local.INFO: Packet analysis {"connection_id":110344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:19:30] local.INFO: Extracted packet for processing {"connection_id":110344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:19:30] 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-06-21 09:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":110344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:19:30] local.INFO: GPS data processed {"connection_id":110344,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:19:30] local.INFO: Acknowledgment sent {"connection_id":110344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:19:57] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:19:57] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:19:57] local.INFO: IMEI packet received {"connection_id":108792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":108792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:20:02] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:02] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:02] local.INFO: IMEI packet received {"connection_id":108792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":108792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:20:05] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:20:05] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:20:05] local.INFO: Packet analysis {"connection_id":108792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:20:05] local.INFO: Extracted packet for processing {"connection_id":108792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20: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-06-21 09:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:20:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":108792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:20:05] local.INFO: GPS data processed {"connection_id":108792,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:20:05] local.INFO: Acknowledgment sent {"connection_id":108792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:20:36] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:20:36] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8483d88012d34c14006aa3d28000801172c..."} 
[2026-06-21 09:20:36] local.INFO: Packet analysis {"connection_id":108792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:20:36] local.INFO: Extracted packet for processing {"connection_id":108792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee848"} 
[2026-06-21 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195381248001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20: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-06-21 09:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782013509000,"timestamp_ms":1782013509000,"timestamp_seconds":1782013509,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8483d88"} 
[2026-06-21 09:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195381248001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195381248001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:20:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195381248001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":108792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:20:36] local.INFO: GPS data processed {"connection_id":108792,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:20:36] local.INFO: Acknowledgment sent {"connection_id":108792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:20:52] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:52] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:52] local.INFO: IMEI packet received {"connection_id":110346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":110346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:20:57] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:57] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:20:57] local.INFO: IMEI packet received {"connection_id":110346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":110346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:20:59] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:20:59] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:20:59] local.INFO: Packet analysis {"connection_id":110346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:20:59] local.INFO: Extracted packet for processing {"connection_id":110346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 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-06-21 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 09:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":110346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:20:59] local.INFO: GPS data processed {"connection_id":110346,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:20:59] local.INFO: Acknowledgment sent {"connection_id":110346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:21:31] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:21:31] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:21:31] local.INFO: Packet analysis {"connection_id":110346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:21:31] local.INFO: Extracted packet for processing {"connection_id":110346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:21:31] 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-06-21 09:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:21:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":110346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:21:31] local.INFO: GPS data processed {"connection_id":110346,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:21:31] local.INFO: Acknowledgment sent {"connection_id":110346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:21:52] local.INFO: TCP Data received {"connection_id":108604,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:21:52] local.INFO: Processing buffer {"connection_id":108604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:21:52] local.INFO: IMEI packet received {"connection_id":108604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":108604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:21:57] local.INFO: TCP Data received {"connection_id":108604,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:21:57] local.INFO: Processing buffer {"connection_id":108604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:21:57] local.INFO: IMEI packet received {"connection_id":108604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":108604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:21:59] local.INFO: TCP Data received {"connection_id":108604,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:21:59] local.INFO: Processing buffer {"connection_id":108604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:21:59] local.INFO: Packet analysis {"connection_id":108604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:21:59] local.INFO: Extracted packet for processing {"connection_id":108604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":108604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:21:59] local.INFO: GPS data processed {"connection_id":108604,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:21:59] local.INFO: Acknowledgment sent {"connection_id":108604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:22:30] local.INFO: TCP Data received {"connection_id":108604,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:22:30] local.INFO: Processing buffer {"connection_id":108604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:22:30] local.INFO: Packet analysis {"connection_id":108604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:22:30] local.INFO: Extracted packet for processing {"connection_id":108604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:22:30] 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-06-21 09:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":108604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:22:30] local.INFO: GPS data processed {"connection_id":108604,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:22:30] local.INFO: Acknowledgment sent {"connection_id":108604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:22:57] local.INFO: TCP Data received {"connection_id":110347,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:22:57] local.INFO: Processing buffer {"connection_id":110347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:22:57] local.INFO: IMEI packet received {"connection_id":110347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":110347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:23:02] local.INFO: TCP Data received {"connection_id":110347,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:02] local.INFO: Processing buffer {"connection_id":110347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:02] local.INFO: IMEI packet received {"connection_id":110347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":110347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:23:04] local.INFO: TCP Data received {"connection_id":110347,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:04] local.INFO: Processing buffer {"connection_id":110347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:04] local.INFO: Packet analysis {"connection_id":110347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:23:04] local.INFO: Extracted packet for processing {"connection_id":110347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23: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-06-21 09:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:23:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":110347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:23:04] local.INFO: GPS data processed {"connection_id":110347,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:23:04] local.INFO: Acknowledgment sent {"connection_id":110347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:23:09] local.INFO: TCP Data received {"connection_id":110347,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:09] local.INFO: Processing buffer {"connection_id":110347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:09] local.INFO: Packet analysis {"connection_id":110347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:23:09] local.INFO: Extracted packet for processing {"connection_id":110347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23: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-06-21 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:23:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":110347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:23:09] local.INFO: GPS data processed {"connection_id":110347,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:23:09] local.INFO: Acknowledgment sent {"connection_id":110347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:23:52] local.INFO: TCP Data received {"connection_id":109386,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:52] local.INFO: Processing buffer {"connection_id":109386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:52] local.INFO: IMEI packet received {"connection_id":109386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":109386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:23:57] local.INFO: TCP Data received {"connection_id":109386,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:57] local.INFO: Processing buffer {"connection_id":109386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:23:57] local.INFO: IMEI packet received {"connection_id":109386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":109386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:23:58] local.INFO: TCP Data received {"connection_id":109386,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:58] local.INFO: Processing buffer {"connection_id":109386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:23:58] local.INFO: Packet analysis {"connection_id":109386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:23:58] local.INFO: Extracted packet for processing {"connection_id":109386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:23:58] 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-06-21 09:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 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-06-21 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 09:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:23:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":109386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:23:58] local.INFO: GPS data processed {"connection_id":109386,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:23:58] local.INFO: Acknowledgment sent {"connection_id":109386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:24:30] local.INFO: TCP Data received {"connection_id":109386,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:24:30] local.INFO: Processing buffer {"connection_id":109386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:24:30] local.INFO: Packet analysis {"connection_id":109386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:24:30] local.INFO: Extracted packet for processing {"connection_id":109386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:24:30] 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-06-21 09:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:24:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:24:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":109386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:24:30] local.INFO: GPS data processed {"connection_id":109386,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:24:30] local.INFO: Acknowledgment sent {"connection_id":109386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:24:38] local.INFO: TCP Data received {"connection_id":109387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:24:38] local.INFO: Processing buffer {"connection_id":109387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:24:38] local.INFO: IMEI packet received {"connection_id":109387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":109387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:24:52] local.INFO: TCP Data received {"connection_id":108793,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:24:52] local.INFO: Processing buffer {"connection_id":108793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:24:52] local.INFO: IMEI packet received {"connection_id":108793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":108793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:24:57] local.INFO: TCP Data received {"connection_id":108793,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:24:57] local.INFO: Processing buffer {"connection_id":108793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:24:57] local.INFO: IMEI packet received {"connection_id":108793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":108793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:24:59] local.INFO: TCP Data received {"connection_id":108793,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:24:59] local.INFO: Processing buffer {"connection_id":108793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:24:59] local.INFO: Packet analysis {"connection_id":108793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:24:59] local.INFO: Extracted packet for processing {"connection_id":108793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:24:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":108793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:24:59] local.INFO: GPS data processed {"connection_id":108793,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:24:59] local.INFO: Acknowledgment sent {"connection_id":108793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:25:13] local.INFO: TCP Data received {"connection_id":108606,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:25:13] local.INFO: Processing buffer {"connection_id":108606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:25:13] local.INFO: IMEI packet received {"connection_id":108606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":108606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:25:31] local.INFO: TCP Data received {"connection_id":108793,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:25:31] local.INFO: Processing buffer {"connection_id":108793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee84cd550012d34c14006aa3d28000701172d..."} 
[2026-06-21 09:25:31] local.INFO: Packet analysis {"connection_id":108793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:25:31] local.INFO: Extracted packet for processing {"connection_id":108793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee84c"} 
[2026-06-21 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195458304001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:25:31] 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-06-21 09:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782013810000,"timestamp_ms":1782013810000,"timestamp_seconds":1782013810,"priority":1,"record_length":96,"hex_timestamp":"0000019ee84cd550"} 
[2026-06-21 09:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195458304001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195458304001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:25:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195458304001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":108793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:25:31] local.INFO: GPS data processed {"connection_id":108793,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:25:31] local.INFO: Acknowledgment sent {"connection_id":108793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:25:52] local.INFO: TCP Data received {"connection_id":109388,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:25:52] local.INFO: Processing buffer {"connection_id":109388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:25:52] local.INFO: IMEI packet received {"connection_id":109388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":109388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:25:57] local.INFO: TCP Data received {"connection_id":109388,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:25:57] local.INFO: Processing buffer {"connection_id":109388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:25:57] local.INFO: IMEI packet received {"connection_id":109388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":109388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:25:58] local.INFO: TCP Data received {"connection_id":109388,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:25:58] local.INFO: Processing buffer {"connection_id":109388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:25:58] local.INFO: Packet analysis {"connection_id":109388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:25:58] local.INFO: Extracted packet for processing {"connection_id":109388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:25:58] 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-06-21 09:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 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-06-21 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 09:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:25:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:25:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":109388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:25:58] local.INFO: GPS data processed {"connection_id":109388,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:25:58] local.INFO: Acknowledgment sent {"connection_id":109388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:26:30] local.INFO: TCP Data received {"connection_id":109388,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:26:30] local.INFO: Processing buffer {"connection_id":109388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:26:30] local.INFO: Packet analysis {"connection_id":109388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:26:30] local.INFO: Extracted packet for processing {"connection_id":109388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:26:30] 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-06-21 09:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:26:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":109388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:26:30] local.INFO: GPS data processed {"connection_id":109388,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:26:30] local.INFO: Acknowledgment sent {"connection_id":109388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:26:52] local.INFO: TCP Data received {"connection_id":109390,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:26:52] local.INFO: Processing buffer {"connection_id":109390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:26:52] local.INFO: IMEI packet received {"connection_id":109390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":109390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:26:57] local.INFO: TCP Data received {"connection_id":109390,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:26:57] local.INFO: Processing buffer {"connection_id":109390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:26:57] local.INFO: IMEI packet received {"connection_id":109390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":109390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:26:58] local.INFO: TCP Data received {"connection_id":109390,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:26:58] local.INFO: Processing buffer {"connection_id":109390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:26:58] local.INFO: Packet analysis {"connection_id":109390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:26:58] local.INFO: Extracted packet for processing {"connection_id":109390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:26:58] 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-06-21 09:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:26:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":109390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:26:58] local.INFO: GPS data processed {"connection_id":109390,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:26:58] local.INFO: Acknowledgment sent {"connection_id":109390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:27:30] local.INFO: TCP Data received {"connection_id":109390,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:27:30] local.INFO: Processing buffer {"connection_id":109390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:27:30] local.INFO: Packet analysis {"connection_id":109390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:27:30] local.INFO: Extracted packet for processing {"connection_id":109390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:27:30] 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-06-21 09:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:27:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:27:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":109390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:27:30] local.INFO: GPS data processed {"connection_id":109390,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:27:30] local.INFO: Acknowledgment sent {"connection_id":109390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:27:52] local.INFO: TCP Data received {"connection_id":108607,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:27:52] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:27:52] local.INFO: IMEI packet received {"connection_id":108607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":108607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:27:57] local.INFO: TCP Data received {"connection_id":108607,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:27:57] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:27:57] local.INFO: IMEI packet received {"connection_id":108607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":108607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:27:58] local.INFO: TCP Data received {"connection_id":108607,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:27:58] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:27:58] local.INFO: Packet analysis {"connection_id":108607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:27:58] local.INFO: Extracted packet for processing {"connection_id":108607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:27:58] 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-06-21 09:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 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-06-21 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 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-06-21 09:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":108607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:27:58] local.INFO: GPS data processed {"connection_id":108607,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:27:58] local.INFO: Acknowledgment sent {"connection_id":108607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:28:30] local.INFO: TCP Data received {"connection_id":108607,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:28:30] local.INFO: Processing buffer {"connection_id":108607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:28:30] local.INFO: Packet analysis {"connection_id":108607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:28:30] local.INFO: Extracted packet for processing {"connection_id":108607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:28:30] 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-06-21 09:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":108607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:28:30] local.INFO: GPS data processed {"connection_id":108607,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:28:30] local.INFO: Acknowledgment sent {"connection_id":108607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:28:52] local.INFO: TCP Data received {"connection_id":110348,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:28:52] local.INFO: Processing buffer {"connection_id":110348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:28:52] local.INFO: IMEI packet received {"connection_id":110348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":110348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:28:57] local.INFO: TCP Data received {"connection_id":110348,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:28:57] local.INFO: Processing buffer {"connection_id":110348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:28:57] local.INFO: IMEI packet received {"connection_id":110348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":110348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:28:58] local.INFO: TCP Data received {"connection_id":110348,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:28:58] local.INFO: Processing buffer {"connection_id":110348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:28:58] local.INFO: Packet analysis {"connection_id":110348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:28:58] local.INFO: Extracted packet for processing {"connection_id":110348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:28:58] 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-06-21 09:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:28:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":110348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:28:58] local.INFO: GPS data processed {"connection_id":110348,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:28:58] local.INFO: Acknowledgment sent {"connection_id":110348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:29:30] local.INFO: TCP Data received {"connection_id":110348,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:29:30] local.INFO: Processing buffer {"connection_id":110348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:29:30] local.INFO: Packet analysis {"connection_id":110348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:29:30] local.INFO: Extracted packet for processing {"connection_id":110348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:29:30] 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-06-21 09:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:29:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":110348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:29:30] local.INFO: GPS data processed {"connection_id":110348,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:29:30] local.INFO: Acknowledgment sent {"connection_id":110348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:29:52] local.INFO: TCP Data received {"connection_id":109391,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:29:52] local.INFO: Processing buffer {"connection_id":109391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:29:52] local.INFO: IMEI packet received {"connection_id":109391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":109391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:29:57] local.INFO: TCP Data received {"connection_id":109391,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:29:57] local.INFO: Processing buffer {"connection_id":109391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:29:57] local.INFO: IMEI packet received {"connection_id":109391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":109391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:29:59] local.INFO: TCP Data received {"connection_id":109391,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:29:59] local.INFO: Processing buffer {"connection_id":109391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:29:59] local.INFO: Packet analysis {"connection_id":109391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:29:59] local.INFO: Extracted packet for processing {"connection_id":109391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":109391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:29:59] local.INFO: GPS data processed {"connection_id":109391,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:29:59] local.INFO: Acknowledgment sent {"connection_id":109391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:30:30] local.INFO: TCP Data received {"connection_id":109391,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:30:30] local.INFO: Processing buffer {"connection_id":109391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8516d18012d34c14006aa3d28000901172d..."} 
[2026-06-21 09:30:30] local.INFO: Packet analysis {"connection_id":109391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:30:30] local.INFO: Extracted packet for processing {"connection_id":109391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee851"} 
[2026-06-21 09:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195535360001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:30:30] 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-06-21 09:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014111000,"timestamp_ms":1782014111000,"timestamp_seconds":1782014111,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8516d18"} 
[2026-06-21 09:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 09:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195535360001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195535360001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:30:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195535360001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":109391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:30:30] local.INFO: GPS data processed {"connection_id":109391,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:30:30] local.INFO: Acknowledgment sent {"connection_id":109391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:30:38] local.INFO: TCP Data received {"connection_id":109392,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:30:38] local.INFO: Processing buffer {"connection_id":109392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:30:38] local.INFO: IMEI packet received {"connection_id":109392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":109392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:30:57] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:30:57] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:30:57] local.INFO: IMEI packet received {"connection_id":110349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":110349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:31:02] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:02] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:02] local.INFO: IMEI packet received {"connection_id":110349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":110349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:31:04] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:31:04] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:31:04] local.INFO: Packet analysis {"connection_id":110349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:31:04] local.INFO: Extracted packet for processing {"connection_id":110349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:31: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-06-21 09:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":110349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:31:04] local.INFO: GPS data processed {"connection_id":110349,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:31:04] local.INFO: Acknowledgment sent {"connection_id":110349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:31:08] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:31:08] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:31:08] local.INFO: Packet analysis {"connection_id":110349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:31:08] local.INFO: Extracted packet for processing {"connection_id":110349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:31:08] 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-06-21 09:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":110349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:31:08] local.INFO: GPS data processed {"connection_id":110349,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:31:08] local.INFO: Acknowledgment sent {"connection_id":110349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:31:13] local.INFO: TCP Data received {"connection_id":109393,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:31:13] local.INFO: Processing buffer {"connection_id":109393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:31:13] local.INFO: IMEI packet received {"connection_id":109393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":109393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:31:52] local.INFO: TCP Data received {"connection_id":108608,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:52] local.INFO: Processing buffer {"connection_id":108608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:52] local.INFO: IMEI packet received {"connection_id":108608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":108608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:31:58] local.INFO: TCP Data received {"connection_id":108608,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:58] local.INFO: Processing buffer {"connection_id":108608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:31:58] local.INFO: IMEI packet received {"connection_id":108608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":108608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:32:00] local.INFO: TCP Data received {"connection_id":108608,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:00] local.INFO: Processing buffer {"connection_id":108608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:00] local.INFO: Packet analysis {"connection_id":108608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:32:00] local.INFO: Extracted packet for processing {"connection_id":108608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:00] 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-06-21 09:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:32:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":108608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:32:00] local.INFO: GPS data processed {"connection_id":108608,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:32:00] local.INFO: Acknowledgment sent {"connection_id":108608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:32:32] local.INFO: TCP Data received {"connection_id":108608,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:32] local.INFO: Processing buffer {"connection_id":108608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:32] local.INFO: Packet analysis {"connection_id":108608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:32:32] local.INFO: Extracted packet for processing {"connection_id":108608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:32:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:32] 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-06-21 09:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:32:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":108608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:32:32] local.INFO: GPS data processed {"connection_id":108608,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:32:32] local.INFO: Acknowledgment sent {"connection_id":108608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:32:52] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:32:52] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:32:52] local.INFO: IMEI packet received {"connection_id":108797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":108797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:32:57] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:32:57] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:32:57] local.INFO: IMEI packet received {"connection_id":108797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":108797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:32:58] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:58] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:32:58] local.INFO: Packet analysis {"connection_id":108797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:32:58] local.INFO: Extracted packet for processing {"connection_id":108797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:32:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:32:58] 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-06-21 09:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:32:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:32:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":108797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:32:58] local.INFO: GPS data processed {"connection_id":108797,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:32:58] local.INFO: Acknowledgment sent {"connection_id":108797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:33:30] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:33:30] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:33:30] local.INFO: Packet analysis {"connection_id":108797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:33:30] local.INFO: Extracted packet for processing {"connection_id":108797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:33:30] 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-06-21 09:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:33:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":108797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:33:30] local.INFO: GPS data processed {"connection_id":108797,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:33:30] local.INFO: Acknowledgment sent {"connection_id":108797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:33:57] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:33:57] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:33:57] local.INFO: IMEI packet received {"connection_id":110351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":110351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:34:02] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:02] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:02] local.INFO: IMEI packet received {"connection_id":110351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":110351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:34:04] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:04] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:04] local.INFO: Packet analysis {"connection_id":110351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:34:04] local.INFO: Extracted packet for processing {"connection_id":110351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34: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-06-21 09:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:34:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":110351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:34:04] local.INFO: GPS data processed {"connection_id":110351,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:34:04] local.INFO: Acknowledgment sent {"connection_id":110351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:34:08] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:08] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:08] local.INFO: Packet analysis {"connection_id":110351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:34:08] local.INFO: Extracted packet for processing {"connection_id":110351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:08] 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-06-21 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":110351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:34:08] local.INFO: GPS data processed {"connection_id":110351,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:34:08] local.INFO: Acknowledgment sent {"connection_id":110351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:34:52] local.INFO: TCP Data received {"connection_id":109396,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:52] local.INFO: Processing buffer {"connection_id":109396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:52] local.INFO: IMEI packet received {"connection_id":109396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":109396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:34:57] local.INFO: TCP Data received {"connection_id":109396,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:57] local.INFO: Processing buffer {"connection_id":109396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:34:57] local.INFO: IMEI packet received {"connection_id":109396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":109396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:34:59] local.INFO: TCP Data received {"connection_id":109396,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:59] local.INFO: Processing buffer {"connection_id":109396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:34:59] local.INFO: Packet analysis {"connection_id":109396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:34:59] local.INFO: Extracted packet for processing {"connection_id":109396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":109396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:34:59] local.INFO: GPS data processed {"connection_id":109396,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:34:59] local.INFO: Acknowledgment sent {"connection_id":109396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:35:30] local.INFO: TCP Data received {"connection_id":109396,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:35:30] local.INFO: Processing buffer {"connection_id":109396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85604e0012d34c14006aa3d280008011728..."} 
[2026-06-21 09:35:30] local.INFO: Packet analysis {"connection_id":109396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:35:30] local.INFO: Extracted packet for processing {"connection_id":109396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee856"} 
[2026-06-21 09:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195612416001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:35:30] 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-06-21 09:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014412000,"timestamp_ms":1782014412000,"timestamp_seconds":1782014412,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85604e0"} 
[2026-06-21 09:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195612416001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195612416001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195612416001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":109396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:35:30] local.INFO: GPS data processed {"connection_id":109396,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:35:30] local.INFO: Acknowledgment sent {"connection_id":109396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:35:51] local.INFO: TCP Data received {"connection_id":110352,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:51] local.INFO: Processing buffer {"connection_id":110352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:51] local.INFO: IMEI packet received {"connection_id":110352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":110352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:35:52] local.INFO: TCP Data received {"connection_id":110352,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:52] local.INFO: Processing buffer {"connection_id":110352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:52] local.INFO: IMEI packet received {"connection_id":110352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":110352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:35:57] local.INFO: TCP Data received {"connection_id":110352,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:57] local.INFO: Processing buffer {"connection_id":110352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:35:57] local.INFO: IMEI packet received {"connection_id":110352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":110352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:35:59] local.INFO: TCP Data received {"connection_id":110352,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:35:59] local.INFO: Processing buffer {"connection_id":110352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:35:59] local.INFO: Packet analysis {"connection_id":110352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:35:59] local.INFO: Extracted packet for processing {"connection_id":110352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":110352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:35:59] local.INFO: GPS data processed {"connection_id":110352,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:35:59] local.INFO: Acknowledgment sent {"connection_id":110352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:36:30] local.INFO: TCP Data received {"connection_id":110352,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:36:30] local.INFO: Processing buffer {"connection_id":110352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:36:30] local.INFO: Packet analysis {"connection_id":110352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:36:30] local.INFO: Extracted packet for processing {"connection_id":110352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:36:30] 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-06-21 09:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:36:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":110352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:36:30] local.INFO: GPS data processed {"connection_id":110352,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:36:30] local.INFO: Acknowledgment sent {"connection_id":110352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:36:33] local.INFO: TCP Data received {"connection_id":109397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:36:33] local.INFO: Processing buffer {"connection_id":109397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:36:33] local.INFO: IMEI packet received {"connection_id":109397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":109397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:36:52] local.INFO: TCP Data received {"connection_id":108798,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:36:52] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:36:52] local.INFO: IMEI packet received {"connection_id":108798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":108798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:36:57] local.INFO: TCP Data received {"connection_id":108798,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:36:57] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:36:57] local.INFO: IMEI packet received {"connection_id":108798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":108798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:36:58] local.INFO: TCP Data received {"connection_id":108798,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:36:58] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:36:58] local.INFO: Packet analysis {"connection_id":108798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:36:58] local.INFO: Extracted packet for processing {"connection_id":108798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:36:58] 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-06-21 09:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:36:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:36:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":108798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:36:58] local.INFO: GPS data processed {"connection_id":108798,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:36:58] local.INFO: Acknowledgment sent {"connection_id":108798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:37:13] local.INFO: TCP Data received {"connection_id":109398,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:37:13] local.INFO: Processing buffer {"connection_id":109398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:37:13] local.INFO: IMEI packet received {"connection_id":109398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":109398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:37:30] local.INFO: TCP Data received {"connection_id":108798,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:37:30] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:37:30] local.INFO: Packet analysis {"connection_id":108798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:37:30] local.INFO: Extracted packet for processing {"connection_id":108798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:37:30] 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-06-21 09:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:37:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":108798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:37:30] local.INFO: GPS data processed {"connection_id":108798,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:37:30] local.INFO: Acknowledgment sent {"connection_id":108798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:37:58] local.INFO: TCP Data received {"connection_id":109399,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:37:58] local.INFO: Processing buffer {"connection_id":109399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:37:58] local.INFO: IMEI packet received {"connection_id":109399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":109399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:38:02] local.INFO: TCP Data received {"connection_id":109399,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:02] local.INFO: Processing buffer {"connection_id":109399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:02] local.INFO: IMEI packet received {"connection_id":109399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":109399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:38:04] local.INFO: TCP Data received {"connection_id":109399,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:04] local.INFO: Processing buffer {"connection_id":109399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:04] local.INFO: Packet analysis {"connection_id":109399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:38:04] local.INFO: Extracted packet for processing {"connection_id":109399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38: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-06-21 09:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":109399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:38:04] local.INFO: GPS data processed {"connection_id":109399,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:38:04] local.INFO: Acknowledgment sent {"connection_id":109399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:38:08] local.INFO: TCP Data received {"connection_id":109399,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:08] local.INFO: Processing buffer {"connection_id":109399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:08] local.INFO: Packet analysis {"connection_id":109399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:38:08] local.INFO: Extracted packet for processing {"connection_id":109399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:08] 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-06-21 09:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:38:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":109399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:38:08] local.INFO: GPS data processed {"connection_id":109399,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:38:08] local.INFO: Acknowledgment sent {"connection_id":109399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:38:52] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:52] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:52] local.INFO: IMEI packet received {"connection_id":108799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":108799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:38:57] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:57] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:38:57] local.INFO: IMEI packet received {"connection_id":108799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":108799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:38:59] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:59] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:38:59] local.INFO: Packet analysis {"connection_id":108799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:38:59] local.INFO: Extracted packet for processing {"connection_id":108799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":108799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:38:59] local.INFO: GPS data processed {"connection_id":108799,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:38:59] local.INFO: Acknowledgment sent {"connection_id":108799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:39:30] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:39:30] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:39:30] local.INFO: Packet analysis {"connection_id":108799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:39:30] local.INFO: Extracted packet for processing {"connection_id":108799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:39:30] 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-06-21 09:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:39:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:39:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":108799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:39:30] local.INFO: GPS data processed {"connection_id":108799,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:39:30] local.INFO: Acknowledgment sent {"connection_id":108799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:39:52] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:39:52] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:39:52] local.INFO: IMEI packet received {"connection_id":108800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":108800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:39:57] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:39:57] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:39:57] local.INFO: IMEI packet received {"connection_id":108800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":108800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:39:58] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:39:58] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:39:58] local.INFO: Packet analysis {"connection_id":108800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:39:58] local.INFO: Extracted packet for processing {"connection_id":108800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:39:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:39:58] 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-06-21 09:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:39:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:39:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":108800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:39:58] local.INFO: GPS data processed {"connection_id":108800,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:39:58] local.INFO: Acknowledgment sent {"connection_id":108800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:40:30] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:40:30] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85a9ca8012d34c14006aa3d280007011726..."} 
[2026-06-21 09:40:30] local.INFO: Packet analysis {"connection_id":108800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:40:30] local.INFO: Extracted packet for processing {"connection_id":108800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85a"} 
[2026-06-21 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195689472001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:40:30] 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-06-21 09:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782014713000,"timestamp_ms":1782014713000,"timestamp_seconds":1782014713,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85a9ca8"} 
[2026-06-21 09:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 09:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195689472001,"66":25430,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195689472001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:40:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195689472001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":108800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:40:30] local.INFO: GPS data processed {"connection_id":108800,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:40:30] local.INFO: Acknowledgment sent {"connection_id":108800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:40:52] local.INFO: TCP Data received {"connection_id":108612,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:52] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:52] local.INFO: IMEI packet received {"connection_id":108612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":108612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:40:53] local.INFO: TCP Data received {"connection_id":108612,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:53] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:53] local.INFO: IMEI packet received {"connection_id":108612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":108612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:40:57] local.INFO: TCP Data received {"connection_id":108612,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:57] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:40:57] local.INFO: IMEI packet received {"connection_id":108612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":108612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:40:59] local.INFO: TCP Data received {"connection_id":108612,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:40:59] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:40:59] local.INFO: Packet analysis {"connection_id":108612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:40:59] local.INFO: Extracted packet for processing {"connection_id":108612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 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-06-21 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 09:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":108612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:40:59] local.INFO: GPS data processed {"connection_id":108612,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:40:59] local.INFO: Acknowledgment sent {"connection_id":108612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:41:30] local.INFO: TCP Data received {"connection_id":108612,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:41:30] local.INFO: Processing buffer {"connection_id":108612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:41:30] local.INFO: Packet analysis {"connection_id":108612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:41:30] local.INFO: Extracted packet for processing {"connection_id":108612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:41:30] 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-06-21 09:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 09:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":108612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:41:30] local.INFO: GPS data processed {"connection_id":108612,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:41:30] local.INFO: Acknowledgment sent {"connection_id":108612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:41:57] local.INFO: TCP Data received {"connection_id":109401,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:41:57] local.INFO: Processing buffer {"connection_id":109401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:41:57] local.INFO: IMEI packet received {"connection_id":109401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":109401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:42:02] local.INFO: TCP Data received {"connection_id":109401,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:02] local.INFO: Processing buffer {"connection_id":109401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:02] local.INFO: IMEI packet received {"connection_id":109401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":109401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:42:04] local.INFO: TCP Data received {"connection_id":109401,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:04] local.INFO: Processing buffer {"connection_id":109401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:04] local.INFO: Packet analysis {"connection_id":109401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:42:04] local.INFO: Extracted packet for processing {"connection_id":109401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42: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-06-21 09:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 09:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":109401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:42:04] local.INFO: GPS data processed {"connection_id":109401,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:42:04] local.INFO: Acknowledgment sent {"connection_id":109401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:42:09] local.INFO: TCP Data received {"connection_id":109401,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:09] local.INFO: Processing buffer {"connection_id":109401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:09] local.INFO: Packet analysis {"connection_id":109401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:42:09] local.INFO: Extracted packet for processing {"connection_id":109401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09: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-06-21 09:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09: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-06-21 09:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 09:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09: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-06-21 09:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":109401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:42:09] local.INFO: GPS data processed {"connection_id":109401,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:42:09] local.INFO: Acknowledgment sent {"connection_id":109401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:42:38] local.INFO: TCP Data received {"connection_id":108613,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:42:38] local.INFO: Processing buffer {"connection_id":108613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:42:38] local.INFO: IMEI packet received {"connection_id":108613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":108613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:42:52] local.INFO: TCP Data received {"connection_id":108801,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:52] local.INFO: Processing buffer {"connection_id":108801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:52] local.INFO: IMEI packet received {"connection_id":108801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":108801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:42:57] local.INFO: TCP Data received {"connection_id":108801,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:57] local.INFO: Processing buffer {"connection_id":108801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:42:57] local.INFO: IMEI packet received {"connection_id":108801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":108801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:42:58] local.INFO: TCP Data received {"connection_id":108801,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:58] local.INFO: Processing buffer {"connection_id":108801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:42:58] local.INFO: Packet analysis {"connection_id":108801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:42:58] local.INFO: Extracted packet for processing {"connection_id":108801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:42:58] 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-06-21 09:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 09:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:42:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:42:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":108801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:42:58] local.INFO: GPS data processed {"connection_id":108801,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:42:58] local.INFO: Acknowledgment sent {"connection_id":108801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:43:12] local.INFO: TCP Data received {"connection_id":109402,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:43:12] local.INFO: Processing buffer {"connection_id":109402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:43:12] local.INFO: IMEI packet received {"connection_id":109402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":109402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:43:30] local.INFO: TCP Data received {"connection_id":108801,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:43:30] local.INFO: Processing buffer {"connection_id":108801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:43:30] local.INFO: Packet analysis {"connection_id":108801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:43:30] local.INFO: Extracted packet for processing {"connection_id":108801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:43:30] 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-06-21 09:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 09:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:43:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":108801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:43:30] local.INFO: GPS data processed {"connection_id":108801,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:43:30] local.INFO: Acknowledgment sent {"connection_id":108801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:43:52] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:43:52] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:43:52] local.INFO: IMEI packet received {"connection_id":110354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":110354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:43:57] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:43:57] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:43:57] local.INFO: IMEI packet received {"connection_id":110354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":110354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:43:58] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:43:58] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:43:58] local.INFO: Packet analysis {"connection_id":110354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:43:58] local.INFO: Extracted packet for processing {"connection_id":110354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:43:58] 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-06-21 09:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 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-06-21 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 09:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:43:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:43:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":110354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:43:58] local.INFO: GPS data processed {"connection_id":110354,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:43:58] local.INFO: Acknowledgment sent {"connection_id":110354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:44:30] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:44:30] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:44:30] local.INFO: Packet analysis {"connection_id":110354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:44:30] local.INFO: Extracted packet for processing {"connection_id":110354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:44:30] 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-06-21 09:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 09:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:44:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:44:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":110354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:44:30] local.INFO: GPS data processed {"connection_id":110354,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:44:30] local.INFO: Acknowledgment sent {"connection_id":110354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:44:52] local.INFO: TCP Data received {"connection_id":109403,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:44:52] local.INFO: Processing buffer {"connection_id":109403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:44:52] local.INFO: IMEI packet received {"connection_id":109403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":109403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:44:57] local.INFO: TCP Data received {"connection_id":109403,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:44:57] local.INFO: Processing buffer {"connection_id":109403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:44:57] local.INFO: IMEI packet received {"connection_id":109403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":109403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:45:00] local.INFO: TCP Data received {"connection_id":109403,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:45:00] local.INFO: Processing buffer {"connection_id":109403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:45:00] local.INFO: Packet analysis {"connection_id":109403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:45:00] local.INFO: Extracted packet for processing {"connection_id":109403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:45:00] 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-06-21 09:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 09:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":109403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:45:00] local.INFO: GPS data processed {"connection_id":109403,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:45:00] local.INFO: Acknowledgment sent {"connection_id":109403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:45:32] local.INFO: TCP Data received {"connection_id":109403,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:45:32] local.INFO: Processing buffer {"connection_id":109403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee85f3470012d34c14006aa3d28000b011728..."} 
[2026-06-21 09:45:32] local.INFO: Packet analysis {"connection_id":109403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:45:32] local.INFO: Extracted packet for processing {"connection_id":109403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee85f"} 
[2026-06-21 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195766528001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:45:32] 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-06-21 09:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782015014000,"timestamp_ms":1782015014000,"timestamp_seconds":1782015014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee85f3470"} 
[2026-06-21 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-06-21 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 09:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 09:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195766528001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195766528001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195766528001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":109403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:45:32] local.INFO: GPS data processed {"connection_id":109403,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:45:32] local.INFO: Acknowledgment sent {"connection_id":109403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:45:53] local.INFO: TCP Data received {"connection_id":108803,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:45:53] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:45:53] local.INFO: IMEI packet received {"connection_id":108803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":108803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:45:57] local.INFO: TCP Data received {"connection_id":108803,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:45:57] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:45:57] local.INFO: IMEI packet received {"connection_id":108803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":108803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:46:02] local.INFO: TCP Data received {"connection_id":108803,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:02] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:02] local.INFO: IMEI packet received {"connection_id":108803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":108803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:46:03] local.INFO: TCP Data received {"connection_id":108803,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:03] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:03] local.INFO: Packet analysis {"connection_id":108803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:46:03] local.INFO: Extracted packet for processing {"connection_id":108803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:03] 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-06-21 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":108803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:46:03] local.INFO: GPS data processed {"connection_id":108803,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:46:03] local.INFO: Acknowledgment sent {"connection_id":108803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:46:08] local.INFO: TCP Data received {"connection_id":108803,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:08] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:08] local.INFO: Packet analysis {"connection_id":108803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:46:08] local.INFO: Extracted packet for processing {"connection_id":108803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:08] 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-06-21 09:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:46:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":108803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:46:08] local.INFO: GPS data processed {"connection_id":108803,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:46:08] local.INFO: Acknowledgment sent {"connection_id":108803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:46:52] local.INFO: TCP Data received {"connection_id":109404,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:52] local.INFO: Processing buffer {"connection_id":109404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:52] local.INFO: IMEI packet received {"connection_id":109404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":109404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:46:57] local.INFO: TCP Data received {"connection_id":109404,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:57] local.INFO: Processing buffer {"connection_id":109404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:46:57] local.INFO: IMEI packet received {"connection_id":109404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":109404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:46:59] local.INFO: TCP Data received {"connection_id":109404,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:59] local.INFO: Processing buffer {"connection_id":109404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:46:59] local.INFO: Packet analysis {"connection_id":109404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:46:59] local.INFO: Extracted packet for processing {"connection_id":109404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:46:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":109404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:46:59] local.INFO: GPS data processed {"connection_id":109404,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:46:59] local.INFO: Acknowledgment sent {"connection_id":109404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:47:31] local.INFO: TCP Data received {"connection_id":109404,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:47:31] local.INFO: Processing buffer {"connection_id":109404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:47:31] local.INFO: Packet analysis {"connection_id":109404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:47:31] local.INFO: Extracted packet for processing {"connection_id":109404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:47:31] 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-06-21 09:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:47:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":109404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:47:31] local.INFO: GPS data processed {"connection_id":109404,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:47:31] local.INFO: Acknowledgment sent {"connection_id":109404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:47:52] local.INFO: TCP Data received {"connection_id":108805,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:47:52] local.INFO: Processing buffer {"connection_id":108805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:47:52] local.INFO: IMEI packet received {"connection_id":108805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":108805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:47:57] local.INFO: TCP Data received {"connection_id":108805,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:47:57] local.INFO: Processing buffer {"connection_id":108805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:47:57] local.INFO: IMEI packet received {"connection_id":108805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":108805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:47:59] local.INFO: TCP Data received {"connection_id":108805,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:47:59] local.INFO: Processing buffer {"connection_id":108805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:47:59] local.INFO: Packet analysis {"connection_id":108805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:47:59] local.INFO: Extracted packet for processing {"connection_id":108805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 09:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 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-06-21 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 09:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":108805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:47:59] local.INFO: GPS data processed {"connection_id":108805,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:47:59] local.INFO: Acknowledgment sent {"connection_id":108805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:48:31] local.INFO: TCP Data received {"connection_id":108805,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:48:31] local.INFO: Processing buffer {"connection_id":108805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:48:31] local.INFO: Packet analysis {"connection_id":108805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:48:31] local.INFO: Extracted packet for processing {"connection_id":108805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:48:31] 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-06-21 09:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":108805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:48:31] local.INFO: GPS data processed {"connection_id":108805,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:48:31] local.INFO: Acknowledgment sent {"connection_id":108805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:48:38] local.INFO: TCP Data received {"connection_id":110356,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:48:38] local.INFO: Processing buffer {"connection_id":110356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:48:38] local.INFO: IMEI packet received {"connection_id":110356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":110356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:48:57] local.INFO: TCP Data received {"connection_id":109405,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:48:57] local.INFO: Processing buffer {"connection_id":109405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:48:57] local.INFO: IMEI packet received {"connection_id":109405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":109405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:49:02] local.INFO: TCP Data received {"connection_id":109405,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:02] local.INFO: Processing buffer {"connection_id":109405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:02] local.INFO: IMEI packet received {"connection_id":109405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":109405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:49:04] local.INFO: TCP Data received {"connection_id":109405,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:04] local.INFO: Processing buffer {"connection_id":109405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:04] local.INFO: Packet analysis {"connection_id":109405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:49:04] local.INFO: Extracted packet for processing {"connection_id":109405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09: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-06-21 09:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":109405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:49:04] local.INFO: GPS data processed {"connection_id":109405,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:49:04] local.INFO: Acknowledgment sent {"connection_id":109405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:49:09] local.INFO: TCP Data received {"connection_id":109405,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:09] local.INFO: Processing buffer {"connection_id":109405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:09] local.INFO: Packet analysis {"connection_id":109405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:49:09] local.INFO: Extracted packet for processing {"connection_id":109405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49: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-06-21 09:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:49:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":109405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:49:09] local.INFO: GPS data processed {"connection_id":109405,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:49:09] local.INFO: Acknowledgment sent {"connection_id":109405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:49:13] local.INFO: TCP Data received {"connection_id":108615,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:49:13] local.INFO: Processing buffer {"connection_id":108615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:49:13] local.INFO: IMEI packet received {"connection_id":108615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":108615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:49:52] local.INFO: TCP Data received {"connection_id":108616,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:52] local.INFO: Processing buffer {"connection_id":108616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:52] local.INFO: IMEI packet received {"connection_id":108616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":108616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:49:57] local.INFO: TCP Data received {"connection_id":108616,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:57] local.INFO: Processing buffer {"connection_id":108616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:49:57] local.INFO: IMEI packet received {"connection_id":108616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":108616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:49:59] local.INFO: TCP Data received {"connection_id":108616,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:59] local.INFO: Processing buffer {"connection_id":108616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:49:59] local.INFO: Packet analysis {"connection_id":108616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:49:59] local.INFO: Extracted packet for processing {"connection_id":108616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:49:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":108616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:49:59] local.INFO: GPS data processed {"connection_id":108616,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:49:59] local.INFO: Acknowledgment sent {"connection_id":108616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:50:30] local.INFO: TCP Data received {"connection_id":108616,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:50:30] local.INFO: Processing buffer {"connection_id":108616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee863cc38012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:50:30] local.INFO: Packet analysis {"connection_id":108616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:50:30] local.INFO: Extracted packet for processing {"connection_id":108616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee863"} 
[2026-06-21 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195843584001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:50:30] 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-06-21 09:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782015315000,"timestamp_ms":1782015315000,"timestamp_seconds":1782015315,"priority":1,"record_length":96,"hex_timestamp":"0000019ee863cc38"} 
[2026-06-21 09:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 09:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195843584001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195843584001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195843584001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":108616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:50:30] local.INFO: GPS data processed {"connection_id":108616,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:50:30] local.INFO: Acknowledgment sent {"connection_id":108616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:50:52] local.INFO: TCP Data received {"connection_id":110358,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:52] local.INFO: Processing buffer {"connection_id":110358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:52] local.INFO: IMEI packet received {"connection_id":110358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":110358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:50:54] local.INFO: TCP Data received {"connection_id":110358,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:54] local.INFO: Processing buffer {"connection_id":110358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:54] local.INFO: IMEI packet received {"connection_id":110358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":110358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:50:57] local.INFO: TCP Data received {"connection_id":110358,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:57] local.INFO: Processing buffer {"connection_id":110358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:50:57] local.INFO: IMEI packet received {"connection_id":110358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":110358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:50:59] local.INFO: TCP Data received {"connection_id":110358,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:50:59] local.INFO: Processing buffer {"connection_id":110358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:50:59] local.INFO: Packet analysis {"connection_id":110358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:50:59] local.INFO: Extracted packet for processing {"connection_id":110358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:50:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":110358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:50:59] local.INFO: GPS data processed {"connection_id":110358,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:50:59] local.INFO: Acknowledgment sent {"connection_id":110358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:51:04] local.INFO: TCP Data received {"connection_id":110358,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:04] local.INFO: Processing buffer {"connection_id":110358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:04] local.INFO: Packet analysis {"connection_id":110358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:51:04] local.INFO: Extracted packet for processing {"connection_id":110358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09: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-06-21 09:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":110358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:51:04] local.INFO: GPS data processed {"connection_id":110358,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:51:04] local.INFO: Acknowledgment sent {"connection_id":110358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:51:36] local.INFO: TCP Data received {"connection_id":110358,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:36] local.INFO: Processing buffer {"connection_id":110358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:36] local.INFO: Packet analysis {"connection_id":110358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:51:36] local.INFO: Extracted packet for processing {"connection_id":110358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51: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-06-21 09:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:51:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":110358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:51:36] local.INFO: GPS data processed {"connection_id":110358,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:51:36] local.INFO: Acknowledgment sent {"connection_id":110358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:51:52] local.INFO: TCP Data received {"connection_id":108618,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:51:52] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:51:52] local.INFO: IMEI packet received {"connection_id":108618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":108618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:51:57] local.INFO: TCP Data received {"connection_id":108618,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:51:57] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:51:57] local.INFO: IMEI packet received {"connection_id":108618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":108618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:51:59] local.INFO: TCP Data received {"connection_id":108618,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:59] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:51:59] local.INFO: Packet analysis {"connection_id":108618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:51:59] local.INFO: Extracted packet for processing {"connection_id":108618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":108618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:51:59] local.INFO: GPS data processed {"connection_id":108618,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:51:59] local.INFO: Acknowledgment sent {"connection_id":108618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:52:31] local.INFO: TCP Data received {"connection_id":108618,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:52:31] local.INFO: Processing buffer {"connection_id":108618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:52:31] local.INFO: Packet analysis {"connection_id":108618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:52:31] local.INFO: Extracted packet for processing {"connection_id":108618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:52:31] 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-06-21 09:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":108618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:52:31] local.INFO: GPS data processed {"connection_id":108618,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:52:31] local.INFO: Acknowledgment sent {"connection_id":108618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:52:57] local.INFO: TCP Data received {"connection_id":109406,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:52:57] local.INFO: Processing buffer {"connection_id":109406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:52:57] local.INFO: IMEI packet received {"connection_id":109406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":109406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:53:02] local.INFO: TCP Data received {"connection_id":109406,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:02] local.INFO: Processing buffer {"connection_id":109406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:02] local.INFO: IMEI packet received {"connection_id":109406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":109406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:53:03] local.INFO: TCP Data received {"connection_id":109406,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:53:03] local.INFO: Processing buffer {"connection_id":109406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:53:03] local.INFO: Packet analysis {"connection_id":109406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:53:03] local.INFO: Extracted packet for processing {"connection_id":109406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:53:03] 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-06-21 09:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":109406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:53:03] local.INFO: GPS data processed {"connection_id":109406,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:53:03] local.INFO: Acknowledgment sent {"connection_id":109406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:53:08] local.INFO: TCP Data received {"connection_id":109406,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:53:08] local.INFO: Processing buffer {"connection_id":109406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:53:08] local.INFO: Packet analysis {"connection_id":109406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:53:08] local.INFO: Extracted packet for processing {"connection_id":109406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:53:08] 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-06-21 09:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:53:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:53:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":109406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:53:08] local.INFO: GPS data processed {"connection_id":109406,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:53:08] local.INFO: Acknowledgment sent {"connection_id":109406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:53:52] local.INFO: TCP Data received {"connection_id":108806,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:52] local.INFO: Processing buffer {"connection_id":108806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:52] local.INFO: IMEI packet received {"connection_id":108806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":108806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:53:57] local.INFO: TCP Data received {"connection_id":108806,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:57] local.INFO: Processing buffer {"connection_id":108806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:53:57] local.INFO: IMEI packet received {"connection_id":108806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":108806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:54:00] local.INFO: TCP Data received {"connection_id":108806,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:54:00] local.INFO: Processing buffer {"connection_id":108806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:54:00] local.INFO: Packet analysis {"connection_id":108806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:54:00] local.INFO: Extracted packet for processing {"connection_id":108806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:54:00] 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-06-21 09:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:54:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":108806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:54:00] local.INFO: GPS data processed {"connection_id":108806,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:54:00] local.INFO: Acknowledgment sent {"connection_id":108806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:54:31] local.INFO: TCP Data received {"connection_id":108806,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:54:31] local.INFO: Processing buffer {"connection_id":108806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:54:31] local.INFO: Packet analysis {"connection_id":108806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:54:31] local.INFO: Extracted packet for processing {"connection_id":108806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:54:31] 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-06-21 09:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:54:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":108806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:54:31] local.INFO: GPS data processed {"connection_id":108806,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:54:31] local.INFO: Acknowledgment sent {"connection_id":108806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:54:43] local.INFO: TCP Data received {"connection_id":108807,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:54:43] local.INFO: Processing buffer {"connection_id":108807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:54:43] local.INFO: IMEI packet received {"connection_id":108807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":108807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:54:52] local.INFO: TCP Data received {"connection_id":109407,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:54:52] local.INFO: Processing buffer {"connection_id":109407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:54:52] local.INFO: IMEI packet received {"connection_id":109407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":109407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:54:57] local.INFO: TCP Data received {"connection_id":109407,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:54:57] local.INFO: Processing buffer {"connection_id":109407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:54:57] local.INFO: IMEI packet received {"connection_id":109407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":109407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:55:00] local.INFO: TCP Data received {"connection_id":109407,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:55:00] local.INFO: Processing buffer {"connection_id":109407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:55:00] local.INFO: Packet analysis {"connection_id":109407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:55:00] local.INFO: Extracted packet for processing {"connection_id":109407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:00] 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-06-21 09:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:55:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":109407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:55:00] local.INFO: GPS data processed {"connection_id":109407,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:55:00] local.INFO: Acknowledgment sent {"connection_id":109407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:55:18] local.INFO: TCP Data received {"connection_id":108808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:55:18] local.INFO: Processing buffer {"connection_id":108808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 09:55:18] local.INFO: IMEI packet received {"connection_id":108808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 09:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":108808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:55:31] local.INFO: TCP Data received {"connection_id":109407,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:55:31] local.INFO: Processing buffer {"connection_id":109407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 09:55:31] local.INFO: Packet analysis {"connection_id":109407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:55:31] local.INFO: Extracted packet for processing {"connection_id":109407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:31] 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-06-21 09:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 09:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:55:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":109407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:55:31] local.INFO: GPS data processed {"connection_id":109407,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:55:31] local.INFO: Acknowledgment sent {"connection_id":109407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:55:52] local.INFO: TCP Data received {"connection_id":108620,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:52] local.INFO: Processing buffer {"connection_id":108620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:52] local.INFO: IMEI packet received {"connection_id":108620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":108620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:55:56] local.INFO: TCP Data received {"connection_id":108620,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:56] local.INFO: Processing buffer {"connection_id":108620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:56] local.INFO: IMEI packet received {"connection_id":108620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":108620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:55:57] local.INFO: TCP Data received {"connection_id":108620,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:57] local.INFO: Processing buffer {"connection_id":108620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:55:57] local.INFO: IMEI packet received {"connection_id":108620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":108620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:55:58] local.INFO: TCP Data received {"connection_id":108620,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:55:58] local.INFO: Processing buffer {"connection_id":108620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:55:58] local.INFO: Packet analysis {"connection_id":108620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:55:58] local.INFO: Extracted packet for processing {"connection_id":108620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:55:58] 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-06-21 09:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:55:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:55:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":108620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:55:58] local.INFO: GPS data processed {"connection_id":108620,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:55:58] local.INFO: Acknowledgment sent {"connection_id":108620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:56:03] local.INFO: TCP Data received {"connection_id":108620,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:56:03] local.INFO: Processing buffer {"connection_id":108620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:56:03] local.INFO: Packet analysis {"connection_id":108620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:56:03] local.INFO: Extracted packet for processing {"connection_id":108620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:56:03] 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-06-21 09:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":108620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:56:03] local.INFO: GPS data processed {"connection_id":108620,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:56:03] local.INFO: Acknowledgment sent {"connection_id":108620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:56:35] local.INFO: TCP Data received {"connection_id":108620,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:56:35] local.INFO: Processing buffer {"connection_id":108620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:56:35] local.INFO: Packet analysis {"connection_id":108620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:56:35] local.INFO: Extracted packet for processing {"connection_id":108620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09: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-06-21 09:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:56:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":108620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:56:35] local.INFO: GPS data processed {"connection_id":108620,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:56:35] local.INFO: Acknowledgment sent {"connection_id":108620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:56:52] local.INFO: TCP Data received {"connection_id":110360,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:56:52] local.INFO: Processing buffer {"connection_id":110360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:56:52] local.INFO: IMEI packet received {"connection_id":110360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":110360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:56:57] local.INFO: TCP Data received {"connection_id":110360,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:56:57] local.INFO: Processing buffer {"connection_id":110360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:56:57] local.INFO: IMEI packet received {"connection_id":110360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":110360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:57:00] local.INFO: TCP Data received {"connection_id":110360,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:00] local.INFO: Processing buffer {"connection_id":110360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:00] local.INFO: Packet analysis {"connection_id":110360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:57:00] local.INFO: Extracted packet for processing {"connection_id":110360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:00] 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-06-21 09:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:57:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":110360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:57:00] local.INFO: GPS data processed {"connection_id":110360,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:57:00] local.INFO: Acknowledgment sent {"connection_id":110360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:57:32] local.INFO: TCP Data received {"connection_id":110360,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:32] local.INFO: Processing buffer {"connection_id":110360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:32] local.INFO: Packet analysis {"connection_id":110360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:57:32] local.INFO: Extracted packet for processing {"connection_id":110360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:57:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:32] 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-06-21 09:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:57:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":110360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:57:32] local.INFO: GPS data processed {"connection_id":110360,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:57:32] local.INFO: Acknowledgment sent {"connection_id":110360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:57:53] local.INFO: TCP Data received {"connection_id":108621,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:57:53] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:57:53] local.INFO: IMEI packet received {"connection_id":108621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":108621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:57:57] local.INFO: TCP Data received {"connection_id":108621,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:57:57] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:57:57] local.INFO: IMEI packet received {"connection_id":108621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":108621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:57:59] local.INFO: TCP Data received {"connection_id":108621,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:59] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:57:59] local.INFO: Packet analysis {"connection_id":108621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:57:59] local.INFO: Extracted packet for processing {"connection_id":108621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 09:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":108621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:57:59] local.INFO: GPS data processed {"connection_id":108621,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:57:59] local.INFO: Acknowledgment sent {"connection_id":108621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:58:31] local.INFO: TCP Data received {"connection_id":108621,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:58:31] local.INFO: Processing buffer {"connection_id":108621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:58:31] local.INFO: Packet analysis {"connection_id":108621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:58:31] local.INFO: Extracted packet for processing {"connection_id":108621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:58:31] 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-06-21 09:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":108621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:58:31] local.INFO: GPS data processed {"connection_id":108621,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:58:31] local.INFO: Acknowledgment sent {"connection_id":108621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:58:52] local.INFO: TCP Data received {"connection_id":109408,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:58:52] local.INFO: Processing buffer {"connection_id":109408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:58:52] local.INFO: IMEI packet received {"connection_id":109408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":109408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:58:57] local.INFO: TCP Data received {"connection_id":109408,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:58:57] local.INFO: Processing buffer {"connection_id":109408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:58:57] local.INFO: IMEI packet received {"connection_id":109408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":109408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 09:59:00] local.INFO: TCP Data received {"connection_id":109408,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:59:00] local.INFO: Processing buffer {"connection_id":109408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:59:00] local.INFO: Packet analysis {"connection_id":109408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:59:00] local.INFO: Extracted packet for processing {"connection_id":109408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:59:00] 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-06-21 09:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:59:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":109408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:59:00] local.INFO: GPS data processed {"connection_id":109408,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:59:00] local.INFO: Acknowledgment sent {"connection_id":109408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:59:32] local.INFO: TCP Data received {"connection_id":109408,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:59:32] local.INFO: Processing buffer {"connection_id":109408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 09:59:32] local.INFO: Packet analysis {"connection_id":109408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:59:32] local.INFO: Extracted packet for processing {"connection_id":109408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 09:59:32] 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-06-21 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 09:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 09:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 09:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":109408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 09:59:32] local.INFO: GPS data processed {"connection_id":109408,"processed":1,"errors":0,"total":1} 
[2026-06-21 09:59:32] local.INFO: Acknowledgment sent {"connection_id":109408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 09:59:52] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:59:52] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:59:52] local.INFO: IMEI packet received {"connection_id":108812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 09:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":108812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 09:59:57] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:59:57] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 09:59:57] local.INFO: IMEI packet received {"connection_id":108812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 09:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":108812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:00:00] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 10:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 10:00:00] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 10:00:00] local.INFO: Packet analysis {"connection_id":108812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 10:00:00] local.INFO: Extracted packet for processing {"connection_id":108812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:00:00] 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-06-21 10:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 10:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":108812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:00:00] local.INFO: GPS data processed {"connection_id":108812,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:00:00] local.INFO: Acknowledgment sent {"connection_id":108812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:00:32] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 10:00:32] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee86cfbc8012d34c14006aa3d280009011728..."} 
[2026-06-21 10:00:32] local.INFO: Packet analysis {"connection_id":108812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 10:00:32] local.INFO: Extracted packet for processing {"connection_id":108812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee86c"} 
[2026-06-21 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195997696001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:00:32] 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-06-21 10:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782015917000,"timestamp_ms":1782015917000,"timestamp_seconds":1782015917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee86cfbc8"} 
[2026-06-21 10:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195997696001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195997696001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:00:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195997696001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":108812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:00:32] local.INFO: GPS data processed {"connection_id":108812,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:00:32] local.INFO: Acknowledgment sent {"connection_id":108812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:00:38] local.INFO: TCP Data received {"connection_id":110362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:00:38] local.INFO: Processing buffer {"connection_id":110362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:00:38] local.INFO: IMEI packet received {"connection_id":110362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":110362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:00:56] local.INFO: TCP Data received {"connection_id":109409,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:00:56] local.INFO: Processing buffer {"connection_id":109409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:00:56] local.INFO: IMEI packet received {"connection_id":109409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":109409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:00:57] local.INFO: TCP Data received {"connection_id":109409,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:00:57] local.INFO: Processing buffer {"connection_id":109409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:00:57] local.INFO: IMEI packet received {"connection_id":109409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":109409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:01:02] local.INFO: TCP Data received {"connection_id":109409,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:02] local.INFO: Processing buffer {"connection_id":109409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:02] local.INFO: IMEI packet received {"connection_id":109409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":109409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:01:03] local.INFO: TCP Data received {"connection_id":109409,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:03] local.INFO: Processing buffer {"connection_id":109409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:03] local.INFO: Packet analysis {"connection_id":109409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:01:03] local.INFO: Extracted packet for processing {"connection_id":109409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:03] 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-06-21 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":109409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:01:03] local.INFO: GPS data processed {"connection_id":109409,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:01:03] local.INFO: Acknowledgment sent {"connection_id":109409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:01:08] local.INFO: TCP Data received {"connection_id":109409,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:08] local.INFO: Processing buffer {"connection_id":109409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:08] local.INFO: Packet analysis {"connection_id":109409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:01:08] local.INFO: Extracted packet for processing {"connection_id":109409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:08] 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-06-21 10:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:01:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":109409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:01:08] local.INFO: GPS data processed {"connection_id":109409,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:01:08] local.INFO: Acknowledgment sent {"connection_id":109409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:01:12] local.INFO: TCP Data received {"connection_id":109410,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:01:12] local.INFO: Processing buffer {"connection_id":109410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:01:12] local.INFO: IMEI packet received {"connection_id":109410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":109410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:01:52] local.INFO: TCP Data received {"connection_id":109411,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:52] local.INFO: Processing buffer {"connection_id":109411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:52] local.INFO: IMEI packet received {"connection_id":109411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":109411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:01:57] local.INFO: TCP Data received {"connection_id":109411,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:57] local.INFO: Processing buffer {"connection_id":109411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:01:57] local.INFO: IMEI packet received {"connection_id":109411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":109411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:01:59] local.INFO: TCP Data received {"connection_id":109411,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:59] local.INFO: Processing buffer {"connection_id":109411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:01:59] local.INFO: Packet analysis {"connection_id":109411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:01:59] local.INFO: Extracted packet for processing {"connection_id":109411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 10:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 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-06-21 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 10:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":109411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:01:59] local.INFO: GPS data processed {"connection_id":109411,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:01:59] local.INFO: Acknowledgment sent {"connection_id":109411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:02:31] local.INFO: TCP Data received {"connection_id":109411,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:02:31] local.INFO: Processing buffer {"connection_id":109411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:02:31] local.INFO: Packet analysis {"connection_id":109411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:02:31] local.INFO: Extracted packet for processing {"connection_id":109411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:02:31] 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-06-21 10:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:02:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":109411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:02:31] local.INFO: GPS data processed {"connection_id":109411,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:02:31] local.INFO: Acknowledgment sent {"connection_id":109411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:02:52] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:02:52] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:02:52] local.INFO: IMEI packet received {"connection_id":110363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":110363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:02:57] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:02:57] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:02:57] local.INFO: IMEI packet received {"connection_id":110363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":110363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:03:00] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:03:00] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:03:00] local.INFO: Packet analysis {"connection_id":110363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:03:00] local.INFO: Extracted packet for processing {"connection_id":110363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:03:00] 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-06-21 10:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:03:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":110363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:03:00] local.INFO: GPS data processed {"connection_id":110363,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:03:00] local.INFO: Acknowledgment sent {"connection_id":110363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:03:32] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:03:32] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:03:32] local.INFO: Packet analysis {"connection_id":110363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:03:32] local.INFO: Extracted packet for processing {"connection_id":110363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:03:32] 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-06-21 10:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:03:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":110363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:03:32] local.INFO: GPS data processed {"connection_id":110363,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:03:32] local.INFO: Acknowledgment sent {"connection_id":110363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:03:52] local.INFO: TCP Data received {"connection_id":109412,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:03:52] local.INFO: Processing buffer {"connection_id":109412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:03:52] local.INFO: IMEI packet received {"connection_id":109412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":109412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:03:57] local.INFO: TCP Data received {"connection_id":109412,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:03:57] local.INFO: Processing buffer {"connection_id":109412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:03:57] local.INFO: IMEI packet received {"connection_id":109412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":109412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:04:00] local.INFO: TCP Data received {"connection_id":109412,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:04:00] local.INFO: Processing buffer {"connection_id":109412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:04:00] local.INFO: Packet analysis {"connection_id":109412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:04:00] local.INFO: Extracted packet for processing {"connection_id":109412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:04:00] 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-06-21 10:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:04:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:04:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":109412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:04:00] local.INFO: GPS data processed {"connection_id":109412,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:04:00] local.INFO: Acknowledgment sent {"connection_id":109412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:04:31] local.INFO: TCP Data received {"connection_id":109412,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:04:31] local.INFO: Processing buffer {"connection_id":109412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:04:31] local.INFO: Packet analysis {"connection_id":109412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:04:31] local.INFO: Extracted packet for processing {"connection_id":109412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:04:31] 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-06-21 10:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:04:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":109412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:04:31] local.INFO: GPS data processed {"connection_id":109412,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:04:31] local.INFO: Acknowledgment sent {"connection_id":109412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:04:58] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:04:58] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:04:58] local.INFO: IMEI packet received {"connection_id":110364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":110364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:05:02] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:02] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:02] local.INFO: IMEI packet received {"connection_id":110364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":110364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:05:04] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:05:04] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:05:04] local.INFO: Packet analysis {"connection_id":110364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:05:04] local.INFO: Extracted packet for processing {"connection_id":110364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:05: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-06-21 10:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:05:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":110364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:05:04] local.INFO: GPS data processed {"connection_id":110364,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:05:04] local.INFO: Acknowledgment sent {"connection_id":110364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:05:07] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:05:07] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8719390012d34c14006aa3d280005011728..."} 
[2026-06-21 10:05:07] local.INFO: Packet analysis {"connection_id":110364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:05:07] local.INFO: Extracted packet for processing {"connection_id":110364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee871"} 
[2026-06-21 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196074752001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:05:07] 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-06-21 10:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782016218000,"timestamp_ms":1782016218000,"timestamp_seconds":1782016218,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8719390"} 
[2026-06-21 10:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196074752001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196074752001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196074752001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":110364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:05:07] local.INFO: GPS data processed {"connection_id":110364,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:05:07] local.INFO: Acknowledgment sent {"connection_id":110364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:05:52] local.INFO: TCP Data received {"connection_id":109413,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:52] local.INFO: Processing buffer {"connection_id":109413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:52] local.INFO: IMEI packet received {"connection_id":109413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":109413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:05:57] local.INFO: TCP Data received {"connection_id":109413,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:57] local.INFO: Processing buffer {"connection_id":109413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:05:57] local.INFO: IMEI packet received {"connection_id":109413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":109413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:06:00] local.INFO: TCP Data received {"connection_id":109413,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:06:00] local.INFO: Processing buffer {"connection_id":109413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:06:00] local.INFO: Packet analysis {"connection_id":109413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:06:00] local.INFO: Extracted packet for processing {"connection_id":109413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:06:00] 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-06-21 10:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:06:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":109413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:06:00] local.INFO: GPS data processed {"connection_id":109413,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:06:00] local.INFO: Acknowledgment sent {"connection_id":109413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:06:31] local.INFO: TCP Data received {"connection_id":109413,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:06:31] local.INFO: Processing buffer {"connection_id":109413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:06:31] local.INFO: Packet analysis {"connection_id":109413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:06:31] local.INFO: Extracted packet for processing {"connection_id":109413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:06:31] 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-06-21 10:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:06:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":109413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:06:31] local.INFO: GPS data processed {"connection_id":109413,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:06:31] local.INFO: Acknowledgment sent {"connection_id":109413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:06:33] local.INFO: TCP Data received {"connection_id":110365,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:06:33] local.INFO: Processing buffer {"connection_id":110365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:06:33] local.INFO: IMEI packet received {"connection_id":110365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":110365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:06:52] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:06:52] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:06:52] local.INFO: IMEI packet received {"connection_id":110366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":110366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:06:57] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:06:57] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:06:57] local.INFO: IMEI packet received {"connection_id":110366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":110366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:07:00] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:07:00] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:07:00] local.INFO: Packet analysis {"connection_id":110366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:07:00] local.INFO: Extracted packet for processing {"connection_id":110366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:07:00] 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-06-21 10:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":110366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:07:00] local.INFO: GPS data processed {"connection_id":110366,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:07:00] local.INFO: Acknowledgment sent {"connection_id":110366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:07:13] local.INFO: TCP Data received {"connection_id":110367,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:07:13] local.INFO: Processing buffer {"connection_id":110367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:07:13] local.INFO: IMEI packet received {"connection_id":110367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":110367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:07:32] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:07:32] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:07:32] local.INFO: Packet analysis {"connection_id":110366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:07:32] local.INFO: Extracted packet for processing {"connection_id":110366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:07:32] 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-06-21 10:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:07:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":110366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:07:32] local.INFO: GPS data processed {"connection_id":110366,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:07:32] local.INFO: Acknowledgment sent {"connection_id":110366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:07:57] local.INFO: TCP Data received {"connection_id":109414,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:07:57] local.INFO: Processing buffer {"connection_id":109414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:07:57] local.INFO: IMEI packet received {"connection_id":109414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":109414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:08:02] local.INFO: TCP Data received {"connection_id":109414,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:02] local.INFO: Processing buffer {"connection_id":109414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:02] local.INFO: IMEI packet received {"connection_id":109414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":109414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:08:04] local.INFO: TCP Data received {"connection_id":109414,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:04] local.INFO: Processing buffer {"connection_id":109414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:04] local.INFO: Packet analysis {"connection_id":109414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:08:04] local.INFO: Extracted packet for processing {"connection_id":109414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08: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-06-21 10:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:08:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":109414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:08:04] local.INFO: GPS data processed {"connection_id":109414,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:08:04] local.INFO: Acknowledgment sent {"connection_id":109414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:08:08] local.INFO: TCP Data received {"connection_id":109414,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:08] local.INFO: Processing buffer {"connection_id":109414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:08] local.INFO: Packet analysis {"connection_id":109414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:08:08] local.INFO: Extracted packet for processing {"connection_id":109414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:08] 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-06-21 10:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":109414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:08:08] local.INFO: GPS data processed {"connection_id":109414,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:08:08] local.INFO: Acknowledgment sent {"connection_id":109414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:08:52] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:52] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:52] local.INFO: IMEI packet received {"connection_id":110368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":110368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:08:57] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:57] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:08:57] local.INFO: IMEI packet received {"connection_id":110368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":110368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:08:59] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:59] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:08:59] local.INFO: Packet analysis {"connection_id":110368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:08:59] local.INFO: Extracted packet for processing {"connection_id":110368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 10:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 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-06-21 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 10:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:08:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":110368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:08:59] local.INFO: GPS data processed {"connection_id":110368,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:08:59] local.INFO: Acknowledgment sent {"connection_id":110368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:09:31] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:09:31] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:09:31] local.INFO: Packet analysis {"connection_id":110368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:09:31] local.INFO: Extracted packet for processing {"connection_id":110368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:09:31] 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-06-21 10:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:09:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":110368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:09:31] local.INFO: GPS data processed {"connection_id":110368,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:09:31] local.INFO: Acknowledgment sent {"connection_id":110368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:09:53] local.INFO: TCP Data received {"connection_id":108626,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:09:53] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:09:53] local.INFO: IMEI packet received {"connection_id":108626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":108626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:09:57] local.INFO: TCP Data received {"connection_id":108626,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:09:57] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:09:57] local.INFO: IMEI packet received {"connection_id":108626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":108626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:09:59] local.INFO: TCP Data received {"connection_id":108626,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:09:59] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:09:59] local.INFO: Packet analysis {"connection_id":108626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:09:59] local.INFO: Extracted packet for processing {"connection_id":108626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":108626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:09:59] local.INFO: GPS data processed {"connection_id":108626,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:09:59] local.INFO: Acknowledgment sent {"connection_id":108626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:10:31] local.INFO: TCP Data received {"connection_id":108626,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:10:31] local.INFO: Processing buffer {"connection_id":108626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8762b58012d34c14006aa3d280009011729..."} 
[2026-06-21 10:10:31] local.INFO: Packet analysis {"connection_id":108626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:10:31] local.INFO: Extracted packet for processing {"connection_id":108626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee876"} 
[2026-06-21 10:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196151808001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:10:31] 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-06-21 10:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782016519000,"timestamp_ms":1782016519000,"timestamp_seconds":1782016519,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8762b58"} 
[2026-06-21 10:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196151808001,"66":25451,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196151808001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196151808001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":108626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:10:31] local.INFO: GPS data processed {"connection_id":108626,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:10:31] local.INFO: Acknowledgment sent {"connection_id":108626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:10:52] local.INFO: TCP Data received {"connection_id":108816,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:10:52] local.INFO: Processing buffer {"connection_id":108816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:10:52] local.INFO: IMEI packet received {"connection_id":108816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":108816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:10:57] local.INFO: TCP Data received {"connection_id":108816,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:10:57] local.INFO: Processing buffer {"connection_id":108816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:10:57] local.INFO: IMEI packet received {"connection_id":108816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":108816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:11:00] local.INFO: TCP Data received {"connection_id":108816,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:11:00] local.INFO: Processing buffer {"connection_id":108816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:11:00] local.INFO: Packet analysis {"connection_id":108816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:11:00] local.INFO: Extracted packet for processing {"connection_id":108816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:11:00] 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-06-21 10:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":108816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:11:00] local.INFO: GPS data processed {"connection_id":108816,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:11:00] local.INFO: Acknowledgment sent {"connection_id":108816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:11:32] local.INFO: TCP Data received {"connection_id":108816,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:11:32] local.INFO: Processing buffer {"connection_id":108816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:11:32] local.INFO: Packet analysis {"connection_id":108816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:11:32] local.INFO: Extracted packet for processing {"connection_id":108816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:11:32] 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-06-21 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":108816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:11:32] local.INFO: GPS data processed {"connection_id":108816,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:11:32] local.INFO: Acknowledgment sent {"connection_id":108816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:11:57] local.INFO: TCP Data received {"connection_id":110369,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:11:57] local.INFO: Processing buffer {"connection_id":110369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:11:57] local.INFO: IMEI packet received {"connection_id":110369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":110369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:12:02] local.INFO: TCP Data received {"connection_id":110369,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:02] local.INFO: Processing buffer {"connection_id":110369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:02] local.INFO: IMEI packet received {"connection_id":110369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":110369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:12:04] local.INFO: TCP Data received {"connection_id":110369,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:12:04] local.INFO: Processing buffer {"connection_id":110369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:12:04] local.INFO: Packet analysis {"connection_id":110369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:12:04] local.INFO: Extracted packet for processing {"connection_id":110369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:12: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-06-21 10:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:12:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":110369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:12:04] local.INFO: GPS data processed {"connection_id":110369,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:12:04] local.INFO: Acknowledgment sent {"connection_id":110369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:12:08] local.INFO: TCP Data received {"connection_id":110369,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:12:08] local.INFO: Processing buffer {"connection_id":110369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:12:08] local.INFO: Packet analysis {"connection_id":110369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:12:08] local.INFO: Extracted packet for processing {"connection_id":110369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:12:08] 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-06-21 10:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:12:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":110369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:12:09] local.INFO: GPS data processed {"connection_id":110369,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:12:09] local.INFO: Acknowledgment sent {"connection_id":110369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:12:42] local.INFO: TCP Data received {"connection_id":108818,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:12:42] local.INFO: Processing buffer {"connection_id":108818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:12:42] local.INFO: IMEI packet received {"connection_id":108818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":108818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:12:52] local.INFO: TCP Data received {"connection_id":108819,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:52] local.INFO: Processing buffer {"connection_id":108819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:52] local.INFO: IMEI packet received {"connection_id":108819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":108819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:12:57] local.INFO: TCP Data received {"connection_id":108819,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:57] local.INFO: Processing buffer {"connection_id":108819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:12:57] local.INFO: IMEI packet received {"connection_id":108819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":108819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:13:00] local.INFO: TCP Data received {"connection_id":108819,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:00] local.INFO: Processing buffer {"connection_id":108819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:00] local.INFO: Packet analysis {"connection_id":108819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:13:00] local.INFO: Extracted packet for processing {"connection_id":108819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:00] 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-06-21 10:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":108819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:13:00] local.INFO: GPS data processed {"connection_id":108819,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:13:00] local.INFO: Acknowledgment sent {"connection_id":108819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:13:12] local.INFO: TCP Data received {"connection_id":110370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:13:12] local.INFO: Processing buffer {"connection_id":110370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:13:12] local.INFO: IMEI packet received {"connection_id":110370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":110370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:13:32] local.INFO: TCP Data received {"connection_id":108819,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:32] local.INFO: Processing buffer {"connection_id":108819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:32] local.INFO: Packet analysis {"connection_id":108819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:13:32] local.INFO: Extracted packet for processing {"connection_id":108819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:32] 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-06-21 10:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":108819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:13:32] local.INFO: GPS data processed {"connection_id":108819,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:13:32] local.INFO: Acknowledgment sent {"connection_id":108819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:13:52] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:13:52] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:13:52] local.INFO: IMEI packet received {"connection_id":110371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":110371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:13:57] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:13:57] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:13:57] local.INFO: IMEI packet received {"connection_id":110371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":110371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:13:59] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:59] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:13:59] local.INFO: Packet analysis {"connection_id":110371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:13:59] local.INFO: Extracted packet for processing {"connection_id":110371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:13:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":110371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:13:59] local.INFO: GPS data processed {"connection_id":110371,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:13:59] local.INFO: Acknowledgment sent {"connection_id":110371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:14:30] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:14:30] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:14:30] local.INFO: Packet analysis {"connection_id":110371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:14:30] local.INFO: Extracted packet for processing {"connection_id":110371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:14:30] 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-06-21 10:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":110371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:14:30] local.INFO: GPS data processed {"connection_id":110371,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:14:30] local.INFO: Acknowledgment sent {"connection_id":110371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:14:52] local.INFO: TCP Data received {"connection_id":109415,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:14:52] local.INFO: Processing buffer {"connection_id":109415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:14:52] local.INFO: IMEI packet received {"connection_id":109415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":109415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:14:57] local.INFO: TCP Data received {"connection_id":109415,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:14:57] local.INFO: Processing buffer {"connection_id":109415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:14:57] local.INFO: IMEI packet received {"connection_id":109415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":109415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:15:00] local.INFO: TCP Data received {"connection_id":109415,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:00] local.INFO: Processing buffer {"connection_id":109415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:00] local.INFO: Packet analysis {"connection_id":109415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:15:00] local.INFO: Extracted packet for processing {"connection_id":109415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:00] 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-06-21 10:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:15:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":109415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:15:00] local.INFO: GPS data processed {"connection_id":109415,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:15:00] local.INFO: Acknowledgment sent {"connection_id":109415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:15:32] local.INFO: TCP Data received {"connection_id":109415,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:32] local.INFO: Processing buffer {"connection_id":109415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:32] local.INFO: Packet analysis {"connection_id":109415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:15:32] local.INFO: Extracted packet for processing {"connection_id":109415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:32] 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-06-21 10:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:15:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":109415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:15:32] local.INFO: GPS data processed {"connection_id":109415,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:15:32] local.INFO: Acknowledgment sent {"connection_id":109415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:15:52] local.INFO: TCP Data received {"connection_id":109416,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:15:52] local.INFO: Processing buffer {"connection_id":109416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:15:52] local.INFO: IMEI packet received {"connection_id":109416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":109416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:15:57] local.INFO: TCP Data received {"connection_id":109416,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:15:57] local.INFO: Processing buffer {"connection_id":109416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:15:57] local.INFO: IMEI packet received {"connection_id":109416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":109416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:15:59] local.INFO: TCP Data received {"connection_id":109416,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:59] local.INFO: Processing buffer {"connection_id":109416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87ac320012d34c14006aa3d28000801172a..."} 
[2026-06-21 10:15:59] local.INFO: Packet analysis {"connection_id":109416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:15:59] local.INFO: Extracted packet for processing {"connection_id":109416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87a"} 
[2026-06-21 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196228864001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782016820000,"timestamp_ms":1782016820000,"timestamp_seconds":1782016820,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87ac320"} 
[2026-06-21 10:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 10:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196228864001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196228864001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:15:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196228864001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":109416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:15:59] local.INFO: GPS data processed {"connection_id":109416,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:15:59] local.INFO: Acknowledgment sent {"connection_id":109416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:16:31] local.INFO: TCP Data received {"connection_id":109416,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:16:31] local.INFO: Processing buffer {"connection_id":109416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:16:31] local.INFO: Packet analysis {"connection_id":109416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:16:31] local.INFO: Extracted packet for processing {"connection_id":109416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:16:31] 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-06-21 10:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:16:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":109416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:16:31] local.INFO: GPS data processed {"connection_id":109416,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:16:31] local.INFO: Acknowledgment sent {"connection_id":109416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:16:52] local.INFO: TCP Data received {"connection_id":110372,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:16:52] local.INFO: Processing buffer {"connection_id":110372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:16:52] local.INFO: IMEI packet received {"connection_id":110372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":110372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:16:57] local.INFO: TCP Data received {"connection_id":110372,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:16:57] local.INFO: Processing buffer {"connection_id":110372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:16:57] local.INFO: IMEI packet received {"connection_id":110372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":110372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:17:00] local.INFO: TCP Data received {"connection_id":110372,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:00] local.INFO: Processing buffer {"connection_id":110372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:00] local.INFO: Packet analysis {"connection_id":110372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:17:00] local.INFO: Extracted packet for processing {"connection_id":110372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:00] 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-06-21 10:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:17:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":110372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:17:00] local.INFO: GPS data processed {"connection_id":110372,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:17:00] local.INFO: Acknowledgment sent {"connection_id":110372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:17:31] local.INFO: TCP Data received {"connection_id":110372,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:31] local.INFO: Processing buffer {"connection_id":110372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:31] local.INFO: Packet analysis {"connection_id":110372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:17:31] local.INFO: Extracted packet for processing {"connection_id":110372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:31] 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-06-21 10:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":110372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:17:31] local.INFO: GPS data processed {"connection_id":110372,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:17:31] local.INFO: Acknowledgment sent {"connection_id":110372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:17:52] local.INFO: TCP Data received {"connection_id":108821,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:17:52] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:17:52] local.INFO: IMEI packet received {"connection_id":108821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":108821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:17:57] local.INFO: TCP Data received {"connection_id":108821,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:17:57] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:17:57] local.INFO: IMEI packet received {"connection_id":108821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":108821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:17:59] local.INFO: TCP Data received {"connection_id":108821,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:59] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:17:59] local.INFO: Packet analysis {"connection_id":108821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:17:59] local.INFO: Extracted packet for processing {"connection_id":108821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":108821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:18:00] local.INFO: GPS data processed {"connection_id":108821,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:18:00] local.INFO: Acknowledgment sent {"connection_id":108821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:18:31] local.INFO: TCP Data received {"connection_id":108821,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:18:31] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:18:31] local.INFO: Packet analysis {"connection_id":108821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:18:31] local.INFO: Extracted packet for processing {"connection_id":108821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:18:31] 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-06-21 10:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:18:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":108821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:18:31] local.INFO: GPS data processed {"connection_id":108821,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:18:31] local.INFO: Acknowledgment sent {"connection_id":108821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:18:33] local.INFO: TCP Data received {"connection_id":108630,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:18:33] local.INFO: Processing buffer {"connection_id":108630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:18:33] local.INFO: IMEI packet received {"connection_id":108630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":108630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:18:52] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:18:52] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:18:52] local.INFO: IMEI packet received {"connection_id":110373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":110373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:18:57] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:18:57] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:18:57] local.INFO: IMEI packet received {"connection_id":110373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":110373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:19:00] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:19:00] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:19:00] local.INFO: Packet analysis {"connection_id":110373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:19:00] local.INFO: Extracted packet for processing {"connection_id":110373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:19:00] 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-06-21 10:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:19:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":110373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:19:00] local.INFO: GPS data processed {"connection_id":110373,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:19:00] local.INFO: Acknowledgment sent {"connection_id":110373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:19:12] local.INFO: TCP Data received {"connection_id":109417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:19:12] local.INFO: Processing buffer {"connection_id":109417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:19:12] local.INFO: IMEI packet received {"connection_id":109417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":109417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:19:31] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:19:31] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:19:31] local.INFO: Packet analysis {"connection_id":110373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:19:31] local.INFO: Extracted packet for processing {"connection_id":110373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:19:31] 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-06-21 10:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:19:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":110373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:19:31] local.INFO: GPS data processed {"connection_id":110373,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:19:31] local.INFO: Acknowledgment sent {"connection_id":110373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:19:57] local.INFO: TCP Data received {"connection_id":108631,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:19:57] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:19:57] local.INFO: IMEI packet received {"connection_id":108631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":108631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:20:02] local.INFO: TCP Data received {"connection_id":108631,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:02] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:02] local.INFO: IMEI packet received {"connection_id":108631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":108631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:20:04] local.INFO: TCP Data received {"connection_id":108631,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:20:04] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:20:04] local.INFO: Packet analysis {"connection_id":108631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:20:04] local.INFO: Extracted packet for processing {"connection_id":108631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:20: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-06-21 10:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:20:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":108631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:20:04] local.INFO: GPS data processed {"connection_id":108631,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:20:04] local.INFO: Acknowledgment sent {"connection_id":108631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:20:08] local.INFO: TCP Data received {"connection_id":108631,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:20:08] local.INFO: Processing buffer {"connection_id":108631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:20:08] local.INFO: Packet analysis {"connection_id":108631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:20:08] local.INFO: Extracted packet for processing {"connection_id":108631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:20:08] 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-06-21 10:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":108631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:20:08] local.INFO: GPS data processed {"connection_id":108631,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:20:08] local.INFO: Acknowledgment sent {"connection_id":108631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:20:52] local.INFO: TCP Data received {"connection_id":110374,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:52] local.INFO: Processing buffer {"connection_id":110374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:52] local.INFO: IMEI packet received {"connection_id":110374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":110374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:20:58] local.INFO: TCP Data received {"connection_id":110374,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:58] local.INFO: Processing buffer {"connection_id":110374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:20:58] local.INFO: IMEI packet received {"connection_id":110374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":110374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:21:00] local.INFO: TCP Data received {"connection_id":110374,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:21:00] local.INFO: Processing buffer {"connection_id":110374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee87f5ae8012d34c14006aa3d28000801172b..."} 
[2026-06-21 10:21:00] local.INFO: Packet analysis {"connection_id":110374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:21:00] local.INFO: Extracted packet for processing {"connection_id":110374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee87f"} 
[2026-06-21 10:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196305920001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:21:00] 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-06-21 10:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782017121000,"timestamp_ms":1782017121000,"timestamp_seconds":1782017121,"priority":1,"record_length":96,"hex_timestamp":"0000019ee87f5ae8"} 
[2026-06-21 10:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 10:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196305920001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196305920001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:21:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196305920001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":110374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:21:00] local.INFO: GPS data processed {"connection_id":110374,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:21:00] local.INFO: Acknowledgment sent {"connection_id":110374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:21:31] local.INFO: TCP Data received {"connection_id":110374,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:21:31] local.INFO: Processing buffer {"connection_id":110374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:21:31] local.INFO: Packet analysis {"connection_id":110374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:21:31] local.INFO: Extracted packet for processing {"connection_id":110374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:21:31] 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-06-21 10:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:21:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":110374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:21:31] local.INFO: GPS data processed {"connection_id":110374,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:21:31] local.INFO: Acknowledgment sent {"connection_id":110374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:21:52] local.INFO: TCP Data received {"connection_id":109420,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:21:52] local.INFO: Processing buffer {"connection_id":109420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:21:52] local.INFO: IMEI packet received {"connection_id":109420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":109420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:21:57] local.INFO: TCP Data received {"connection_id":109420,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:21:57] local.INFO: Processing buffer {"connection_id":109420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:21:57] local.INFO: IMEI packet received {"connection_id":109420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":109420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:22:00] local.INFO: TCP Data received {"connection_id":109420,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:00] local.INFO: Processing buffer {"connection_id":109420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:00] local.INFO: Packet analysis {"connection_id":109420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:22:00] local.INFO: Extracted packet for processing {"connection_id":109420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:00] 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-06-21 10:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":109420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:22:00] local.INFO: GPS data processed {"connection_id":109420,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:22:00] local.INFO: Acknowledgment sent {"connection_id":109420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:22:31] local.INFO: TCP Data received {"connection_id":109420,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:31] local.INFO: Processing buffer {"connection_id":109420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:31] local.INFO: Packet analysis {"connection_id":109420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:22:31] local.INFO: Extracted packet for processing {"connection_id":109420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:31] 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-06-21 10:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:22:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":109420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:22:31] local.INFO: GPS data processed {"connection_id":109420,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:22:31] local.INFO: Acknowledgment sent {"connection_id":109420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:22:52] local.INFO: TCP Data received {"connection_id":108632,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:22:52] local.INFO: Processing buffer {"connection_id":108632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:22:52] local.INFO: IMEI packet received {"connection_id":108632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":108632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:22:57] local.INFO: TCP Data received {"connection_id":108632,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:22:57] local.INFO: Processing buffer {"connection_id":108632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:22:57] local.INFO: IMEI packet received {"connection_id":108632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":108632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:22:58] local.INFO: TCP Data received {"connection_id":108632,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:58] local.INFO: Processing buffer {"connection_id":108632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:22:58] local.INFO: Packet analysis {"connection_id":108632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:22:58] local.INFO: Extracted packet for processing {"connection_id":108632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:22:58] 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-06-21 10:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":108632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:22:59] local.INFO: GPS data processed {"connection_id":108632,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:22:59] local.INFO: Acknowledgment sent {"connection_id":108632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:23:30] local.INFO: TCP Data received {"connection_id":108632,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:23:30] local.INFO: Processing buffer {"connection_id":108632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:23:30] local.INFO: Packet analysis {"connection_id":108632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:23:30] local.INFO: Extracted packet for processing {"connection_id":108632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:23:30] 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-06-21 10:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:23:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":108632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:23:30] local.INFO: GPS data processed {"connection_id":108632,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:23:30] local.INFO: Acknowledgment sent {"connection_id":108632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:23:57] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:23:57] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:23:57] local.INFO: IMEI packet received {"connection_id":110376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":110376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:24:02] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:02] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:02] local.INFO: IMEI packet received {"connection_id":110376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":110376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:24:04] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:04] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:04] local.INFO: Packet analysis {"connection_id":110376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:24:04] local.INFO: Extracted packet for processing {"connection_id":110376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24: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-06-21 10:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":110376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:24:04] local.INFO: GPS data processed {"connection_id":110376,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:24:04] local.INFO: Acknowledgment sent {"connection_id":110376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:24:08] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:08] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:08] local.INFO: Packet analysis {"connection_id":110376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:24:08] local.INFO: Extracted packet for processing {"connection_id":110376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:08] 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-06-21 10:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:24:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":110376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:24:09] local.INFO: GPS data processed {"connection_id":110376,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:24:09] local.INFO: Acknowledgment sent {"connection_id":110376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:24:33] local.INFO: TCP Data received {"connection_id":109421,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:24:33] local.INFO: Processing buffer {"connection_id":109421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:24:33] local.INFO: IMEI packet received {"connection_id":109421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":109421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:24:52] local.INFO: TCP Data received {"connection_id":108822,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:52] local.INFO: Processing buffer {"connection_id":108822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:52] local.INFO: IMEI packet received {"connection_id":108822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":108822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:24:57] local.INFO: TCP Data received {"connection_id":108822,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:57] local.INFO: Processing buffer {"connection_id":108822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:24:57] local.INFO: IMEI packet received {"connection_id":108822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":108822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:24:58] local.INFO: TCP Data received {"connection_id":108822,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:58] local.INFO: Processing buffer {"connection_id":108822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:24:58] local.INFO: Packet analysis {"connection_id":108822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:24:58] local.INFO: Extracted packet for processing {"connection_id":108822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:24:58] 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-06-21 10:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:24:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":108822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:24:58] local.INFO: GPS data processed {"connection_id":108822,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:24:58] local.INFO: Acknowledgment sent {"connection_id":108822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:25:13] local.INFO: TCP Data received {"connection_id":108823,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:25:13] local.INFO: Processing buffer {"connection_id":108823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:25:13] local.INFO: IMEI packet received {"connection_id":108823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":108823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:25:30] local.INFO: TCP Data received {"connection_id":108822,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:25:30] local.INFO: Processing buffer {"connection_id":108822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:25:30] local.INFO: Packet analysis {"connection_id":108822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:25:30] local.INFO: Extracted packet for processing {"connection_id":108822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:25:30] 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-06-21 10:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":108822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:25:30] local.INFO: GPS data processed {"connection_id":108822,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:25:30] local.INFO: Acknowledgment sent {"connection_id":108822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:25:52] local.INFO: TCP Data received {"connection_id":108634,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:25:52] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:25:52] local.INFO: IMEI packet received {"connection_id":108634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":108634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:25:57] local.INFO: TCP Data received {"connection_id":108634,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:25:57] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:25:57] local.INFO: IMEI packet received {"connection_id":108634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":108634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:25:59] local.INFO: TCP Data received {"connection_id":108634,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:25:59] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee883f2b0012d34c14006aa3d28000a01172d..."} 
[2026-06-21 10:25:59] local.INFO: Packet analysis {"connection_id":108634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:25:59] local.INFO: Extracted packet for processing {"connection_id":108634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee883"} 
[2026-06-21 10:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196382976001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782017422000,"timestamp_ms":1782017422000,"timestamp_seconds":1782017422,"priority":1,"record_length":96,"hex_timestamp":"0000019ee883f2b0"} 
[2026-06-21 10:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196382976001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196382976001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196382976001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":108634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:25:59] local.INFO: GPS data processed {"connection_id":108634,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:25:59] local.INFO: Acknowledgment sent {"connection_id":108634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:26:31] local.INFO: TCP Data received {"connection_id":108634,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:26:31] local.INFO: Processing buffer {"connection_id":108634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:26:31] local.INFO: Packet analysis {"connection_id":108634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:26:31] local.INFO: Extracted packet for processing {"connection_id":108634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:26:31] 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-06-21 10:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":108634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:26:31] local.INFO: GPS data processed {"connection_id":108634,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:26:31] local.INFO: Acknowledgment sent {"connection_id":108634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:26:57] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:26:57] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:26:57] local.INFO: IMEI packet received {"connection_id":110377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":110377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:27:03] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:03] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:03] local.INFO: IMEI packet received {"connection_id":110377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":110377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:27:04] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:27:04] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:27:04] local.INFO: Packet analysis {"connection_id":110377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:27:04] local.INFO: Extracted packet for processing {"connection_id":110377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 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-06-21 10:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:27: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-06-21 10:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 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-06-21 10:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 10:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":110377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:27:04] local.INFO: GPS data processed {"connection_id":110377,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:27:04] local.INFO: Acknowledgment sent {"connection_id":110377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:27:09] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:27:09] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:27:09] local.INFO: Packet analysis {"connection_id":110377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:27:09] local.INFO: Extracted packet for processing {"connection_id":110377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:27: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-06-21 10:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":110377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:27:09] local.INFO: GPS data processed {"connection_id":110377,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:27:09] local.INFO: Acknowledgment sent {"connection_id":110377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:27:52] local.INFO: TCP Data received {"connection_id":108635,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:52] local.INFO: Processing buffer {"connection_id":108635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:52] local.INFO: IMEI packet received {"connection_id":108635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":108635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:27:57] local.INFO: TCP Data received {"connection_id":108635,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:57] local.INFO: Processing buffer {"connection_id":108635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:27:57] local.INFO: IMEI packet received {"connection_id":108635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":108635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:28:00] local.INFO: TCP Data received {"connection_id":108635,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:00] local.INFO: Processing buffer {"connection_id":108635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:00] local.INFO: Packet analysis {"connection_id":108635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:28:00] local.INFO: Extracted packet for processing {"connection_id":108635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:00] 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-06-21 10:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:28:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":108635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:28:00] local.INFO: GPS data processed {"connection_id":108635,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:28:00] local.INFO: Acknowledgment sent {"connection_id":108635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:28:31] local.INFO: TCP Data received {"connection_id":108635,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:31] local.INFO: Processing buffer {"connection_id":108635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:31] local.INFO: Packet analysis {"connection_id":108635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:28:31] local.INFO: Extracted packet for processing {"connection_id":108635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:31] 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-06-21 10:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:28:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":108635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:28:31] local.INFO: GPS data processed {"connection_id":108635,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:28:31] local.INFO: Acknowledgment sent {"connection_id":108635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:28:53] local.INFO: TCP Data received {"connection_id":109424,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:28:53] local.INFO: Processing buffer {"connection_id":109424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:28:53] local.INFO: IMEI packet received {"connection_id":109424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":109424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:28:57] local.INFO: TCP Data received {"connection_id":109424,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:28:57] local.INFO: Processing buffer {"connection_id":109424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:28:57] local.INFO: IMEI packet received {"connection_id":109424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":109424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:28:59] local.INFO: TCP Data received {"connection_id":109424,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:59] local.INFO: Processing buffer {"connection_id":109424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:28:59] local.INFO: Packet analysis {"connection_id":109424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:28:59] local.INFO: Extracted packet for processing {"connection_id":109424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":109424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:28:59] local.INFO: GPS data processed {"connection_id":109424,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:28:59] local.INFO: Acknowledgment sent {"connection_id":109424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:29:31] local.INFO: TCP Data received {"connection_id":109424,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:29:31] local.INFO: Processing buffer {"connection_id":109424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:29:31] local.INFO: Packet analysis {"connection_id":109424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:29:31] local.INFO: Extracted packet for processing {"connection_id":109424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:29:31] 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-06-21 10:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:29:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":109424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:29:31] local.INFO: GPS data processed {"connection_id":109424,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:29:31] local.INFO: Acknowledgment sent {"connection_id":109424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:29:52] local.INFO: TCP Data received {"connection_id":110378,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:29:52] local.INFO: Processing buffer {"connection_id":110378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:29:52] local.INFO: IMEI packet received {"connection_id":110378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":110378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:29:57] local.INFO: TCP Data received {"connection_id":110378,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:29:57] local.INFO: Processing buffer {"connection_id":110378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:29:57] local.INFO: IMEI packet received {"connection_id":110378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":110378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:29:59] local.INFO: TCP Data received {"connection_id":110378,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:29:59] local.INFO: Processing buffer {"connection_id":110378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:29:59] local.INFO: Packet analysis {"connection_id":110378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:29:59] local.INFO: Extracted packet for processing {"connection_id":110378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":110378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:29:59] local.INFO: GPS data processed {"connection_id":110378,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:29:59] local.INFO: Acknowledgment sent {"connection_id":110378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:30:30] local.INFO: TCP Data received {"connection_id":110378,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:30:30] local.INFO: Processing buffer {"connection_id":110378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:30:30] local.INFO: Packet analysis {"connection_id":110378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:30:30] local.INFO: Extracted packet for processing {"connection_id":110378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:30:30] 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-06-21 10:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:30:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":110378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:30:30] local.INFO: GPS data processed {"connection_id":110378,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:30:30] local.INFO: Acknowledgment sent {"connection_id":110378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:30:38] local.INFO: TCP Data received {"connection_id":109425,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:30:38] local.INFO: Processing buffer {"connection_id":109425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:30:38] local.INFO: IMEI packet received {"connection_id":109425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":109425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:30:52] local.INFO: TCP Data received {"connection_id":108637,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:30:52] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:30:52] local.INFO: IMEI packet received {"connection_id":108637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":108637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:30:57] local.INFO: TCP Data received {"connection_id":108637,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:30:57] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:30:57] local.INFO: IMEI packet received {"connection_id":108637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":108637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:30:59] local.INFO: TCP Data received {"connection_id":108637,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:30:59] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8888a78012d34c14006aa3d28000701172a..."} 
[2026-06-21 10:30:59] local.INFO: Packet analysis {"connection_id":108637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:30:59] local.INFO: Extracted packet for processing {"connection_id":108637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee888"} 
[2026-06-21 10:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196460032001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782017723000,"timestamp_ms":1782017723000,"timestamp_seconds":1782017723,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8888a78"} 
[2026-06-21 10:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 10:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196460032001,"66":25180,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196460032001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196460032001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":108637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:30:59] local.INFO: GPS data processed {"connection_id":108637,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:30:59] local.INFO: Acknowledgment sent {"connection_id":108637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:31:12] local.INFO: TCP Data received {"connection_id":108825,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:31:12] local.INFO: Processing buffer {"connection_id":108825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:31:12] local.INFO: IMEI packet received {"connection_id":108825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":108825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:31:30] local.INFO: TCP Data received {"connection_id":108637,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:31:30] local.INFO: Processing buffer {"connection_id":108637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:31:30] local.INFO: Packet analysis {"connection_id":108637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:31:30] local.INFO: Extracted packet for processing {"connection_id":108637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:31:30] 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-06-21 10:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:31:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":108637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:31:30] local.INFO: GPS data processed {"connection_id":108637,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:31:30] local.INFO: Acknowledgment sent {"connection_id":108637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:31:52] local.INFO: TCP Data received {"connection_id":109426,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:31:52] local.INFO: Processing buffer {"connection_id":109426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:31:52] local.INFO: IMEI packet received {"connection_id":109426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":109426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:31:57] local.INFO: TCP Data received {"connection_id":109426,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:31:57] local.INFO: Processing buffer {"connection_id":109426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:31:57] local.INFO: IMEI packet received {"connection_id":109426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":109426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:31:59] local.INFO: TCP Data received {"connection_id":109426,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:31:59] local.INFO: Processing buffer {"connection_id":109426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:31:59] local.INFO: Packet analysis {"connection_id":109426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:31:59] local.INFO: Extracted packet for processing {"connection_id":109426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":109426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:31:59] local.INFO: GPS data processed {"connection_id":109426,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:31:59] local.INFO: Acknowledgment sent {"connection_id":109426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:32:30] local.INFO: TCP Data received {"connection_id":109426,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:32:30] local.INFO: Processing buffer {"connection_id":109426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:32:30] local.INFO: Packet analysis {"connection_id":109426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:32:30] local.INFO: Extracted packet for processing {"connection_id":109426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:32:30] 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-06-21 10:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":109426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:32:30] local.INFO: GPS data processed {"connection_id":109426,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:32:30] local.INFO: Acknowledgment sent {"connection_id":109426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:32:52] local.INFO: TCP Data received {"connection_id":109427,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:32:52] local.INFO: Processing buffer {"connection_id":109427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:32:52] local.INFO: IMEI packet received {"connection_id":109427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":109427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:32:57] local.INFO: TCP Data received {"connection_id":109427,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:32:57] local.INFO: Processing buffer {"connection_id":109427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:32:57] local.INFO: IMEI packet received {"connection_id":109427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":109427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:32:59] local.INFO: TCP Data received {"connection_id":109427,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:32:59] local.INFO: Processing buffer {"connection_id":109427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:32:59] local.INFO: Packet analysis {"connection_id":109427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:32:59] local.INFO: Extracted packet for processing {"connection_id":109427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":109427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:32:59] local.INFO: GPS data processed {"connection_id":109427,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:32:59] local.INFO: Acknowledgment sent {"connection_id":109427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:33:30] local.INFO: TCP Data received {"connection_id":109427,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:33:30] local.INFO: Processing buffer {"connection_id":109427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:33:30] local.INFO: Packet analysis {"connection_id":109427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:33:30] local.INFO: Extracted packet for processing {"connection_id":109427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:33:30] 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-06-21 10:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:33:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":109427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:33:30] local.INFO: GPS data processed {"connection_id":109427,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:33:30] local.INFO: Acknowledgment sent {"connection_id":109427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:33:52] local.INFO: TCP Data received {"connection_id":108638,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:33:52] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:33:52] local.INFO: IMEI packet received {"connection_id":108638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":108638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:33:57] local.INFO: TCP Data received {"connection_id":108638,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:33:57] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:33:57] local.INFO: IMEI packet received {"connection_id":108638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":108638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:33:59] local.INFO: TCP Data received {"connection_id":108638,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:33:59] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:33:59] local.INFO: Packet analysis {"connection_id":108638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:33:59] local.INFO: Extracted packet for processing {"connection_id":108638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:33:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":108638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:33:59] local.INFO: GPS data processed {"connection_id":108638,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:33:59] local.INFO: Acknowledgment sent {"connection_id":108638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:34:31] local.INFO: TCP Data received {"connection_id":108638,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:34:31] local.INFO: Processing buffer {"connection_id":108638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:34:31] local.INFO: Packet analysis {"connection_id":108638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:34:31] local.INFO: Extracted packet for processing {"connection_id":108638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:34:31] 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-06-21 10:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:34:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":108638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:34:31] local.INFO: GPS data processed {"connection_id":108638,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:34:31] local.INFO: Acknowledgment sent {"connection_id":108638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:34:52] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:34:52] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:34:52] local.INFO: IMEI packet received {"connection_id":110380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":110380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:34:57] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:34:57] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:34:57] local.INFO: IMEI packet received {"connection_id":110380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":110380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:34:59] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:34:59] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:34:59] local.INFO: Packet analysis {"connection_id":110380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:34:59] local.INFO: Extracted packet for processing {"connection_id":110380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":110380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:34:59] local.INFO: GPS data processed {"connection_id":110380,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:34:59] local.INFO: Acknowledgment sent {"connection_id":110380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:35:31] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:35:31] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:35:31] local.INFO: Packet analysis {"connection_id":110380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:35:31] local.INFO: Extracted packet for processing {"connection_id":110380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:35:31] 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-06-21 10:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:35:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":110380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:35:31] local.INFO: GPS data processed {"connection_id":110380,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:35:31] local.INFO: Acknowledgment sent {"connection_id":110380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:35:57] local.INFO: TCP Data received {"connection_id":109428,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:35:57] local.INFO: Processing buffer {"connection_id":109428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:35:57] local.INFO: IMEI packet received {"connection_id":109428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":109428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:36:02] local.INFO: TCP Data received {"connection_id":109428,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:02] local.INFO: Processing buffer {"connection_id":109428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:02] local.INFO: IMEI packet received {"connection_id":109428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":109428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:36:03] local.INFO: TCP Data received {"connection_id":109428,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:36:03] local.INFO: Processing buffer {"connection_id":109428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee88d2240012d34c14006aa3d280009011728..."} 
[2026-06-21 10:36:03] local.INFO: Packet analysis {"connection_id":109428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:36:03] local.INFO: Extracted packet for processing {"connection_id":109428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee88d"} 
[2026-06-21 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196537088001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:03] 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-06-21 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782018024000,"timestamp_ms":1782018024000,"timestamp_seconds":1782018024,"priority":1,"record_length":96,"hex_timestamp":"0000019ee88d2240"} 
[2026-06-21 10:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 10:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196537088001,"66":25397,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196537088001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196537088001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":109428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:36:03] local.INFO: GPS data processed {"connection_id":109428,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:36:03] local.INFO: Acknowledgment sent {"connection_id":109428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:36:04] local.INFO: TCP Data received {"connection_id":109428,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:04] local.INFO: Processing buffer {"connection_id":109428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:04] local.INFO: Packet analysis {"connection_id":109428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:36:04] local.INFO: Extracted packet for processing {"connection_id":109428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36: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-06-21 10:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:36:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":109428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:36:04] local.INFO: GPS data processed {"connection_id":109428,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:36:04] local.INFO: Acknowledgment sent {"connection_id":109428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:36:35] local.INFO: TCP Data received {"connection_id":109428,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:35] local.INFO: Processing buffer {"connection_id":109428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:35] local.INFO: Packet analysis {"connection_id":109428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:36:35] local.INFO: Extracted packet for processing {"connection_id":109428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36: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-06-21 10:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:36:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":109428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:36:35] local.INFO: GPS data processed {"connection_id":109428,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:36:35] local.INFO: Acknowledgment sent {"connection_id":109428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:36:38] local.INFO: TCP Data received {"connection_id":110381,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:36:38] local.INFO: Processing buffer {"connection_id":110381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:36:38] local.INFO: IMEI packet received {"connection_id":110381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":110381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:36:52] local.INFO: TCP Data received {"connection_id":108829,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:52] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:52] local.INFO: IMEI packet received {"connection_id":108829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":108829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:36:57] local.INFO: TCP Data received {"connection_id":108829,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:57] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:36:57] local.INFO: IMEI packet received {"connection_id":108829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":108829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:36:59] local.INFO: TCP Data received {"connection_id":108829,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:59] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:36:59] local.INFO: Packet analysis {"connection_id":108829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:36:59] local.INFO: Extracted packet for processing {"connection_id":108829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":108829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:36:59] local.INFO: GPS data processed {"connection_id":108829,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:36:59] local.INFO: Acknowledgment sent {"connection_id":108829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:37:12] local.INFO: TCP Data received {"connection_id":109429,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:37:12] local.INFO: Processing buffer {"connection_id":109429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:37:12] local.INFO: IMEI packet received {"connection_id":109429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":109429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:37:30] local.INFO: TCP Data received {"connection_id":108829,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:37:30] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:37:30] local.INFO: Packet analysis {"connection_id":108829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:37:30] local.INFO: Extracted packet for processing {"connection_id":108829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:37:30] 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-06-21 10:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:37:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":108829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:37:30] local.INFO: GPS data processed {"connection_id":108829,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:37:30] local.INFO: Acknowledgment sent {"connection_id":108829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:37:52] local.INFO: TCP Data received {"connection_id":109430,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:37:52] local.INFO: Processing buffer {"connection_id":109430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:37:52] local.INFO: IMEI packet received {"connection_id":109430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":109430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:37:57] local.INFO: TCP Data received {"connection_id":109430,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:37:57] local.INFO: Processing buffer {"connection_id":109430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:37:57] local.INFO: IMEI packet received {"connection_id":109430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":109430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:38:00] local.INFO: TCP Data received {"connection_id":109430,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:38:00] local.INFO: Processing buffer {"connection_id":109430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:38:00] local.INFO: Packet analysis {"connection_id":109430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:38:00] local.INFO: Extracted packet for processing {"connection_id":109430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:38:00] 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-06-21 10:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":109430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:38:00] local.INFO: GPS data processed {"connection_id":109430,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:38:00] local.INFO: Acknowledgment sent {"connection_id":109430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:38:31] local.INFO: TCP Data received {"connection_id":109430,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:38:31] local.INFO: Processing buffer {"connection_id":109430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:38:31] local.INFO: Packet analysis {"connection_id":109430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:38:31] local.INFO: Extracted packet for processing {"connection_id":109430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:38:31] 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-06-21 10:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":109430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:38:31] local.INFO: GPS data processed {"connection_id":109430,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:38:31] local.INFO: Acknowledgment sent {"connection_id":109430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:38:57] local.INFO: TCP Data received {"connection_id":108640,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:38:57] local.INFO: Processing buffer {"connection_id":108640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:38:57] local.INFO: IMEI packet received {"connection_id":108640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":108640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:39:02] local.INFO: TCP Data received {"connection_id":108640,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:02] local.INFO: Processing buffer {"connection_id":108640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:02] local.INFO: IMEI packet received {"connection_id":108640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":108640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:39:02] local.INFO: TCP Data received {"connection_id":108640,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:02] local.INFO: Processing buffer {"connection_id":108640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:02] local.INFO: Packet analysis {"connection_id":108640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:39:02] local.INFO: Extracted packet for processing {"connection_id":108640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:02] 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-06-21 10:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":108640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":108640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":108640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:39:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:39:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":108640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:39:02] local.INFO: GPS data processed {"connection_id":108640,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:39:02] local.INFO: Acknowledgment sent {"connection_id":108640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:39:08] local.INFO: TCP Data received {"connection_id":108640,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:08] local.INFO: Processing buffer {"connection_id":108640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:08] local.INFO: Packet analysis {"connection_id":108640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:39:08] local.INFO: Extracted packet for processing {"connection_id":108640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:08] 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-06-21 10:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":108640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:39:08] local.INFO: GPS data processed {"connection_id":108640,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:39:08] local.INFO: Acknowledgment sent {"connection_id":108640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:39:52] local.INFO: TCP Data received {"connection_id":109431,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:52] local.INFO: Processing buffer {"connection_id":109431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:52] local.INFO: IMEI packet received {"connection_id":109431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":109431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:39:57] local.INFO: TCP Data received {"connection_id":109431,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:57] local.INFO: Processing buffer {"connection_id":109431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:39:57] local.INFO: IMEI packet received {"connection_id":109431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":109431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:39:59] local.INFO: TCP Data received {"connection_id":109431,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:59] local.INFO: Processing buffer {"connection_id":109431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:39:59] local.INFO: Packet analysis {"connection_id":109431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:39:59] local.INFO: Extracted packet for processing {"connection_id":109431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":109431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:39:59] local.INFO: GPS data processed {"connection_id":109431,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:39:59] local.INFO: Acknowledgment sent {"connection_id":109431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:40:31] local.INFO: TCP Data received {"connection_id":109431,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:40:31] local.INFO: Processing buffer {"connection_id":109431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:40:31] local.INFO: Packet analysis {"connection_id":109431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:40:31] local.INFO: Extracted packet for processing {"connection_id":109431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:40:31] 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-06-21 10:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:40:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":109431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:40:31] local.INFO: GPS data processed {"connection_id":109431,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:40:31] local.INFO: Acknowledgment sent {"connection_id":109431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:40:52] local.INFO: TCP Data received {"connection_id":108642,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:40:52] local.INFO: Processing buffer {"connection_id":108642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:40:52] local.INFO: IMEI packet received {"connection_id":108642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":108642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:40:57] local.INFO: TCP Data received {"connection_id":108642,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:40:57] local.INFO: Processing buffer {"connection_id":108642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:40:57] local.INFO: IMEI packet received {"connection_id":108642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":108642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:40:59] local.INFO: TCP Data received {"connection_id":108642,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:40:59] local.INFO: Processing buffer {"connection_id":108642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee891ba08012d34c14006aa3d280007011727..."} 
[2026-06-21 10:40:59] local.INFO: Packet analysis {"connection_id":108642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:40:59] local.INFO: Extracted packet for processing {"connection_id":108642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee891"} 
[2026-06-21 10:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":7,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196614144001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018325000,"timestamp_ms":1782018325000,"timestamp_seconds":1782018325,"priority":1,"record_length":96,"hex_timestamp":"0000019ee891ba08"} 
[2026-06-21 10:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 10:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196614144001,"66":25125,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196614144001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196614144001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":108642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:40:59] local.INFO: GPS data processed {"connection_id":108642,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:40:59] local.INFO: Acknowledgment sent {"connection_id":108642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:41:30] local.INFO: TCP Data received {"connection_id":108642,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:41:30] local.INFO: Processing buffer {"connection_id":108642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:41:30] local.INFO: Packet analysis {"connection_id":108642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:41:30] local.INFO: Extracted packet for processing {"connection_id":108642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:41:30] 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-06-21 10:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":108642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:41:30] local.INFO: GPS data processed {"connection_id":108642,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:41:30] local.INFO: Acknowledgment sent {"connection_id":108642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:41:52] local.INFO: TCP Data received {"connection_id":109432,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:41:52] local.INFO: Processing buffer {"connection_id":109432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:41:52] local.INFO: IMEI packet received {"connection_id":109432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":109432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:41:57] local.INFO: TCP Data received {"connection_id":109432,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:41:57] local.INFO: Processing buffer {"connection_id":109432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:41:57] local.INFO: IMEI packet received {"connection_id":109432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":109432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:41:59] local.INFO: TCP Data received {"connection_id":109432,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:41:59] local.INFO: Processing buffer {"connection_id":109432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:41:59] local.INFO: Packet analysis {"connection_id":109432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:41:59] local.INFO: Extracted packet for processing {"connection_id":109432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:41:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":109432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:41:59] local.INFO: GPS data processed {"connection_id":109432,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:41:59] local.INFO: Acknowledgment sent {"connection_id":109432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:42:31] local.INFO: TCP Data received {"connection_id":109432,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:42:31] local.INFO: Processing buffer {"connection_id":109432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:42:31] local.INFO: Packet analysis {"connection_id":109432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:42:31] local.INFO: Extracted packet for processing {"connection_id":109432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:42:31] 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-06-21 10:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:42:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":109432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:42:31] local.INFO: GPS data processed {"connection_id":109432,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:42:31] local.INFO: Acknowledgment sent {"connection_id":109432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:42:38] local.INFO: TCP Data received {"connection_id":108643,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:42:38] local.INFO: Processing buffer {"connection_id":108643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:42:38] local.INFO: IMEI packet received {"connection_id":108643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":108643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:42:57] local.INFO: TCP Data received {"connection_id":108644,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:42:57] local.INFO: Processing buffer {"connection_id":108644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:42:57] local.INFO: IMEI packet received {"connection_id":108644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":108644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:43:02] local.INFO: TCP Data received {"connection_id":108644,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:02] local.INFO: Processing buffer {"connection_id":108644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:02] local.INFO: IMEI packet received {"connection_id":108644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":108644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:43:04] local.INFO: TCP Data received {"connection_id":108644,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:04] local.INFO: Processing buffer {"connection_id":108644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:04] local.INFO: Packet analysis {"connection_id":108644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:43:04] local.INFO: Extracted packet for processing {"connection_id":108644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10: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-06-21 10:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":108644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:43:04] local.INFO: GPS data processed {"connection_id":108644,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:43:04] local.INFO: Acknowledgment sent {"connection_id":108644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:43:12] local.INFO: TCP Data received {"connection_id":108645,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:43:12] local.INFO: Processing buffer {"connection_id":108645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:43:12] local.INFO: IMEI packet received {"connection_id":108645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":108645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:43:36] local.INFO: TCP Data received {"connection_id":108644,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:36] local.INFO: Processing buffer {"connection_id":108644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:36] local.INFO: Packet analysis {"connection_id":108644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:43:36] local.INFO: Extracted packet for processing {"connection_id":108644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10: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-06-21 10:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:43:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":108644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:43:36] local.INFO: GPS data processed {"connection_id":108644,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:43:36] local.INFO: Acknowledgment sent {"connection_id":108644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:43:52] local.INFO: TCP Data received {"connection_id":108830,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:52] local.INFO: Processing buffer {"connection_id":108830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:52] local.INFO: IMEI packet received {"connection_id":108830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":108830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:43:57] local.INFO: TCP Data received {"connection_id":108830,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:57] local.INFO: Processing buffer {"connection_id":108830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:43:57] local.INFO: IMEI packet received {"connection_id":108830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":108830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:43:59] local.INFO: TCP Data received {"connection_id":108830,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:59] local.INFO: Processing buffer {"connection_id":108830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:43:59] local.INFO: Packet analysis {"connection_id":108830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:43:59] local.INFO: Extracted packet for processing {"connection_id":108830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:43:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":108830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:43:59] local.INFO: GPS data processed {"connection_id":108830,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:43:59] local.INFO: Acknowledgment sent {"connection_id":108830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:44:31] local.INFO: TCP Data received {"connection_id":108830,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:44:31] local.INFO: Processing buffer {"connection_id":108830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:44:31] local.INFO: Packet analysis {"connection_id":108830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:44:31] local.INFO: Extracted packet for processing {"connection_id":108830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:44:31] 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-06-21 10:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":108830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:44:31] local.INFO: GPS data processed {"connection_id":108830,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:44:31] local.INFO: Acknowledgment sent {"connection_id":108830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:44:52] local.INFO: TCP Data received {"connection_id":108831,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:44:52] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:44:52] local.INFO: IMEI packet received {"connection_id":108831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":108831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:44:57] local.INFO: TCP Data received {"connection_id":108831,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:44:57] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:44:57] local.INFO: IMEI packet received {"connection_id":108831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":108831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:45:00] local.INFO: TCP Data received {"connection_id":108831,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:45:00] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:45:00] local.INFO: Packet analysis {"connection_id":108831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:45:00] local.INFO: Extracted packet for processing {"connection_id":108831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:45:00] 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-06-21 10:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":108831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:45:00] local.INFO: GPS data processed {"connection_id":108831,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:45:00] local.INFO: Acknowledgment sent {"connection_id":108831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:45:32] local.INFO: TCP Data received {"connection_id":108831,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:45:32] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:45:32] local.INFO: Packet analysis {"connection_id":108831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:45:32] local.INFO: Extracted packet for processing {"connection_id":108831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:45:32] 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-06-21 10:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":108831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:45:32] local.INFO: GPS data processed {"connection_id":108831,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:45:32] local.INFO: Acknowledgment sent {"connection_id":108831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:45:52] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:45:52] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:45:52] local.INFO: IMEI packet received {"connection_id":110385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":110385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:45:57] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:45:57] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:45:57] local.INFO: IMEI packet received {"connection_id":110385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":110385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:46:00] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:46:00] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 10:46:00] local.INFO: Packet analysis {"connection_id":110385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:46:00] local.INFO: Extracted packet for processing {"connection_id":110385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 10:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:46:00] 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-06-21 10:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 10:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 10:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:46:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":110385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:46:00] local.INFO: GPS data processed {"connection_id":110385,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:46:00] local.INFO: Acknowledgment sent {"connection_id":110385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:46:32] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:46:32] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:46:32] local.INFO: Packet analysis {"connection_id":110385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:46:32] local.INFO: Extracted packet for processing {"connection_id":110385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:46:32] 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-06-21 10:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:46:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":110385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:46:32] local.INFO: GPS data processed {"connection_id":110385,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:46:32] local.INFO: Acknowledgment sent {"connection_id":110385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:46:52] local.INFO: TCP Data received {"connection_id":108646,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:46:52] local.INFO: Processing buffer {"connection_id":108646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:46:52] local.INFO: IMEI packet received {"connection_id":108646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":108646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:46:57] local.INFO: TCP Data received {"connection_id":108646,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:46:57] local.INFO: Processing buffer {"connection_id":108646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:46:57] local.INFO: IMEI packet received {"connection_id":108646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":108646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:47:00] local.INFO: TCP Data received {"connection_id":108646,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:00] local.INFO: Processing buffer {"connection_id":108646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:00] local.INFO: Packet analysis {"connection_id":108646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:47:00] local.INFO: Extracted packet for processing {"connection_id":108646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:00] 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-06-21 10:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:47:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":108646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:47:00] local.INFO: GPS data processed {"connection_id":108646,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:47:00] local.INFO: Acknowledgment sent {"connection_id":108646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:47:31] local.INFO: TCP Data received {"connection_id":108646,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:31] local.INFO: Processing buffer {"connection_id":108646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:31] local.INFO: Packet analysis {"connection_id":108646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:47:31] local.INFO: Extracted packet for processing {"connection_id":108646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:31] 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-06-21 10:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:47:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":108646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:47:31] local.INFO: GPS data processed {"connection_id":108646,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:47:31] local.INFO: Acknowledgment sent {"connection_id":108646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:47:53] local.INFO: TCP Data received {"connection_id":110386,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:47:53] local.INFO: Processing buffer {"connection_id":110386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:47:53] local.INFO: IMEI packet received {"connection_id":110386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":110386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:47:57] local.INFO: TCP Data received {"connection_id":110386,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:47:57] local.INFO: Processing buffer {"connection_id":110386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:47:57] local.INFO: IMEI packet received {"connection_id":110386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":110386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:47:59] local.INFO: TCP Data received {"connection_id":110386,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:59] local.INFO: Processing buffer {"connection_id":110386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:47:59] local.INFO: Packet analysis {"connection_id":110386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:47:59] local.INFO: Extracted packet for processing {"connection_id":110386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":110386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:47:59] local.INFO: GPS data processed {"connection_id":110386,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:47:59] local.INFO: Acknowledgment sent {"connection_id":110386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:48:30] local.INFO: TCP Data received {"connection_id":110386,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:48:30] local.INFO: Processing buffer {"connection_id":110386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:48:30] local.INFO: Packet analysis {"connection_id":110386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:48:30] local.INFO: Extracted packet for processing {"connection_id":110386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:48:30] 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-06-21 10:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:48:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:48:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":110386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:48:30] local.INFO: GPS data processed {"connection_id":110386,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:48:30] local.INFO: Acknowledgment sent {"connection_id":110386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:48:38] local.INFO: TCP Data received {"connection_id":109434,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:48:38] local.INFO: Processing buffer {"connection_id":109434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:48:38] local.INFO: IMEI packet received {"connection_id":109434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":109434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:48:52] local.INFO: TCP Data received {"connection_id":108833,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:48:52] local.INFO: Processing buffer {"connection_id":108833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:48:52] local.INFO: IMEI packet received {"connection_id":108833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":108833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:48:57] local.INFO: TCP Data received {"connection_id":108833,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:48:57] local.INFO: Processing buffer {"connection_id":108833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:48:57] local.INFO: IMEI packet received {"connection_id":108833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":108833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:48:59] local.INFO: TCP Data received {"connection_id":108833,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:48:59] local.INFO: Processing buffer {"connection_id":108833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:48:59] local.INFO: Packet analysis {"connection_id":108833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:48:59] local.INFO: Extracted packet for processing {"connection_id":108833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:48:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":108833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:48:59] local.INFO: GPS data processed {"connection_id":108833,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:48:59] local.INFO: Acknowledgment sent {"connection_id":108833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:49:23] local.INFO: TCP Data received {"connection_id":109435,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:49:23] local.INFO: Processing buffer {"connection_id":109435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:49:23] local.INFO: IMEI packet received {"connection_id":109435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":109435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:49:31] local.INFO: TCP Data received {"connection_id":108833,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:49:31] local.INFO: Processing buffer {"connection_id":108833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:49:31] local.INFO: Packet analysis {"connection_id":108833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:49:31] local.INFO: Extracted packet for processing {"connection_id":108833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:49:31] 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-06-21 10:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:49:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":108833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:49:31] local.INFO: GPS data processed {"connection_id":108833,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:49:31] local.INFO: Acknowledgment sent {"connection_id":108833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:49:52] local.INFO: TCP Data received {"connection_id":110387,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:49:52] local.INFO: Processing buffer {"connection_id":110387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:49:52] local.INFO: IMEI packet received {"connection_id":110387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":110387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:49:57] local.INFO: TCP Data received {"connection_id":110387,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:49:57] local.INFO: Processing buffer {"connection_id":110387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:49:57] local.INFO: IMEI packet received {"connection_id":110387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":110387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:50:00] local.INFO: TCP Data received {"connection_id":110387,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:50:00] local.INFO: Processing buffer {"connection_id":110387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:50:00] local.INFO: Packet analysis {"connection_id":110387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:50:00] local.INFO: Extracted packet for processing {"connection_id":110387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:50:00] 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-06-21 10:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:50:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":110387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:50:00] local.INFO: GPS data processed {"connection_id":110387,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:50:00] local.INFO: Acknowledgment sent {"connection_id":110387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:50:31] local.INFO: TCP Data received {"connection_id":110387,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:50:31] local.INFO: Processing buffer {"connection_id":110387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:50:31] local.INFO: Packet analysis {"connection_id":110387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:50:31] local.INFO: Extracted packet for processing {"connection_id":110387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:50:31] 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-06-21 10:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:50:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":110387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:50:31] local.INFO: GPS data processed {"connection_id":110387,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:50:31] local.INFO: Acknowledgment sent {"connection_id":110387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:50:57] local.INFO: TCP Data received {"connection_id":108648,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:50:57] local.INFO: Processing buffer {"connection_id":108648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:50:57] local.INFO: IMEI packet received {"connection_id":108648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":108648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:51:02] local.INFO: TCP Data received {"connection_id":108648,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:02] local.INFO: Processing buffer {"connection_id":108648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:02] local.INFO: IMEI packet received {"connection_id":108648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":108648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:51:04] local.INFO: TCP Data received {"connection_id":108648,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:51:04] local.INFO: Processing buffer {"connection_id":108648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89ae998012d34c14006aa3d280008011725..."} 
[2026-06-21 10:51:04] local.INFO: Packet analysis {"connection_id":108648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:51:04] local.INFO: Extracted packet for processing {"connection_id":108648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89a"} 
[2026-06-21 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196768256001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10: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-06-21 10:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782018927000,"timestamp_ms":1782018927000,"timestamp_seconds":1782018927,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89ae998"} 
[2026-06-21 10:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196768256001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196768256001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196768256001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":108648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:51:04] local.INFO: GPS data processed {"connection_id":108648,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:51:04] local.INFO: Acknowledgment sent {"connection_id":108648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:51:07] local.INFO: TCP Data received {"connection_id":108648,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:51:07] local.INFO: Processing buffer {"connection_id":108648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:51:07] local.INFO: Packet analysis {"connection_id":108648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:51:07] local.INFO: Extracted packet for processing {"connection_id":108648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:07] 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-06-21 10:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:51:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":108648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:51:07] local.INFO: GPS data processed {"connection_id":108648,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:51:07] local.INFO: Acknowledgment sent {"connection_id":108648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:51:52] local.INFO: TCP Data received {"connection_id":108649,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:52] local.INFO: Processing buffer {"connection_id":108649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:52] local.INFO: IMEI packet received {"connection_id":108649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":108649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:51:57] local.INFO: TCP Data received {"connection_id":108649,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:57] local.INFO: Processing buffer {"connection_id":108649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:51:57] local.INFO: IMEI packet received {"connection_id":108649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":108649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:51:59] local.INFO: TCP Data received {"connection_id":108649,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:51:59] local.INFO: Processing buffer {"connection_id":108649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:51:59] local.INFO: Packet analysis {"connection_id":108649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:51:59] local.INFO: Extracted packet for processing {"connection_id":108649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":108649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:51:59] local.INFO: GPS data processed {"connection_id":108649,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:51:59] local.INFO: Acknowledgment sent {"connection_id":108649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:52:31] local.INFO: TCP Data received {"connection_id":108649,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:52:31] local.INFO: Processing buffer {"connection_id":108649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:52:31] local.INFO: Packet analysis {"connection_id":108649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:52:31] local.INFO: Extracted packet for processing {"connection_id":108649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:52:31] 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-06-21 10:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":108649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:52:31] local.INFO: GPS data processed {"connection_id":108649,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:52:31] local.INFO: Acknowledgment sent {"connection_id":108649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:52:52] local.INFO: TCP Data received {"connection_id":109437,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:52:52] local.INFO: Processing buffer {"connection_id":109437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:52:52] local.INFO: IMEI packet received {"connection_id":109437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":109437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:52:57] local.INFO: TCP Data received {"connection_id":109437,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:52:57] local.INFO: Processing buffer {"connection_id":109437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:52:57] local.INFO: IMEI packet received {"connection_id":109437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":109437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:53:00] local.INFO: TCP Data received {"connection_id":109437,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:00] local.INFO: Processing buffer {"connection_id":109437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:00] local.INFO: Packet analysis {"connection_id":109437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:53:00] local.INFO: Extracted packet for processing {"connection_id":109437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:00] 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-06-21 10:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:53:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":109437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:53:00] local.INFO: GPS data processed {"connection_id":109437,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:53:00] local.INFO: Acknowledgment sent {"connection_id":109437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:53:32] local.INFO: TCP Data received {"connection_id":109437,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:32] local.INFO: Processing buffer {"connection_id":109437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:32] local.INFO: Packet analysis {"connection_id":109437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:53:32] local.INFO: Extracted packet for processing {"connection_id":109437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:32] 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-06-21 10:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:53:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":109437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:53:32] local.INFO: GPS data processed {"connection_id":109437,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:53:32] local.INFO: Acknowledgment sent {"connection_id":109437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:53:52] local.INFO: TCP Data received {"connection_id":108650,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:53:52] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:53:52] local.INFO: IMEI packet received {"connection_id":108650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":108650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:53:57] local.INFO: TCP Data received {"connection_id":108650,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:53:57] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:53:57] local.INFO: IMEI packet received {"connection_id":108650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":108650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:53:59] local.INFO: TCP Data received {"connection_id":108650,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:59] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:53:59] local.INFO: Packet analysis {"connection_id":108650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:53:59] local.INFO: Extracted packet for processing {"connection_id":108650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:53:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":108650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:53:59] local.INFO: GPS data processed {"connection_id":108650,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:53:59] local.INFO: Acknowledgment sent {"connection_id":108650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:54:31] local.INFO: TCP Data received {"connection_id":108650,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:54:31] local.INFO: Processing buffer {"connection_id":108650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:54:31] local.INFO: Packet analysis {"connection_id":108650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:54:31] local.INFO: Extracted packet for processing {"connection_id":108650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:54:31] 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-06-21 10:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:54:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":108650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:54:31] local.INFO: GPS data processed {"connection_id":108650,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:54:31] local.INFO: Acknowledgment sent {"connection_id":108650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:54:43] local.INFO: TCP Data received {"connection_id":108835,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:54:43] local.INFO: Processing buffer {"connection_id":108835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:54:43] local.INFO: IMEI packet received {"connection_id":108835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":108835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:54:57] local.INFO: TCP Data received {"connection_id":108836,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:54:57] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:54:57] local.INFO: IMEI packet received {"connection_id":108836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":108836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:55:02] local.INFO: TCP Data received {"connection_id":108836,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:02] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:02] local.INFO: IMEI packet received {"connection_id":108836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":108836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:55:02] local.INFO: TCP Data received {"connection_id":108836,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:02] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:02] local.INFO: Packet analysis {"connection_id":108836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:55:02] local.INFO: Extracted packet for processing {"connection_id":108836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:02] 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-06-21 10:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":108836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":108836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":108836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:55:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":108836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:55:02] local.INFO: GPS data processed {"connection_id":108836,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:55:02] local.INFO: Acknowledgment sent {"connection_id":108836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:55:08] local.INFO: TCP Data received {"connection_id":108836,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:08] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:08] local.INFO: Packet analysis {"connection_id":108836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:55:08] local.INFO: Extracted packet for processing {"connection_id":108836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:08] 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-06-21 10:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":108836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:55:08] local.INFO: GPS data processed {"connection_id":108836,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:55:08] local.INFO: Acknowledgment sent {"connection_id":108836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:55:12] local.INFO: TCP Data received {"connection_id":110389,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:55:12] local.INFO: Processing buffer {"connection_id":110389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 10:55:12] local.INFO: IMEI packet received {"connection_id":110389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 10:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":110389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:55:52] local.INFO: TCP Data received {"connection_id":109439,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:52] local.INFO: Processing buffer {"connection_id":109439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:52] local.INFO: IMEI packet received {"connection_id":109439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":109439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:55:57] local.INFO: TCP Data received {"connection_id":109439,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:57] local.INFO: Processing buffer {"connection_id":109439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:55:57] local.INFO: IMEI packet received {"connection_id":109439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":109439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:55:59] local.INFO: TCP Data received {"connection_id":109439,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:59] local.INFO: Processing buffer {"connection_id":109439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89f8160012d34c14006aa3d280005011726..."} 
[2026-06-21 10:55:59] local.INFO: Packet analysis {"connection_id":109439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:55:59] local.INFO: Extracted packet for processing {"connection_id":109439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee89f"} 
[2026-06-21 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196845312001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782019228000,"timestamp_ms":1782019228000,"timestamp_seconds":1782019228,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89f8160"} 
[2026-06-21 10:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 10:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196845312001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196845312001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196845312001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":109439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:55:59] local.INFO: GPS data processed {"connection_id":109439,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:55:59] local.INFO: Acknowledgment sent {"connection_id":109439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:56:31] local.INFO: TCP Data received {"connection_id":109439,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:56:31] local.INFO: Processing buffer {"connection_id":109439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:56:31] local.INFO: Packet analysis {"connection_id":109439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:56:31] local.INFO: Extracted packet for processing {"connection_id":109439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:56:31] 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-06-21 10:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:56:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":109439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:56:31] local.INFO: GPS data processed {"connection_id":109439,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:56:31] local.INFO: Acknowledgment sent {"connection_id":109439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:56:52] local.INFO: TCP Data received {"connection_id":108838,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:56:52] local.INFO: Processing buffer {"connection_id":108838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:56:52] local.INFO: IMEI packet received {"connection_id":108838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":108838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:56:57] local.INFO: TCP Data received {"connection_id":108838,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:56:57] local.INFO: Processing buffer {"connection_id":108838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:56:57] local.INFO: IMEI packet received {"connection_id":108838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":108838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:57:00] local.INFO: TCP Data received {"connection_id":108838,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:57:00] local.INFO: Processing buffer {"connection_id":108838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:57:00] local.INFO: Packet analysis {"connection_id":108838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:57:00] local.INFO: Extracted packet for processing {"connection_id":108838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:57:00] 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-06-21 10:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:57:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":108838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:57:00] local.INFO: GPS data processed {"connection_id":108838,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:57:00] local.INFO: Acknowledgment sent {"connection_id":108838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:57:34] local.INFO: TCP Data received {"connection_id":108838,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:57:34] local.INFO: Processing buffer {"connection_id":108838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:57:34] local.INFO: Packet analysis {"connection_id":108838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:57:34] local.INFO: Extracted packet for processing {"connection_id":108838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:57:34] 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-06-21 10:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":108838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":108838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":108838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:57:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":108838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:57:34] local.INFO: GPS data processed {"connection_id":108838,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:57:34] local.INFO: Acknowledgment sent {"connection_id":108838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:57:57] local.INFO: TCP Data received {"connection_id":108651,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:57:57] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:57:57] local.INFO: IMEI packet received {"connection_id":108651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":108651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:58:02] local.INFO: TCP Data received {"connection_id":108651,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:02] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:02] local.INFO: IMEI packet received {"connection_id":108651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":108651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:58:03] local.INFO: TCP Data received {"connection_id":108651,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:03] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:03] local.INFO: Packet analysis {"connection_id":108651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:58:03] local.INFO: Extracted packet for processing {"connection_id":108651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:03] 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-06-21 10:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":108651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:58:03] local.INFO: GPS data processed {"connection_id":108651,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:58:03] local.INFO: Acknowledgment sent {"connection_id":108651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:58:08] local.INFO: TCP Data received {"connection_id":108651,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:08] local.INFO: Processing buffer {"connection_id":108651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:08] local.INFO: Packet analysis {"connection_id":108651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:58:08] local.INFO: Extracted packet for processing {"connection_id":108651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:08] 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-06-21 10:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":108651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:58:08] local.INFO: GPS data processed {"connection_id":108651,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:58:08] local.INFO: Acknowledgment sent {"connection_id":108651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:58:52] local.INFO: TCP Data received {"connection_id":110391,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:52] local.INFO: Processing buffer {"connection_id":110391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:52] local.INFO: IMEI packet received {"connection_id":110391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":110391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:58:57] local.INFO: TCP Data received {"connection_id":110391,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:57] local.INFO: Processing buffer {"connection_id":110391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:58:57] local.INFO: IMEI packet received {"connection_id":110391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":110391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:58:59] local.INFO: TCP Data received {"connection_id":110391,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:59] local.INFO: Processing buffer {"connection_id":110391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:58:59] local.INFO: Packet analysis {"connection_id":110391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:58:59] local.INFO: Extracted packet for processing {"connection_id":110391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:58:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":110391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:58:59] local.INFO: GPS data processed {"connection_id":110391,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:58:59] local.INFO: Acknowledgment sent {"connection_id":110391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:59:31] local.INFO: TCP Data received {"connection_id":110391,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:59:31] local.INFO: Processing buffer {"connection_id":110391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:59:31] local.INFO: Packet analysis {"connection_id":110391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:59:31] local.INFO: Extracted packet for processing {"connection_id":110391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 10:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:59:31] 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-06-21 10:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 10:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:59:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":110391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:59:31] local.INFO: GPS data processed {"connection_id":110391,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:59:31] local.INFO: Acknowledgment sent {"connection_id":110391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 10:59:52] local.INFO: TCP Data received {"connection_id":108652,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:59:52] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:59:52] local.INFO: IMEI packet received {"connection_id":108652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 10:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":108652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 10:59:57] local.INFO: TCP Data received {"connection_id":108652,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:59:57] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 10:59:57] local.INFO: IMEI packet received {"connection_id":108652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 10:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":108652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 10:59:59] local.INFO: TCP Data received {"connection_id":108652,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:59:59] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 10:59:59] local.INFO: Packet analysis {"connection_id":108652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:59:59] local.INFO: Extracted packet for processing {"connection_id":108652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 10:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 10: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-06-21 10:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 10:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 10:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 10:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 10:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 10:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 10:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 10:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 10: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-06-21 10:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 10:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 10:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 10:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 10:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 10:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 10:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 10:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 10:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 10:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 10:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 10:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 10:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 10:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 10:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 10:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 10:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":108652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 10:59:59] local.INFO: GPS data processed {"connection_id":108652,"processed":1,"errors":0,"total":1} 
[2026-06-21 10:59:59] local.INFO: Acknowledgment sent {"connection_id":108652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:00:31] local.INFO: TCP Data received {"connection_id":108652,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 11:00:31] local.INFO: Processing buffer {"connection_id":108652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 11:00:31] local.INFO: Packet analysis {"connection_id":108652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 11:00:31] local.INFO: Extracted packet for processing {"connection_id":108652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 11:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 11:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 11:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:00:31] 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-06-21 11:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 11:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 11:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":108652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:00:31] local.INFO: GPS data processed {"connection_id":108652,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:00:31] local.INFO: Acknowledgment sent {"connection_id":108652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:00:38] local.INFO: TCP Data received {"connection_id":108840,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:00:38] local.INFO: Processing buffer {"connection_id":108840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:00:38] local.INFO: IMEI packet received {"connection_id":108840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":108840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:00:52] local.INFO: TCP Data received {"connection_id":110392,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:00:52] local.INFO: Processing buffer {"connection_id":110392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:00:52] local.INFO: IMEI packet received {"connection_id":110392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":110392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:00:57] local.INFO: TCP Data received {"connection_id":110392,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:00:57] local.INFO: Processing buffer {"connection_id":110392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:00:57] local.INFO: IMEI packet received {"connection_id":110392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":110392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:00:59] local.INFO: TCP Data received {"connection_id":110392,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 11:00:59] local.INFO: Processing buffer {"connection_id":110392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a41928012d34c14006aa3d28000b011727..."} 
[2026-06-21 11:00:59] local.INFO: Packet analysis {"connection_id":110392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 11:00:59] local.INFO: Extracted packet for processing {"connection_id":110392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a4"} 
[2026-06-21 11:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 11:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 11:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782019529000,"timestamp_ms":1782019529000,"timestamp_seconds":1782019529,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a41928"} 
[2026-06-21 11:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 11:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196922368001,"66":25462,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:00:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196922368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":110392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:00:59] local.INFO: GPS data processed {"connection_id":110392,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:00:59] local.INFO: Acknowledgment sent {"connection_id":110392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:01:17] local.INFO: TCP Data received {"connection_id":109441,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:01:17] local.INFO: Processing buffer {"connection_id":109441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:01:17] local.INFO: IMEI packet received {"connection_id":109441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":109441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:01:31] local.INFO: TCP Data received {"connection_id":110392,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:01:31] local.INFO: Processing buffer {"connection_id":110392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:01:31] local.INFO: Packet analysis {"connection_id":110392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:01:31] local.INFO: Extracted packet for processing {"connection_id":110392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 11:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196999424001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 11:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:01:31] 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-06-21 11:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782019830000,"timestamp_ms":1782019830000,"timestamp_seconds":1782019830,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a8b0f0"} 
[2026-06-21 11:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196999424001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196999424001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:01:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196999424001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":110392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:01:31] local.INFO: GPS data processed {"connection_id":110392,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:01:31] local.INFO: Acknowledgment sent {"connection_id":110392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:01:57] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:01:57] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:01:57] local.INFO: IMEI packet received {"connection_id":110393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":110393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:02:02] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:02] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:02] local.INFO: IMEI packet received {"connection_id":110393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":110393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:02:03] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:03] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:03] local.INFO: Packet analysis {"connection_id":110393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:02:03] local.INFO: Extracted packet for processing {"connection_id":110393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 11:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196999424001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:03] 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-06-21 11:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782019830000,"timestamp_ms":1782019830000,"timestamp_seconds":1782019830,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a8b0f0"} 
[2026-06-21 11:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196999424001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196999424001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196999424001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":110393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:02:03] local.INFO: GPS data processed {"connection_id":110393,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:02:03] local.INFO: Acknowledgment sent {"connection_id":110393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:02:08] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:08] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:08] local.INFO: Packet analysis {"connection_id":110393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:02:08] local.INFO: Extracted packet for processing {"connection_id":110393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 11:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196999424001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:08] 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-06-21 11:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782019830000,"timestamp_ms":1782019830000,"timestamp_seconds":1782019830,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a8b0f0"} 
[2026-06-21 11:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196999424001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196999424001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:02:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:02:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196999424001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":110393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:02:08] local.INFO: GPS data processed {"connection_id":110393,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:02:08] local.INFO: Acknowledgment sent {"connection_id":110393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:02:52] local.INFO: TCP Data received {"connection_id":109442,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:52] local.INFO: Processing buffer {"connection_id":109442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:52] local.INFO: IMEI packet received {"connection_id":109442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":109442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:02:57] local.INFO: TCP Data received {"connection_id":109442,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:57] local.INFO: Processing buffer {"connection_id":109442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:02:57] local.INFO: IMEI packet received {"connection_id":109442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":109442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:02:59] local.INFO: TCP Data received {"connection_id":109442,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:59] local.INFO: Processing buffer {"connection_id":109442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8a8b0f0012d34c14006aa3d280008011728..."} 
[2026-06-21 11:02:59] local.INFO: Packet analysis {"connection_id":109442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:02:59] local.INFO: Extracted packet for processing {"connection_id":109442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8a8"} 
[2026-06-21 11:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":8,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 11:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196999424001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782019830000,"timestamp_ms":1782019830000,"timestamp_seconds":1782019830,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8a8b0f0"} 
[2026-06-21 11:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196999424001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196999424001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:02:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196999424001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":109442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:02:59] local.INFO: GPS data processed {"connection_id":109442,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:02:59] local.INFO: Acknowledgment sent {"connection_id":109442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:03:30] local.INFO: TCP Data received {"connection_id":109442,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8aacfe8012d34c14006aa3d280003011727..."} 
[2026-06-21 11:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8aacfe8012d34c14006aa3d280003011727..."} 
[2026-06-21 11:03:30] local.INFO: Processing buffer {"connection_id":109442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8aacfe8012d34c14006aa3d280003011727..."} 
[2026-06-21 11:03:30] local.INFO: Packet analysis {"connection_id":109442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8aa"} 
[2026-06-21 11:03:30] local.INFO: Extracted packet for processing {"connection_id":109442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8aa"} 
[2026-06-21 11:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":3,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 11:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197076480001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 11:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:03:30] 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-06-21 11:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782019969000,"timestamp_ms":1782019969000,"timestamp_seconds":1782019969,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8aacfe8"} 
[2026-06-21 11:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197076480001,"66":25441,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197076480001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:03:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:03:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197076480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":109442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:03:30] local.INFO: GPS data processed {"connection_id":109442,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:03:30] local.INFO: Acknowledgment sent {"connection_id":109442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:03:52] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:52] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:52] local.INFO: IMEI packet received {"connection_id":110395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":110395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:03:53] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:53] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:53] local.INFO: IMEI packet received {"connection_id":110395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":110395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:03:57] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:57] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:03:57] local.INFO: IMEI packet received {"connection_id":110395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":110395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:03:58] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ab3578012d34c04006aa3dc80004011727..."} 
[2026-06-21 11:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ab3578012d34c04006aa3dc80004011727..."} 
[2026-06-21 11:03:58] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ab3578012d34c04006aa3dc80004011727..."} 
[2026-06-21 11:03:58] local.INFO: Packet analysis {"connection_id":110395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ab"} 
[2026-06-21 11:03:58] local.INFO: Extracted packet for processing {"connection_id":110395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ab"} 
[2026-06-21 11:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820232,"longitude_deg":75.8431808,"latitude_deg":11.1820232,"altitude":4,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3dc8","is_valid_coordinates":true} 
[2026-06-21 11:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197112064001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037636930535424,"note":"Value kept but may cause issues"} 
[2026-06-21 11:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:03:58] 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-06-21 11:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782019995000,"timestamp_ms":1782019995000,"timestamp_seconds":1782019995,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ab3578"} 
[2026-06-21 11:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:03: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-06-21 11: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 11:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11: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-06-21 11:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197112064001,"66":27745,"106":206,"28":21760,"24":0,"16":320037636930535424,"45":3801389957847525376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197112064001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:03:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037636930535424,"km_value":320037636930535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197112064001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 11:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":110395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:03:58] local.INFO: GPS data processed {"connection_id":110395,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:03:58] local.INFO: Acknowledgment sent {"connection_id":110395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:04:29] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ab8780012d34c08006aa3db00004011728..."} 
[2026-06-21 11:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ab8780012d34c08006aa3db00004011728..."} 
[2026-06-21 11:04:29] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ab8780012d34c08006aa3db00004011728..."} 
[2026-06-21 11:04:29] local.INFO: Packet analysis {"connection_id":110395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ab"} 
[2026-06-21 11:04:29] local.INFO: Extracted packet for processing {"connection_id":110395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ab"} 
[2026-06-21 11:04:29] local.INFO: GPS Element Parsed {"raw_longitude":758431872,"raw_latitude":111820208,"longitude_deg":75.8431872,"latitude_deg":11.1820208,"altitude":4,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c080","hex_latitude":"06aa3db0","is_valid_coordinates":true} 
[2026-06-21 11:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197118720001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037641225502720,"note":"Value kept but may cause issues"} 
[2026-06-21 11:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870855680,"note":"Value kept but may cause issues"} 
[2026-06-21 11:04:29] 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-06-21 11:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782020016000,"timestamp_ms":1782020016000,"timestamp_seconds":1782020016,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ab8780"} 
[2026-06-21 11:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 11:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 11:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197118720001,"66":28006,"106":206,"28":21760,"24":0,"16":320037641225502720,"45":3801108482870855680},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197118720001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:04:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:04:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037641225502720,"km_value":320037641225502.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870855680,"description":"Unknown IO ID 45"} 
[2026-06-21 11:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197118720001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870855680}} 
[2026-06-21 11:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":110395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:04:29] local.INFO: GPS data processed {"connection_id":110395,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:04:29] local.INFO: Acknowledgment sent {"connection_id":110395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:04:54] local.INFO: TCP Data received {"connection_id":108654,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:54] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:54] local.INFO: IMEI packet received {"connection_id":108654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":108654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:04:55] local.INFO: TCP Data received {"connection_id":108654,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:55] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:55] local.INFO: IMEI packet received {"connection_id":108654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":108654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:04:56] local.INFO: TCP Data received {"connection_id":108654,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:56] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:56] local.INFO: IMEI packet received {"connection_id":108654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":108654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:04:57] local.INFO: TCP Data received {"connection_id":108654,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:57] local.INFO: Processing buffer {"connection_id":108654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:04:57] local.INFO: IMEI packet received {"connection_id":108654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":108654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:06:43] local.INFO: TCP Data received {"connection_id":110396,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:06:43] local.INFO: Processing buffer {"connection_id":110396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:06:43] local.INFO: IMEI packet received {"connection_id":110396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":110396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:07:18] local.INFO: TCP Data received {"connection_id":108655,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:07:18] local.INFO: Processing buffer {"connection_id":108655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:07:18] local.INFO: IMEI packet received {"connection_id":108655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":108655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:10:02] local.INFO: TCP Data received {"connection_id":109447,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:02] local.INFO: Processing buffer {"connection_id":109447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:02] local.INFO: IMEI packet received {"connection_id":109447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":109447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:10:04] local.INFO: TCP Data received {"connection_id":109447,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ac6240012d34c5c006aa3f900007004228..."} 
[2026-06-21 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ac6240012d34c5c006aa3f900007004228..."} 
[2026-06-21 11:10:04] local.INFO: Processing buffer {"connection_id":109447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ac6240012d34c5c006aa3f900007004228..."} 
[2026-06-21 11:10:04] local.INFO: Packet analysis {"connection_id":109447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:10:04] local.INFO: Extracted packet for processing {"connection_id":109447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111820688,"longitude_deg":75.8433216,"latitude_deg":11.1820688,"altitude":7,"angle":66,"satellites":40,"speed":3,"hex_longitude":"2d34c5c0","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-06-21 11:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197138176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037718534914048,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498695168,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10: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-06-21 11:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782020072000,"timestamp_ms":1782020072000,"timestamp_seconds":1782020072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ac6240"} 
[2026-06-21 11:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 11: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":78,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 11:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197138176001,"66":20103,"106":206,"28":21760,"24":3,"16":320037718534914048,"45":3802586226498695168},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197138176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037718534914048,"km_value":320037718534914.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498695168,"description":"Unknown IO ID 45"} 
[2026-06-21 11:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197138176001,"power":20103,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802586226498695168}} 
[2026-06-21 11:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":109447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:10:04] local.INFO: GPS data processed {"connection_id":109447,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:10:04] local.INFO: Acknowledgment sent {"connection_id":109447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:10:36] local.INFO: TCP Data received {"connection_id":109447,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ac6df8012d34c6c006aa3fd00007005d28..."} 
[2026-06-21 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ac6df8012d34c6c006aa3fd00007005d28..."} 
[2026-06-21 11:10:36] local.INFO: Processing buffer {"connection_id":109447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ac6df8012d34c6c006aa3fd00007005d28..."} 
[2026-06-21 11:10:36] local.INFO: Packet analysis {"connection_id":109447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:10:36] local.INFO: Extracted packet for processing {"connection_id":109447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111820752,"longitude_deg":75.8433472,"latitude_deg":11.1820752,"altitude":7,"angle":93,"satellites":40,"speed":2,"hex_longitude":"2d34c6c0","hex_latitude":"06aa3fd0","is_valid_coordinates":true} 
[2026-06-21 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197138432001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037731419815936,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595242881024,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10: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-06-21 11:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782020075000,"timestamp_ms":1782020075000,"timestamp_seconds":1782020075,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ac6df8"} 
[2026-06-21 11:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":78,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 11:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197138432001,"66":27832,"106":206,"28":21760,"24":2,"16":320037731419815936,"45":3802656595242881024},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197138432001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:10:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037731419815936,"km_value":320037731419815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595242881024,"description":"Unknown IO ID 45"} 
[2026-06-21 11:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197138432001,"power":27832,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802656595242881024}} 
[2026-06-21 11:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":109447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:10:36] local.INFO: GPS data processed {"connection_id":109447,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:10:36] local.INFO: Acknowledgment sent {"connection_id":109447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:10:52] local.INFO: TCP Data received {"connection_id":108844,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:52] local.INFO: Processing buffer {"connection_id":108844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:52] local.INFO: IMEI packet received {"connection_id":108844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":108844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:10:57] local.INFO: TCP Data received {"connection_id":108844,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:57] local.INFO: Processing buffer {"connection_id":108844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:10:57] local.INFO: IMEI packet received {"connection_id":108844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":108844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:10:59] local.INFO: TCP Data received {"connection_id":108844,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ac75c8012d34c70006aa3fd00007004f28..."} 
[2026-06-21 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ac75c8012d34c70006aa3fd00007004f28..."} 
[2026-06-21 11:10:59] local.INFO: Processing buffer {"connection_id":108844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ac75c8012d34c70006aa3fd00007004f28..."} 
[2026-06-21 11:10:59] local.INFO: Packet analysis {"connection_id":108844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:10:59] local.INFO: Extracted packet for processing {"connection_id":108844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111820752,"longitude_deg":75.8433536,"latitude_deg":11.1820752,"altitude":7,"angle":79,"satellites":40,"speed":2,"hex_longitude":"2d34c700","hex_latitude":"06aa3fd0","is_valid_coordinates":true} 
[2026-06-21 11:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197139200001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037735714783232,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219608064,"note":"Value kept but may cause issues"} 
[2026-06-21 11:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782020077000,"timestamp_ms":1782020077000,"timestamp_seconds":1782020077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ac75c8"} 
[2026-06-21 11:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:10: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-06-21 11:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 11:10:59] 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-06-21 11:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197139200001,"66":27234,"106":206,"28":21760,"24":2,"16":320037735714783232,"45":3802938070219608064},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197139200001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037735714783232,"km_value":320037735714783.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219608064,"description":"Unknown IO ID 45"} 
[2026-06-21 11:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197139200001,"power":27234,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802938070219608064}} 
[2026-06-21 11:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":108844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:10:59] local.INFO: GPS data processed {"connection_id":108844,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:10:59] local.INFO: Acknowledgment sent {"connection_id":108844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:11:31] local.INFO: TCP Data received {"connection_id":108844,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ac7d98012d34c78006aa3fc80007005f28..."} 
[2026-06-21 11:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ac7d98012d34c78006aa3fc80007005f28..."} 
[2026-06-21 11:11:31] local.INFO: Processing buffer {"connection_id":108844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ac7d98012d34c78006aa3fc80007005f28..."} 
[2026-06-21 11:11:31] local.INFO: Packet analysis {"connection_id":108844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:11:31] local.INFO: Extracted packet for processing {"connection_id":108844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111820744,"longitude_deg":75.8433664,"latitude_deg":11.1820744,"altitude":7,"angle":95,"satellites":40,"speed":1,"hex_longitude":"2d34c780","hex_latitude":"06aa3fc8","is_valid_coordinates":true} 
[2026-06-21 11:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197139712001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037744304717824,"note":"Value kept but may cause issues"} 
[2026-06-21 11:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963785728,"note":"Value kept but may cause issues"} 
[2026-06-21 11:11:31] 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-06-21 11:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782020079000,"timestamp_ms":1782020079000,"timestamp_seconds":1782020079,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ac7d98"} 
[2026-06-21 11:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 11:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-21 11:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197139712001,"66":27919,"106":206,"28":21760,"24":1,"16":320037744304717824,"45":3803008438963785728},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197139712001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:11:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037744304717824,"km_value":320037744304717.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963785728,"description":"Unknown IO ID 45"} 
[2026-06-21 11:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197139712001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3803008438963785728}} 
[2026-06-21 11:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":108844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:11:31] local.INFO: GPS data processed {"connection_id":108844,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:11:31] local.INFO: Acknowledgment sent {"connection_id":108844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:11:52] local.INFO: TCP Data received {"connection_id":108846,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:11:52] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:11:52] local.INFO: IMEI packet received {"connection_id":108846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":108846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:11:57] local.INFO: TCP Data received {"connection_id":108846,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:11:57] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:11:57] local.INFO: IMEI packet received {"connection_id":108846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":108846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:11:59] local.INFO: TCP Data received {"connection_id":108846,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8acac78012d34c84006aa3f980008006728..."} 
[2026-06-21 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8acac78012d34c84006aa3f980008006728..."} 
[2026-06-21 11:11:59] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8acac78012d34c84006aa3f980008006728..."} 
[2026-06-21 11:11:59] local.INFO: Packet analysis {"connection_id":108846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:11:59] local.INFO: Extracted packet for processing {"connection_id":108846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 11:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820696,"longitude_deg":75.8433856,"latitude_deg":11.1820696,"altitude":8,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-06-21 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197140224001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452139008,"note":"Value kept but may cause issues"} 
[2026-06-21 11:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782020091000,"timestamp_ms":1782020091000,"timestamp_seconds":1782020091,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8acac78"} 
[2026-06-21 11:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:11: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-06-21 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-21 11:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197140224001,"66":27974,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803149176452139008},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197140224001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452139008,"description":"Unknown IO ID 45"} 
[2026-06-21 11:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197140224001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452139008}} 
[2026-06-21 11:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":108846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:11:59] local.INFO: GPS data processed {"connection_id":108846,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:11:59] local.INFO: Acknowledgment sent {"connection_id":108846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:12:31] local.INFO: TCP Data received {"connection_id":108846,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:12:31] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:12:31] local.INFO: Packet analysis {"connection_id":108846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:12:31] local.INFO: Extracted packet for processing {"connection_id":108846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":16,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197143296001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684659712,"note":"Value kept but may cause issues"} 
[2026-06-21 11:12:31] 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-06-21 11:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782020395000,"timestamp_ms":1782020395000,"timestamp_seconds":1782020395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b14ff8"} 
[2026-06-21 11:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 11:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197143296001,"66":26115,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684659712},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197143296001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:12:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684659712,"description":"Unknown IO ID 45"} 
[2026-06-21 11:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197143296001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684659712}} 
[2026-06-21 11:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":108846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:12:31] local.INFO: GPS data processed {"connection_id":108846,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:12:31] local.INFO: Acknowledgment sent {"connection_id":108846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:12:48] local.INFO: TCP Data received {"connection_id":108657,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:12:48] local.INFO: Processing buffer {"connection_id":108657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:12:48] local.INFO: IMEI packet received {"connection_id":108657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":108657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:12:52] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:12:52] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:12:52] local.INFO: IMEI packet received {"connection_id":110398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":110398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:12:57] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:12:57] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:12:57] local.INFO: IMEI packet received {"connection_id":110398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":110398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:13:00] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:13:00] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:13:00] local.INFO: Packet analysis {"connection_id":110398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:13:00] local.INFO: Extracted packet for processing {"connection_id":110398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":16,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197143296001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684659712,"note":"Value kept but may cause issues"} 
[2026-06-21 11:13:00] 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-06-21 11:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782020395000,"timestamp_ms":1782020395000,"timestamp_seconds":1782020395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b14ff8"} 
[2026-06-21 11:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 11:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197143296001,"66":26115,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684659712},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197143296001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684659712,"description":"Unknown IO ID 45"} 
[2026-06-21 11:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197143296001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684659712}} 
[2026-06-21 11:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":110398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:13:00] local.INFO: GPS data processed {"connection_id":110398,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:13:00] local.INFO: Acknowledgment sent {"connection_id":110398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:13:13] local.INFO: TCP Data received {"connection_id":110399,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:13:13] local.INFO: Processing buffer {"connection_id":110399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:13:13] local.INFO: IMEI packet received {"connection_id":110399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":110399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:13:32] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:13:32] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:13:32] local.INFO: Packet analysis {"connection_id":110398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:13:32] local.INFO: Extracted packet for processing {"connection_id":110398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":16,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197143296001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684659712,"note":"Value kept but may cause issues"} 
[2026-06-21 11:13:32] 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-06-21 11:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782020395000,"timestamp_ms":1782020395000,"timestamp_seconds":1782020395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b14ff8"} 
[2026-06-21 11:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 11:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197143296001,"66":26115,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684659712},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197143296001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684659712,"description":"Unknown IO ID 45"} 
[2026-06-21 11:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197143296001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684659712}} 
[2026-06-21 11:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":110398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:13:32] local.INFO: GPS data processed {"connection_id":110398,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:13:32] local.INFO: Acknowledgment sent {"connection_id":110398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:13:57] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:13:57] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:13:57] local.INFO: IMEI packet received {"connection_id":108847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":108847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:14:02] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:02] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:02] local.INFO: IMEI packet received {"connection_id":108847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":108847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:14:04] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:04] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:04] local.INFO: Packet analysis {"connection_id":108847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:14:04] local.INFO: Extracted packet for processing {"connection_id":108847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":16,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197143296001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684659712,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14: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-06-21 11:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782020395000,"timestamp_ms":1782020395000,"timestamp_seconds":1782020395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b14ff8"} 
[2026-06-21 11:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:14: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-06-21 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 11:14: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-06-21 11:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197143296001,"66":26115,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684659712},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197143296001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:14:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684659712,"description":"Unknown IO ID 45"} 
[2026-06-21 11:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197143296001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684659712}} 
[2026-06-21 11:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":108847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:14:04] local.INFO: GPS data processed {"connection_id":108847,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:14:04] local.INFO: Acknowledgment sent {"connection_id":108847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:14:08] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:08] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:08] local.INFO: Packet analysis {"connection_id":108847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:14:08] local.INFO: Extracted packet for processing {"connection_id":108847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":16,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197143296001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684659712,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:08] 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-06-21 11:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782020395000,"timestamp_ms":1782020395000,"timestamp_seconds":1782020395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b14ff8"} 
[2026-06-21 11:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:14: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-06-21 11:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 11:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197143296001,"66":26115,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684659712},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197143296001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684659712,"description":"Unknown IO ID 45"} 
[2026-06-21 11:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197143296001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684659712}} 
[2026-06-21 11:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":108847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:14:08] local.INFO: GPS data processed {"connection_id":108847,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:14:08] local.INFO: Acknowledgment sent {"connection_id":108847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:14:52] local.INFO: TCP Data received {"connection_id":108658,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:52] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:52] local.INFO: IMEI packet received {"connection_id":108658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":108658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:14:57] local.INFO: TCP Data received {"connection_id":108658,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:57] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:14:57] local.INFO: IMEI packet received {"connection_id":108658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":108658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:14:59] local.INFO: TCP Data received {"connection_id":108658,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:59] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:14:59] local.INFO: Packet analysis {"connection_id":108658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:14:59] local.INFO: Extracted packet for processing {"connection_id":108658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":16,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11: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-06-21 11:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197143296001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684659712,"note":"Value kept but may cause issues"} 
[2026-06-21 11:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782020395000,"timestamp_ms":1782020395000,"timestamp_seconds":1782020395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b14ff8"} 
[2026-06-21 11:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 11:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11: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-06-21 11:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197143296001,"66":26115,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684659712},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197143296001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684659712,"description":"Unknown IO ID 45"} 
[2026-06-21 11:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197143296001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684659712}} 
[2026-06-21 11:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":108658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:14:59] local.INFO: GPS data processed {"connection_id":108658,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:14:59] local.INFO: Acknowledgment sent {"connection_id":108658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:15:32] local.INFO: TCP Data received {"connection_id":108658,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:15:32] local.INFO: Processing buffer {"connection_id":108658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b14ff8012d34c84006aa3f600010006725..."} 
[2026-06-21 11:15:32] local.INFO: Packet analysis {"connection_id":108658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:15:32] local.INFO: Extracted packet for processing {"connection_id":108658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b1"} 
[2026-06-21 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":16,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197143296001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684659712,"note":"Value kept but may cause issues"} 
[2026-06-21 11:15:32] 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-06-21 11:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782020395000,"timestamp_ms":1782020395000,"timestamp_seconds":1782020395,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b14ff8"} 
[2026-06-21 11:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-21 11:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197143296001,"66":26115,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684659712},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197143296001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:15:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684659712,"description":"Unknown IO ID 45"} 
[2026-06-21 11:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197143296001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684659712}} 
[2026-06-21 11:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":108658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:15:32] local.INFO: GPS data processed {"connection_id":108658,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:15:32] local.INFO: Acknowledgment sent {"connection_id":108658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:15:52] local.INFO: TCP Data received {"connection_id":109449,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:15:52] local.INFO: Processing buffer {"connection_id":109449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:15:52] local.INFO: IMEI packet received {"connection_id":109449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":109449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:15:57] local.INFO: TCP Data received {"connection_id":109449,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:15:57] local.INFO: Processing buffer {"connection_id":109449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:15:57] local.INFO: IMEI packet received {"connection_id":109449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":109449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:15:58] local.INFO: TCP Data received {"connection_id":109449,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:15:58] local.INFO: Processing buffer {"connection_id":109449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:15:58] local.INFO: Packet analysis {"connection_id":109449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:15:58] local.INFO: Extracted packet for processing {"connection_id":109449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:15:58] 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-06-21 11:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:15: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-06-21 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:15:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":109449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:15:58] local.INFO: GPS data processed {"connection_id":109449,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:15:58] local.INFO: Acknowledgment sent {"connection_id":109449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:16:30] local.INFO: TCP Data received {"connection_id":109449,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:16:30] local.INFO: Processing buffer {"connection_id":109449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:16:30] local.INFO: Packet analysis {"connection_id":109449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:16:30] local.INFO: Extracted packet for processing {"connection_id":109449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:16:30] 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-06-21 11:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":109449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:16:30] local.INFO: GPS data processed {"connection_id":109449,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:16:30] local.INFO: Acknowledgment sent {"connection_id":109449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:16:52] local.INFO: TCP Data received {"connection_id":108659,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:16:52] local.INFO: Processing buffer {"connection_id":108659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:16:52] local.INFO: IMEI packet received {"connection_id":108659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":108659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:16:57] local.INFO: TCP Data received {"connection_id":108659,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:16:57] local.INFO: Processing buffer {"connection_id":108659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:16:57] local.INFO: IMEI packet received {"connection_id":108659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":108659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:16:58] local.INFO: TCP Data received {"connection_id":108659,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:16:58] local.INFO: Processing buffer {"connection_id":108659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:16:58] local.INFO: Packet analysis {"connection_id":108659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:16:58] local.INFO: Extracted packet for processing {"connection_id":108659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:16:58] 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-06-21 11:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:16: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-06-21 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:16:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:16:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":108659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:16:58] local.INFO: GPS data processed {"connection_id":108659,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:16:58] local.INFO: Acknowledgment sent {"connection_id":108659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:17:30] local.INFO: TCP Data received {"connection_id":108659,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:17:30] local.INFO: Processing buffer {"connection_id":108659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:17:30] local.INFO: Packet analysis {"connection_id":108659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:17:30] local.INFO: Extracted packet for processing {"connection_id":108659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:17:30] 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-06-21 11:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":108659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:17:30] local.INFO: GPS data processed {"connection_id":108659,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:17:30] local.INFO: Acknowledgment sent {"connection_id":108659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:17:52] local.INFO: TCP Data received {"connection_id":108849,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:17:52] local.INFO: Processing buffer {"connection_id":108849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:17:52] local.INFO: IMEI packet received {"connection_id":108849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":108849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:17:57] local.INFO: TCP Data received {"connection_id":108849,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:17:57] local.INFO: Processing buffer {"connection_id":108849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:17:57] local.INFO: IMEI packet received {"connection_id":108849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":108849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:17:58] local.INFO: TCP Data received {"connection_id":108849,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:17:58] local.INFO: Processing buffer {"connection_id":108849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:17:58] local.INFO: Packet analysis {"connection_id":108849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:17:58] local.INFO: Extracted packet for processing {"connection_id":108849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:17:58] 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-06-21 11:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:17: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-06-21 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":108849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:17:58] local.INFO: GPS data processed {"connection_id":108849,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:17:58] local.INFO: Acknowledgment sent {"connection_id":108849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:18:30] local.INFO: TCP Data received {"connection_id":108849,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:18:30] local.INFO: Processing buffer {"connection_id":108849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:18:30] local.INFO: Packet analysis {"connection_id":108849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:18:30] local.INFO: Extracted packet for processing {"connection_id":108849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:18:30] 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-06-21 11:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:18:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":108849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:18:30] local.INFO: GPS data processed {"connection_id":108849,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:18:30] local.INFO: Acknowledgment sent {"connection_id":108849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:18:43] local.INFO: TCP Data received {"connection_id":110402,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:18:43] local.INFO: Processing buffer {"connection_id":110402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:18:43] local.INFO: IMEI packet received {"connection_id":110402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":110402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:18:57] local.INFO: TCP Data received {"connection_id":108660,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:18:57] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:18:57] local.INFO: IMEI packet received {"connection_id":108660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":108660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:19:02] local.INFO: TCP Data received {"connection_id":108660,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:02] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:02] local.INFO: IMEI packet received {"connection_id":108660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":108660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:19:03] local.INFO: TCP Data received {"connection_id":108660,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:03] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:03] local.INFO: Packet analysis {"connection_id":108660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:19:03] local.INFO: Extracted packet for processing {"connection_id":108660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:03] 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-06-21 11:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:19:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":108660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:19:03] local.INFO: GPS data processed {"connection_id":108660,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:19:03] local.INFO: Acknowledgment sent {"connection_id":108660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:19:08] local.INFO: TCP Data received {"connection_id":108660,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:08] local.INFO: Processing buffer {"connection_id":108660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:08] local.INFO: Packet analysis {"connection_id":108660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:19:08] local.INFO: Extracted packet for processing {"connection_id":108660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:08] 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-06-21 11:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:19: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-06-21 11:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":108660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:19:08] local.INFO: GPS data processed {"connection_id":108660,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:19:08] local.INFO: Acknowledgment sent {"connection_id":108660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:19:13] local.INFO: TCP Data received {"connection_id":109450,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:19:13] local.INFO: Processing buffer {"connection_id":109450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:19:13] local.INFO: IMEI packet received {"connection_id":109450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":109450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:19:52] local.INFO: TCP Data received {"connection_id":108850,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:52] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:52] local.INFO: IMEI packet received {"connection_id":108850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":108850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:19:57] local.INFO: TCP Data received {"connection_id":108850,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:57] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:19:57] local.INFO: IMEI packet received {"connection_id":108850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":108850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:19:59] local.INFO: TCP Data received {"connection_id":108850,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:59] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:19:59] local.INFO: Packet analysis {"connection_id":108850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:19:59] local.INFO: Extracted packet for processing {"connection_id":108850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":108850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:19:59] local.INFO: GPS data processed {"connection_id":108850,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:19:59] local.INFO: Acknowledgment sent {"connection_id":108850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:20:03] local.INFO: TCP Data received {"connection_id":108850,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:20:03] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:20:03] local.INFO: Packet analysis {"connection_id":108850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:20:03] local.INFO: Extracted packet for processing {"connection_id":108850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:03] 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-06-21 11:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":108850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:20:03] local.INFO: GPS data processed {"connection_id":108850,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:20:03] local.INFO: Acknowledgment sent {"connection_id":108850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:20:35] local.INFO: TCP Data received {"connection_id":108850,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:20:35] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8b5e7c0012d34c84006aa3f60000b006723..."} 
[2026-06-21 11:20:35] local.INFO: Packet analysis {"connection_id":108850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:20:35] local.INFO: Extracted packet for processing {"connection_id":108850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8b5"} 
[2026-06-21 11:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197221120001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20: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-06-21 11:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782020696000,"timestamp_ms":1782020696000,"timestamp_seconds":1782020696,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8b5e7c0"} 
[2026-06-21 11:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 11:20: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-06-21 11:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197221120001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197221120001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:20:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197221120001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":108850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:20:35] local.INFO: GPS data processed {"connection_id":108850,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:20:35] local.INFO: Acknowledgment sent {"connection_id":108850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:20:52] local.INFO: TCP Data received {"connection_id":108661,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:20:52] local.INFO: Processing buffer {"connection_id":108661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:20:52] local.INFO: IMEI packet received {"connection_id":108661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":108661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:20:57] local.INFO: TCP Data received {"connection_id":108661,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:20:57] local.INFO: Processing buffer {"connection_id":108661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:20:57] local.INFO: IMEI packet received {"connection_id":108661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":108661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:20:58] local.INFO: TCP Data received {"connection_id":108661,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:20:58] local.INFO: Processing buffer {"connection_id":108661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:20:58] local.INFO: Packet analysis {"connection_id":108661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:20:58] local.INFO: Extracted packet for processing {"connection_id":108661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:20:58] 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-06-21 11:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:20:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":108661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:20:58] local.INFO: GPS data processed {"connection_id":108661,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:20:58] local.INFO: Acknowledgment sent {"connection_id":108661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:21:30] local.INFO: TCP Data received {"connection_id":108661,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:21:30] local.INFO: Processing buffer {"connection_id":108661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:21:30] local.INFO: Packet analysis {"connection_id":108661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:21:30] local.INFO: Extracted packet for processing {"connection_id":108661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:21:30] 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-06-21 11:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":108661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:21:30] local.INFO: GPS data processed {"connection_id":108661,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:21:30] local.INFO: Acknowledgment sent {"connection_id":108661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:21:52] local.INFO: TCP Data received {"connection_id":108851,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:21:52] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:21:52] local.INFO: IMEI packet received {"connection_id":108851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":108851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:21:57] local.INFO: TCP Data received {"connection_id":108851,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:21:57] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:21:57] local.INFO: IMEI packet received {"connection_id":108851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":108851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:21:59] local.INFO: TCP Data received {"connection_id":108851,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:21:59] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:21:59] local.INFO: Packet analysis {"connection_id":108851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:21:59] local.INFO: Extracted packet for processing {"connection_id":108851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11: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-06-21 11:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11: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-06-21 11:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":108851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:21:59] local.INFO: GPS data processed {"connection_id":108851,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:21:59] local.INFO: Acknowledgment sent {"connection_id":108851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:22:32] local.INFO: TCP Data received {"connection_id":108851,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:22:32] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:22:32] local.INFO: Packet analysis {"connection_id":108851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:22:32] local.INFO: Extracted packet for processing {"connection_id":108851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:22:32] 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-06-21 11:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:22:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":108851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:22:32] local.INFO: GPS data processed {"connection_id":108851,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:22:32] local.INFO: Acknowledgment sent {"connection_id":108851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:22:52] local.INFO: TCP Data received {"connection_id":108662,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:22:52] local.INFO: Processing buffer {"connection_id":108662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:22:52] local.INFO: IMEI packet received {"connection_id":108662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":108662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:22:57] local.INFO: TCP Data received {"connection_id":108662,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:22:57] local.INFO: Processing buffer {"connection_id":108662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:22:57] local.INFO: IMEI packet received {"connection_id":108662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":108662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:23:00] local.INFO: TCP Data received {"connection_id":108662,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:23:00] local.INFO: Processing buffer {"connection_id":108662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:23:00] local.INFO: Packet analysis {"connection_id":108662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:23:00] local.INFO: Extracted packet for processing {"connection_id":108662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:23:00] 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-06-21 11:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:23:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":108662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:23:00] local.INFO: GPS data processed {"connection_id":108662,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:23:00] local.INFO: Acknowledgment sent {"connection_id":108662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:23:32] local.INFO: TCP Data received {"connection_id":108662,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:23:32] local.INFO: Processing buffer {"connection_id":108662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:23:32] local.INFO: Packet analysis {"connection_id":108662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:23:32] local.INFO: Extracted packet for processing {"connection_id":108662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:23:32] 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-06-21 11:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":108662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:23:32] local.INFO: GPS data processed {"connection_id":108662,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:23:32] local.INFO: Acknowledgment sent {"connection_id":108662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:23:57] local.INFO: TCP Data received {"connection_id":109453,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:23:57] local.INFO: Processing buffer {"connection_id":109453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:23:57] local.INFO: IMEI packet received {"connection_id":109453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":109453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:24:02] local.INFO: TCP Data received {"connection_id":109453,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:02] local.INFO: Processing buffer {"connection_id":109453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:02] local.INFO: IMEI packet received {"connection_id":109453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":109453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:24:04] local.INFO: TCP Data received {"connection_id":109453,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:24:04] local.INFO: Processing buffer {"connection_id":109453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:24:04] local.INFO: Packet analysis {"connection_id":109453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:24:04] local.INFO: Extracted packet for processing {"connection_id":109453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:24: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-06-21 11:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":109453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:24:04] local.INFO: GPS data processed {"connection_id":109453,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:24:04] local.INFO: Acknowledgment sent {"connection_id":109453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:24:08] local.INFO: TCP Data received {"connection_id":109453,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:24:08] local.INFO: Processing buffer {"connection_id":109453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:24:08] local.INFO: Packet analysis {"connection_id":109453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:24:08] local.INFO: Extracted packet for processing {"connection_id":109453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:24:08] 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-06-21 11:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:24:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":109453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:24:08] local.INFO: GPS data processed {"connection_id":109453,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:24:08] local.INFO: Acknowledgment sent {"connection_id":109453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:24:52] local.INFO: TCP Data received {"connection_id":108663,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:52] local.INFO: Processing buffer {"connection_id":108663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:52] local.INFO: IMEI packet received {"connection_id":108663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":108663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:24:57] local.INFO: TCP Data received {"connection_id":108663,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:57] local.INFO: Processing buffer {"connection_id":108663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:24:57] local.INFO: IMEI packet received {"connection_id":108663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":108663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:25:00] local.INFO: TCP Data received {"connection_id":108663,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:25:00] local.INFO: Processing buffer {"connection_id":108663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:25:00] local.INFO: Packet analysis {"connection_id":108663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:25:00] local.INFO: Extracted packet for processing {"connection_id":108663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:25:00] 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-06-21 11:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":108663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:25:00] local.INFO: GPS data processed {"connection_id":108663,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:25:00] local.INFO: Acknowledgment sent {"connection_id":108663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:25:12] local.INFO: TCP Data received {"connection_id":109454,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:25:12] local.INFO: Processing buffer {"connection_id":109454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:25:12] local.INFO: IMEI packet received {"connection_id":109454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":109454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:25:31] local.INFO: TCP Data received {"connection_id":108663,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:25:31] local.INFO: Processing buffer {"connection_id":108663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ba7f88012d34c84006aa3f600009006722..."} 
[2026-06-21 11:25:31] local.INFO: Packet analysis {"connection_id":108663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:25:31] local.INFO: Extracted packet for processing {"connection_id":108663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ba"} 
[2026-06-21 11:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":9,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197298176001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:25:31] 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-06-21 11:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782020997000,"timestamp_ms":1782020997000,"timestamp_seconds":1782020997,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ba7f88"} 
[2026-06-21 11:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 11:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197298176001,"66":25702,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197298176001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:25:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197298176001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":108663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:25:31] local.INFO: GPS data processed {"connection_id":108663,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:25:31] local.INFO: Acknowledgment sent {"connection_id":108663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:25:52] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:25:52] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:25:52] local.INFO: IMEI packet received {"connection_id":110406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":110406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:25:57] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:25:57] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:25:57] local.INFO: IMEI packet received {"connection_id":110406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":110406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:26:00] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:00] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:00] local.INFO: Packet analysis {"connection_id":110406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:26:00] local.INFO: Extracted packet for processing {"connection_id":110406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:00] 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-06-21 11:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":110406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:26:00] local.INFO: GPS data processed {"connection_id":110406,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:26:00] local.INFO: Acknowledgment sent {"connection_id":110406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:26:32] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:32] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:32] local.INFO: Packet analysis {"connection_id":110406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:26:32] local.INFO: Extracted packet for processing {"connection_id":110406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:32] 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-06-21 11:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:26:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":110406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:26:32] local.INFO: GPS data processed {"connection_id":110406,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:26:32] local.INFO: Acknowledgment sent {"connection_id":110406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:26:52] local.INFO: TCP Data received {"connection_id":109455,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:26:52] local.INFO: Processing buffer {"connection_id":109455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:26:52] local.INFO: IMEI packet received {"connection_id":109455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":109455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:26:57] local.INFO: TCP Data received {"connection_id":109455,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:26:57] local.INFO: Processing buffer {"connection_id":109455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:26:57] local.INFO: IMEI packet received {"connection_id":109455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":109455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:26:59] local.INFO: TCP Data received {"connection_id":109455,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:59] local.INFO: Processing buffer {"connection_id":109455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:26:59] local.INFO: Packet analysis {"connection_id":109455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:26:59] local.INFO: Extracted packet for processing {"connection_id":109455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11: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-06-21 11:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:26: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-06-21 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":109455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:26:59] local.INFO: GPS data processed {"connection_id":109455,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:26:59] local.INFO: Acknowledgment sent {"connection_id":109455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:27:30] local.INFO: TCP Data received {"connection_id":109455,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:27:30] local.INFO: Processing buffer {"connection_id":109455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:27:30] local.INFO: Packet analysis {"connection_id":109455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:27:30] local.INFO: Extracted packet for processing {"connection_id":109455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:27:30] 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-06-21 11:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:27:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:27:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":109455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:27:30] local.INFO: GPS data processed {"connection_id":109455,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:27:30] local.INFO: Acknowledgment sent {"connection_id":109455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:27:57] local.INFO: TCP Data received {"connection_id":109456,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:27:57] local.INFO: Processing buffer {"connection_id":109456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:27:57] local.INFO: IMEI packet received {"connection_id":109456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":109456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:27:58] local.INFO: TCP Data received {"connection_id":109456,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:27:58] local.INFO: Processing buffer {"connection_id":109456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:27:58] local.INFO: Packet analysis {"connection_id":109456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:27:58] local.INFO: Extracted packet for processing {"connection_id":109456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:27:58] 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-06-21 11:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:27: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-06-21 11:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":109456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:27:58] local.INFO: GPS data processed {"connection_id":109456,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:27:58] local.INFO: Acknowledgment sent {"connection_id":109456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:28:30] local.INFO: TCP Data received {"connection_id":109456,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:28:30] local.INFO: Processing buffer {"connection_id":109456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:28:30] local.INFO: Packet analysis {"connection_id":109456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:28:30] local.INFO: Extracted packet for processing {"connection_id":109456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:28:30] 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-06-21 11:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":109456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:28:30] local.INFO: GPS data processed {"connection_id":109456,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:28:30] local.INFO: Acknowledgment sent {"connection_id":109456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:28:52] local.INFO: TCP Data received {"connection_id":108666,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:28:52] local.INFO: Processing buffer {"connection_id":108666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:28:52] local.INFO: IMEI packet received {"connection_id":108666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":108666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:28:57] local.INFO: TCP Data received {"connection_id":108666,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:28:57] local.INFO: Processing buffer {"connection_id":108666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:28:57] local.INFO: IMEI packet received {"connection_id":108666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":108666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:28:59] local.INFO: TCP Data received {"connection_id":108666,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:28:59] local.INFO: Processing buffer {"connection_id":108666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:28:59] local.INFO: Packet analysis {"connection_id":108666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:28:59] local.INFO: Extracted packet for processing {"connection_id":108666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":108666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:28:59] local.INFO: GPS data processed {"connection_id":108666,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:28:59] local.INFO: Acknowledgment sent {"connection_id":108666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:29:04] local.INFO: TCP Data received {"connection_id":108666,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:04] local.INFO: Processing buffer {"connection_id":108666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:04] local.INFO: Packet analysis {"connection_id":108666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:29:04] local.INFO: Extracted packet for processing {"connection_id":108666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29: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-06-21 11:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:29:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":108666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:29:04] local.INFO: GPS data processed {"connection_id":108666,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:29:04] local.INFO: Acknowledgment sent {"connection_id":108666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:29:36] local.INFO: TCP Data received {"connection_id":108666,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:36] local.INFO: Processing buffer {"connection_id":108666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:36] local.INFO: Packet analysis {"connection_id":108666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:29:36] local.INFO: Extracted packet for processing {"connection_id":108666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29: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-06-21 11:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:29:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":108666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:29:36] local.INFO: GPS data processed {"connection_id":108666,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:29:36] local.INFO: Acknowledgment sent {"connection_id":108666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:29:52] local.INFO: TCP Data received {"connection_id":108667,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:29:52] local.INFO: Processing buffer {"connection_id":108667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:29:52] local.INFO: IMEI packet received {"connection_id":108667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":108667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:29:57] local.INFO: TCP Data received {"connection_id":108667,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:29:57] local.INFO: Processing buffer {"connection_id":108667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:29:57] local.INFO: IMEI packet received {"connection_id":108667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":108667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:29:59] local.INFO: TCP Data received {"connection_id":108667,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:59] local.INFO: Processing buffer {"connection_id":108667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:29:59] local.INFO: Packet analysis {"connection_id":108667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:29:59] local.INFO: Extracted packet for processing {"connection_id":108667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11: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-06-21 11:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:29: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-06-21 11:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11: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-06-21 11:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":108667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:29:59] local.INFO: GPS data processed {"connection_id":108667,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:29:59] local.INFO: Acknowledgment sent {"connection_id":108667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:30:31] local.INFO: TCP Data received {"connection_id":108667,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:30:31] local.INFO: Processing buffer {"connection_id":108667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8bf1750012d34c84006aa3f600005006729..."} 
[2026-06-21 11:30:31] local.INFO: Packet analysis {"connection_id":108667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:30:31] local.INFO: Extracted packet for processing {"connection_id":108667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8bf"} 
[2026-06-21 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":5,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197375232001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:30:31] 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-06-21 11:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782021298000,"timestamp_ms":1782021298000,"timestamp_seconds":1782021298,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8bf1750"} 
[2026-06-21 11:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-21 11:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197375232001,"66":25680,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197375232001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197375232001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":108667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:30:31] local.INFO: GPS data processed {"connection_id":108667,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:30:31] local.INFO: Acknowledgment sent {"connection_id":108667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:30:38] local.INFO: TCP Data received {"connection_id":108668,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:30:38] local.INFO: Processing buffer {"connection_id":108668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:30:38] local.INFO: IMEI packet received {"connection_id":108668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":108668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:30:52] local.INFO: TCP Data received {"connection_id":110407,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:30:52] local.INFO: Processing buffer {"connection_id":110407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:30:52] local.INFO: IMEI packet received {"connection_id":110407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":110407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:30:57] local.INFO: TCP Data received {"connection_id":110407,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:30:57] local.INFO: Processing buffer {"connection_id":110407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:30:57] local.INFO: IMEI packet received {"connection_id":110407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":110407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:30:59] local.INFO: TCP Data received {"connection_id":110407,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:30:59] local.INFO: Processing buffer {"connection_id":110407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:30:59] local.INFO: Packet analysis {"connection_id":110407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:30:59] local.INFO: Extracted packet for processing {"connection_id":110407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:30: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-06-21 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":110407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:30:59] local.INFO: GPS data processed {"connection_id":110407,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:30:59] local.INFO: Acknowledgment sent {"connection_id":110407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:31:12] local.INFO: TCP Data received {"connection_id":108669,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:31:12] local.INFO: Processing buffer {"connection_id":108669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:31:12] local.INFO: IMEI packet received {"connection_id":108669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":108669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:31:30] local.INFO: TCP Data received {"connection_id":110407,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:31:30] local.INFO: Processing buffer {"connection_id":110407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:31:30] local.INFO: Packet analysis {"connection_id":110407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:31:30] local.INFO: Extracted packet for processing {"connection_id":110407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:31:30] 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-06-21 11:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:31:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":110407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:31:30] local.INFO: GPS data processed {"connection_id":110407,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:31:30] local.INFO: Acknowledgment sent {"connection_id":110407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:31:57] local.INFO: TCP Data received {"connection_id":109457,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:31:57] local.INFO: Processing buffer {"connection_id":109457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:31:57] local.INFO: IMEI packet received {"connection_id":109457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":109457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:32:02] local.INFO: TCP Data received {"connection_id":109457,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:02] local.INFO: Processing buffer {"connection_id":109457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:02] local.INFO: IMEI packet received {"connection_id":109457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":109457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:32:04] local.INFO: TCP Data received {"connection_id":109457,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:04] local.INFO: Processing buffer {"connection_id":109457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:04] local.INFO: Packet analysis {"connection_id":109457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:32:04] local.INFO: Extracted packet for processing {"connection_id":109457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11: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-06-21 11:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":109457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:32:04] local.INFO: GPS data processed {"connection_id":109457,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:32:04] local.INFO: Acknowledgment sent {"connection_id":109457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:32:08] local.INFO: TCP Data received {"connection_id":109457,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:08] local.INFO: Processing buffer {"connection_id":109457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:08] local.INFO: Packet analysis {"connection_id":109457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:32:08] local.INFO: Extracted packet for processing {"connection_id":109457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:08] 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-06-21 11:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":109457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:32:08] local.INFO: GPS data processed {"connection_id":109457,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:32:08] local.INFO: Acknowledgment sent {"connection_id":109457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:32:52] local.INFO: TCP Data received {"connection_id":108854,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:52] local.INFO: Processing buffer {"connection_id":108854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:52] local.INFO: IMEI packet received {"connection_id":108854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":108854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:32:57] local.INFO: TCP Data received {"connection_id":108854,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:57] local.INFO: Processing buffer {"connection_id":108854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:32:57] local.INFO: IMEI packet received {"connection_id":108854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":108854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:32:59] local.INFO: TCP Data received {"connection_id":108854,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:59] local.INFO: Processing buffer {"connection_id":108854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:32:59] local.INFO: Packet analysis {"connection_id":108854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:32:59] local.INFO: Extracted packet for processing {"connection_id":108854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11: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-06-21 11:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11: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-06-21 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11: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-06-21 11:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":108854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:32:59] local.INFO: GPS data processed {"connection_id":108854,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:32:59] local.INFO: Acknowledgment sent {"connection_id":108854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:33:31] local.INFO: TCP Data received {"connection_id":108854,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:33:31] local.INFO: Processing buffer {"connection_id":108854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:33:31] local.INFO: Packet analysis {"connection_id":108854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:33:31] local.INFO: Extracted packet for processing {"connection_id":108854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:33:31] 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-06-21 11:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:33:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":108854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:33:31] local.INFO: GPS data processed {"connection_id":108854,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:33:31] local.INFO: Acknowledgment sent {"connection_id":108854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:33:52] local.INFO: TCP Data received {"connection_id":110408,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:33:52] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:33:52] local.INFO: IMEI packet received {"connection_id":110408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":110408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:33:57] local.INFO: TCP Data received {"connection_id":110408,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:33:57] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:33:57] local.INFO: IMEI packet received {"connection_id":110408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":110408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:33:58] local.INFO: TCP Data received {"connection_id":110408,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:33:58] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:33:58] local.INFO: Packet analysis {"connection_id":110408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:33:58] local.INFO: Extracted packet for processing {"connection_id":110408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:33:58] 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-06-21 11:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:33: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-06-21 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:33:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":110408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:33:58] local.INFO: GPS data processed {"connection_id":110408,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:33:58] local.INFO: Acknowledgment sent {"connection_id":110408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:34:30] local.INFO: TCP Data received {"connection_id":110408,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:34:31] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:34:31] local.INFO: Packet analysis {"connection_id":110408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:34:31] local.INFO: Extracted packet for processing {"connection_id":110408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:34:31] 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-06-21 11:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:34:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":110408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:34:31] local.INFO: GPS data processed {"connection_id":110408,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:34:31] local.INFO: Acknowledgment sent {"connection_id":110408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:34:52] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:34:52] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:34:52] local.INFO: IMEI packet received {"connection_id":110409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":110409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:34:57] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:34:57] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:34:57] local.INFO: IMEI packet received {"connection_id":110409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":110409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:34:59] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:34:59] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:34:59] local.INFO: Packet analysis {"connection_id":110409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:34:59] local.INFO: Extracted packet for processing {"connection_id":110409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:34: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-06-21 11:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":110409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:34:59] local.INFO: GPS data processed {"connection_id":110409,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:34:59] local.INFO: Acknowledgment sent {"connection_id":110409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:35:31] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:35:31] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c3af18012d34c84006aa3f600006006727..."} 
[2026-06-21 11:35:31] local.INFO: Packet analysis {"connection_id":110409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:35:31] local.INFO: Extracted packet for processing {"connection_id":110409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c3"} 
[2026-06-21 11:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":6,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197452288001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:35:31] 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-06-21 11:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782021599000,"timestamp_ms":1782021599000,"timestamp_seconds":1782021599,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c3af18"} 
[2026-06-21 11:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-21 11:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197452288001,"66":25625,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197452288001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:35:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197452288001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":110409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:35:31] local.INFO: GPS data processed {"connection_id":110409,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:35:31] local.INFO: Acknowledgment sent {"connection_id":110409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:35:57] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:35:57] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:35:57] local.INFO: IMEI packet received {"connection_id":110410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":110410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:36:02] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:02] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:02] local.INFO: IMEI packet received {"connection_id":110410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":110410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:36:03] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:03] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:03] local.INFO: Packet analysis {"connection_id":110410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:36:03] local.INFO: Extracted packet for processing {"connection_id":110410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:03] 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-06-21 11:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":110410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:36:03] local.INFO: GPS data processed {"connection_id":110410,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:36:03] local.INFO: Acknowledgment sent {"connection_id":110410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:36:13] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:13] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:13] local.INFO: Packet analysis {"connection_id":110410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:36:13] local.INFO: Extracted packet for processing {"connection_id":110410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11: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-06-21 11:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:13] 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-06-21 11:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11: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-06-21 11:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":110410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:36:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:36:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":110410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:36:13] local.INFO: GPS data processed {"connection_id":110410,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:36:13] local.INFO: Acknowledgment sent {"connection_id":110410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:36:33] local.INFO: TCP Data received {"connection_id":109459,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:36:33] local.INFO: Processing buffer {"connection_id":109459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:36:33] local.INFO: IMEI packet received {"connection_id":109459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":109459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:36:52] local.INFO: TCP Data received {"connection_id":109460,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:52] local.INFO: Processing buffer {"connection_id":109460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:52] local.INFO: IMEI packet received {"connection_id":109460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":109460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:36:57] local.INFO: TCP Data received {"connection_id":109460,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:57] local.INFO: Processing buffer {"connection_id":109460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:36:57] local.INFO: IMEI packet received {"connection_id":109460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":109460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:36:58] local.INFO: TCP Data received {"connection_id":109460,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:58] local.INFO: Processing buffer {"connection_id":109460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:36:58] local.INFO: Packet analysis {"connection_id":109460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:36:58] local.INFO: Extracted packet for processing {"connection_id":109460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:36:58] 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-06-21 11:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:36: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-06-21 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:36:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:36:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":109460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:36:58] local.INFO: GPS data processed {"connection_id":109460,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:36:58] local.INFO: Acknowledgment sent {"connection_id":109460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:37:18] local.INFO: TCP Data received {"connection_id":110411,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:37:18] local.INFO: Processing buffer {"connection_id":110411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:37:18] local.INFO: IMEI packet received {"connection_id":110411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":110411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:37:30] local.INFO: TCP Data received {"connection_id":109460,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:37:30] local.INFO: Processing buffer {"connection_id":109460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:37:30] local.INFO: Packet analysis {"connection_id":109460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:37:30] local.INFO: Extracted packet for processing {"connection_id":109460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:37:30] 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-06-21 11:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:37:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":109460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:37:30] local.INFO: GPS data processed {"connection_id":109460,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:37:30] local.INFO: Acknowledgment sent {"connection_id":109460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:37:52] local.INFO: TCP Data received {"connection_id":109461,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:37:52] local.INFO: Processing buffer {"connection_id":109461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:37:52] local.INFO: IMEI packet received {"connection_id":109461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":109461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:37:57] local.INFO: TCP Data received {"connection_id":109461,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:37:57] local.INFO: Processing buffer {"connection_id":109461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:37:57] local.INFO: IMEI packet received {"connection_id":109461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":109461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:37:59] local.INFO: TCP Data received {"connection_id":109461,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:37:59] local.INFO: Processing buffer {"connection_id":109461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:37:59] local.INFO: Packet analysis {"connection_id":109461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:37:59] local.INFO: Extracted packet for processing {"connection_id":109461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:37: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-06-21 11:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:37:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":109461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:37:59] local.INFO: GPS data processed {"connection_id":109461,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:37:59] local.INFO: Acknowledgment sent {"connection_id":109461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:38:31] local.INFO: TCP Data received {"connection_id":109461,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:38:31] local.INFO: Processing buffer {"connection_id":109461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:38:31] local.INFO: Packet analysis {"connection_id":109461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:38:31] local.INFO: Extracted packet for processing {"connection_id":109461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:38:31] 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-06-21 11:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":109461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:38:31] local.INFO: GPS data processed {"connection_id":109461,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:38:31] local.INFO: Acknowledgment sent {"connection_id":109461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:38:52] local.INFO: TCP Data received {"connection_id":108672,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:38:52] local.INFO: Processing buffer {"connection_id":108672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:38:52] local.INFO: IMEI packet received {"connection_id":108672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":108672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:38:57] local.INFO: TCP Data received {"connection_id":108672,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:38:57] local.INFO: Processing buffer {"connection_id":108672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:38:57] local.INFO: IMEI packet received {"connection_id":108672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":108672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:38:59] local.INFO: TCP Data received {"connection_id":108672,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:38:59] local.INFO: Processing buffer {"connection_id":108672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:38:59] local.INFO: Packet analysis {"connection_id":108672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:38:59] local.INFO: Extracted packet for processing {"connection_id":108672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:38: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-06-21 11:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":108672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:38:59] local.INFO: GPS data processed {"connection_id":108672,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:38:59] local.INFO: Acknowledgment sent {"connection_id":108672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:39:31] local.INFO: TCP Data received {"connection_id":108672,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:39:31] local.INFO: Processing buffer {"connection_id":108672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:39:31] local.INFO: Packet analysis {"connection_id":108672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:39:31] local.INFO: Extracted packet for processing {"connection_id":108672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:39:31] 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-06-21 11:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:39:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":108672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:39:31] local.INFO: GPS data processed {"connection_id":108672,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:39:31] local.INFO: Acknowledgment sent {"connection_id":108672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:39:57] local.INFO: TCP Data received {"connection_id":108857,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:39:57] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:39:57] local.INFO: IMEI packet received {"connection_id":108857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":108857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:40:02] local.INFO: TCP Data received {"connection_id":108857,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:02] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:02] local.INFO: IMEI packet received {"connection_id":108857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":108857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:40:04] local.INFO: TCP Data received {"connection_id":108857,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:40:04] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:40:04] local.INFO: Packet analysis {"connection_id":108857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:40:04] local.INFO: Extracted packet for processing {"connection_id":108857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11: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-06-21 11:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:40: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-06-21 11:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":108857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:40:04] local.INFO: GPS data processed {"connection_id":108857,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:40:04] local.INFO: Acknowledgment sent {"connection_id":108857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:40:09] local.INFO: TCP Data received {"connection_id":108857,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:40:09] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8c846e0012d34c84006aa3f600000006723..."} 
[2026-06-21 11:40:09] local.INFO: Packet analysis {"connection_id":108857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:40:09] local.INFO: Extracted packet for processing {"connection_id":108857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8c8"} 
[2026-06-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":0,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197529344001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40: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-06-21 11:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782021900000,"timestamp_ms":1782021900000,"timestamp_seconds":1782021900,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8c846e0"} 
[2026-06-21 11:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-21 11:40: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-06-21 11:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197529344001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197529344001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197529344001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":108857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:40:09] local.INFO: GPS data processed {"connection_id":108857,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:40:09] local.INFO: Acknowledgment sent {"connection_id":108857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:40:52] local.INFO: TCP Data received {"connection_id":108673,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:52] local.INFO: Processing buffer {"connection_id":108673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:52] local.INFO: IMEI packet received {"connection_id":108673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":108673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:40:57] local.INFO: TCP Data received {"connection_id":108673,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:57] local.INFO: Processing buffer {"connection_id":108673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:40:57] local.INFO: IMEI packet received {"connection_id":108673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":108673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:40:58] local.INFO: TCP Data received {"connection_id":108673,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:40:58] local.INFO: Processing buffer {"connection_id":108673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:40:58] local.INFO: Packet analysis {"connection_id":108673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:40:58] local.INFO: Extracted packet for processing {"connection_id":108673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:40:58] 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-06-21 11:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:40: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-06-21 11:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:40:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":108673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:40:58] local.INFO: GPS data processed {"connection_id":108673,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:40:58] local.INFO: Acknowledgment sent {"connection_id":108673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:41:30] local.INFO: TCP Data received {"connection_id":108673,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:41:30] local.INFO: Processing buffer {"connection_id":108673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:41:30] local.INFO: Packet analysis {"connection_id":108673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:41:30] local.INFO: Extracted packet for processing {"connection_id":108673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:41:30] 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-06-21 11:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":108673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:41:30] local.INFO: GPS data processed {"connection_id":108673,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:41:30] local.INFO: Acknowledgment sent {"connection_id":108673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:41:52] local.INFO: TCP Data received {"connection_id":110413,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:41:52] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:41:52] local.INFO: IMEI packet received {"connection_id":110413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":110413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:41:57] local.INFO: TCP Data received {"connection_id":110413,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:41:57] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:41:57] local.INFO: IMEI packet received {"connection_id":110413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":110413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:41:58] local.INFO: TCP Data received {"connection_id":110413,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:41:58] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:41:58] local.INFO: Packet analysis {"connection_id":110413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:41:58] local.INFO: Extracted packet for processing {"connection_id":110413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:41:58] 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-06-21 11:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:41: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-06-21 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:41:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":110413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:41:58] local.INFO: GPS data processed {"connection_id":110413,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:41:58] local.INFO: Acknowledgment sent {"connection_id":110413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:42:30] local.INFO: TCP Data received {"connection_id":110413,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:42:30] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:42:30] local.INFO: Packet analysis {"connection_id":110413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:42:30] local.INFO: Extracted packet for processing {"connection_id":110413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:42:30] 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-06-21 11:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:42:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":110413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:42:30] local.INFO: GPS data processed {"connection_id":110413,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:42:30] local.INFO: Acknowledgment sent {"connection_id":110413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:42:48] local.INFO: TCP Data received {"connection_id":109463,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:42:48] local.INFO: Processing buffer {"connection_id":109463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:42:48] local.INFO: IMEI packet received {"connection_id":109463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":109463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:42:52] local.INFO: TCP Data received {"connection_id":109464,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:42:52] local.INFO: Processing buffer {"connection_id":109464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:42:52] local.INFO: IMEI packet received {"connection_id":109464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":109464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:42:57] local.INFO: TCP Data received {"connection_id":109464,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:42:57] local.INFO: Processing buffer {"connection_id":109464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:42:57] local.INFO: IMEI packet received {"connection_id":109464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":109464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:42:59] local.INFO: TCP Data received {"connection_id":109464,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:42:59] local.INFO: Processing buffer {"connection_id":109464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:42:59] local.INFO: Packet analysis {"connection_id":109464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:42:59] local.INFO: Extracted packet for processing {"connection_id":109464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:42: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-06-21 11:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:42:59] 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-06-21 11:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:42:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":109464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:42:59] local.INFO: GPS data processed {"connection_id":109464,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:42:59] local.INFO: Acknowledgment sent {"connection_id":109464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:43:13] local.INFO: TCP Data received {"connection_id":109465,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:43:13] local.INFO: Processing buffer {"connection_id":109465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:43:13] local.INFO: IMEI packet received {"connection_id":109465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":109465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:43:31] local.INFO: TCP Data received {"connection_id":109464,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:43:31] local.INFO: Processing buffer {"connection_id":109464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:43:31] local.INFO: Packet analysis {"connection_id":109464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:43:31] local.INFO: Extracted packet for processing {"connection_id":109464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:43:31] 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-06-21 11:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:43:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":109464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:43:31] local.INFO: GPS data processed {"connection_id":109464,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:43:31] local.INFO: Acknowledgment sent {"connection_id":109464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:43:57] local.INFO: TCP Data received {"connection_id":110414,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:43:57] local.INFO: Processing buffer {"connection_id":110414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:43:57] local.INFO: IMEI packet received {"connection_id":110414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":110414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:44:02] local.INFO: TCP Data received {"connection_id":110414,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:02] local.INFO: Processing buffer {"connection_id":110414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:02] local.INFO: IMEI packet received {"connection_id":110414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":110414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:44:04] local.INFO: TCP Data received {"connection_id":110414,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:04] local.INFO: Processing buffer {"connection_id":110414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:04] local.INFO: Packet analysis {"connection_id":110414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:44:04] local.INFO: Extracted packet for processing {"connection_id":110414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11: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-06-21 11:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":110414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:44:04] local.INFO: GPS data processed {"connection_id":110414,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:44:04] local.INFO: Acknowledgment sent {"connection_id":110414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:44:08] local.INFO: TCP Data received {"connection_id":110414,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:08] local.INFO: Processing buffer {"connection_id":110414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:08] local.INFO: Packet analysis {"connection_id":110414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:44:08] local.INFO: Extracted packet for processing {"connection_id":110414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:08] 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-06-21 11:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":110414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:44:08] local.INFO: GPS data processed {"connection_id":110414,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:44:08] local.INFO: Acknowledgment sent {"connection_id":110414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:44:52] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:52] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:52] local.INFO: IMEI packet received {"connection_id":108858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":108858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:44:57] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:57] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:44:57] local.INFO: IMEI packet received {"connection_id":108858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":108858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:44:59] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:59] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:44:59] local.INFO: Packet analysis {"connection_id":108858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:44:59] local.INFO: Extracted packet for processing {"connection_id":108858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11: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-06-21 11:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 11:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:44: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-06-21 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:44:59] 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-06-21 11: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-06-21 11:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":108858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:44:59] local.INFO: GPS data processed {"connection_id":108858,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:44:59] local.INFO: Acknowledgment sent {"connection_id":108858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:45:31] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:45:31] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ccdea8012d34c84006aa3f600004006724..."} 
[2026-06-21 11:45:31] local.INFO: Packet analysis {"connection_id":108858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:45:31] local.INFO: Extracted packet for processing {"connection_id":108858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8cc"} 
[2026-06-21 11:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197606400001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:45:31] 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-06-21 11:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782022201000,"timestamp_ms":1782022201000,"timestamp_seconds":1782022201,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ccdea8"} 
[2026-06-21 11:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 11:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197606400001,"66":24527,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197606400001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:45:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197606400001,"power":24527,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":108858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:45:31] local.INFO: GPS data processed {"connection_id":108858,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:45:31] local.INFO: Acknowledgment sent {"connection_id":108858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:45:52] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:45:52] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:45:52] local.INFO: IMEI packet received {"connection_id":110417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":110417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:45:57] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:45:57] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:45:57] local.INFO: IMEI packet received {"connection_id":110417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":110417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:45:58] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:45:58] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:45:58] local.INFO: Packet analysis {"connection_id":110417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:45:58] local.INFO: Extracted packet for processing {"connection_id":110417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:45:58] 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-06-21 11:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:45: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-06-21 11:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:45:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":110417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:45:58] local.INFO: GPS data processed {"connection_id":110417,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:45:58] local.INFO: Acknowledgment sent {"connection_id":110417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:46:30] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:46:30] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:46:30] local.INFO: Packet analysis {"connection_id":110417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:46:30] local.INFO: Extracted packet for processing {"connection_id":110417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:46:30] 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-06-21 11:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":110417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:46:30] local.INFO: GPS data processed {"connection_id":110417,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:46:30] local.INFO: Acknowledgment sent {"connection_id":110417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:46:56] local.INFO: TCP Data received {"connection_id":108859,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:46:56] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:46:56] local.INFO: IMEI packet received {"connection_id":108859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":108859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:47:02] local.INFO: TCP Data received {"connection_id":108859,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:02] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:02] local.INFO: IMEI packet received {"connection_id":108859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":108859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:47:04] local.INFO: TCP Data received {"connection_id":108859,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:04] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:04] local.INFO: Packet analysis {"connection_id":108859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:47:04] local.INFO: Extracted packet for processing {"connection_id":108859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47: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-06-21 11:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":108859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:47:04] local.INFO: GPS data processed {"connection_id":108859,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:47:04] local.INFO: Acknowledgment sent {"connection_id":108859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:47:36] local.INFO: TCP Data received {"connection_id":108859,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:36] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:36] local.INFO: Packet analysis {"connection_id":108859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:47:36] local.INFO: Extracted packet for processing {"connection_id":108859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47: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-06-21 11:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:47:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":108859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:47:36] local.INFO: GPS data processed {"connection_id":108859,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:47:36] local.INFO: Acknowledgment sent {"connection_id":108859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:47:52] local.INFO: TCP Data received {"connection_id":109468,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:52] local.INFO: Processing buffer {"connection_id":109468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:52] local.INFO: IMEI packet received {"connection_id":109468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":109468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:47:57] local.INFO: TCP Data received {"connection_id":109468,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:57] local.INFO: Processing buffer {"connection_id":109468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:47:57] local.INFO: IMEI packet received {"connection_id":109468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":109468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:47:58] local.INFO: TCP Data received {"connection_id":109468,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:58] local.INFO: Processing buffer {"connection_id":109468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:47:58] local.INFO: Packet analysis {"connection_id":109468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:47:58] local.INFO: Extracted packet for processing {"connection_id":109468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:47:58] 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-06-21 11:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:47: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-06-21 11:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:47:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:47:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":109468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:47:58] local.INFO: GPS data processed {"connection_id":109468,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:47:58] local.INFO: Acknowledgment sent {"connection_id":109468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:48:30] local.INFO: TCP Data received {"connection_id":109468,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:48:30] local.INFO: Processing buffer {"connection_id":109468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:48:30] local.INFO: Packet analysis {"connection_id":109468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:48:30] local.INFO: Extracted packet for processing {"connection_id":109468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:48:30] 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-06-21 11:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:48:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:48:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":109468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:48:30] local.INFO: GPS data processed {"connection_id":109468,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:48:30] local.INFO: Acknowledgment sent {"connection_id":109468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:48:43] local.INFO: TCP Data received {"connection_id":110418,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:48:43] local.INFO: Processing buffer {"connection_id":110418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:48:43] local.INFO: IMEI packet received {"connection_id":110418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":110418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:48:52] local.INFO: TCP Data received {"connection_id":108860,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:48:52] local.INFO: Processing buffer {"connection_id":108860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:48:52] local.INFO: IMEI packet received {"connection_id":108860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":108860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:48:57] local.INFO: TCP Data received {"connection_id":108860,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:48:57] local.INFO: Processing buffer {"connection_id":108860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:48:57] local.INFO: IMEI packet received {"connection_id":108860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":108860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:48:58] local.INFO: TCP Data received {"connection_id":108860,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:48:58] local.INFO: Processing buffer {"connection_id":108860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:48:58] local.INFO: Packet analysis {"connection_id":108860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:48:58] local.INFO: Extracted packet for processing {"connection_id":108860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:48:58] 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-06-21 11:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:48: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-06-21 11: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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:48:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":108860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:48:58] local.INFO: GPS data processed {"connection_id":108860,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:48:58] local.INFO: Acknowledgment sent {"connection_id":108860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:49:12] local.INFO: TCP Data received {"connection_id":109469,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:49:12] local.INFO: Processing buffer {"connection_id":109469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:49:12] local.INFO: IMEI packet received {"connection_id":109469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":109469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:49:30] local.INFO: TCP Data received {"connection_id":108860,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:49:30] local.INFO: Processing buffer {"connection_id":108860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:49:30] local.INFO: Packet analysis {"connection_id":108860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:49:30] local.INFO: Extracted packet for processing {"connection_id":108860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:49:30] 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-06-21 11:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:49:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":108860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:49:30] local.INFO: GPS data processed {"connection_id":108860,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:49:30] local.INFO: Acknowledgment sent {"connection_id":108860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:49:52] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:49:52] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:49:52] local.INFO: IMEI packet received {"connection_id":110419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":110419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:49:57] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:49:57] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:49:57] local.INFO: IMEI packet received {"connection_id":110419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":110419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:49:58] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:49:58] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:49:58] local.INFO: Packet analysis {"connection_id":110419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:49:58] local.INFO: Extracted packet for processing {"connection_id":110419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:49:58] 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-06-21 11:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:49: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-06-21 11: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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:49:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":110419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:49:58] local.INFO: GPS data processed {"connection_id":110419,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:49:58] local.INFO: Acknowledgment sent {"connection_id":110419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:50:31] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:50:31] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 11:50:31] local.INFO: Packet analysis {"connection_id":110419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:50:31] local.INFO: Extracted packet for processing {"connection_id":110419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:50:31] 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-06-21 11:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 11:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 11:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:50:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":110419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:50:31] local.INFO: GPS data processed {"connection_id":110419,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:50:31] local.INFO: Acknowledgment sent {"connection_id":110419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:50:52] local.INFO: TCP Data received {"connection_id":109471,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:50:52] local.INFO: Processing buffer {"connection_id":109471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:50:52] local.INFO: IMEI packet received {"connection_id":109471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":109471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:50:57] local.INFO: TCP Data received {"connection_id":109471,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:50:57] local.INFO: Processing buffer {"connection_id":109471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:50:57] local.INFO: IMEI packet received {"connection_id":109471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":109471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:50:58] local.INFO: TCP Data received {"connection_id":109471,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:50:58] local.INFO: Processing buffer {"connection_id":109471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:50:58] local.INFO: Packet analysis {"connection_id":109471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:50:58] local.INFO: Extracted packet for processing {"connection_id":109471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:50:58] 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-06-21 11:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:50: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-06-21 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:50:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":109471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:50:58] local.INFO: GPS data processed {"connection_id":109471,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:50:58] local.INFO: Acknowledgment sent {"connection_id":109471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:51:32] local.INFO: TCP Data received {"connection_id":109471,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:51:32] local.INFO: Processing buffer {"connection_id":109471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:51:32] local.INFO: Packet analysis {"connection_id":109471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:51:32] local.INFO: Extracted packet for processing {"connection_id":109471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:51:32] 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-06-21 11:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:51:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":109471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:51:32] local.INFO: GPS data processed {"connection_id":109471,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:51:32] local.INFO: Acknowledgment sent {"connection_id":109471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:51:52] local.INFO: TCP Data received {"connection_id":109472,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:51:52] local.INFO: Processing buffer {"connection_id":109472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:51:52] local.INFO: IMEI packet received {"connection_id":109472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":109472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:51:57] local.INFO: TCP Data received {"connection_id":109472,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:51:57] local.INFO: Processing buffer {"connection_id":109472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:51:57] local.INFO: IMEI packet received {"connection_id":109472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":109472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:51:58] local.INFO: TCP Data received {"connection_id":109472,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:51:58] local.INFO: Processing buffer {"connection_id":109472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:51:58] local.INFO: Packet analysis {"connection_id":109472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:51:58] local.INFO: Extracted packet for processing {"connection_id":109472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:51:58] 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-06-21 11:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:51: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-06-21 11:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:51:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":109472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:51:58] local.INFO: GPS data processed {"connection_id":109472,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:51:58] local.INFO: Acknowledgment sent {"connection_id":109472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:52:31] local.INFO: TCP Data received {"connection_id":109472,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:52:31] local.INFO: Processing buffer {"connection_id":109472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:52:31] local.INFO: Packet analysis {"connection_id":109472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:52:31] local.INFO: Extracted packet for processing {"connection_id":109472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:52:31] 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-06-21 11:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":109472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:52:31] local.INFO: GPS data processed {"connection_id":109472,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:52:31] local.INFO: Acknowledgment sent {"connection_id":109472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:52:51] local.INFO: TCP Data received {"connection_id":108861,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:52:51] local.INFO: Processing buffer {"connection_id":108861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:52:51] local.INFO: IMEI packet received {"connection_id":108861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":108861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:52:57] local.INFO: TCP Data received {"connection_id":108861,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:52:57] local.INFO: Processing buffer {"connection_id":108861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:52:57] local.INFO: IMEI packet received {"connection_id":108861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":108861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:52:58] local.INFO: TCP Data received {"connection_id":108861,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:52:58] local.INFO: Processing buffer {"connection_id":108861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:52:58] local.INFO: Packet analysis {"connection_id":108861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:52:58] local.INFO: Extracted packet for processing {"connection_id":108861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:52:58] 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-06-21 11:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:52: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-06-21 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:52:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":108861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:52:58] local.INFO: GPS data processed {"connection_id":108861,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:52:58] local.INFO: Acknowledgment sent {"connection_id":108861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:53:30] local.INFO: TCP Data received {"connection_id":108861,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:53:30] local.INFO: Processing buffer {"connection_id":108861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:53:30] local.INFO: Packet analysis {"connection_id":108861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:53:30] local.INFO: Extracted packet for processing {"connection_id":108861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:53:30] 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-06-21 11:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":108861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:53:30] local.INFO: GPS data processed {"connection_id":108861,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:53:30] local.INFO: Acknowledgment sent {"connection_id":108861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:53:51] local.INFO: TCP Data received {"connection_id":108676,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:53:51] local.INFO: Processing buffer {"connection_id":108676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:53:51] local.INFO: IMEI packet received {"connection_id":108676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":108676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:53:57] local.INFO: TCP Data received {"connection_id":108676,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:53:57] local.INFO: Processing buffer {"connection_id":108676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:53:57] local.INFO: IMEI packet received {"connection_id":108676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":108676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:53:58] local.INFO: TCP Data received {"connection_id":108676,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:53:58] local.INFO: Processing buffer {"connection_id":108676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:53:58] local.INFO: Packet analysis {"connection_id":108676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:53:58] local.INFO: Extracted packet for processing {"connection_id":108676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:53:58] 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-06-21 11:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:53:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:53:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":108676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:53:58] local.INFO: GPS data processed {"connection_id":108676,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:53:58] local.INFO: Acknowledgment sent {"connection_id":108676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:54:31] local.INFO: TCP Data received {"connection_id":108676,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:54:31] local.INFO: Processing buffer {"connection_id":108676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:54:31] local.INFO: Packet analysis {"connection_id":108676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:54:31] local.INFO: Extracted packet for processing {"connection_id":108676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:54:31] 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-06-21 11:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:54:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":108676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:54:31] local.INFO: GPS data processed {"connection_id":108676,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:54:31] local.INFO: Acknowledgment sent {"connection_id":108676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:54:38] local.INFO: TCP Data received {"connection_id":109474,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:54:38] local.INFO: Processing buffer {"connection_id":109474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:54:38] local.INFO: IMEI packet received {"connection_id":109474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":109474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:54:58] local.INFO: TCP Data received {"connection_id":110421,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:54:58] local.INFO: Processing buffer {"connection_id":110421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:54:58] local.INFO: IMEI packet received {"connection_id":110421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":110421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:55:02] local.INFO: TCP Data received {"connection_id":110421,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:02] local.INFO: Processing buffer {"connection_id":110421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:02] local.INFO: IMEI packet received {"connection_id":110421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":110421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:55:04] local.INFO: TCP Data received {"connection_id":110421,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:55:04] local.INFO: Processing buffer {"connection_id":110421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:55:04] local.INFO: Packet analysis {"connection_id":110421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:55:04] local.INFO: Extracted packet for processing {"connection_id":110421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11: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-06-21 11:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":110421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:55:04] local.INFO: GPS data processed {"connection_id":110421,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:55:04] local.INFO: Acknowledgment sent {"connection_id":110421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:55:09] local.INFO: TCP Data received {"connection_id":110421,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:55:09] local.INFO: Processing buffer {"connection_id":110421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d60e38012d34c84006aa3f600003006725..."} 
[2026-06-21 11:55:09] local.INFO: Packet analysis {"connection_id":110421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:55:09] local.INFO: Extracted packet for processing {"connection_id":110421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d6"} 
[2026-06-21 11:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197760512001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55: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-06-21 11:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782022803000,"timestamp_ms":1782022803000,"timestamp_seconds":1782022803,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d60e38"} 
[2026-06-21 11:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 11:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197760512001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197760512001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:55:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197760512001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":110421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:55:09] local.INFO: GPS data processed {"connection_id":110421,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:55:09] local.INFO: Acknowledgment sent {"connection_id":110421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:55:18] local.INFO: TCP Data received {"connection_id":110422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:55:18] local.INFO: Processing buffer {"connection_id":110422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 11:55:18] local.INFO: IMEI packet received {"connection_id":110422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 11:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":110422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:55:52] local.INFO: TCP Data received {"connection_id":108862,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:52] local.INFO: Processing buffer {"connection_id":108862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:52] local.INFO: IMEI packet received {"connection_id":108862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":108862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:55:57] local.INFO: TCP Data received {"connection_id":108862,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:57] local.INFO: Processing buffer {"connection_id":108862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:55:57] local.INFO: IMEI packet received {"connection_id":108862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":108862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:55:58] local.INFO: TCP Data received {"connection_id":108862,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:55:58] local.INFO: Processing buffer {"connection_id":108862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:55:58] local.INFO: Packet analysis {"connection_id":108862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:55:58] local.INFO: Extracted packet for processing {"connection_id":108862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:55:58] 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-06-21 11:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:55:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:55:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":108862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:55:58] local.INFO: GPS data processed {"connection_id":108862,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:55:58] local.INFO: Acknowledgment sent {"connection_id":108862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:56:30] local.INFO: TCP Data received {"connection_id":108862,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:56:30] local.INFO: Processing buffer {"connection_id":108862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:56:30] local.INFO: Packet analysis {"connection_id":108862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:56:30] local.INFO: Extracted packet for processing {"connection_id":108862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:56:30] 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-06-21 11:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:56:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":108862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:56:30] local.INFO: GPS data processed {"connection_id":108862,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:56:30] local.INFO: Acknowledgment sent {"connection_id":108862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:56:52] local.INFO: TCP Data received {"connection_id":110424,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:56:52] local.INFO: Processing buffer {"connection_id":110424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:56:52] local.INFO: IMEI packet received {"connection_id":110424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":110424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:56:57] local.INFO: TCP Data received {"connection_id":110424,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:56:57] local.INFO: Processing buffer {"connection_id":110424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:56:57] local.INFO: IMEI packet received {"connection_id":110424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":110424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:56:58] local.INFO: TCP Data received {"connection_id":110424,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:56:58] local.INFO: Processing buffer {"connection_id":110424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:56:58] local.INFO: Packet analysis {"connection_id":110424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:56:58] local.INFO: Extracted packet for processing {"connection_id":110424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:56:58] 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-06-21 11:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:56:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":110424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:56:58] local.INFO: GPS data processed {"connection_id":110424,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:56:58] local.INFO: Acknowledgment sent {"connection_id":110424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:57:30] local.INFO: TCP Data received {"connection_id":110424,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:57:30] local.INFO: Processing buffer {"connection_id":110424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:57:30] local.INFO: Packet analysis {"connection_id":110424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:57:30] local.INFO: Extracted packet for processing {"connection_id":110424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:57:30] 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-06-21 11:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:57:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":110424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:57:30] local.INFO: GPS data processed {"connection_id":110424,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:57:30] local.INFO: Acknowledgment sent {"connection_id":110424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:57:57] local.INFO: TCP Data received {"connection_id":110425,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:57:57] local.INFO: Processing buffer {"connection_id":110425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:57:57] local.INFO: IMEI packet received {"connection_id":110425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":110425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:58:02] local.INFO: TCP Data received {"connection_id":110425,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:02] local.INFO: Processing buffer {"connection_id":110425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:02] local.INFO: IMEI packet received {"connection_id":110425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":110425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:58:03] local.INFO: TCP Data received {"connection_id":110425,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:03] local.INFO: Processing buffer {"connection_id":110425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:03] local.INFO: Packet analysis {"connection_id":110425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:58:03] local.INFO: Extracted packet for processing {"connection_id":110425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:03] 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-06-21 11:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":110425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:58:03] local.INFO: GPS data processed {"connection_id":110425,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:58:03] local.INFO: Acknowledgment sent {"connection_id":110425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:58:08] local.INFO: TCP Data received {"connection_id":110425,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:08] local.INFO: Processing buffer {"connection_id":110425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:08] local.INFO: Packet analysis {"connection_id":110425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:58:08] local.INFO: Extracted packet for processing {"connection_id":110425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:08] 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-06-21 11:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":110425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:58:08] local.INFO: GPS data processed {"connection_id":110425,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:58:08] local.INFO: Acknowledgment sent {"connection_id":110425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:58:52] local.INFO: TCP Data received {"connection_id":110426,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:52] local.INFO: Processing buffer {"connection_id":110426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:52] local.INFO: IMEI packet received {"connection_id":110426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":110426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:58:57] local.INFO: TCP Data received {"connection_id":110426,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:57] local.INFO: Processing buffer {"connection_id":110426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:58:57] local.INFO: IMEI packet received {"connection_id":110426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":110426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:58:58] local.INFO: TCP Data received {"connection_id":110426,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:58] local.INFO: Processing buffer {"connection_id":110426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:58:58] local.INFO: Packet analysis {"connection_id":110426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:58:58] local.INFO: Extracted packet for processing {"connection_id":110426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:58:58] 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-06-21 11:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:58:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:58:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":110426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:58:58] local.INFO: GPS data processed {"connection_id":110426,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:58:58] local.INFO: Acknowledgment sent {"connection_id":110426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:59:03] local.INFO: TCP Data received {"connection_id":110426,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:03] local.INFO: Processing buffer {"connection_id":110426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:03] local.INFO: Packet analysis {"connection_id":110426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:59:03] local.INFO: Extracted packet for processing {"connection_id":110426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:03] 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-06-21 11:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:59:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":110426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:59:03] local.INFO: GPS data processed {"connection_id":110426,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:59:03] local.INFO: Acknowledgment sent {"connection_id":110426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:59:36] local.INFO: TCP Data received {"connection_id":110426,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:36] local.INFO: Processing buffer {"connection_id":110426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:36] local.INFO: Packet analysis {"connection_id":110426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:59:36] local.INFO: Extracted packet for processing {"connection_id":110426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11: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-06-21 11:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:59:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":110426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:59:36] local.INFO: GPS data processed {"connection_id":110426,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:59:36] local.INFO: Acknowledgment sent {"connection_id":110426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 11:59:51] local.INFO: TCP Data received {"connection_id":109477,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:59:51] local.INFO: Processing buffer {"connection_id":109477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:59:51] local.INFO: IMEI packet received {"connection_id":109477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 11:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":109477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 11:59:57] local.INFO: TCP Data received {"connection_id":109477,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:59:57] local.INFO: Processing buffer {"connection_id":109477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 11:59:57] local.INFO: IMEI packet received {"connection_id":109477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 11:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":109477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 11:59:58] local.INFO: TCP Data received {"connection_id":109477,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:58] local.INFO: Processing buffer {"connection_id":109477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 11:59:58] local.INFO: Packet analysis {"connection_id":109477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:59:58] local.INFO: Extracted packet for processing {"connection_id":109477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 11:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 11:59:58] 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-06-21 11:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 11:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 11:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 11:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 11:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 11:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 11:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 11:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 11:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 11:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 11:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 11:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 11:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 11:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 11:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 11:59:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 11:59:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 11:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 11:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 11:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 11:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":109477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 11:59:58] local.INFO: GPS data processed {"connection_id":109477,"processed":1,"errors":0,"total":1} 
[2026-06-21 11:59:58] local.INFO: Acknowledgment sent {"connection_id":109477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:00:31] local.INFO: TCP Data received {"connection_id":109477,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 12:00:31] local.INFO: Processing buffer {"connection_id":109477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8daa600012d34c84006aa3f600003006729..."} 
[2026-06-21 12:00:31] local.INFO: Packet analysis {"connection_id":109477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 12:00:31] local.INFO: Extracted packet for processing {"connection_id":109477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8da"} 
[2026-06-21 12:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":3,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197837568001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:00:31] 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-06-21 12:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782023104000,"timestamp_ms":1782023104000,"timestamp_seconds":1782023104,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8daa600"} 
[2026-06-21 12:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 12:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197837568001,"66":25451,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197837568001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197837568001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":109477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:00:31] local.INFO: GPS data processed {"connection_id":109477,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:00:31] local.INFO: Acknowledgment sent {"connection_id":109477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:00:49] local.INFO: TCP Data received {"connection_id":110427,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:00:49] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:00:49] local.INFO: IMEI packet received {"connection_id":110427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":110427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:00:52] local.INFO: TCP Data received {"connection_id":108677,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:00:52] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:00:52] local.INFO: IMEI packet received {"connection_id":108677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":108677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:00:57] local.INFO: TCP Data received {"connection_id":108677,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:00:57] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:00:57] local.INFO: IMEI packet received {"connection_id":108677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":108677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:00:58] local.INFO: TCP Data received {"connection_id":108677,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:00:58] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:00:58] local.INFO: Packet analysis {"connection_id":108677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:00:58] local.INFO: Extracted packet for processing {"connection_id":108677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:00:58] 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-06-21 12:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":108677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:00:58] local.INFO: GPS data processed {"connection_id":108677,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:00:58] local.INFO: Acknowledgment sent {"connection_id":108677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:01:13] local.INFO: TCP Data received {"connection_id":110428,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:01:13] local.INFO: Processing buffer {"connection_id":110428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:01:13] local.INFO: IMEI packet received {"connection_id":110428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":110428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:01:31] local.INFO: TCP Data received {"connection_id":108677,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:01:31] local.INFO: Processing buffer {"connection_id":108677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:01:31] local.INFO: Packet analysis {"connection_id":108677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:01:31] local.INFO: Extracted packet for processing {"connection_id":108677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:01:31] 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-06-21 12:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:01:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":108677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:01:31] local.INFO: GPS data processed {"connection_id":108677,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:01:31] local.INFO: Acknowledgment sent {"connection_id":108677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:01:57] local.INFO: TCP Data received {"connection_id":109478,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:01:57] local.INFO: Processing buffer {"connection_id":109478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:01:57] local.INFO: IMEI packet received {"connection_id":109478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":109478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:02:02] local.INFO: TCP Data received {"connection_id":109478,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:02] local.INFO: Processing buffer {"connection_id":109478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:02] local.INFO: IMEI packet received {"connection_id":109478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":109478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:02:04] local.INFO: TCP Data received {"connection_id":109478,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:04] local.INFO: Processing buffer {"connection_id":109478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:04] local.INFO: Packet analysis {"connection_id":109478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:02:04] local.INFO: Extracted packet for processing {"connection_id":109478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02: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-06-21 12:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":109478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:02:04] local.INFO: GPS data processed {"connection_id":109478,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:02:04] local.INFO: Acknowledgment sent {"connection_id":109478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:02:07] local.INFO: TCP Data received {"connection_id":109478,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:07] local.INFO: Processing buffer {"connection_id":109478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:07] local.INFO: Packet analysis {"connection_id":109478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:02:07] local.INFO: Extracted packet for processing {"connection_id":109478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:07] 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-06-21 12:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:02:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":109478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:02:07] local.INFO: GPS data processed {"connection_id":109478,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:02:07] local.INFO: Acknowledgment sent {"connection_id":109478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:02:52] local.INFO: TCP Data received {"connection_id":108864,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:52] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:52] local.INFO: IMEI packet received {"connection_id":108864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":108864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:02:57] local.INFO: TCP Data received {"connection_id":108864,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:57] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:02:57] local.INFO: IMEI packet received {"connection_id":108864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":108864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:02:58] local.INFO: TCP Data received {"connection_id":108864,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:58] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:02:58] local.INFO: Packet analysis {"connection_id":108864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:02:58] local.INFO: Extracted packet for processing {"connection_id":108864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:02:58] 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-06-21 12:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:02:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:02:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":108864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:02:58] local.INFO: GPS data processed {"connection_id":108864,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:02:58] local.INFO: Acknowledgment sent {"connection_id":108864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:03:03] local.INFO: TCP Data received {"connection_id":108864,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:03] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:03] local.INFO: Packet analysis {"connection_id":108864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:03:03] local.INFO: Extracted packet for processing {"connection_id":108864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:03] 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-06-21 12:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":108864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:03:03] local.INFO: GPS data processed {"connection_id":108864,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:03:03] local.INFO: Acknowledgment sent {"connection_id":108864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:03:35] local.INFO: TCP Data received {"connection_id":108864,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:35] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:35] local.INFO: Packet analysis {"connection_id":108864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:03:35] local.INFO: Extracted packet for processing {"connection_id":108864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03: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-06-21 12:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":108864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:03:35] local.INFO: GPS data processed {"connection_id":108864,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:03:35] local.INFO: Acknowledgment sent {"connection_id":108864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:03:52] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:03:52] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:03:52] local.INFO: IMEI packet received {"connection_id":110430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":110430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:03:57] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:03:57] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:03:57] local.INFO: IMEI packet received {"connection_id":110430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":110430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:03:58] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:58] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:03:58] local.INFO: Packet analysis {"connection_id":110430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:03:58] local.INFO: Extracted packet for processing {"connection_id":110430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:03:58] 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-06-21 12:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12: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-06-21 12:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:03:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":110430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:03:58] local.INFO: GPS data processed {"connection_id":110430,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:03:58] local.INFO: Acknowledgment sent {"connection_id":110430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:04:29] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:04:29] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:04:29] local.INFO: Packet analysis {"connection_id":110430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:04:29] local.INFO: Extracted packet for processing {"connection_id":110430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:04:29] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:04:29] 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-06-21 12:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:04:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:04:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":110430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:04:29] local.INFO: GPS data processed {"connection_id":110430,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:04:29] local.INFO: Acknowledgment sent {"connection_id":110430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:04:52] local.INFO: TCP Data received {"connection_id":109479,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:04:52] local.INFO: Processing buffer {"connection_id":109479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:04:52] local.INFO: IMEI packet received {"connection_id":109479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":109479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:04:57] local.INFO: TCP Data received {"connection_id":109479,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:04:57] local.INFO: Processing buffer {"connection_id":109479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:04:57] local.INFO: IMEI packet received {"connection_id":109479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":109479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:04:59] local.INFO: TCP Data received {"connection_id":109479,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:04:59] local.INFO: Processing buffer {"connection_id":109479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:04:59] local.INFO: Packet analysis {"connection_id":109479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:04:59] local.INFO: Extracted packet for processing {"connection_id":109479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12: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-06-21 12:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12: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-06-21 12:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:04:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:04:59] local.INFO: GPS data processed {"connection_id":109479,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:04:59] local.INFO: Acknowledgment sent {"connection_id":109479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:05:31] local.INFO: TCP Data received {"connection_id":109479,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:05:31] local.INFO: Processing buffer {"connection_id":109479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8df3dc8012d34c84006aa3f60000b006722..."} 
[2026-06-21 12:05:31] local.INFO: Packet analysis {"connection_id":109479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:05:31] local.INFO: Extracted packet for processing {"connection_id":109479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8df"} 
[2026-06-21 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":11,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197914624001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:05:31] 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-06-21 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782023405000,"timestamp_ms":1782023405000,"timestamp_seconds":1782023405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8df3dc8"} 
[2026-06-21 12:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 12:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197914624001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197914624001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:05:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197914624001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":109479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:05:31] local.INFO: GPS data processed {"connection_id":109479,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:05:31] local.INFO: Acknowledgment sent {"connection_id":109479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:05:51] local.INFO: TCP Data received {"connection_id":109480,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:05:51] local.INFO: Processing buffer {"connection_id":109480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:05:51] local.INFO: IMEI packet received {"connection_id":109480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":109480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:05:57] local.INFO: TCP Data received {"connection_id":109480,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:05:57] local.INFO: Processing buffer {"connection_id":109480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:05:57] local.INFO: IMEI packet received {"connection_id":109480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":109480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:05:59] local.INFO: TCP Data received {"connection_id":109480,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:05:59] local.INFO: Processing buffer {"connection_id":109480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:05:59] local.INFO: Packet analysis {"connection_id":109480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:05:59] local.INFO: Extracted packet for processing {"connection_id":109480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:05: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-06-21 12:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:05:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":109480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:05:59] local.INFO: GPS data processed {"connection_id":109480,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:05:59] local.INFO: Acknowledgment sent {"connection_id":109480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:06:31] local.INFO: TCP Data received {"connection_id":109480,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:06:31] local.INFO: Processing buffer {"connection_id":109480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:06:31] local.INFO: Packet analysis {"connection_id":109480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:06:31] local.INFO: Extracted packet for processing {"connection_id":109480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:06:31] 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-06-21 12:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:06:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":109480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:06:31] local.INFO: GPS data processed {"connection_id":109480,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:06:31] local.INFO: Acknowledgment sent {"connection_id":109480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:06:43] local.INFO: TCP Data received {"connection_id":108865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:06:43] local.INFO: Processing buffer {"connection_id":108865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:06:43] local.INFO: IMEI packet received {"connection_id":108865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":108865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:06:57] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:06:57] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:06:57] local.INFO: IMEI packet received {"connection_id":110433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":110433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:07:02] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:07:02] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:07:02] local.INFO: IMEI packet received {"connection_id":110433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":110433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:07:04] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:07:04] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:07:04] local.INFO: Packet analysis {"connection_id":110433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:07:04] local.INFO: Extracted packet for processing {"connection_id":110433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:07: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-06-21 12:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":110433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:07:04] local.INFO: GPS data processed {"connection_id":110433,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:07:04] local.INFO: Acknowledgment sent {"connection_id":110433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:07:08] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:07:08] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:07:08] local.INFO: Packet analysis {"connection_id":110433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:07:08] local.INFO: Extracted packet for processing {"connection_id":110433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:07:08] 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-06-21 12:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:07:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":110433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:07:08] local.INFO: GPS data processed {"connection_id":110433,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:07:08] local.INFO: Acknowledgment sent {"connection_id":110433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:07:12] local.INFO: TCP Data received {"connection_id":110434,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:07:12] local.INFO: Processing buffer {"connection_id":110434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:07:12] local.INFO: IMEI packet received {"connection_id":110434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":110434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:08:02] local.INFO: TCP Data received {"connection_id":109481,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:02] local.INFO: Processing buffer {"connection_id":109481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:02] local.INFO: IMEI packet received {"connection_id":109481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":109481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:08:07] local.INFO: TCP Data received {"connection_id":109481,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:07] local.INFO: Processing buffer {"connection_id":109481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:07] local.INFO: IMEI packet received {"connection_id":109481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":109481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:08:17] local.INFO: TCP Data received {"connection_id":109481,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:08:17] local.INFO: Processing buffer {"connection_id":109481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:08:17] local.INFO: Packet analysis {"connection_id":109481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:08:17] local.INFO: Extracted packet for processing {"connection_id":109481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12: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-06-21 12:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:08:17] 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-06-21 12:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12: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-06-21 12:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":109481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":109481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":109481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:08:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:08:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":109481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:08:17] local.INFO: GPS data processed {"connection_id":109481,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:08:17] local.INFO: Acknowledgment sent {"connection_id":109481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:08:57] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:57] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:08:57] local.INFO: IMEI packet received {"connection_id":108866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":108866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:09:02] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:02] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:02] local.INFO: IMEI packet received {"connection_id":108866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":108866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:09:03] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:03] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:03] local.INFO: Packet analysis {"connection_id":108866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:09:03] local.INFO: Extracted packet for processing {"connection_id":108866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:03] 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-06-21 12:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:09:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":108866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:09:03] local.INFO: GPS data processed {"connection_id":108866,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:09:03] local.INFO: Acknowledgment sent {"connection_id":108866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:09:34] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:34] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:34] local.INFO: Packet analysis {"connection_id":108866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:09:34] local.INFO: Extracted packet for processing {"connection_id":108866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:34] 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-06-21 12:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":108866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:09:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:09:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":108866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:09:34] local.INFO: GPS data processed {"connection_id":108866,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:09:34] local.INFO: Acknowledgment sent {"connection_id":108866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:09:51] local.INFO: TCP Data received {"connection_id":108680,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:51] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:51] local.INFO: IMEI packet received {"connection_id":108680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":108680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:09:57] local.INFO: TCP Data received {"connection_id":108680,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:57] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:09:57] local.INFO: IMEI packet received {"connection_id":108680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":108680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:09:59] local.INFO: TCP Data received {"connection_id":108680,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:59] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:09:59] local.INFO: Packet analysis {"connection_id":108680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:09:59] local.INFO: Extracted packet for processing {"connection_id":108680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:09: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-06-21 12:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":108680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:09:59] local.INFO: GPS data processed {"connection_id":108680,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:09:59] local.INFO: Acknowledgment sent {"connection_id":108680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:10:31] local.INFO: TCP Data received {"connection_id":108680,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:10:31] local.INFO: Processing buffer {"connection_id":108680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e3d590012d34c84006aa3f60000e006725..."} 
[2026-06-21 12:10:31] local.INFO: Packet analysis {"connection_id":108680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:10:31] local.INFO: Extracted packet for processing {"connection_id":108680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e3"} 
[2026-06-21 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":14,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197991680001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:10:31] 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-06-21 12:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782023706000,"timestamp_ms":1782023706000,"timestamp_seconds":1782023706,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e3d590"} 
[2026-06-21 12:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197991680001,"66":25430,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197991680001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197991680001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":108680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:10:31] local.INFO: GPS data processed {"connection_id":108680,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:10:31] local.INFO: Acknowledgment sent {"connection_id":108680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:10:57] local.INFO: TCP Data received {"connection_id":109483,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:10:57] local.INFO: Processing buffer {"connection_id":109483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:10:57] local.INFO: IMEI packet received {"connection_id":109483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":109483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:11:02] local.INFO: TCP Data received {"connection_id":109483,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:02] local.INFO: Processing buffer {"connection_id":109483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:02] local.INFO: IMEI packet received {"connection_id":109483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":109483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:11:04] local.INFO: TCP Data received {"connection_id":109483,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:04] local.INFO: Processing buffer {"connection_id":109483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:04] local.INFO: Packet analysis {"connection_id":109483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:11:04] local.INFO: Extracted packet for processing {"connection_id":109483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11: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-06-21 12:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":109483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:11:04] local.INFO: GPS data processed {"connection_id":109483,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:11:04] local.INFO: Acknowledgment sent {"connection_id":109483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:11:07] local.INFO: TCP Data received {"connection_id":109483,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:07] local.INFO: Processing buffer {"connection_id":109483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:07] local.INFO: Packet analysis {"connection_id":109483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:11:07] local.INFO: Extracted packet for processing {"connection_id":109483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:07] 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-06-21 12:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:11:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":109483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:11:07] local.INFO: GPS data processed {"connection_id":109483,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:11:07] local.INFO: Acknowledgment sent {"connection_id":109483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:11:52] local.INFO: TCP Data received {"connection_id":108868,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:52] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:52] local.INFO: IMEI packet received {"connection_id":108868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":108868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:11:57] local.INFO: TCP Data received {"connection_id":108868,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:57] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:11:57] local.INFO: IMEI packet received {"connection_id":108868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":108868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:11:59] local.INFO: TCP Data received {"connection_id":108868,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:59] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:11:59] local.INFO: Packet analysis {"connection_id":108868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:11:59] local.INFO: Extracted packet for processing {"connection_id":108868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:11: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-06-21 12:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":108868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:11:59] local.INFO: GPS data processed {"connection_id":108868,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:11:59] local.INFO: Acknowledgment sent {"connection_id":108868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:12:32] local.INFO: TCP Data received {"connection_id":108868,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:12:32] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:12:32] local.INFO: Packet analysis {"connection_id":108868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:12:32] local.INFO: Extracted packet for processing {"connection_id":108868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:12:32] 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-06-21 12:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":108868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:12:32] local.INFO: GPS data processed {"connection_id":108868,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:12:32] local.INFO: Acknowledgment sent {"connection_id":108868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:12:38] local.INFO: TCP Data received {"connection_id":110435,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:12:38] local.INFO: Processing buffer {"connection_id":110435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:12:38] local.INFO: IMEI packet received {"connection_id":110435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":110435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:12:52] local.INFO: TCP Data received {"connection_id":109484,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:12:52] local.INFO: Processing buffer {"connection_id":109484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:12:52] local.INFO: IMEI packet received {"connection_id":109484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":109484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:12:57] local.INFO: TCP Data received {"connection_id":109484,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:12:57] local.INFO: Processing buffer {"connection_id":109484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:12:57] local.INFO: IMEI packet received {"connection_id":109484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":109484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:13:00] local.INFO: TCP Data received {"connection_id":109484,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:00] local.INFO: Processing buffer {"connection_id":109484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:00] local.INFO: Packet analysis {"connection_id":109484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:13:00] local.INFO: Extracted packet for processing {"connection_id":109484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:00] 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-06-21 12:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":109484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:13:00] local.INFO: GPS data processed {"connection_id":109484,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:13:00] local.INFO: Acknowledgment sent {"connection_id":109484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:13:12] local.INFO: TCP Data received {"connection_id":108682,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:13:12] local.INFO: Processing buffer {"connection_id":108682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:13:12] local.INFO: IMEI packet received {"connection_id":108682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":108682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:13:31] local.INFO: TCP Data received {"connection_id":109484,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:31] local.INFO: Processing buffer {"connection_id":109484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:31] local.INFO: Packet analysis {"connection_id":109484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:13:31] local.INFO: Extracted packet for processing {"connection_id":109484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:31] 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-06-21 12:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":109484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:13:31] local.INFO: GPS data processed {"connection_id":109484,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:13:31] local.INFO: Acknowledgment sent {"connection_id":109484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:13:51] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:13:51] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:13:51] local.INFO: IMEI packet received {"connection_id":110436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":110436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:13:56] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:13:56] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:13:56] local.INFO: IMEI packet received {"connection_id":110436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":110436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:13:58] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:58] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:13:58] local.INFO: Packet analysis {"connection_id":110436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:13:58] local.INFO: Extracted packet for processing {"connection_id":110436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:13:58] 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-06-21 12:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:13: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-06-21 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":110436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:13:58] local.INFO: GPS data processed {"connection_id":110436,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:13:58] local.INFO: Acknowledgment sent {"connection_id":110436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:14:29] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:14:29] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:14:29] local.INFO: Packet analysis {"connection_id":110436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:14:29] local.INFO: Extracted packet for processing {"connection_id":110436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:14:29] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:14:29] 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-06-21 12:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:14:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:14:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":110436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:14:29] local.INFO: GPS data processed {"connection_id":110436,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:14:29] local.INFO: Acknowledgment sent {"connection_id":110436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:14:52] local.INFO: TCP Data received {"connection_id":108869,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:14:52] local.INFO: Processing buffer {"connection_id":108869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:14:52] local.INFO: IMEI packet received {"connection_id":108869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":108869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:14:57] local.INFO: TCP Data received {"connection_id":108869,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:14:57] local.INFO: Processing buffer {"connection_id":108869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:14:57] local.INFO: IMEI packet received {"connection_id":108869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":108869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:14:59] local.INFO: TCP Data received {"connection_id":108869,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:14:59] local.INFO: Processing buffer {"connection_id":108869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:14:59] local.INFO: Packet analysis {"connection_id":108869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:14:59] local.INFO: Extracted packet for processing {"connection_id":108869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12: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-06-21 12:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:14: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-06-21 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12: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-06-21 12:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":108869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:14:59] local.INFO: GPS data processed {"connection_id":108869,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:14:59] local.INFO: Acknowledgment sent {"connection_id":108869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:15:03] local.INFO: TCP Data received {"connection_id":108869,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:15:03] local.INFO: Processing buffer {"connection_id":108869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:15:03] local.INFO: Packet analysis {"connection_id":108869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:15:03] local.INFO: Extracted packet for processing {"connection_id":108869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:03] 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-06-21 12:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":108869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:15:03] local.INFO: GPS data processed {"connection_id":108869,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:15:03] local.INFO: Acknowledgment sent {"connection_id":108869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:15:36] local.INFO: TCP Data received {"connection_id":108869,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:15:36] local.INFO: Processing buffer {"connection_id":108869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8e86d58012d34c84006aa3f600004006725..."} 
[2026-06-21 12:15:36] local.INFO: Packet analysis {"connection_id":108869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:15:36] local.INFO: Extracted packet for processing {"connection_id":108869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8e8"} 
[2026-06-21 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":4,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198068736001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15: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-06-21 12:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782024007000,"timestamp_ms":1782024007000,"timestamp_seconds":1782024007,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8e86d58"} 
[2026-06-21 12:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 12:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198068736001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198068736001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198068736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":108869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:15:36] local.INFO: GPS data processed {"connection_id":108869,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:15:36] local.INFO: Acknowledgment sent {"connection_id":108869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:15:52] local.INFO: TCP Data received {"connection_id":109486,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:15:52] local.INFO: Processing buffer {"connection_id":109486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:15:52] local.INFO: IMEI packet received {"connection_id":109486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":109486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:15:57] local.INFO: TCP Data received {"connection_id":109486,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:15:57] local.INFO: Processing buffer {"connection_id":109486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:15:57] local.INFO: IMEI packet received {"connection_id":109486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":109486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:15:58] local.INFO: TCP Data received {"connection_id":109486,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:15:58] local.INFO: Processing buffer {"connection_id":109486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:15:58] local.INFO: Packet analysis {"connection_id":109486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:15:58] local.INFO: Extracted packet for processing {"connection_id":109486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:15:58] 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-06-21 12:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:15: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-06-21 12:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:15:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":109486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:15:58] local.INFO: GPS data processed {"connection_id":109486,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:15:58] local.INFO: Acknowledgment sent {"connection_id":109486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:16:30] local.INFO: TCP Data received {"connection_id":109486,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:16:30] local.INFO: Processing buffer {"connection_id":109486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:16:30] local.INFO: Packet analysis {"connection_id":109486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:16:30] local.INFO: Extracted packet for processing {"connection_id":109486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:16:30] 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-06-21 12:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":109486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:16:30] local.INFO: GPS data processed {"connection_id":109486,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:16:30] local.INFO: Acknowledgment sent {"connection_id":109486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:16:51] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:16:51] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:16:51] local.INFO: IMEI packet received {"connection_id":108871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":108871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:16:57] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:16:57] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:16:57] local.INFO: IMEI packet received {"connection_id":108871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":108871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:16:59] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:16:59] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:16:59] local.INFO: Packet analysis {"connection_id":108871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:16:59] local.INFO: Extracted packet for processing {"connection_id":108871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:16: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-06-21 12:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":108871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:16:59] local.INFO: GPS data processed {"connection_id":108871,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:16:59] local.INFO: Acknowledgment sent {"connection_id":108871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:17:30] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:17:30] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:17:30] local.INFO: Packet analysis {"connection_id":108871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:17:30] local.INFO: Extracted packet for processing {"connection_id":108871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:17:30] 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-06-21 12:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":108871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:17:30] local.INFO: GPS data processed {"connection_id":108871,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:17:30] local.INFO: Acknowledgment sent {"connection_id":108871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:17:51] local.INFO: TCP Data received {"connection_id":110438,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:17:51] local.INFO: Processing buffer {"connection_id":110438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:17:51] local.INFO: IMEI packet received {"connection_id":110438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":110438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:17:57] local.INFO: TCP Data received {"connection_id":110438,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:17:57] local.INFO: Processing buffer {"connection_id":110438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:17:57] local.INFO: IMEI packet received {"connection_id":110438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":110438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:17:58] local.INFO: TCP Data received {"connection_id":110438,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:17:58] local.INFO: Processing buffer {"connection_id":110438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:17:58] local.INFO: Packet analysis {"connection_id":110438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:17:58] local.INFO: Extracted packet for processing {"connection_id":110438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:17:58] 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-06-21 12:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:17: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-06-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":110438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:17:58] local.INFO: GPS data processed {"connection_id":110438,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:17:58] local.INFO: Acknowledgment sent {"connection_id":110438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:18:27] local.INFO: TCP Data received {"connection_id":108872,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:18:27] local.INFO: Processing buffer {"connection_id":108872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:18:27] local.INFO: IMEI packet received {"connection_id":108872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":108872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:18:30] local.INFO: TCP Data received {"connection_id":110438,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:18:30] local.INFO: Processing buffer {"connection_id":110438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:18:30] local.INFO: Packet analysis {"connection_id":110438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:18:30] local.INFO: Extracted packet for processing {"connection_id":110438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:18:30] 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-06-21 12:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:18:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":110438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:18:30] local.INFO: GPS data processed {"connection_id":110438,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:18:30] local.INFO: Acknowledgment sent {"connection_id":110438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:18:57] local.INFO: TCP Data received {"connection_id":108873,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:18:57] local.INFO: Processing buffer {"connection_id":108873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:18:57] local.INFO: IMEI packet received {"connection_id":108873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":108873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:19:02] local.INFO: TCP Data received {"connection_id":108873,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:02] local.INFO: Processing buffer {"connection_id":108873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:02] local.INFO: IMEI packet received {"connection_id":108873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":108873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:19:03] local.INFO: TCP Data received {"connection_id":108873,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:03] local.INFO: Processing buffer {"connection_id":108873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:03] local.INFO: Packet analysis {"connection_id":108873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:19:03] local.INFO: Extracted packet for processing {"connection_id":108873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:03] 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-06-21 12:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":108873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":108873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":108873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:19:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":108873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:19:03] local.INFO: GPS data processed {"connection_id":108873,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:19:03] local.INFO: Acknowledgment sent {"connection_id":108873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:19:08] local.INFO: TCP Data received {"connection_id":108873,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:08] local.INFO: Processing buffer {"connection_id":108873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:08] local.INFO: Packet analysis {"connection_id":108873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:19:08] local.INFO: Extracted packet for processing {"connection_id":108873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:08] 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-06-21 12:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":108873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:19:08] local.INFO: GPS data processed {"connection_id":108873,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:19:08] local.INFO: Acknowledgment sent {"connection_id":108873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:19:13] local.INFO: TCP Data received {"connection_id":110439,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:19:13] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:19:13] local.INFO: IMEI packet received {"connection_id":110439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":110439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:19:52] local.INFO: TCP Data received {"connection_id":109487,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:52] local.INFO: Processing buffer {"connection_id":109487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:52] local.INFO: IMEI packet received {"connection_id":109487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":109487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:19:57] local.INFO: TCP Data received {"connection_id":109487,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:57] local.INFO: Processing buffer {"connection_id":109487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:19:57] local.INFO: IMEI packet received {"connection_id":109487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":109487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:19:58] local.INFO: TCP Data received {"connection_id":109487,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:58] local.INFO: Processing buffer {"connection_id":109487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:19:58] local.INFO: Packet analysis {"connection_id":109487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:19:58] local.INFO: Extracted packet for processing {"connection_id":109487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:19:58] 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-06-21 12:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:19: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-06-21 12:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:19:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":109487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:19:58] local.INFO: GPS data processed {"connection_id":109487,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:19:58] local.INFO: Acknowledgment sent {"connection_id":109487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:20:30] local.INFO: TCP Data received {"connection_id":109487,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:20:30] local.INFO: Processing buffer {"connection_id":109487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ed0520012d34c84006aa3f60000c006724..."} 
[2026-06-21 12:20:30] local.INFO: Packet analysis {"connection_id":109487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:20:30] local.INFO: Extracted packet for processing {"connection_id":109487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ed"} 
[2026-06-21 12:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198145792001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:20:30] 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-06-21 12:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024308000,"timestamp_ms":1782024308000,"timestamp_seconds":1782024308,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ed0520"} 
[2026-06-21 12:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198145792001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198145792001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:20:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198145792001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":109487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:20:30] local.INFO: GPS data processed {"connection_id":109487,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:20:30] local.INFO: Acknowledgment sent {"connection_id":109487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:20:51] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:20:51] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:20:51] local.INFO: IMEI packet received {"connection_id":110440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":110440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:20:57] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:20:57] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:20:57] local.INFO: IMEI packet received {"connection_id":110440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":110440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:20:59] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:20:59] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:20:59] local.INFO: Packet analysis {"connection_id":110440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:20:59] local.INFO: Extracted packet for processing {"connection_id":110440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12: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-06-21 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12: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-06-21 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":110440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:20:59] local.INFO: GPS data processed {"connection_id":110440,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:20:59] local.INFO: Acknowledgment sent {"connection_id":110440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:21:30] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:21:30] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:21:30] local.INFO: Packet analysis {"connection_id":110440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:21:30] local.INFO: Extracted packet for processing {"connection_id":110440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:21:30] 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-06-21 12:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":110440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:21:30] local.INFO: GPS data processed {"connection_id":110440,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:21:30] local.INFO: Acknowledgment sent {"connection_id":110440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:21:57] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:21:57] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:21:57] local.INFO: IMEI packet received {"connection_id":110441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":110441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:22:02] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:02] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:02] local.INFO: IMEI packet received {"connection_id":110441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":110441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:22:04] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:04] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:04] local.INFO: Packet analysis {"connection_id":110441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:22:04] local.INFO: Extracted packet for processing {"connection_id":110441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22: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-06-21 12:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":110441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:22:04] local.INFO: GPS data processed {"connection_id":110441,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:22:04] local.INFO: Acknowledgment sent {"connection_id":110441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:22:08] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:08] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:08] local.INFO: Packet analysis {"connection_id":110441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:22:08] local.INFO: Extracted packet for processing {"connection_id":110441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:08] 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-06-21 12:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:22:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":110441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:22:08] local.INFO: GPS data processed {"connection_id":110441,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:22:08] local.INFO: Acknowledgment sent {"connection_id":110441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:22:52] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:52] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:52] local.INFO: IMEI packet received {"connection_id":110442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":110442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:22:57] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:57] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:22:57] local.INFO: IMEI packet received {"connection_id":110442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":110442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:22:59] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:59] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:22:59] local.INFO: Packet analysis {"connection_id":110442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:22:59] local.INFO: Extracted packet for processing {"connection_id":110442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":110442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:22:59] local.INFO: GPS data processed {"connection_id":110442,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:22:59] local.INFO: Acknowledgment sent {"connection_id":110442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:23:30] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:23:30] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:23:30] local.INFO: Packet analysis {"connection_id":110442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:23:30] local.INFO: Extracted packet for processing {"connection_id":110442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:23:30] 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-06-21 12:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:23:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":110442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:23:30] local.INFO: GPS data processed {"connection_id":110442,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:23:30] local.INFO: Acknowledgment sent {"connection_id":110442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:23:52] local.INFO: TCP Data received {"connection_id":109490,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:23:52] local.INFO: Processing buffer {"connection_id":109490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:23:52] local.INFO: IMEI packet received {"connection_id":109490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":109490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:23:57] local.INFO: TCP Data received {"connection_id":109490,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:23:57] local.INFO: Processing buffer {"connection_id":109490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:23:57] local.INFO: IMEI packet received {"connection_id":109490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":109490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:23:59] local.INFO: TCP Data received {"connection_id":109490,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:23:59] local.INFO: Processing buffer {"connection_id":109490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:23:59] local.INFO: Packet analysis {"connection_id":109490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:23:59] local.INFO: Extracted packet for processing {"connection_id":109490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:23:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":109490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:23:59] local.INFO: GPS data processed {"connection_id":109490,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:23:59] local.INFO: Acknowledgment sent {"connection_id":109490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:24:31] local.INFO: TCP Data received {"connection_id":109490,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:24:31] local.INFO: Processing buffer {"connection_id":109490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:24:31] local.INFO: Packet analysis {"connection_id":109490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:24:31] local.INFO: Extracted packet for processing {"connection_id":109490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:24:31] 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-06-21 12:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:24:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":109490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:24:31] local.INFO: GPS data processed {"connection_id":109490,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:24:31] local.INFO: Acknowledgment sent {"connection_id":109490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:24:43] local.INFO: TCP Data received {"connection_id":108875,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:24:43] local.INFO: Processing buffer {"connection_id":108875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:24:43] local.INFO: IMEI packet received {"connection_id":108875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":108875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:24:51] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:24:51] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:24:51] local.INFO: IMEI packet received {"connection_id":108876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":108876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:24:57] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:24:57] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:24:57] local.INFO: IMEI packet received {"connection_id":108876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":108876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:24:58] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:24:58] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:24:58] local.INFO: Packet analysis {"connection_id":108876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:24:58] local.INFO: Extracted packet for processing {"connection_id":108876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:24:58] 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-06-21 12:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:24:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":108876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:24:58] local.INFO: GPS data processed {"connection_id":108876,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:24:58] local.INFO: Acknowledgment sent {"connection_id":108876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:25:12] local.INFO: TCP Data received {"connection_id":108877,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:25:12] local.INFO: Processing buffer {"connection_id":108877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:25:12] local.INFO: IMEI packet received {"connection_id":108877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":108877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:25:30] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:25:30] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f19ce8012d34c84006aa3f60000a006726..."} 
[2026-06-21 12:25:30] local.INFO: Packet analysis {"connection_id":108876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:25:30] local.INFO: Extracted packet for processing {"connection_id":108876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f1"} 
[2026-06-21 12:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198222848001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:25:30] 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-06-21 12:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024609000,"timestamp_ms":1782024609000,"timestamp_seconds":1782024609,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f19ce8"} 
[2026-06-21 12:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":108876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198222848001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198222848001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198222848001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":108876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:25:30] local.INFO: GPS data processed {"connection_id":108876,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:25:30] local.INFO: Acknowledgment sent {"connection_id":108876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:25:51] local.INFO: TCP Data received {"connection_id":108686,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:25:51] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:25:51] local.INFO: IMEI packet received {"connection_id":108686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":108686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:25:57] local.INFO: TCP Data received {"connection_id":108686,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:25:57] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:25:57] local.INFO: IMEI packet received {"connection_id":108686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":108686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:26:02] local.INFO: TCP Data received {"connection_id":108686,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:02] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:02] local.INFO: Packet analysis {"connection_id":108686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:26:02] local.INFO: Extracted packet for processing {"connection_id":108686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:02] 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-06-21 12:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":108686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:26:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":108686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:26:02] local.INFO: GPS data processed {"connection_id":108686,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:26:02] local.INFO: Acknowledgment sent {"connection_id":108686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:26:34] local.INFO: TCP Data received {"connection_id":108686,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:34] local.INFO: Processing buffer {"connection_id":108686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:34] local.INFO: Packet analysis {"connection_id":108686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:26:34] local.INFO: Extracted packet for processing {"connection_id":108686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:34] 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-06-21 12:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":108686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":108686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:26:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":108686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:26:34] local.INFO: GPS data processed {"connection_id":108686,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:26:34] local.INFO: Acknowledgment sent {"connection_id":108686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:26:52] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:26:52] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:26:52] local.INFO: IMEI packet received {"connection_id":110443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":110443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:26:57] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:26:57] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:26:57] local.INFO: IMEI packet received {"connection_id":110443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":110443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:26:59] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:59] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:26:59] local.INFO: Packet analysis {"connection_id":110443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:26:59] local.INFO: Extracted packet for processing {"connection_id":110443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12: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-06-21 12:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:26: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-06-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":110443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:26:59] local.INFO: GPS data processed {"connection_id":110443,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:26:59] local.INFO: Acknowledgment sent {"connection_id":110443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:27:32] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:27:32] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:27:32] local.INFO: Packet analysis {"connection_id":110443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:27:32] local.INFO: Extracted packet for processing {"connection_id":110443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:27:32] 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-06-21 12:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:27:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:27:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":110443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:27:32] local.INFO: GPS data processed {"connection_id":110443,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:27:32] local.INFO: Acknowledgment sent {"connection_id":110443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:27:51] local.INFO: TCP Data received {"connection_id":109491,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:27:51] local.INFO: Processing buffer {"connection_id":109491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:27:51] local.INFO: IMEI packet received {"connection_id":109491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":109491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:27:57] local.INFO: TCP Data received {"connection_id":109491,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:27:57] local.INFO: Processing buffer {"connection_id":109491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:27:57] local.INFO: IMEI packet received {"connection_id":109491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":109491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:27:59] local.INFO: TCP Data received {"connection_id":109491,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:27:59] local.INFO: Processing buffer {"connection_id":109491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:27:59] local.INFO: Packet analysis {"connection_id":109491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:27:59] local.INFO: Extracted packet for processing {"connection_id":109491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:27: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-06-21 12:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:27:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":109491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:27:59] local.INFO: GPS data processed {"connection_id":109491,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:27:59] local.INFO: Acknowledgment sent {"connection_id":109491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:28:30] local.INFO: TCP Data received {"connection_id":109491,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:28:30] local.INFO: Processing buffer {"connection_id":109491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:28:30] local.INFO: Packet analysis {"connection_id":109491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:28:30] local.INFO: Extracted packet for processing {"connection_id":109491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:28:30] 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-06-21 12:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":109491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:28:31] local.INFO: GPS data processed {"connection_id":109491,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:28:31] local.INFO: Acknowledgment sent {"connection_id":109491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:28:57] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:28:57] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:28:57] local.INFO: IMEI packet received {"connection_id":110444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":110444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:29:02] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:02] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:02] local.INFO: IMEI packet received {"connection_id":110444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":110444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:29:03] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:03] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:03] local.INFO: Packet analysis {"connection_id":110444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:29:03] local.INFO: Extracted packet for processing {"connection_id":110444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:03] 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-06-21 12:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:29:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":110444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:29:03] local.INFO: GPS data processed {"connection_id":110444,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:29:03] local.INFO: Acknowledgment sent {"connection_id":110444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:29:08] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:08] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:08] local.INFO: Packet analysis {"connection_id":110444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:29:08] local.INFO: Extracted packet for processing {"connection_id":110444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:08] 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-06-21 12:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":110444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:29:08] local.INFO: GPS data processed {"connection_id":110444,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:29:08] local.INFO: Acknowledgment sent {"connection_id":110444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:29:52] local.INFO: TCP Data received {"connection_id":109493,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:52] local.INFO: Processing buffer {"connection_id":109493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:52] local.INFO: IMEI packet received {"connection_id":109493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":109493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:29:57] local.INFO: TCP Data received {"connection_id":109493,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:57] local.INFO: Processing buffer {"connection_id":109493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:29:57] local.INFO: IMEI packet received {"connection_id":109493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":109493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:29:59] local.INFO: TCP Data received {"connection_id":109493,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:59] local.INFO: Processing buffer {"connection_id":109493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:29:59] local.INFO: Packet analysis {"connection_id":109493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:29:59] local.INFO: Extracted packet for processing {"connection_id":109493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12: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-06-21 12:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:29: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-06-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12: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-06-21 12:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":109493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:29:59] local.INFO: GPS data processed {"connection_id":109493,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:29:59] local.INFO: Acknowledgment sent {"connection_id":109493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:30:31] local.INFO: TCP Data received {"connection_id":109493,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:30:31] local.INFO: Processing buffer {"connection_id":109493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8f634b0012d34c84006aa3f60000a006725..."} 
[2026-06-21 12:30:31] local.INFO: Packet analysis {"connection_id":109493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:30:31] local.INFO: Extracted packet for processing {"connection_id":109493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8f6"} 
[2026-06-21 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":10,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198299904001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:30:31] 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-06-21 12:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782024910000,"timestamp_ms":1782024910000,"timestamp_seconds":1782024910,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8f634b0"} 
[2026-06-21 12:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198299904001,"66":25462,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198299904001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198299904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":109493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:30:31] local.INFO: GPS data processed {"connection_id":109493,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:30:31] local.INFO: Acknowledgment sent {"connection_id":109493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:30:37] local.INFO: TCP Data received {"connection_id":108687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:30:37] local.INFO: Processing buffer {"connection_id":108687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:30:37] local.INFO: IMEI packet received {"connection_id":108687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":108687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:30:51] local.INFO: TCP Data received {"connection_id":110445,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:30:51] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:30:51] local.INFO: IMEI packet received {"connection_id":110445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":110445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:30:57] local.INFO: TCP Data received {"connection_id":110445,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:30:57] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:30:57] local.INFO: IMEI packet received {"connection_id":110445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":110445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:30:58] local.INFO: TCP Data received {"connection_id":110445,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:30:58] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:30:58] local.INFO: Packet analysis {"connection_id":110445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:30:58] local.INFO: Extracted packet for processing {"connection_id":110445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:30:58] 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-06-21 12:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:30:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:30:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":110445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:30:58] local.INFO: GPS data processed {"connection_id":110445,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:30:58] local.INFO: Acknowledgment sent {"connection_id":110445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:31:12] local.INFO: TCP Data received {"connection_id":108881,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:31:12] local.INFO: Processing buffer {"connection_id":108881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:31:12] local.INFO: IMEI packet received {"connection_id":108881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":108881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:31:34] local.INFO: TCP Data received {"connection_id":110445,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:31:34] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:31:34] local.INFO: Packet analysis {"connection_id":110445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:31:34] local.INFO: Extracted packet for processing {"connection_id":110445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:31:34] 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-06-21 12:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:31:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":110445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:31:34] local.INFO: GPS data processed {"connection_id":110445,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:31:34] local.INFO: Acknowledgment sent {"connection_id":110445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:32:00] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:00] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:00] local.INFO: IMEI packet received {"connection_id":110446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":110446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:32:01] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:01] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:01] local.INFO: IMEI packet received {"connection_id":110446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":110446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:32:03] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:03] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:03] local.INFO: Packet analysis {"connection_id":110446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:32:03] local.INFO: Extracted packet for processing {"connection_id":110446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:03] 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-06-21 12:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:32:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":110446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:32:03] local.INFO: GPS data processed {"connection_id":110446,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:32:03] local.INFO: Acknowledgment sent {"connection_id":110446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:32:08] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:08] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:08] local.INFO: Packet analysis {"connection_id":110446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:32:08] local.INFO: Extracted packet for processing {"connection_id":110446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:08] 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-06-21 12:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":110446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:32:08] local.INFO: GPS data processed {"connection_id":110446,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:32:08] local.INFO: Acknowledgment sent {"connection_id":110446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:32:51] local.INFO: TCP Data received {"connection_id":109494,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:51] local.INFO: Processing buffer {"connection_id":109494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:51] local.INFO: IMEI packet received {"connection_id":109494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":109494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:32:57] local.INFO: TCP Data received {"connection_id":109494,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:57] local.INFO: Processing buffer {"connection_id":109494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:32:57] local.INFO: IMEI packet received {"connection_id":109494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":109494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:32:58] local.INFO: TCP Data received {"connection_id":109494,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:58] local.INFO: Processing buffer {"connection_id":109494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:32:58] local.INFO: Packet analysis {"connection_id":109494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:32:58] local.INFO: Extracted packet for processing {"connection_id":109494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:32:58] 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-06-21 12:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:32:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:32:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":109494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:32:58] local.INFO: GPS data processed {"connection_id":109494,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:32:58] local.INFO: Acknowledgment sent {"connection_id":109494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:33:30] local.INFO: TCP Data received {"connection_id":109494,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:33:30] local.INFO: Processing buffer {"connection_id":109494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:33:30] local.INFO: Packet analysis {"connection_id":109494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:33:30] local.INFO: Extracted packet for processing {"connection_id":109494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:33:30] 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-06-21 12:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":109494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":109494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":109494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:33:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":109494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:33:30] local.INFO: GPS data processed {"connection_id":109494,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:33:30] local.INFO: Acknowledgment sent {"connection_id":109494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:33:51] local.INFO: TCP Data received {"connection_id":110448,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:33:51] local.INFO: Processing buffer {"connection_id":110448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:33:51] local.INFO: IMEI packet received {"connection_id":110448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":110448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:33:56] local.INFO: TCP Data received {"connection_id":110448,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:33:56] local.INFO: Processing buffer {"connection_id":110448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:33:56] local.INFO: IMEI packet received {"connection_id":110448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":110448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:34:00] local.INFO: TCP Data received {"connection_id":110448,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:34:00] local.INFO: Processing buffer {"connection_id":110448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:34:00] local.INFO: Packet analysis {"connection_id":110448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:34:00] local.INFO: Extracted packet for processing {"connection_id":110448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:34:00] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:34:00] 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-06-21 12:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:34:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":110448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:34:00] local.INFO: GPS data processed {"connection_id":110448,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:34:00] local.INFO: Acknowledgment sent {"connection_id":110448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:34:51] local.INFO: TCP Data received {"connection_id":108883,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:34:51] local.INFO: Processing buffer {"connection_id":108883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:34:51] local.INFO: IMEI packet received {"connection_id":108883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":108883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:34:56] local.INFO: TCP Data received {"connection_id":108883,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:34:56] local.INFO: Processing buffer {"connection_id":108883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:34:56] local.INFO: IMEI packet received {"connection_id":108883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":108883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:35:12] local.INFO: TCP Data received {"connection_id":108883,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:35:12] local.INFO: Processing buffer {"connection_id":108883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8facc78012d34c84006aa3f60000f00671c..."} 
[2026-06-21 12:35:12] local.INFO: Packet analysis {"connection_id":108883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:35:12] local.INFO: Extracted packet for processing {"connection_id":108883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8fa"} 
[2026-06-21 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":15,"angle":103,"satellites":28,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198376960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:35:12] 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-06-21 12:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782025211000,"timestamp_ms":1782025211000,"timestamp_seconds":1782025211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8facc78"} 
[2026-06-21 12:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 12:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198376960001,"66":25191,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198376960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:35:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:35:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198376960001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":108883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:35:12] local.INFO: GPS data processed {"connection_id":108883,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:35:12] local.INFO: Acknowledgment sent {"connection_id":108883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:35:57] local.INFO: TCP Data received {"connection_id":108688,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:35:57] local.INFO: Processing buffer {"connection_id":108688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:35:57] local.INFO: IMEI packet received {"connection_id":108688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":108688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:36:02] local.INFO: TCP Data received {"connection_id":108688,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:02] local.INFO: Processing buffer {"connection_id":108688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:02] local.INFO: IMEI packet received {"connection_id":108688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":108688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:36:07] local.INFO: TCP Data received {"connection_id":108688,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:07] local.INFO: Processing buffer {"connection_id":108688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:07] local.INFO: IMEI packet received {"connection_id":108688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":108688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:36:09] local.INFO: TCP Data received {"connection_id":108688,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:36:09] local.INFO: Processing buffer {"connection_id":108688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:36:09] local.INFO: Packet analysis {"connection_id":108688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:36:09] local.INFO: Extracted packet for processing {"connection_id":108688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198454016001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:36: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-06-21 12:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782025512000,"timestamp_ms":1782025512000,"timestamp_seconds":1782025512,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ff6440"} 
[2026-06-21 12:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 12:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198454016001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198454016001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:36:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198454016001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":108688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:36:09] local.INFO: GPS data processed {"connection_id":108688,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:36:09] local.INFO: Acknowledgment sent {"connection_id":108688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:36:14] local.INFO: TCP Data received {"connection_id":108688,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:36:14] local.INFO: Processing buffer {"connection_id":108688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:36:14] local.INFO: Packet analysis {"connection_id":108688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:36:14] local.INFO: Extracted packet for processing {"connection_id":108688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198454016001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:36: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-06-21 12:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782025512000,"timestamp_ms":1782025512000,"timestamp_seconds":1782025512,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ff6440"} 
[2026-06-21 12:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 12:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":108688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":108688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":108688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198454016001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198454016001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:36:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198454016001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":108688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:36:14] local.INFO: GPS data processed {"connection_id":108688,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:36:14] local.INFO: Acknowledgment sent {"connection_id":108688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:36:38] local.INFO: TCP Data received {"connection_id":109496,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:36:38] local.INFO: Processing buffer {"connection_id":109496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:36:38] local.INFO: IMEI packet received {"connection_id":109496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":109496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:36:52] local.INFO: TCP Data received {"connection_id":109497,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:52] local.INFO: Processing buffer {"connection_id":109497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:52] local.INFO: IMEI packet received {"connection_id":109497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":109497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:36:57] local.INFO: TCP Data received {"connection_id":109497,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:57] local.INFO: Processing buffer {"connection_id":109497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:36:57] local.INFO: IMEI packet received {"connection_id":109497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":109497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:37:09] local.INFO: TCP Data received {"connection_id":109497,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:37:09] local.INFO: Processing buffer {"connection_id":109497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:37:09] local.INFO: Packet analysis {"connection_id":109497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:37:09] local.INFO: Extracted packet for processing {"connection_id":109497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198454016001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:37: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-06-21 12:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782025512000,"timestamp_ms":1782025512000,"timestamp_seconds":1782025512,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ff6440"} 
[2026-06-21 12:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 12:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198454016001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198454016001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:37:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198454016001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":109497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:37:09] local.INFO: GPS data processed {"connection_id":109497,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:37:09] local.INFO: Acknowledgment sent {"connection_id":109497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:37:10] local.INFO: TCP Data received {"connection_id":109497,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:37:10] local.INFO: Processing buffer {"connection_id":109497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:37:10] local.INFO: Packet analysis {"connection_id":109497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:37:10] local.INFO: Extracted packet for processing {"connection_id":109497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198454016001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:37:10] 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-06-21 12:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782025512000,"timestamp_ms":1782025512000,"timestamp_seconds":1782025512,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ff6440"} 
[2026-06-21 12:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 12:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198454016001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198454016001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:37:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:37:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198454016001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":109497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:37:10] local.INFO: GPS data processed {"connection_id":109497,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:37:10] local.INFO: Acknowledgment sent {"connection_id":109497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:37:17] local.INFO: TCP Data received {"connection_id":110450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:37:17] local.INFO: Processing buffer {"connection_id":110450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:37:17] local.INFO: IMEI packet received {"connection_id":110450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":110450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:37:51] local.INFO: TCP Data received {"connection_id":109498,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:37:51] local.INFO: Processing buffer {"connection_id":109498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:37:51] local.INFO: IMEI packet received {"connection_id":109498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":109498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:37:57] local.INFO: TCP Data received {"connection_id":109498,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:37:57] local.INFO: Processing buffer {"connection_id":109498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:37:57] local.INFO: IMEI packet received {"connection_id":109498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":109498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:38:00] local.INFO: TCP Data received {"connection_id":109498,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:38:00] local.INFO: Processing buffer {"connection_id":109498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:38:00] local.INFO: Packet analysis {"connection_id":109498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:38:00] local.INFO: Extracted packet for processing {"connection_id":109498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198454016001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:38:00] 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-06-21 12:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782025512000,"timestamp_ms":1782025512000,"timestamp_seconds":1782025512,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ff6440"} 
[2026-06-21 12:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 12:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198454016001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198454016001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198454016001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":109498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:38:00] local.INFO: GPS data processed {"connection_id":109498,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:38:00] local.INFO: Acknowledgment sent {"connection_id":109498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:38:33] local.INFO: TCP Data received {"connection_id":109498,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:38:33] local.INFO: Processing buffer {"connection_id":109498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:38:33] local.INFO: Packet analysis {"connection_id":109498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:38:33] local.INFO: Extracted packet for processing {"connection_id":109498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:38:33] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198454016001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:38:33] 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-06-21 12:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782025512000,"timestamp_ms":1782025512000,"timestamp_seconds":1782025512,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ff6440"} 
[2026-06-21 12:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 12:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198454016001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198454016001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:38:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:38:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198454016001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":109498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:38:33] local.INFO: GPS data processed {"connection_id":109498,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:38:33] local.INFO: Acknowledgment sent {"connection_id":109498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:38:57] local.INFO: TCP Data received {"connection_id":108689,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:38:57] local.INFO: Processing buffer {"connection_id":108689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:38:57] local.INFO: IMEI packet received {"connection_id":108689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":108689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:39:01] local.INFO: TCP Data received {"connection_id":108689,"ip":"117.224.0.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:01] local.INFO: Processing buffer {"connection_id":108689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:01] local.INFO: IMEI packet received {"connection_id":108689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":108689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:39:02] local.INFO: TCP Data received {"connection_id":108689,"ip":"117.224.0.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:39:02] local.INFO: Processing buffer {"connection_id":108689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ff6440012d34c84006aa3f60000c00671f..."} 
[2026-06-21 12:39:02] local.INFO: Packet analysis {"connection_id":108689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:39:02] local.INFO: Extracted packet for processing {"connection_id":108689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ff"} 
[2026-06-21 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198454016001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:39:02] 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-06-21 12:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782025512000,"timestamp_ms":1782025512000,"timestamp_seconds":1782025512,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ff6440"} 
[2026-06-21 12:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 12:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":108689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":108689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":108689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.0.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198454016001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.0.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198454016001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:39:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:39:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198454016001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":108689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:39:02] local.INFO: GPS data processed {"connection_id":108689,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:39:02] local.INFO: Acknowledgment sent {"connection_id":108689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:39:50] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:50] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:50] local.INFO: IMEI packet received {"connection_id":110452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":110452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:39:56] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:56] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:39:56] local.INFO: IMEI packet received {"connection_id":110452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":110452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:40:01] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 12:40:01] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8d17670012d34c84006aa3f60000c006725..."} 
[2026-06-21 12:40:01] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 12:40:01] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8d1"} 
[2026-06-21 12:40:01] local.INFO: GPS Element Parsed {"raw_longitude":758433856,"raw_latitude":111820640,"longitude_deg":75.8433856,"latitude_deg":11.182064,"altitude":12,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c840","hex_latitude":"06aa3f60","is_valid_coordinates":true} 
[2026-06-21 12:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197683456001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803360282684645376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:40:01] 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-06-21 12:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782022502000,"timestamp_ms":1782022502000,"timestamp_seconds":1782022502,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8d17670"} 
[2026-06-21 12:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 12:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197683456001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3803360282684645376},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197683456001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:40:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:40:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803360282684645376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197683456001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803360282684645376}} 
[2026-06-21 12:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:40:01] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:40:01] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:40:32] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8ac75c8012d34c70006aa3fd00007004f28..."} 
[2026-06-21 12:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8ac75c8012d34c70006aa3fd00007004f28..."} 
[2026-06-21 12:40:32] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8ac75c8012d34c70006aa3fd00007004f28..."} 
[2026-06-21 12:40:32] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 12:40:32] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ac"} 
[2026-06-21 12:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111820752,"longitude_deg":75.8433536,"latitude_deg":11.1820752,"altitude":7,"angle":79,"satellites":40,"speed":2,"hex_longitude":"2d34c700","hex_latitude":"06aa3fd0","is_valid_coordinates":true} 
[2026-06-21 12:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197139200001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037735714783232,"note":"Value kept but may cause issues"} 
[2026-06-21 12:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219608064,"note":"Value kept but may cause issues"} 
[2026-06-21 12:40:32] 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-06-21 12:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782020077000,"timestamp_ms":1782020077000,"timestamp_seconds":1782020077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8ac75c8"} 
[2026-06-21 12:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 12:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 12:40:32] 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-06-21 12:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197139200001,"66":27234,"106":206,"28":21760,"24":2,"16":320037735714783232,"45":3802938070219608064},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197139200001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:40:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037735714783232,"km_value":320037735714783.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219608064,"description":"Unknown IO ID 45"} 
[2026-06-21 12:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197139200001,"power":27234,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802938070219608064}} 
[2026-06-21 12:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:40:33] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:40:33] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:41:07] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8abfcb0012d34c28006aa3f080006004728..."} 
[2026-06-21 12:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8abfcb0012d34c28006aa3f080006004728..."} 
[2026-06-21 12:41:07] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8abfcb0012d34c28006aa3f080006004728..."} 
[2026-06-21 12:41:07] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee8ab"} 
[2026-06-21 12:41:07] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee8ab"} 
[2026-06-21 12:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111820552,"longitude_deg":75.8432384,"latitude_deg":11.1820552,"altitude":6,"angle":71,"satellites":40,"speed":1,"hex_longitude":"2d34c280","hex_latitude":"06aa3f08","is_valid_coordinates":true} 
[2026-06-21 12:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456197130496001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037675585241088,"note":"Value kept but may cause issues"} 
[2026-06-21 12:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589103405056,"note":"Value kept but may cause issues"} 
[2026-06-21 12:41:07] 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-06-21 12:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782020046000,"timestamp_ms":1782020046000,"timestamp_seconds":1782020046,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8abfcb0"} 
[2026-06-21 12:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-21 12:41: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-06-21 12:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456197130496001,"66":27919,"106":206,"28":21760,"24":1,"16":320037675585241088,"45":3801319589103405056},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456197130496001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:41:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037675585241088,"km_value":320037675585241.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589103405056,"description":"Unknown IO ID 45"} 
[2026-06-21 12:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456197130496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801319589103405056}} 
[2026-06-21 12:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:41:07] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:41:07] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:41:44] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 12:41:44] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee89651d0012d34c14006aa3d280006011726..."} 
[2026-06-21 12:41:44] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 12:41:44] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee896"} 
[2026-06-21 12:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":6,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 12: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-06-21 12:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456196691200001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 12:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:41:44] 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-06-21 12:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782018626000,"timestamp_ms":1782018626000,"timestamp_seconds":1782018626,"priority":1,"record_length":96,"hex_timestamp":"0000019ee89651d0"} 
[2026-06-21 12:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 12:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12: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-06-21 12:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456196691200001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456196691200001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:41:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:41:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456196691200001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 12:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:41:44] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:41:44] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:42:27] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 12:42:27] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee8686400012d34c14006aa3d28000501172a..."} 
[2026-06-21 12:42:27] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 12:42:27] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee868"} 
[2026-06-21 12:42:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":5,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195920640001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 12:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:42:27] 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-06-21 12:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782015616000,"timestamp_ms":1782015616000,"timestamp_seconds":1782015616,"priority":1,"record_length":96,"hex_timestamp":"0000019ee8686400"} 
[2026-06-21 12:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 12:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195920640001,"66":25375,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195920640001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:42:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195920640001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 12:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:42:27] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:42:27] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:42:37] local.INFO: TCP Data received {"connection_id":109501,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:42:37] local.INFO: Processing buffer {"connection_id":109501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:42:37] local.INFO: IMEI packet received {"connection_id":109501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":109501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:42:59] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 12:42:59] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee83a7630012d34c14006aa3d28000b01172b..."} 
[2026-06-21 12:42:59] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 12:42:59] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee83a"} 
[2026-06-21 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":11,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 12:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456195150080001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 12:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 12:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782012606000,"timestamp_ms":1782012606000,"timestamp_seconds":1782012606,"priority":1,"record_length":96,"hex_timestamp":"0000019ee83a7630"} 
[2026-06-21 12:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 12:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456195150080001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456195150080001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:42:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456195150080001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 12:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:42:59] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:42:59] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:43:13] local.INFO: TCP Data received {"connection_id":110453,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:43:13] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:43:13] local.INFO: IMEI packet received {"connection_id":110453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":110453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:43:31] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 12:43:31] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee80c8860012d34c14006aa3d28000901172a..."} 
[2026-06-21 12:43:31] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 12:43:31] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee80c"} 
[2026-06-21 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":9,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 12:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456194379520001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 12:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:43:31] 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-06-21 12:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782009596000,"timestamp_ms":1782009596000,"timestamp_seconds":1782009596,"priority":1,"record_length":96,"hex_timestamp":"0000019ee80c8860"} 
[2026-06-21 12:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 12:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456194379520001,"66":25321,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456194379520001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:43:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456194379520001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 12:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:43:31] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:43:31] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:44:03] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 12:44:03] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee7de9a90012d34c14006aa3d28000a01172d..."} 
[2026-06-21 12:44:03] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 12:44:03] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee7de"} 
[2026-06-21 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 12:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456193608960001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037628340600832,"note":"Value kept but may cause issues"} 
[2026-06-21 12:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847525376,"note":"Value kept but may cause issues"} 
[2026-06-21 12:44:03] 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-06-21 12:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782006586000,"timestamp_ms":1782006586000,"timestamp_seconds":1782006586,"priority":1,"record_length":96,"hex_timestamp":"0000019ee7de9a90"} 
[2026-06-21 12:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 12:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 12:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456193608960001,"66":25473,"106":206,"28":21760,"24":0,"16":320037628340600832,"45":3801389957847525376},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456193608960001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037628340600832,"km_value":320037628340600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847525376,"description":"Unknown IO ID 45"} 
[2026-06-21 12:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456193608960001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847525376}} 
[2026-06-21 12:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:44:03] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:44:03] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:44:34] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee9075768012d34c58006aa3f500017006721..."} 
[2026-06-21 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":93,"packet_hex":"00000000000000518e010000019ee9075768012d34c58006aa3f500017006721..."} 
[2026-06-21 12:44:34] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee9075768012d34c58006aa3f500017006721..."} 
[2026-06-21 12:44:34] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee907"} 
[2026-06-21 12:44:34] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee907"} 
[2026-06-21 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-21 12:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:44:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:44:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:44:34] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:44:34] local.ERROR: GPS data processing failed {"connection_id":110452,"error":"No valid data to process"} 
[2026-06-21 12:44:34] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:45:05] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":93,"packet_hex":"00000000000000518e010000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 12:45:05] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee7ae8dc8012d34c14006aa3d28000a011728..."} 
[2026-06-21 12:45:05] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee7ae"} 
[2026-06-21 12:45:05] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee7ae"} 
[2026-06-21 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820072,"longitude_deg":75.8432064,"latitude_deg":11.1820072,"altitude":10,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa3d28","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:45:05] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:45:05] local.ERROR: GPS data processing failed {"connection_id":110452,"error":"No valid data to process"} 
[2026-06-21 12:45:05] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:48:44] local.INFO: TCP Data received {"connection_id":109503,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:48:44] local.INFO: Processing buffer {"connection_id":109503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:48:44] local.INFO: IMEI packet received {"connection_id":109503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":109503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:49:17] local.INFO: TCP Data received {"connection_id":108886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:49:17] local.INFO: Processing buffer {"connection_id":108886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:49:17] local.INFO: IMEI packet received {"connection_id":108886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":108886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:49:32] local.INFO: TCP Data received {"connection_id":108692,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:49:32] local.INFO: Processing buffer {"connection_id":108692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:49:32] local.INFO: IMEI packet received {"connection_id":108692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":108692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:49:33] local.INFO: TCP Data received {"connection_id":108692,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108692,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:49:33] local.INFO: Processing buffer {"connection_id":108692,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:49:33] local.INFO: Packet analysis {"connection_id":108692,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:49:33] local.INFO: Extracted packet for processing {"connection_id":108692,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:49:33] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-21 12:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:49:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:49:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108692,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108692,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108692,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:49:33] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":108692,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:49:33] local.ERROR: GPS data processing failed {"connection_id":108692,"error":"No valid data to process"} 
[2026-06-21 12:49:33] local.INFO: Acknowledgment sent {"connection_id":108692,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:50:10] local.INFO: TCP Data received {"connection_id":108692,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108692,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:50:10] local.INFO: Processing buffer {"connection_id":108692,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:50:10] local.INFO: Packet analysis {"connection_id":108692,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:50:10] local.INFO: Extracted packet for processing {"connection_id":108692,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:50:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:50:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108692,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108692,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108692,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:50:10] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":108692,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:50:10] local.ERROR: GPS data processing failed {"connection_id":108692,"error":"No valid data to process"} 
[2026-06-21 12:50:10] local.INFO: Acknowledgment sent {"connection_id":108692,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:50:30] local.INFO: TCP Data received {"connection_id":108887,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:50:30] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:50:30] local.INFO: IMEI packet received {"connection_id":108887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":108887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:50:35] local.INFO: TCP Data received {"connection_id":108887,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:50:35] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:50:35] local.INFO: IMEI packet received {"connection_id":108887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":108887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:50:36] local.INFO: TCP Data received {"connection_id":108887,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:50:36] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:50:36] local.INFO: Packet analysis {"connection_id":108887,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:50:36] local.INFO: Extracted packet for processing {"connection_id":108887,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:50:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:50:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108887,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108887,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108887,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:50:36] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":108887,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:50:36] local.ERROR: GPS data processing failed {"connection_id":108887,"error":"No valid data to process"} 
[2026-06-21 12:50:36] local.INFO: Acknowledgment sent {"connection_id":108887,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:51:10] local.INFO: TCP Data received {"connection_id":108887,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:10] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:10] local.INFO: Packet analysis {"connection_id":108887,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:51:10] local.INFO: Extracted packet for processing {"connection_id":108887,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:51:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:51:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108887,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108887,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108887,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:51:10] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":108887,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:51:10] local.ERROR: GPS data processing failed {"connection_id":108887,"error":"No valid data to process"} 
[2026-06-21 12:51:10] local.INFO: Acknowledgment sent {"connection_id":108887,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:51:30] local.INFO: TCP Data received {"connection_id":110454,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:51:30] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:51:30] local.INFO: IMEI packet received {"connection_id":110454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":110454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:51:35] local.INFO: TCP Data received {"connection_id":110454,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:51:35] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:51:35] local.INFO: IMEI packet received {"connection_id":110454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":110454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:51:36] local.INFO: TCP Data received {"connection_id":110454,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:36] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:36] local.INFO: Packet analysis {"connection_id":110454,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:51:36] local.INFO: Extracted packet for processing {"connection_id":110454,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-21 12:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110454,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110454,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110454,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:51:36] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":110454,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:51:36] local.ERROR: GPS data processing failed {"connection_id":110454,"error":"No valid data to process"} 
[2026-06-21 12:51:36] local.INFO: Acknowledgment sent {"connection_id":110454,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:51:40] local.INFO: TCP Data received {"connection_id":110454,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:40] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:51:40] local.INFO: Packet analysis {"connection_id":110454,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:51:40] local.INFO: Extracted packet for processing {"connection_id":110454,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:51:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:51:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110454,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110454,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110454,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:51:40] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":110454,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:51:40] local.ERROR: GPS data processing failed {"connection_id":110454,"error":"No valid data to process"} 
[2026-06-21 12:51:40] local.INFO: Acknowledgment sent {"connection_id":110454,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:52:35] local.INFO: TCP Data received {"connection_id":108695,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:52:35] local.INFO: Processing buffer {"connection_id":108695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:52:35] local.INFO: IMEI packet received {"connection_id":108695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":108695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:52:40] local.INFO: TCP Data received {"connection_id":108695,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:52:40] local.INFO: Processing buffer {"connection_id":108695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:52:40] local.INFO: IMEI packet received {"connection_id":108695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":108695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:52:40] local.INFO: TCP Data received {"connection_id":108695,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108695,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:52:40] local.INFO: Processing buffer {"connection_id":108695,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:52:40] local.INFO: Packet analysis {"connection_id":108695,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:52:40] local.INFO: Extracted packet for processing {"connection_id":108695,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:52:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:52:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108695,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108695,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108695,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:52:40] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":108695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:52:40] local.ERROR: GPS data processing failed {"connection_id":108695,"error":"No valid data to process"} 
[2026-06-21 12:52:40] local.INFO: Acknowledgment sent {"connection_id":108695,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:52:45] local.INFO: TCP Data received {"connection_id":108695,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108695,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:52:45] local.INFO: Processing buffer {"connection_id":108695,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:52:45] local.INFO: Packet analysis {"connection_id":108695,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:52:45] local.INFO: Extracted packet for processing {"connection_id":108695,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:52:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:52:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108695,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108695,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108695,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:52:45] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":108695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:52:45] local.ERROR: GPS data processing failed {"connection_id":108695,"error":"No valid data to process"} 
[2026-06-21 12:52:45] local.INFO: Acknowledgment sent {"connection_id":108695,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:53:30] local.INFO: TCP Data received {"connection_id":109505,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:53:30] local.INFO: Processing buffer {"connection_id":109505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:53:30] local.INFO: IMEI packet received {"connection_id":109505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":109505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:53:35] local.INFO: TCP Data received {"connection_id":109505,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:53:35] local.INFO: Processing buffer {"connection_id":109505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:53:35] local.INFO: IMEI packet received {"connection_id":109505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":109505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:53:38] local.INFO: TCP Data received {"connection_id":109505,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109505,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:53:38] local.INFO: Processing buffer {"connection_id":109505,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:53:38] local.INFO: Packet analysis {"connection_id":109505,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:53:38] local.INFO: Extracted packet for processing {"connection_id":109505,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:53:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:53:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109505,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109505,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109505,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:53:38] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":109505,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:53:38] local.ERROR: GPS data processing failed {"connection_id":109505,"error":"No valid data to process"} 
[2026-06-21 12:53:38] local.INFO: Acknowledgment sent {"connection_id":109505,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:54:10] local.INFO: TCP Data received {"connection_id":109505,"ip":"117.224.157.140","data_length":93,"data_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109505,"packet_length":93,"packet_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:54:10] local.INFO: Processing buffer {"connection_id":109505,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ee90bef30012d34c58006aa3f50001d00671f..."} 
[2026-06-21 12:54:10] local.INFO: Packet analysis {"connection_id":109505,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:54:10] local.INFO: Extracted packet for processing {"connection_id":109505,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ee90b"} 
[2026-06-21 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":93,"current_offset":40} 
[2026-06-21 12:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:54:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:54:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 12:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109505,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 12:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109505,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109505,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-21 12:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 12:54:10] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 12:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":109505,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 12:54:10] local.ERROR: GPS data processing failed {"connection_id":109505,"error":"No valid data to process"} 
[2026-06-21 12:54:10] local.INFO: Acknowledgment sent {"connection_id":109505,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 12:54:30] local.INFO: TCP Data received {"connection_id":108889,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:30] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:30] local.INFO: IMEI packet received {"connection_id":108889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":108889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:54:33] local.INFO: TCP Data received {"connection_id":108889,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:33] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:33] local.INFO: IMEI packet received {"connection_id":108889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":108889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:54:35] local.INFO: TCP Data received {"connection_id":108889,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:35] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:54:35] local.INFO: IMEI packet received {"connection_id":108889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":108889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:54:36] local.INFO: TCP Data received {"connection_id":108889,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:54:36] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:54:36] local.INFO: Packet analysis {"connection_id":108889,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:54:36] local.INFO: Extracted packet for processing {"connection_id":108889,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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":171,"current_offset":40} 
[2026-06-21 12:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12: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-06-21 12:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:54:36] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108889,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":108889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:54:36] local.INFO: GPS data processed {"connection_id":108889,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:54:36] local.INFO: Acknowledgment sent {"connection_id":108889,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:54:40] local.INFO: TCP Data received {"connection_id":108889,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:54:40] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:54:40] local.INFO: Packet analysis {"connection_id":108889,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:54:40] local.INFO: Extracted packet for processing {"connection_id":108889,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-06-21 12:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:54: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-06-21 12:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:54:40] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108889,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:54:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":108889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:54:40] local.INFO: GPS data processed {"connection_id":108889,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:54:40] local.INFO: Acknowledgment sent {"connection_id":108889,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:54:47] local.INFO: TCP Data received {"connection_id":110455,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:54:47] local.INFO: Processing buffer {"connection_id":110455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:54:47] local.INFO: IMEI packet received {"connection_id":110455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":110455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:55:12] local.INFO: TCP Data received {"connection_id":108696,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:55:12] local.INFO: Processing buffer {"connection_id":108696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 12:55:12] local.INFO: IMEI packet received {"connection_id":108696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 12:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":108696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:55:30] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:55:30] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:55:30] local.INFO: IMEI packet received {"connection_id":110456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":110456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:55:35] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:55:35] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:55:35] local.INFO: IMEI packet received {"connection_id":110456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":110456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:55:36] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:55:36] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:55:36] local.INFO: Packet analysis {"connection_id":110456,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:55:36] local.INFO: Extracted packet for processing {"connection_id":110456,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-06-21 12:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12: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-06-21 12:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:55:36] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110456,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":110456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:55:36] local.INFO: GPS data processed {"connection_id":110456,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:55:36] local.INFO: Acknowledgment sent {"connection_id":110456,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:56:10] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:10] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:10] local.INFO: Packet analysis {"connection_id":110456,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:56:10] local.INFO: Extracted packet for processing {"connection_id":110456,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-06-21 12:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:10] 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-06-21 12:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:56:10] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110456,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":110456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:56:10] local.INFO: GPS data processed {"connection_id":110456,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:56:10] local.INFO: Acknowledgment sent {"connection_id":110456,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:56:35] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:56:35] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:56:35] local.INFO: IMEI packet received {"connection_id":108890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":108890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:56:40] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:56:40] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:56:40] local.INFO: IMEI packet received {"connection_id":108890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":108890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:56:41] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:41] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:41] local.INFO: Packet analysis {"connection_id":108890,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:56:41] local.INFO: Extracted packet for processing {"connection_id":108890,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":171,"current_offset":40} 
[2026-06-21 12:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:41] 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-06-21 12:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:56:41] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108890,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":108890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:56:41] local.INFO: GPS data processed {"connection_id":108890,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:56:41] local.INFO: Acknowledgment sent {"connection_id":108890,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:56:45] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:45] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:56:45] local.INFO: Packet analysis {"connection_id":108890,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:56:45] local.INFO: Extracted packet for processing {"connection_id":108890,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":171,"current_offset":40} 
[2026-06-21 12:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:56:45] 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-06-21 12:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12: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":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:56:45] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108890,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:56:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:56:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":108890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:56:45] local.INFO: GPS data processed {"connection_id":108890,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:56:45] local.INFO: Acknowledgment sent {"connection_id":108890,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:57:30] local.INFO: TCP Data received {"connection_id":109507,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:57:30] local.INFO: Processing buffer {"connection_id":109507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:57:30] local.INFO: IMEI packet received {"connection_id":109507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":109507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:57:35] local.INFO: TCP Data received {"connection_id":109507,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:57:35] local.INFO: Processing buffer {"connection_id":109507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:57:35] local.INFO: IMEI packet received {"connection_id":109507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":109507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:57:36] local.INFO: TCP Data received {"connection_id":109507,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109507,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:57:36] local.INFO: Processing buffer {"connection_id":109507,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:57:36] local.INFO: Packet analysis {"connection_id":109507,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:57:36] local.INFO: Extracted packet for processing {"connection_id":109507,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-06-21 12:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12: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-06-21 12:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:57:36] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109507,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":109507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:57:36] local.INFO: GPS data processed {"connection_id":109507,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:57:36] local.INFO: Acknowledgment sent {"connection_id":109507,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:58:10] local.INFO: TCP Data received {"connection_id":109507,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109507,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:58:10] local.INFO: Processing buffer {"connection_id":109507,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:58:10] local.INFO: Packet analysis {"connection_id":109507,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:58:10] local.INFO: Extracted packet for processing {"connection_id":109507,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":171,"current_offset":40} 
[2026-06-21 12:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:58:10] 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-06-21 12:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:58:10] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109507,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:58:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:58:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":109507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:58:10] local.INFO: GPS data processed {"connection_id":109507,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:58:10] local.INFO: Acknowledgment sent {"connection_id":109507,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:58:30] local.INFO: TCP Data received {"connection_id":110457,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:58:30] local.INFO: Processing buffer {"connection_id":110457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:58:30] local.INFO: IMEI packet received {"connection_id":110457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":110457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:58:35] local.INFO: TCP Data received {"connection_id":110457,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:58:35] local.INFO: Processing buffer {"connection_id":110457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:58:35] local.INFO: IMEI packet received {"connection_id":110457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":110457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:58:36] local.INFO: TCP Data received {"connection_id":110457,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110457,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:58:36] local.INFO: Processing buffer {"connection_id":110457,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:58:36] local.INFO: Packet analysis {"connection_id":110457,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:58:36] local.INFO: Extracted packet for processing {"connection_id":110457,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":171,"current_offset":40} 
[2026-06-21 12:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12: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-06-21 12:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:58:36] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110457,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":110457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:58:36] local.INFO: GPS data processed {"connection_id":110457,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:58:36] local.INFO: Acknowledgment sent {"connection_id":110457,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:59:10] local.INFO: TCP Data received {"connection_id":110457,"ip":"117.224.157.140","data_length":171,"data_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110457,"packet_length":171,"packet_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:59:10] local.INFO: Processing buffer {"connection_id":110457,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019ee91086f8012d34c58006aa3f500010006722..."} 
[2026-06-21 12:59:10] local.INFO: Packet analysis {"connection_id":110457,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:59:10] local.INFO: Extracted packet for processing {"connection_id":110457,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019ee910"} 
[2026-06-21 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-06-21 12:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198741504001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:10] 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-06-21 12:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782026635000,"timestamp_ms":1782026635000,"timestamp_seconds":1782026635,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91086f8"} 
[2026-06-21 12:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":171,"current_offset":136} 
[2026-06-21 12:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:59:10] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110457,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-06-21 12:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198741504001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198741504001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198741504001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":110457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:59:10] local.INFO: GPS data processed {"connection_id":110457,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:59:10] local.INFO: Acknowledgment sent {"connection_id":110457,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:59:30] local.INFO: TCP Data received {"connection_id":108700,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:30] local.INFO: Processing buffer {"connection_id":108700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:30] local.INFO: IMEI packet received {"connection_id":108700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 12:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":108700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 12:59:34] local.INFO: TCP Data received {"connection_id":108700,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:34] local.INFO: Processing buffer {"connection_id":108700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:34] local.INFO: IMEI packet received {"connection_id":108700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":108700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:59:35] local.INFO: TCP Data received {"connection_id":108700,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:35] local.INFO: Processing buffer {"connection_id":108700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 12:59:35] local.INFO: IMEI packet received {"connection_id":108700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 12:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":108700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 12:59:35] local.INFO: TCP Data received {"connection_id":108700,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 12:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108700,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 12:59:35] local.INFO: Processing buffer {"connection_id":108700,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 12:59:35] local.INFO: Packet analysis {"connection_id":108700,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 12:59:35] local.INFO: Extracted packet for processing {"connection_id":108700,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 12:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":249,"current_offset":40} 
[2026-06-21 12:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59: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-06-21 12:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 12:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 12:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:59:35] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108700,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 12:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":108700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:59:36] local.INFO: GPS data processed {"connection_id":108700,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:59:36] local.INFO: Acknowledgment sent {"connection_id":108700,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 12:59:41] local.INFO: TCP Data received {"connection_id":108700,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 12:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108700,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 12:59:41] local.INFO: Processing buffer {"connection_id":108700,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 12:59:41] local.INFO: Packet analysis {"connection_id":108700,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 12:59:41] local.INFO: Extracted packet for processing {"connection_id":108700,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 12:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 12: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":249,"current_offset":40} 
[2026-06-21 12:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 12:59:41] 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-06-21 12:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 12:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 12:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 12:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 12:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 12:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 12:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 12:59:41] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 12:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108700,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 12:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 12:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 12:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 12:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 12:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 12:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 12:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 12:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 12:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 12:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":108700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 12:59:41] local.INFO: GPS data processed {"connection_id":108700,"processed":1,"errors":0,"total":1} 
[2026-06-21 12:59:41] local.INFO: Acknowledgment sent {"connection_id":108700,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:00:27] local.INFO: TCP Data received {"connection_id":109508,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:00:27] local.INFO: Processing buffer {"connection_id":109508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:00:27] local.INFO: IMEI packet received {"connection_id":109508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":109508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:00:30] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:00:30] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:00:30] local.INFO: IMEI packet received {"connection_id":108891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":108891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:00:35] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:00:35] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:00:35] local.INFO: IMEI packet received {"connection_id":108891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":108891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:00:36] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:00:36] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:00:36] local.INFO: Packet analysis {"connection_id":108891,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:00:36] local.INFO: Extracted packet for processing {"connection_id":108891,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-06-21 13:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:00: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-06-21 13:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:00:36] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108891,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":108891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:00:36] local.INFO: GPS data processed {"connection_id":108891,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:00:36] local.INFO: Acknowledgment sent {"connection_id":108891,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:01:10] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:01:10] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:01:10] local.INFO: Packet analysis {"connection_id":108891,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:01:10] local.INFO: Extracted packet for processing {"connection_id":108891,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":249,"current_offset":40} 
[2026-06-21 13:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:01:10] 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-06-21 13:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:01:10] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108891,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:01:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":108891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:01:10] local.INFO: GPS data processed {"connection_id":108891,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:01:10] local.INFO: Acknowledgment sent {"connection_id":108891,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:01:12] local.INFO: TCP Data received {"connection_id":109509,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:01:12] local.INFO: Processing buffer {"connection_id":109509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:01:12] local.INFO: IMEI packet received {"connection_id":109509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":109509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:01:30] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:01:30] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:01:30] local.INFO: IMEI packet received {"connection_id":110458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:01:35] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:01:35] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:01:35] local.INFO: IMEI packet received {"connection_id":110458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":110458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:01:36] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:01:36] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:01:36] local.INFO: Packet analysis {"connection_id":110458,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:01:36] local.INFO: Extracted packet for processing {"connection_id":110458,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":249,"current_offset":40} 
[2026-06-21 13:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:01: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-06-21 13:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:01:36] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110458,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":110458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:01:36] local.INFO: GPS data processed {"connection_id":110458,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:01:36] local.INFO: Acknowledgment sent {"connection_id":110458,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:02:10] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:02:10] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:02:10] local.INFO: Packet analysis {"connection_id":110458,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:02:10] local.INFO: Extracted packet for processing {"connection_id":110458,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":249,"current_offset":40} 
[2026-06-21 13:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:02:10] 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-06-21 13:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:02:10] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110458,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:02:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":110458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:02:11] local.INFO: GPS data processed {"connection_id":110458,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:02:11] local.INFO: Acknowledgment sent {"connection_id":110458,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:02:30] local.INFO: TCP Data received {"connection_id":108892,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:02:30] local.INFO: Processing buffer {"connection_id":108892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:02:30] local.INFO: IMEI packet received {"connection_id":108892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":108892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:02:35] local.INFO: TCP Data received {"connection_id":108892,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:02:35] local.INFO: Processing buffer {"connection_id":108892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:02:35] local.INFO: IMEI packet received {"connection_id":108892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":108892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:02:35] local.INFO: TCP Data received {"connection_id":108892,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108892,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:02:35] local.INFO: Processing buffer {"connection_id":108892,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:02:35] local.INFO: Packet analysis {"connection_id":108892,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:02:35] local.INFO: Extracted packet for processing {"connection_id":108892,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-06-21 13:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:02: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-06-21 13:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:02:35] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108892,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":108892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:02:35] local.INFO: GPS data processed {"connection_id":108892,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:02:35] local.INFO: Acknowledgment sent {"connection_id":108892,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:03:10] local.INFO: TCP Data received {"connection_id":108892,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108892,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:03:10] local.INFO: Processing buffer {"connection_id":108892,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:03:10] local.INFO: Packet analysis {"connection_id":108892,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:03:10] local.INFO: Extracted packet for processing {"connection_id":108892,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":249,"current_offset":40} 
[2026-06-21 13:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:03:10] 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-06-21 13:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:03:10] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108892,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:03:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":108892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:03:10] local.INFO: GPS data processed {"connection_id":108892,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:03:10] local.INFO: Acknowledgment sent {"connection_id":108892,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:03:30] local.INFO: TCP Data received {"connection_id":110459,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:03:30] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:03:30] local.INFO: IMEI packet received {"connection_id":110459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":110459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:03:35] local.INFO: TCP Data received {"connection_id":110459,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:03:35] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:03:35] local.INFO: IMEI packet received {"connection_id":110459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":110459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:03:36] local.INFO: TCP Data received {"connection_id":110459,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:03:36] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:03:36] local.INFO: Packet analysis {"connection_id":110459,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:03:36] local.INFO: Extracted packet for processing {"connection_id":110459,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-06-21 13:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:03: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-06-21 13:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:03:36] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110459,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":110459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:03:36] local.INFO: GPS data processed {"connection_id":110459,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:03:36] local.INFO: Acknowledgment sent {"connection_id":110459,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:04:10] local.INFO: TCP Data received {"connection_id":110459,"ip":"117.224.157.140","data_length":249,"data_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":249,"packet_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:04:10] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019ee9151ec0012d34c58006aa3f500008006720..."} 
[2026-06-21 13:04:10] local.INFO: Packet analysis {"connection_id":110459,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:04:10] local.INFO: Extracted packet for processing {"connection_id":110459,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019ee915"} 
[2026-06-21 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-06-21 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198818560001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:10] 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-06-21 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782026936000,"timestamp_ms":1782026936000,"timestamp_seconds":1782026936,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9151ec0"} 
[2026-06-21 13:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":249,"current_offset":136} 
[2026-06-21 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110459,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-06-21 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198818560001,"66":25158,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198818560001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:04:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198818560001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":110459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:04:10] local.INFO: GPS data processed {"connection_id":110459,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:04:10] local.INFO: Acknowledgment sent {"connection_id":110459,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:04:35] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:35] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:35] local.INFO: IMEI packet received {"connection_id":108893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":108893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:04:36] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:36] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:36] local.INFO: IMEI packet received {"connection_id":108893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":108893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:04:40] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:40] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:04:40] local.INFO: IMEI packet received {"connection_id":108893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":108893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:04:41] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:04:41] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:04:41] local.INFO: Packet analysis {"connection_id":108893,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:04:41] local.INFO: Extracted packet for processing {"connection_id":108893,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":327,"current_offset":40} 
[2026-06-21 13:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:41] 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-06-21 13:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:04:41] 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-06-21 13:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:04:41] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108893,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":108893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:04:41] local.INFO: GPS data processed {"connection_id":108893,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:04:41] local.INFO: Acknowledgment sent {"connection_id":108893,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:04:45] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:04:45] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:04:45] local.INFO: Packet analysis {"connection_id":108893,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:04:45] local.INFO: Extracted packet for processing {"connection_id":108893,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":327,"current_offset":40} 
[2026-06-21 13:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:04:45] 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-06-21 13:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:04:45] 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-06-21 13:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:04:45] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108893,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:04:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:04:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":108893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:04:45] local.INFO: GPS data processed {"connection_id":108893,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:04:45] local.INFO: Acknowledgment sent {"connection_id":108893,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:05:31] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:05:31] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:05:31] local.INFO: IMEI packet received {"connection_id":110460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":110460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:05:35] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:05:35] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:05:35] local.INFO: IMEI packet received {"connection_id":110460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":110460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:05:36] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:05:36] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:05:36] local.INFO: Packet analysis {"connection_id":110460,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:05:36] local.INFO: Extracted packet for processing {"connection_id":110460,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":327,"current_offset":40} 
[2026-06-21 13:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:05: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-06-21 13:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:05:36] 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-06-21 13:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:05:36] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110460,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":110460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:05:36] local.INFO: GPS data processed {"connection_id":110460,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:05:36] local.INFO: Acknowledgment sent {"connection_id":110460,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:06:10] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:06:10] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:06:10] local.INFO: Packet analysis {"connection_id":110460,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:06:10] local.INFO: Extracted packet for processing {"connection_id":110460,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":327,"current_offset":40} 
[2026-06-21 13:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:06:10] 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-06-21 13:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:06:10] 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-06-21 13:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:06:10] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110460,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:06:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":110460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:06:10] local.INFO: GPS data processed {"connection_id":110460,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:06:10] local.INFO: Acknowledgment sent {"connection_id":110460,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:06:27] local.INFO: TCP Data received {"connection_id":110461,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:06:27] local.INFO: Processing buffer {"connection_id":110461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:06:27] local.INFO: IMEI packet received {"connection_id":110461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":110461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:06:30] local.INFO: TCP Data received {"connection_id":109512,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:06:30] local.INFO: Processing buffer {"connection_id":109512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:06:30] local.INFO: IMEI packet received {"connection_id":109512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":109512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:06:35] local.INFO: TCP Data received {"connection_id":109512,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:06:35] local.INFO: Processing buffer {"connection_id":109512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:06:35] local.INFO: IMEI packet received {"connection_id":109512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":109512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:06:36] local.INFO: TCP Data received {"connection_id":109512,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109512,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:06:36] local.INFO: Processing buffer {"connection_id":109512,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:06:36] local.INFO: Packet analysis {"connection_id":109512,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:06:36] local.INFO: Extracted packet for processing {"connection_id":109512,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-06-21 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:06: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-06-21 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:06:36] 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-06-21 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109512,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":109512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:06:36] local.INFO: GPS data processed {"connection_id":109512,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:06:36] local.INFO: Acknowledgment sent {"connection_id":109512,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:07:10] local.INFO: TCP Data received {"connection_id":109512,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109512,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:07:10] local.INFO: Processing buffer {"connection_id":109512,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:07:10] local.INFO: Packet analysis {"connection_id":109512,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:07:10] local.INFO: Extracted packet for processing {"connection_id":109512,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-06-21 13:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:07:10] 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-06-21 13:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:07:10] 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-06-21 13:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:07:10] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109512,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":109512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:07:10] local.INFO: GPS data processed {"connection_id":109512,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:07:10] local.INFO: Acknowledgment sent {"connection_id":109512,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:07:12] local.INFO: TCP Data received {"connection_id":108895,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:07:12] local.INFO: Processing buffer {"connection_id":108895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:07:12] local.INFO: IMEI packet received {"connection_id":108895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":108895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:07:30] local.INFO: TCP Data received {"connection_id":109513,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:07:30] local.INFO: Processing buffer {"connection_id":109513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:07:30] local.INFO: IMEI packet received {"connection_id":109513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":109513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:07:35] local.INFO: TCP Data received {"connection_id":109513,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:07:35] local.INFO: Processing buffer {"connection_id":109513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:07:35] local.INFO: IMEI packet received {"connection_id":109513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":109513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:07:36] local.INFO: TCP Data received {"connection_id":109513,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109513,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:07:36] local.INFO: Processing buffer {"connection_id":109513,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:07:36] local.INFO: Packet analysis {"connection_id":109513,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:07:36] local.INFO: Extracted packet for processing {"connection_id":109513,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":327,"current_offset":40} 
[2026-06-21 13:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:07: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-06-21 13:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:07:36] 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-06-21 13:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:07:36] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109513,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":109513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:07:36] local.INFO: GPS data processed {"connection_id":109513,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:07:36] local.INFO: Acknowledgment sent {"connection_id":109513,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:08:10] local.INFO: TCP Data received {"connection_id":109513,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109513,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:10] local.INFO: Processing buffer {"connection_id":109513,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:10] local.INFO: Packet analysis {"connection_id":109513,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:08:10] local.INFO: Extracted packet for processing {"connection_id":109513,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":327,"current_offset":40} 
[2026-06-21 13:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:10] 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-06-21 13:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:08:10] 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-06-21 13:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:08:10] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109513,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:08:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":109513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:08:10] local.INFO: GPS data processed {"connection_id":109513,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:08:10] local.INFO: Acknowledgment sent {"connection_id":109513,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:08:35] local.INFO: TCP Data received {"connection_id":108896,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:08:35] local.INFO: Processing buffer {"connection_id":108896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:08:35] local.INFO: IMEI packet received {"connection_id":108896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":108896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:08:40] local.INFO: TCP Data received {"connection_id":108896,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:08:40] local.INFO: Processing buffer {"connection_id":108896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:08:40] local.INFO: IMEI packet received {"connection_id":108896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":108896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:08:41] local.INFO: TCP Data received {"connection_id":108896,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108896,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:41] local.INFO: Processing buffer {"connection_id":108896,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:41] local.INFO: Packet analysis {"connection_id":108896,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:08:41] local.INFO: Extracted packet for processing {"connection_id":108896,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-06-21 13:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:41] 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-06-21 13:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:08:41] 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-06-21 13:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:08:41] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108896,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:08:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:08:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":108896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:08:41] local.INFO: GPS data processed {"connection_id":108896,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:08:41] local.INFO: Acknowledgment sent {"connection_id":108896,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:08:45] local.INFO: TCP Data received {"connection_id":108896,"ip":"117.224.157.140","data_length":327,"data_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108896,"packet_length":327,"packet_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:45] local.INFO: Processing buffer {"connection_id":108896,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019ee919b688012d34c58006aa3f500001006721..."} 
[2026-06-21 13:08:45] local.INFO: Packet analysis {"connection_id":108896,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:08:45] local.INFO: Extracted packet for processing {"connection_id":108896,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019ee919"} 
[2026-06-21 13:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":1,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":327,"current_offset":40} 
[2026-06-21 13:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198895616001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:08:45] 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-06-21 13:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782027237000,"timestamp_ms":1782027237000,"timestamp_seconds":1782027237,"priority":1,"record_length":96,"hex_timestamp":"0000019ee919b688"} 
[2026-06-21 13:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":70,"data_length":327,"current_offset":136} 
[2026-06-21 13:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:08:45] 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-06-21 13:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:08:45] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108896,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-06-21 13:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198895616001,"66":25212,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198895616001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:08:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198895616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":108896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:08:45] local.INFO: GPS data processed {"connection_id":108896,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:08:45] local.INFO: Acknowledgment sent {"connection_id":108896,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:09:30] local.INFO: TCP Data received {"connection_id":108704,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:09:30] local.INFO: Processing buffer {"connection_id":108704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:09:30] local.INFO: IMEI packet received {"connection_id":108704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":108704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:09:35] local.INFO: TCP Data received {"connection_id":108704,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:09:35] local.INFO: Processing buffer {"connection_id":108704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:09:35] local.INFO: IMEI packet received {"connection_id":108704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":108704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:09:36] local.INFO: TCP Data received {"connection_id":108704,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108704,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:09:36] local.INFO: Processing buffer {"connection_id":108704,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:09:36] local.INFO: Packet analysis {"connection_id":108704,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:09:36] local.INFO: Extracted packet for processing {"connection_id":108704,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:09:36] 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-06-21 13:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:09:36] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108704,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":108704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:09:36] local.INFO: GPS data processed {"connection_id":108704,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:09:36] local.INFO: Acknowledgment sent {"connection_id":108704,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:10:07] local.INFO: TCP Data received {"connection_id":108704,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108704,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:10:07] local.INFO: Processing buffer {"connection_id":108704,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:10:07] local.INFO: Packet analysis {"connection_id":108704,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:10:07] local.INFO: Extracted packet for processing {"connection_id":108704,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-06-21 13:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:10:07] 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-06-21 13:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:10:07] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108704,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":108704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:10:07] local.INFO: GPS data processed {"connection_id":108704,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:10:07] local.INFO: Acknowledgment sent {"connection_id":108704,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:10:30] local.INFO: TCP Data received {"connection_id":108897,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:10:30] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:10:30] local.INFO: IMEI packet received {"connection_id":108897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":108897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:10:35] local.INFO: TCP Data received {"connection_id":108897,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:10:35] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:10:35] local.INFO: IMEI packet received {"connection_id":108897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":108897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:10:36] local.INFO: TCP Data received {"connection_id":108897,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:10:36] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:10:36] local.INFO: Packet analysis {"connection_id":108897,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:10:36] local.INFO: Extracted packet for processing {"connection_id":108897,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:10:36] 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-06-21 13:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:10:36] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108897,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:10:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":108897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:10:36] local.INFO: GPS data processed {"connection_id":108897,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:10:36] local.INFO: Acknowledgment sent {"connection_id":108897,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:11:11] local.INFO: TCP Data received {"connection_id":108897,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:11:11] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:11:11] local.INFO: Packet analysis {"connection_id":108897,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:11:11] local.INFO: Extracted packet for processing {"connection_id":108897,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-06-21 13:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:11:11] 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-06-21 13:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:11:11] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108897,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:11:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":108897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:11:11] local.INFO: GPS data processed {"connection_id":108897,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:11:11] local.INFO: Acknowledgment sent {"connection_id":108897,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:11:30] local.INFO: TCP Data received {"connection_id":109515,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:11:30] local.INFO: Processing buffer {"connection_id":109515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:11:30] local.INFO: IMEI packet received {"connection_id":109515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":109515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:11:35] local.INFO: TCP Data received {"connection_id":109515,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:11:35] local.INFO: Processing buffer {"connection_id":109515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:11:35] local.INFO: IMEI packet received {"connection_id":109515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":109515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:11:36] local.INFO: TCP Data received {"connection_id":109515,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109515,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:11:36] local.INFO: Processing buffer {"connection_id":109515,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:11:36] local.INFO: Packet analysis {"connection_id":109515,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:11:36] local.INFO: Extracted packet for processing {"connection_id":109515,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:11:36] 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-06-21 13:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109515,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":109515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:11:36] local.INFO: GPS data processed {"connection_id":109515,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:11:36] local.INFO: Acknowledgment sent {"connection_id":109515,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:12:10] local.INFO: TCP Data received {"connection_id":109515,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109515,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:10] local.INFO: Processing buffer {"connection_id":109515,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:10] local.INFO: Packet analysis {"connection_id":109515,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:12:10] local.INFO: Extracted packet for processing {"connection_id":109515,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:12:10] 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-06-21 13:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:12:10] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109515,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":109515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:12:10] local.INFO: GPS data processed {"connection_id":109515,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:12:10] local.INFO: Acknowledgment sent {"connection_id":109515,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:12:35] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:12:35] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:12:35] local.INFO: IMEI packet received {"connection_id":108898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":108898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:12:40] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:12:40] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:12:40] local.INFO: IMEI packet received {"connection_id":108898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":108898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:12:41] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:41] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:41] local.INFO: Packet analysis {"connection_id":108898,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:12:41] local.INFO: Extracted packet for processing {"connection_id":108898,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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":405,"current_offset":40} 
[2026-06-21 13:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:12:41] 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-06-21 13:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:12:41] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108898,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:12:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:12:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":108898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:12:41] local.INFO: GPS data processed {"connection_id":108898,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:12:41] local.INFO: Acknowledgment sent {"connection_id":108898,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:12:46] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:46] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:12:46] local.INFO: Packet analysis {"connection_id":108898,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:12:46] local.INFO: Extracted packet for processing {"connection_id":108898,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:12:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:12:46] 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-06-21 13:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:12:46] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108898,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:12:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:12:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":108898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:12:46] local.INFO: GPS data processed {"connection_id":108898,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:12:46] local.INFO: Acknowledgment sent {"connection_id":108898,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:12:48] local.INFO: TCP Data received {"connection_id":110464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:12:48] local.INFO: Processing buffer {"connection_id":110464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:12:48] local.INFO: IMEI packet received {"connection_id":110464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":110464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:13:17] local.INFO: TCP Data received {"connection_id":108705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:13:17] local.INFO: Processing buffer {"connection_id":108705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:13:17] local.INFO: IMEI packet received {"connection_id":108705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":108705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:13:30] local.INFO: TCP Data received {"connection_id":108899,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:13:30] local.INFO: Processing buffer {"connection_id":108899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:13:30] local.INFO: IMEI packet received {"connection_id":108899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":108899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:13:35] local.INFO: TCP Data received {"connection_id":108899,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:13:35] local.INFO: Processing buffer {"connection_id":108899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:13:35] local.INFO: IMEI packet received {"connection_id":108899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":108899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:13:36] local.INFO: TCP Data received {"connection_id":108899,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108899,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:13:36] local.INFO: Processing buffer {"connection_id":108899,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:13:36] local.INFO: Packet analysis {"connection_id":108899,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:13:36] local.INFO: Extracted packet for processing {"connection_id":108899,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:13:36] 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-06-21 13:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:13:36] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108899,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":108899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:13:36] local.INFO: GPS data processed {"connection_id":108899,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:13:36] local.INFO: Acknowledgment sent {"connection_id":108899,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:14:10] local.INFO: TCP Data received {"connection_id":108899,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108899,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:14:10] local.INFO: Processing buffer {"connection_id":108899,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:14:10] local.INFO: Packet analysis {"connection_id":108899,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:14:10] local.INFO: Extracted packet for processing {"connection_id":108899,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:14:10] 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-06-21 13:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:14:10] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108899,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":108899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:14:10] local.INFO: GPS data processed {"connection_id":108899,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:14:10] local.INFO: Acknowledgment sent {"connection_id":108899,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:14:30] local.INFO: TCP Data received {"connection_id":108900,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:14:30] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:14:30] local.INFO: IMEI packet received {"connection_id":108900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":108900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:14:35] local.INFO: TCP Data received {"connection_id":108900,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:14:35] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:14:35] local.INFO: IMEI packet received {"connection_id":108900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":108900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:14:36] local.INFO: TCP Data received {"connection_id":108900,"ip":"117.224.157.140","data_length":405,"data_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":405,"packet_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:14:36] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":405,"buffer_hex":"00000000000001898e050000019ee91e4e50012d34c58006aa3f50000900671f..."} 
[2026-06-21 13:14:36] local.INFO: Packet analysis {"connection_id":108900,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:14:36] local.INFO: Extracted packet for processing {"connection_id":108900,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019ee91e"} 
[2026-06-21 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":405,"current_offset":40} 
[2026-06-21 13:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456198972672001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027538000,"timestamp_ms":1782027538000,"timestamp_seconds":1782027538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee91e4e50"} 
[2026-06-21 13:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-06-21 13:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:14:36] 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-06-21 13:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:14:36] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108900,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-21 13:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456198972672001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456198972672001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456198972672001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":108900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:14:36] local.INFO: GPS data processed {"connection_id":108900,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:14:36] local.INFO: Acknowledgment sent {"connection_id":108900,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:15:07] local.INFO: TCP Data received {"connection_id":108900,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:15:07] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:15:07] local.INFO: Packet analysis {"connection_id":108900,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:15:07] local.INFO: Extracted packet for processing {"connection_id":108900,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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":483,"current_offset":40} 
[2026-06-21 13:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:15:07] 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-06-21 13:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:15:07] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108900,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:15:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":108900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:15:07] local.INFO: GPS data processed {"connection_id":108900,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:15:07] local.INFO: Acknowledgment sent {"connection_id":108900,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:15:30] local.INFO: TCP Data received {"connection_id":109516,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:15:30] local.INFO: Processing buffer {"connection_id":109516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:15:30] local.INFO: IMEI packet received {"connection_id":109516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":109516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:15:35] local.INFO: TCP Data received {"connection_id":109516,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:15:35] local.INFO: Processing buffer {"connection_id":109516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:15:35] local.INFO: IMEI packet received {"connection_id":109516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":109516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:15:36] local.INFO: TCP Data received {"connection_id":109516,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109516,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:15:36] local.INFO: Processing buffer {"connection_id":109516,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:15:36] local.INFO: Packet analysis {"connection_id":109516,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:15:36] local.INFO: Extracted packet for processing {"connection_id":109516,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":483,"current_offset":40} 
[2026-06-21 13:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:15: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-06-21 13:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:15:36] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109516,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":109516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:15:36] local.INFO: GPS data processed {"connection_id":109516,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:15:36] local.INFO: Acknowledgment sent {"connection_id":109516,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:16:30] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:16:30] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:16:30] local.INFO: IMEI packet received {"connection_id":108901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":108901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:16:35] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:16:35] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:16:35] local.INFO: IMEI packet received {"connection_id":108901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":108901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:16:36] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:16:36] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:16:36] local.INFO: Packet analysis {"connection_id":108901,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:16:36] local.INFO: Extracted packet for processing {"connection_id":108901,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":483,"current_offset":40} 
[2026-06-21 13:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:16: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-06-21 13:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:16:36] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108901,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":108901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:16:36] local.INFO: GPS data processed {"connection_id":108901,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:16:36] local.INFO: Acknowledgment sent {"connection_id":108901,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:17:10] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:17:10] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:17:10] local.INFO: Packet analysis {"connection_id":108901,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:17:10] local.INFO: Extracted packet for processing {"connection_id":108901,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":483,"current_offset":40} 
[2026-06-21 13:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:17:10] 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-06-21 13:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:17:10] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108901,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:17:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:17:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":108901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:17:10] local.INFO: GPS data processed {"connection_id":108901,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:17:10] local.INFO: Acknowledgment sent {"connection_id":108901,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:17:30] local.INFO: TCP Data received {"connection_id":109517,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:17:30] local.INFO: Processing buffer {"connection_id":109517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:17:30] local.INFO: IMEI packet received {"connection_id":109517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":109517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:17:35] local.INFO: TCP Data received {"connection_id":109517,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:17:35] local.INFO: Processing buffer {"connection_id":109517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:17:35] local.INFO: IMEI packet received {"connection_id":109517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":109517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:17:41] local.INFO: TCP Data received {"connection_id":109517,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109517,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:17:41] local.INFO: Processing buffer {"connection_id":109517,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:17:41] local.INFO: Packet analysis {"connection_id":109517,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:17:41] local.INFO: Extracted packet for processing {"connection_id":109517,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":483,"current_offset":40} 
[2026-06-21 13:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:17:41] 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-06-21 13:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:17:41] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109517,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":109517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:17:41] local.INFO: GPS data processed {"connection_id":109517,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:17:41] local.INFO: Acknowledgment sent {"connection_id":109517,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:18:12] local.INFO: TCP Data received {"connection_id":109517,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109517,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:18:12] local.INFO: Processing buffer {"connection_id":109517,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:18:12] local.INFO: Packet analysis {"connection_id":109517,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:18:12] local.INFO: Extracted packet for processing {"connection_id":109517,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":483,"current_offset":40} 
[2026-06-21 13:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:18:12] 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-06-21 13:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:18:12] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109517,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":109517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:18:12] local.INFO: GPS data processed {"connection_id":109517,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:18:12] local.INFO: Acknowledgment sent {"connection_id":109517,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:18:30] local.INFO: TCP Data received {"connection_id":108707,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:18:30] local.INFO: Processing buffer {"connection_id":108707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:18:30] local.INFO: IMEI packet received {"connection_id":108707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":108707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:18:35] local.INFO: TCP Data received {"connection_id":108707,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:18:35] local.INFO: Processing buffer {"connection_id":108707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:18:35] local.INFO: IMEI packet received {"connection_id":108707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":108707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:18:36] local.INFO: TCP Data received {"connection_id":108707,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108707,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:18:36] local.INFO: Processing buffer {"connection_id":108707,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:18:36] local.INFO: Packet analysis {"connection_id":108707,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:18:36] local.INFO: Extracted packet for processing {"connection_id":108707,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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":483,"current_offset":40} 
[2026-06-21 13:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:18: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-06-21 13:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:18:36] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108707,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":108707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:18:36] local.INFO: GPS data processed {"connection_id":108707,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:18:36] local.INFO: Acknowledgment sent {"connection_id":108707,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:18:42] local.INFO: TCP Data received {"connection_id":108902,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:18:42] local.INFO: Processing buffer {"connection_id":108902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:18:42] local.INFO: IMEI packet received {"connection_id":108902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":108902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:19:10] local.INFO: TCP Data received {"connection_id":108707,"ip":"117.224.157.140","data_length":483,"data_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108707,"packet_length":483,"packet_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:19:10] local.INFO: Processing buffer {"connection_id":108707,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019ee922e618012d34c58006aa3f50000700671f..."} 
[2026-06-21 13:19:10] local.INFO: Packet analysis {"connection_id":108707,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:19:10] local.INFO: Extracted packet for processing {"connection_id":108707,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019ee922"} 
[2026-06-21 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-06-21 13:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199049728001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:19:10] 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-06-21 13:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782027839000,"timestamp_ms":1782027839000,"timestamp_seconds":1782027839,"priority":1,"record_length":96,"hex_timestamp":"0000019ee922e618"} 
[2026-06-21 13:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":483,"current_offset":136} 
[2026-06-21 13:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:19:10] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108707,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-06-21 13:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199049728001,"66":24060,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199049728001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199049728001,"power":24060,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":108707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:19:10] local.INFO: GPS data processed {"connection_id":108707,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:19:10] local.INFO: Acknowledgment sent {"connection_id":108707,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:19:12] local.INFO: TCP Data received {"connection_id":110468,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:19:12] local.INFO: Processing buffer {"connection_id":110468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:19:12] local.INFO: IMEI packet received {"connection_id":110468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":110468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:19:35] local.INFO: TCP Data received {"connection_id":110469,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:19:35] local.INFO: Processing buffer {"connection_id":110469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:19:35] local.INFO: IMEI packet received {"connection_id":110469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":110469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:19:38] local.INFO: TCP Data received {"connection_id":110469,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:19:38] local.INFO: Processing buffer {"connection_id":110469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:19:38] local.INFO: IMEI packet received {"connection_id":110469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":110469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:19:40] local.INFO: TCP Data received {"connection_id":110469,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110469,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:19:40] local.INFO: Processing buffer {"connection_id":110469,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:19:40] local.INFO: Packet analysis {"connection_id":110469,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:19:40] local.INFO: Extracted packet for processing {"connection_id":110469,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-06-21 13:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:19: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-06-21 13:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:19:40] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110469,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:19:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":110469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:19:40] local.INFO: GPS data processed {"connection_id":110469,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:19:40] local.INFO: Acknowledgment sent {"connection_id":110469,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:20:30] local.INFO: TCP Data received {"connection_id":109518,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:20:30] local.INFO: Processing buffer {"connection_id":109518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:20:30] local.INFO: IMEI packet received {"connection_id":109518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":109518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:20:35] local.INFO: TCP Data received {"connection_id":109518,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:20:35] local.INFO: Processing buffer {"connection_id":109518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:20:35] local.INFO: IMEI packet received {"connection_id":109518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":109518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:20:36] local.INFO: TCP Data received {"connection_id":109518,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109518,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:20:36] local.INFO: Processing buffer {"connection_id":109518,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:20:36] local.INFO: Packet analysis {"connection_id":109518,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:20:36] local.INFO: Extracted packet for processing {"connection_id":109518,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":561,"current_offset":40} 
[2026-06-21 13:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:20: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-06-21 13:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:20:36] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109518,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":109518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:20:36] local.INFO: GPS data processed {"connection_id":109518,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:20:36] local.INFO: Acknowledgment sent {"connection_id":109518,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:21:10] local.INFO: TCP Data received {"connection_id":109518,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109518,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:10] local.INFO: Processing buffer {"connection_id":109518,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:10] local.INFO: Packet analysis {"connection_id":109518,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:21:10] local.INFO: Extracted packet for processing {"connection_id":109518,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":561,"current_offset":40} 
[2026-06-21 13:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:10] 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-06-21 13:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:21:10] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109518,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:21:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:21:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":109518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:21:10] local.INFO: GPS data processed {"connection_id":109518,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:21:10] local.INFO: Acknowledgment sent {"connection_id":109518,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:21:35] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:21:35] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:21:35] local.INFO: IMEI packet received {"connection_id":110470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":110470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:21:40] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:21:40] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:21:40] local.INFO: IMEI packet received {"connection_id":110470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":110470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:21:42] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:42] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:42] local.INFO: Packet analysis {"connection_id":110470,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:21:42] local.INFO: Extracted packet for processing {"connection_id":110470,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":561,"current_offset":40} 
[2026-06-21 13:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21: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-06-21 13:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:21:42] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110470,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":110470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:21:42] local.INFO: GPS data processed {"connection_id":110470,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:21:42] local.INFO: Acknowledgment sent {"connection_id":110470,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:21:46] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:46] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:21:46] local.INFO: Packet analysis {"connection_id":110470,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:21:46] local.INFO: Extracted packet for processing {"connection_id":110470,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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":561,"current_offset":40} 
[2026-06-21 13:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:21:46] 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-06-21 13:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:21:46] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110470,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:21:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":110470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:21:46] local.INFO: GPS data processed {"connection_id":110470,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:21:46] local.INFO: Acknowledgment sent {"connection_id":110470,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:22:30] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:22:30] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:22:30] local.INFO: IMEI packet received {"connection_id":110471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":110471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:22:35] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:22:35] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:22:35] local.INFO: IMEI packet received {"connection_id":110471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":110471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:22:39] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:22:39] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:22:39] local.INFO: Packet analysis {"connection_id":110471,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:22:39] local.INFO: Extracted packet for processing {"connection_id":110471,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":561,"current_offset":40} 
[2026-06-21 13:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:22:39] 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-06-21 13:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:22:39] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110471,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:22:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":110471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:22:39] local.INFO: GPS data processed {"connection_id":110471,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:22:39] local.INFO: Acknowledgment sent {"connection_id":110471,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:23:35] local.INFO: TCP Data received {"connection_id":109519,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:23:35] local.INFO: Processing buffer {"connection_id":109519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:23:35] local.INFO: IMEI packet received {"connection_id":109519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":109519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:23:40] local.INFO: TCP Data received {"connection_id":109519,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:23:40] local.INFO: Processing buffer {"connection_id":109519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:23:40] local.INFO: IMEI packet received {"connection_id":109519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":109519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:23:41] local.INFO: TCP Data received {"connection_id":109519,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109519,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:23:41] local.INFO: Processing buffer {"connection_id":109519,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:23:41] local.INFO: Packet analysis {"connection_id":109519,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:23:41] local.INFO: Extracted packet for processing {"connection_id":109519,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-06-21 13:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:23:41] 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-06-21 13:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:23:41] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109519,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:23:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":109519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:23:41] local.INFO: GPS data processed {"connection_id":109519,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:23:41] local.INFO: Acknowledgment sent {"connection_id":109519,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:24:29] local.INFO: TCP Data received {"connection_id":108907,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:24:29] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:24:29] local.INFO: IMEI packet received {"connection_id":108907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":108907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:24:35] local.INFO: TCP Data received {"connection_id":108907,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:24:35] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:24:35] local.INFO: IMEI packet received {"connection_id":108907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":108907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:24:36] local.INFO: TCP Data received {"connection_id":108907,"ip":"117.224.157.140","data_length":561,"data_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":561,"packet_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:24:36] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":561,"buffer_hex":"00000000000002258e070000019ee9277de0012d34c58006aa3f500009006720..."} 
[2026-06-21 13:24:36] local.INFO: Packet analysis {"connection_id":108907,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:24:36] local.INFO: Extracted packet for processing {"connection_id":108907,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019ee927"} 
[2026-06-21 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":561,"current_offset":40} 
[2026-06-21 13:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199126784001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:24: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-06-21 13:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782028140000,"timestamp_ms":1782028140000,"timestamp_seconds":1782028140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9277de0"} 
[2026-06-21 13:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":93,"n8_eight_byte":252,"data_length":561,"current_offset":136} 
[2026-06-21 13:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:24:36] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108907,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-06-21 13:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199126784001,"66":25180,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 13:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199126784001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199126784001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":108907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:24:36] local.INFO: GPS data processed {"connection_id":108907,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:24:36] local.INFO: Acknowledgment sent {"connection_id":108907,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:24:38] local.INFO: TCP Data received {"connection_id":108906,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:24:38] local.INFO: Processing buffer {"connection_id":108906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:24:38] local.INFO: IMEI packet received {"connection_id":108906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":108906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:25:07] local.INFO: TCP Data received {"connection_id":108907,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:25:07] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:25:07] local.INFO: Packet analysis {"connection_id":108907,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:25:07] local.INFO: Extracted packet for processing {"connection_id":108907,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-06-21 13:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:25:07] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108907,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":108907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:25:07] local.INFO: GPS data processed {"connection_id":108907,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:25:07] local.INFO: Acknowledgment sent {"connection_id":108907,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:25:12] local.INFO: TCP Data received {"connection_id":108709,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:25:12] local.INFO: Processing buffer {"connection_id":108709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:25:12] local.INFO: IMEI packet received {"connection_id":108709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":108709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:25:29] local.INFO: TCP Data received {"connection_id":108710,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:25:29] local.INFO: Processing buffer {"connection_id":108710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:25:29] local.INFO: IMEI packet received {"connection_id":108710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":108710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:25:35] local.INFO: TCP Data received {"connection_id":108710,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:25:35] local.INFO: Processing buffer {"connection_id":108710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:25:35] local.INFO: IMEI packet received {"connection_id":108710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":108710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:25:37] local.INFO: TCP Data received {"connection_id":108710,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108710,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:25:37] local.INFO: Processing buffer {"connection_id":108710,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:25:37] local.INFO: Packet analysis {"connection_id":108710,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:25:37] local.INFO: Extracted packet for processing {"connection_id":108710,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:25:37] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108710,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:25:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":108710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:25:37] local.INFO: GPS data processed {"connection_id":108710,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:25:37] local.INFO: Acknowledgment sent {"connection_id":108710,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:26:10] local.INFO: TCP Data received {"connection_id":108710,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108710,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:26:10] local.INFO: Processing buffer {"connection_id":108710,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:26:10] local.INFO: Packet analysis {"connection_id":108710,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:26:10] local.INFO: Extracted packet for processing {"connection_id":108710,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:26:10] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108710,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:26:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":108710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:26:10] local.INFO: GPS data processed {"connection_id":108710,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:26:10] local.INFO: Acknowledgment sent {"connection_id":108710,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:26:30] local.INFO: TCP Data received {"connection_id":108711,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:26:30] local.INFO: Processing buffer {"connection_id":108711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:26:30] local.INFO: IMEI packet received {"connection_id":108711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":108711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:26:35] local.INFO: TCP Data received {"connection_id":108711,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:26:35] local.INFO: Processing buffer {"connection_id":108711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:26:35] local.INFO: IMEI packet received {"connection_id":108711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":108711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:26:37] local.INFO: TCP Data received {"connection_id":108711,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108711,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:26:37] local.INFO: Processing buffer {"connection_id":108711,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:26:37] local.INFO: Packet analysis {"connection_id":108711,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:26:37] local.INFO: Extracted packet for processing {"connection_id":108711,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108711,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:26:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":108711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:26:37] local.INFO: GPS data processed {"connection_id":108711,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:26:37] local.INFO: Acknowledgment sent {"connection_id":108711,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:27:10] local.INFO: TCP Data received {"connection_id":108711,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108711,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:10] local.INFO: Processing buffer {"connection_id":108711,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:10] local.INFO: Packet analysis {"connection_id":108711,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:27:10] local.INFO: Extracted packet for processing {"connection_id":108711,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:27:10] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108711,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":108711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:27:10] local.INFO: GPS data processed {"connection_id":108711,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:27:10] local.INFO: Acknowledgment sent {"connection_id":108711,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:27:35] local.INFO: TCP Data received {"connection_id":108712,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:27:35] local.INFO: Processing buffer {"connection_id":108712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:27:35] local.INFO: IMEI packet received {"connection_id":108712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":108712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:27:40] local.INFO: TCP Data received {"connection_id":108712,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:27:40] local.INFO: Processing buffer {"connection_id":108712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:27:40] local.INFO: IMEI packet received {"connection_id":108712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":108712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:27:42] local.INFO: TCP Data received {"connection_id":108712,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108712,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:42] local.INFO: Processing buffer {"connection_id":108712,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:42] local.INFO: Packet analysis {"connection_id":108712,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:27:42] local.INFO: Extracted packet for processing {"connection_id":108712,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-06-21 13:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":108712,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":108712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":108712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":108712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:27:42] local.INFO: GPS data processed {"connection_id":108712,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:27:42] local.INFO: Acknowledgment sent {"connection_id":108712,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:27:45] local.INFO: TCP Data received {"connection_id":108712,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108712,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:45] local.INFO: Processing buffer {"connection_id":108712,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:27:45] local.INFO: Packet analysis {"connection_id":108712,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:27:45] local.INFO: Extracted packet for processing {"connection_id":108712,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:27:45] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108712,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:27:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":108712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:27:45] local.INFO: GPS data processed {"connection_id":108712,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:27:45] local.INFO: Acknowledgment sent {"connection_id":108712,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:28:30] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:28:30] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:28:30] local.INFO: IMEI packet received {"connection_id":108908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":108908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:28:35] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:28:35] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:28:35] local.INFO: IMEI packet received {"connection_id":108908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":108908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:28:36] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:28:36] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:28:36] local.INFO: Packet analysis {"connection_id":108908,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:28:36] local.INFO: Extracted packet for processing {"connection_id":108908,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:28:36] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108908,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:28:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":108908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:28:37] local.INFO: GPS data processed {"connection_id":108908,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:28:37] local.INFO: Acknowledgment sent {"connection_id":108908,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:29:10] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:29:10] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:29:10] local.INFO: Packet analysis {"connection_id":108908,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:29:10] local.INFO: Extracted packet for processing {"connection_id":108908,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:29:10] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108908,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:29:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:29:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":108908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:29:10] local.INFO: GPS data processed {"connection_id":108908,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:29:10] local.INFO: Acknowledgment sent {"connection_id":108908,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:29:31] local.INFO: TCP Data received {"connection_id":108714,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:29:31] local.INFO: Processing buffer {"connection_id":108714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:29:31] local.INFO: IMEI packet received {"connection_id":108714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":108714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:29:35] local.INFO: TCP Data received {"connection_id":108714,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:29:35] local.INFO: Processing buffer {"connection_id":108714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:29:35] local.INFO: IMEI packet received {"connection_id":108714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":108714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:29:36] local.INFO: TCP Data received {"connection_id":108714,"ip":"117.224.157.140","data_length":639,"data_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108714,"packet_length":639,"packet_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:29:36] local.INFO: Processing buffer {"connection_id":108714,"buffer_length":639,"buffer_hex":"00000000000002738e080000019ee92c15a8012d34c58006aa3f50000f006721..."} 
[2026-06-21 13:29:36] local.INFO: Packet analysis {"connection_id":108714,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:29:36] local.INFO: Extracted packet for processing {"connection_id":108714,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019ee92c"} 
[2026-06-21 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":639,"current_offset":40} 
[2026-06-21 13:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199203840001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782028441000,"timestamp_ms":1782028441000,"timestamp_seconds":1782028441,"priority":1,"record_length":96,"hex_timestamp":"0000019ee92c15a8"} 
[2026-06-21 13:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":92,"data_length":639,"current_offset":136} 
[2026-06-21 13:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:29:36] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108714,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-06-21 13:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199203840001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199203840001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:29:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199203840001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":108714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:29:36] local.INFO: GPS data processed {"connection_id":108714,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:29:36] local.INFO: Acknowledgment sent {"connection_id":108714,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:30:07] local.INFO: TCP Data received {"connection_id":108714,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108714,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:30:07] local.INFO: Processing buffer {"connection_id":108714,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:30:07] local.INFO: Packet analysis {"connection_id":108714,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:30:07] local.INFO: Extracted packet for processing {"connection_id":108714,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":717,"current_offset":40} 
[2026-06-21 13:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:30:07] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108714,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:30:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":108714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:30:07] local.INFO: GPS data processed {"connection_id":108714,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:30:07] local.INFO: Acknowledgment sent {"connection_id":108714,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:30:29] local.INFO: TCP Data received {"connection_id":108715,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:30:29] local.INFO: Processing buffer {"connection_id":108715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:30:29] local.INFO: IMEI packet received {"connection_id":108715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":108715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:30:35] local.INFO: TCP Data received {"connection_id":108715,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:30:35] local.INFO: Processing buffer {"connection_id":108715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:30:35] local.INFO: IMEI packet received {"connection_id":108715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":108715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:30:38] local.INFO: TCP Data received {"connection_id":108715,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108715,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:30:38] local.INFO: Processing buffer {"connection_id":108715,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:30:38] local.INFO: Packet analysis {"connection_id":108715,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:30:38] local.INFO: Extracted packet for processing {"connection_id":108715,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":717,"current_offset":40} 
[2026-06-21 13:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:30:38] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":108715,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":108715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":108715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:30:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":108715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:30:38] local.INFO: GPS data processed {"connection_id":108715,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:30:38] local.INFO: Acknowledgment sent {"connection_id":108715,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:30:42] local.INFO: TCP Data received {"connection_id":110475,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:30:42] local.INFO: Processing buffer {"connection_id":110475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:30:42] local.INFO: IMEI packet received {"connection_id":110475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":110475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:31:12] local.INFO: TCP Data received {"connection_id":108716,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:31:12] local.INFO: Processing buffer {"connection_id":108716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:31:12] local.INFO: IMEI packet received {"connection_id":108716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":108716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:31:35] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:31:35] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:31:35] local.INFO: IMEI packet received {"connection_id":108717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":108717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:31:40] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:31:40] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:31:40] local.INFO: IMEI packet received {"connection_id":108717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":108717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:31:41] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:31:41] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:31:41] local.INFO: Packet analysis {"connection_id":108717,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:31:41] local.INFO: Extracted packet for processing {"connection_id":108717,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-06-21 13:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:31:41] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108717,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:31:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:31:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":108717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:31:41] local.INFO: GPS data processed {"connection_id":108717,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:31:41] local.INFO: Acknowledgment sent {"connection_id":108717,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:31:46] local.INFO: TCP Data received {"connection_id":108717,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108717,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:31:46] local.INFO: Processing buffer {"connection_id":108717,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:31:46] local.INFO: Packet analysis {"connection_id":108717,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:31:46] local.INFO: Extracted packet for processing {"connection_id":108717,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-06-21 13:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:31:46] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108717,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:31:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":108717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:31:46] local.INFO: GPS data processed {"connection_id":108717,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:31:46] local.INFO: Acknowledgment sent {"connection_id":108717,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:32:30] local.INFO: TCP Data received {"connection_id":108909,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:32:30] local.INFO: Processing buffer {"connection_id":108909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:32:30] local.INFO: IMEI packet received {"connection_id":108909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":108909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:32:35] local.INFO: TCP Data received {"connection_id":108909,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:32:35] local.INFO: Processing buffer {"connection_id":108909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:32:35] local.INFO: IMEI packet received {"connection_id":108909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":108909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:32:36] local.INFO: TCP Data received {"connection_id":108909,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108909,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:32:36] local.INFO: Processing buffer {"connection_id":108909,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:32:36] local.INFO: Packet analysis {"connection_id":108909,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:32:36] local.INFO: Extracted packet for processing {"connection_id":108909,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":717,"current_offset":40} 
[2026-06-21 13:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:32:36] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108909,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":108909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:32:36] local.INFO: GPS data processed {"connection_id":108909,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:32:36] local.INFO: Acknowledgment sent {"connection_id":108909,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:33:11] local.INFO: TCP Data received {"connection_id":108909,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108909,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:33:11] local.INFO: Processing buffer {"connection_id":108909,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:33:11] local.INFO: Packet analysis {"connection_id":108909,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:33:11] local.INFO: Extracted packet for processing {"connection_id":108909,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-06-21 13:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:33:11] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108909,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:33:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":108909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:33:11] local.INFO: GPS data processed {"connection_id":108909,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:33:11] local.INFO: Acknowledgment sent {"connection_id":108909,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:33:29] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:33:29] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:33:29] local.INFO: IMEI packet received {"connection_id":110477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":110477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:33:35] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:33:35] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:33:35] local.INFO: IMEI packet received {"connection_id":110477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":110477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:33:36] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:33:36] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:33:36] local.INFO: Packet analysis {"connection_id":110477,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:33:36] local.INFO: Extracted packet for processing {"connection_id":110477,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":717,"current_offset":40} 
[2026-06-21 13:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:33:36] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110477,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":110477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:33:36] local.INFO: GPS data processed {"connection_id":110477,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:33:36] local.INFO: Acknowledgment sent {"connection_id":110477,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:34:10] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:34:10] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:34:10] local.INFO: Packet analysis {"connection_id":110477,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:34:10] local.INFO: Extracted packet for processing {"connection_id":110477,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":717,"current_offset":40} 
[2026-06-21 13:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:34:10] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110477,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:34:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":110477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:34:11] local.INFO: GPS data processed {"connection_id":110477,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:34:11] local.INFO: Acknowledgment sent {"connection_id":110477,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:34:29] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:34:29] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:34:29] local.INFO: IMEI packet received {"connection_id":110478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:34:35] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:34:35] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:34:35] local.INFO: IMEI packet received {"connection_id":110478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":110478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:34:36] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.224.157.140","data_length":717,"data_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":717,"packet_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:34:36] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019ee930ad70012d34c58006aa3f50000e00671e..."} 
[2026-06-21 13:34:36] local.INFO: Packet analysis {"connection_id":110478,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:34:36] local.INFO: Extracted packet for processing {"connection_id":110478,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019ee930"} 
[2026-06-21 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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":717,"current_offset":40} 
[2026-06-21 13:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199280896001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782028742000,"timestamp_ms":1782028742000,"timestamp_seconds":1782028742,"priority":1,"record_length":96,"hex_timestamp":"0000019ee930ad70"} 
[2026-06-21 13:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":97,"n8_eight_byte":206,"data_length":717,"current_offset":136} 
[2026-06-21 13:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:34:36] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110478,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-06-21 13:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199280896001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199280896001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:34:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199280896001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":110478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:34:36] local.INFO: GPS data processed {"connection_id":110478,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:34:36] local.INFO: Acknowledgment sent {"connection_id":110478,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:35:10] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:35:10] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:35:10] local.INFO: Packet analysis {"connection_id":110478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:35:10] local.INFO: Extracted packet for processing {"connection_id":110478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 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-06-21 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:35:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":110478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:35:10] local.INFO: GPS data processed {"connection_id":110478,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:35:10] local.INFO: Acknowledgment sent {"connection_id":110478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:35:30] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:35:30] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:35:30] local.INFO: IMEI packet received {"connection_id":108720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":108720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:35:35] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:35:35] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:35:35] local.INFO: IMEI packet received {"connection_id":108720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":108720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:35:36] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:35:36] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:35:36] local.INFO: Packet analysis {"connection_id":108720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:35:36] local.INFO: Extracted packet for processing {"connection_id":108720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":108720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:35:36] local.INFO: GPS data processed {"connection_id":108720,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:35:36] local.INFO: Acknowledgment sent {"connection_id":108720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:36:11] local.INFO: TCP Data received {"connection_id":108720,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:36:11] local.INFO: Processing buffer {"connection_id":108720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:36:11] local.INFO: Packet analysis {"connection_id":108720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:36:11] local.INFO: Extracted packet for processing {"connection_id":108720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:36: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-06-21 13:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:36:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":108720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:36:11] local.INFO: GPS data processed {"connection_id":108720,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:36:11] local.INFO: Acknowledgment sent {"connection_id":108720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:36:29] local.INFO: TCP Data received {"connection_id":109522,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:36:29] local.INFO: Processing buffer {"connection_id":109522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:36:29] local.INFO: IMEI packet received {"connection_id":109522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":109522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:36:35] local.INFO: TCP Data received {"connection_id":109522,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:36:35] local.INFO: Processing buffer {"connection_id":109522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:36:35] local.INFO: IMEI packet received {"connection_id":109522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":109522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:36:36] local.INFO: TCP Data received {"connection_id":109522,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:36:36] local.INFO: Processing buffer {"connection_id":109522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:36:36] local.INFO: Packet analysis {"connection_id":109522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:36:36] local.INFO: Extracted packet for processing {"connection_id":109522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":109522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:36:36] local.INFO: GPS data processed {"connection_id":109522,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:36:36] local.INFO: Acknowledgment sent {"connection_id":109522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:36:42] local.INFO: TCP Data received {"connection_id":109521,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:36:42] local.INFO: Processing buffer {"connection_id":109521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:36:42] local.INFO: IMEI packet received {"connection_id":109521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":109521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:37:11] local.INFO: TCP Data received {"connection_id":109522,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:37:11] local.INFO: Processing buffer {"connection_id":109522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:37:11] local.INFO: Packet analysis {"connection_id":109522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:37:11] local.INFO: Extracted packet for processing {"connection_id":109522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:37: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-06-21 13: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-06-21 13:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":109522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":109522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":109522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:37:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":109522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:37:11] local.INFO: GPS data processed {"connection_id":109522,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:37:11] local.INFO: Acknowledgment sent {"connection_id":109522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:37:12] local.INFO: TCP Data received {"connection_id":109523,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:37:12] local.INFO: Processing buffer {"connection_id":109523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:37:12] local.INFO: IMEI packet received {"connection_id":109523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":109523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:37:29] local.INFO: TCP Data received {"connection_id":109524,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:37:29] local.INFO: Processing buffer {"connection_id":109524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:37:29] local.INFO: IMEI packet received {"connection_id":109524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":109524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:37:35] local.INFO: TCP Data received {"connection_id":109524,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:37:35] local.INFO: Processing buffer {"connection_id":109524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:37:35] local.INFO: IMEI packet received {"connection_id":109524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":109524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:37:37] local.INFO: TCP Data received {"connection_id":109524,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:37:37] local.INFO: Processing buffer {"connection_id":109524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:37:37] local.INFO: Packet analysis {"connection_id":109524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:37:37] local.INFO: Extracted packet for processing {"connection_id":109524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:37:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":109524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:37:37] local.INFO: GPS data processed {"connection_id":109524,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:37:37] local.INFO: Acknowledgment sent {"connection_id":109524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:38:11] local.INFO: TCP Data received {"connection_id":109524,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:11] local.INFO: Processing buffer {"connection_id":109524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:11] local.INFO: Packet analysis {"connection_id":109524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:38:11] local.INFO: Extracted packet for processing {"connection_id":109524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:38: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-06-21 13:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":109524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":109524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":109524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:38:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":109524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:38:11] local.INFO: GPS data processed {"connection_id":109524,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:38:11] local.INFO: Acknowledgment sent {"connection_id":109524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:38:35] local.INFO: TCP Data received {"connection_id":110479,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:38:35] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:38:35] local.INFO: IMEI packet received {"connection_id":110479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":110479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:38:40] local.INFO: TCP Data received {"connection_id":110479,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:38:40] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:38:40] local.INFO: IMEI packet received {"connection_id":110479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":110479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:38:42] local.INFO: TCP Data received {"connection_id":110479,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:42] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:42] local.INFO: Packet analysis {"connection_id":110479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:38:42] local.INFO: Extracted packet for processing {"connection_id":110479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 13:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 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-06-21 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 13:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:38:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":110479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:38:42] local.INFO: GPS data processed {"connection_id":110479,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:38:42] local.INFO: Acknowledgment sent {"connection_id":110479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:38:46] local.INFO: TCP Data received {"connection_id":110479,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:46] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:38:46] local.INFO: Packet analysis {"connection_id":110479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:38:46] local.INFO: Extracted packet for processing {"connection_id":110479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:38: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-06-21 13: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-06-21 13:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:38:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:38:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":110479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:38:46] local.INFO: GPS data processed {"connection_id":110479,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:38:46] local.INFO: Acknowledgment sent {"connection_id":110479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:39:30] local.INFO: TCP Data received {"connection_id":108911,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:39:30] local.INFO: Processing buffer {"connection_id":108911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:39:30] local.INFO: IMEI packet received {"connection_id":108911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":108911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:39:35] local.INFO: TCP Data received {"connection_id":108911,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:39:35] local.INFO: Processing buffer {"connection_id":108911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:39:35] local.INFO: IMEI packet received {"connection_id":108911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":108911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:39:36] local.INFO: TCP Data received {"connection_id":108911,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:39:36] local.INFO: Processing buffer {"connection_id":108911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:39:36] local.INFO: Packet analysis {"connection_id":108911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:39:36] local.INFO: Extracted packet for processing {"connection_id":108911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:39:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":108911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:39:36] local.INFO: GPS data processed {"connection_id":108911,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:39:36] local.INFO: Acknowledgment sent {"connection_id":108911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:39:41] local.INFO: TCP Data received {"connection_id":108911,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:39:41] local.INFO: Processing buffer {"connection_id":108911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9354538012d34c58006aa3f50001100671e..."} 
[2026-06-21 13:39:41] local.INFO: Packet analysis {"connection_id":108911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:39:41] local.INFO: Extracted packet for processing {"connection_id":108911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee935"} 
[2026-06-21 13:39:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199357952001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782029043000,"timestamp_ms":1782029043000,"timestamp_seconds":1782029043,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9354538"} 
[2026-06-21 13:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 13:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199357952001,"66":25191,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199357952001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:39:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:39:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199357952001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":108911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:39:41] local.INFO: GPS data processed {"connection_id":108911,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:39:41] local.INFO: Acknowledgment sent {"connection_id":108911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:40:12] local.INFO: TCP Data received {"connection_id":108911,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:40:12] local.INFO: Processing buffer {"connection_id":108911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:40:12] local.INFO: Packet analysis {"connection_id":108911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:40:12] local.INFO: Extracted packet for processing {"connection_id":108911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:40:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":108911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:40:12] local.INFO: GPS data processed {"connection_id":108911,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:40:12] local.INFO: Acknowledgment sent {"connection_id":108911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:40:29] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:40:29] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:40:29] local.INFO: IMEI packet received {"connection_id":110480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":110480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:40:35] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:40:35] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:40:35] local.INFO: IMEI packet received {"connection_id":110480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":110480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:40:36] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:40:36] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:40:36] local.INFO: Packet analysis {"connection_id":110480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:40:36] local.INFO: Extracted packet for processing {"connection_id":110480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:40:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:40:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":110480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:40:36] local.INFO: GPS data processed {"connection_id":110480,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:40:36] local.INFO: Acknowledgment sent {"connection_id":110480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:41:10] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:10] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:10] local.INFO: Packet analysis {"connection_id":110480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:41:10] local.INFO: Extracted packet for processing {"connection_id":110480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 13:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 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-06-21 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 13:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":110480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:41:10] local.INFO: GPS data processed {"connection_id":110480,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:41:10] local.INFO: Acknowledgment sent {"connection_id":110480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:41:35] local.INFO: TCP Data received {"connection_id":108723,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:41:35] local.INFO: Processing buffer {"connection_id":108723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:41:35] local.INFO: IMEI packet received {"connection_id":108723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":108723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:41:40] local.INFO: TCP Data received {"connection_id":108723,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:41:40] local.INFO: Processing buffer {"connection_id":108723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:41:40] local.INFO: IMEI packet received {"connection_id":108723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":108723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:41:41] local.INFO: TCP Data received {"connection_id":108723,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:41] local.INFO: Processing buffer {"connection_id":108723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:41] local.INFO: Packet analysis {"connection_id":108723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:41:41] local.INFO: Extracted packet for processing {"connection_id":108723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":108723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:41:41] local.INFO: GPS data processed {"connection_id":108723,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:41:41] local.INFO: Acknowledgment sent {"connection_id":108723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:41:46] local.INFO: TCP Data received {"connection_id":108723,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:46] local.INFO: Processing buffer {"connection_id":108723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:41:46] local.INFO: Packet analysis {"connection_id":108723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:41:46] local.INFO: Extracted packet for processing {"connection_id":108723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:41:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:41:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":108723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:41:46] local.INFO: GPS data processed {"connection_id":108723,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:41:46] local.INFO: Acknowledgment sent {"connection_id":108723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:42:30] local.INFO: TCP Data received {"connection_id":109527,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:42:30] local.INFO: Processing buffer {"connection_id":109527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:42:30] local.INFO: IMEI packet received {"connection_id":109527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":109527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:42:32] local.INFO: TCP Data received {"connection_id":109526,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:42:32] local.INFO: Processing buffer {"connection_id":109526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:42:32] local.INFO: IMEI packet received {"connection_id":109526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":109526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:42:35] local.INFO: TCP Data received {"connection_id":109527,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:42:35] local.INFO: Processing buffer {"connection_id":109527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:42:35] local.INFO: IMEI packet received {"connection_id":109527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":109527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:42:36] local.INFO: TCP Data received {"connection_id":109527,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:42:36] local.INFO: Processing buffer {"connection_id":109527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:42:36] local.INFO: Packet analysis {"connection_id":109527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:42:36] local.INFO: Extracted packet for processing {"connection_id":109527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":109527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:42:36] local.INFO: GPS data processed {"connection_id":109527,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:42:36] local.INFO: Acknowledgment sent {"connection_id":109527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:42:41] local.INFO: TCP Data received {"connection_id":109527,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:42:41] local.INFO: Processing buffer {"connection_id":109527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:42:41] local.INFO: Packet analysis {"connection_id":109527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:42:41] local.INFO: Extracted packet for processing {"connection_id":109527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":109527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:42:41] local.INFO: GPS data processed {"connection_id":109527,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:42:41] local.INFO: Acknowledgment sent {"connection_id":109527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:43:12] local.INFO: TCP Data received {"connection_id":108724,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:43:12] local.INFO: Processing buffer {"connection_id":108724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:43:12] local.INFO: IMEI packet received {"connection_id":108724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":108724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:43:31] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:43:31] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:43:31] local.INFO: IMEI packet received {"connection_id":108725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":108725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:43:35] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:43:35] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:43:35] local.INFO: IMEI packet received {"connection_id":108725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":108725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:43:36] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:43:36] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:43:36] local.INFO: Packet analysis {"connection_id":108725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:43:36] local.INFO: Extracted packet for processing {"connection_id":108725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":108725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:43:36] local.INFO: GPS data processed {"connection_id":108725,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:43:36] local.INFO: Acknowledgment sent {"connection_id":108725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:44:08] local.INFO: TCP Data received {"connection_id":108725,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:44:08] local.INFO: Processing buffer {"connection_id":108725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:44:08] local.INFO: Packet analysis {"connection_id":108725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:44:08] local.INFO: Extracted packet for processing {"connection_id":108725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:44:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":108725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:44:08] local.INFO: GPS data processed {"connection_id":108725,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:44:08] local.INFO: Acknowledgment sent {"connection_id":108725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:44:29] local.INFO: TCP Data received {"connection_id":109528,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:44:29] local.INFO: Processing buffer {"connection_id":109528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:44:29] local.INFO: IMEI packet received {"connection_id":109528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":109528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:44:35] local.INFO: TCP Data received {"connection_id":109528,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:44:35] local.INFO: Processing buffer {"connection_id":109528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:44:35] local.INFO: IMEI packet received {"connection_id":109528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":109528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:44:36] local.INFO: TCP Data received {"connection_id":109528,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:44:36] local.INFO: Processing buffer {"connection_id":109528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee939dd00012d34c58006aa3f500010006721..."} 
[2026-06-21 13:44:36] local.INFO: Packet analysis {"connection_id":109528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:44:36] local.INFO: Extracted packet for processing {"connection_id":109528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee939"} 
[2026-06-21 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":16,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199435008001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029344000,"timestamp_ms":1782029344000,"timestamp_seconds":1782029344,"priority":1,"record_length":96,"hex_timestamp":"0000019ee939dd00"} 
[2026-06-21 13:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 13:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199435008001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199435008001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:44:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199435008001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":109528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:44:36] local.INFO: GPS data processed {"connection_id":109528,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:44:36] local.INFO: Acknowledgment sent {"connection_id":109528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:45:07] local.INFO: TCP Data received {"connection_id":109528,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:45:07] local.INFO: Processing buffer {"connection_id":109528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:45:07] local.INFO: Packet analysis {"connection_id":109528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:45:07] local.INFO: Extracted packet for processing {"connection_id":109528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:45: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-06-21 13:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:45:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":109528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:45:07] local.INFO: GPS data processed {"connection_id":109528,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:45:07] local.INFO: Acknowledgment sent {"connection_id":109528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:45:34] local.INFO: TCP Data received {"connection_id":110481,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:45:34] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:45:34] local.INFO: IMEI packet received {"connection_id":110481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":110481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:45:40] local.INFO: TCP Data received {"connection_id":110481,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:45:40] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:45:40] local.INFO: IMEI packet received {"connection_id":110481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":110481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:45:41] local.INFO: TCP Data received {"connection_id":110481,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:45:41] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:45:41] local.INFO: Packet analysis {"connection_id":110481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:45:41] local.INFO: Extracted packet for processing {"connection_id":110481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:45: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-06-21 13:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":110481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:45:41] local.INFO: GPS data processed {"connection_id":110481,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:45:41] local.INFO: Acknowledgment sent {"connection_id":110481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:46:13] local.INFO: TCP Data received {"connection_id":110481,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:46:13] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:46:13] local.INFO: Packet analysis {"connection_id":110481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:46:13] local.INFO: Extracted packet for processing {"connection_id":110481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:46: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-06-21 13:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":110481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":110481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":110481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":110481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:46:13] local.INFO: GPS data processed {"connection_id":110481,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:46:13] local.INFO: Acknowledgment sent {"connection_id":110481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:46:30] local.INFO: TCP Data received {"connection_id":108914,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:46:30] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:46:30] local.INFO: IMEI packet received {"connection_id":108914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":108914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:46:35] local.INFO: TCP Data received {"connection_id":108914,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:46:35] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:46:35] local.INFO: IMEI packet received {"connection_id":108914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":108914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:46:36] local.INFO: TCP Data received {"connection_id":108914,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:46:36] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:46:36] local.INFO: Packet analysis {"connection_id":108914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:46:36] local.INFO: Extracted packet for processing {"connection_id":108914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":108914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:46:36] local.INFO: GPS data processed {"connection_id":108914,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:46:36] local.INFO: Acknowledgment sent {"connection_id":108914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:47:07] local.INFO: TCP Data received {"connection_id":108914,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:47:07] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:47:07] local.INFO: Packet analysis {"connection_id":108914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:47:07] local.INFO: Extracted packet for processing {"connection_id":108914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:47: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-06-21 13: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-06-21 13:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":108914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:47:07] local.INFO: GPS data processed {"connection_id":108914,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:47:07] local.INFO: Acknowledgment sent {"connection_id":108914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:47:29] local.INFO: TCP Data received {"connection_id":108916,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:47:29] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:47:29] local.INFO: IMEI packet received {"connection_id":108916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":108916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:47:35] local.INFO: TCP Data received {"connection_id":108916,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:47:35] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:47:35] local.INFO: IMEI packet received {"connection_id":108916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":108916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:47:36] local.INFO: TCP Data received {"connection_id":108916,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:47:36] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:47:36] local.INFO: Packet analysis {"connection_id":108916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:47:36] local.INFO: Extracted packet for processing {"connection_id":108916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:47:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":108916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:47:36] local.INFO: GPS data processed {"connection_id":108916,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:47:36] local.INFO: Acknowledgment sent {"connection_id":108916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:48:07] local.INFO: TCP Data received {"connection_id":108916,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:48:07] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:48:07] local.INFO: Packet analysis {"connection_id":108916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:48:07] local.INFO: Extracted packet for processing {"connection_id":108916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:48: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-06-21 13:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":108916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:48:07] local.INFO: GPS data processed {"connection_id":108916,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:48:07] local.INFO: Acknowledgment sent {"connection_id":108916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:48:29] local.INFO: TCP Data received {"connection_id":108918,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:48:29] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:48:29] local.INFO: IMEI packet received {"connection_id":108918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":108918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:48:35] local.INFO: TCP Data received {"connection_id":108918,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:48:35] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:48:35] local.INFO: IMEI packet received {"connection_id":108918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":108918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:48:36] local.INFO: TCP Data received {"connection_id":108918,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:48:36] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:48:36] local.INFO: Packet analysis {"connection_id":108918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:48:36] local.INFO: Extracted packet for processing {"connection_id":108918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":108918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:48:36] local.INFO: GPS data processed {"connection_id":108918,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:48:36] local.INFO: Acknowledgment sent {"connection_id":108918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:49:07] local.INFO: TCP Data received {"connection_id":108918,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:49:07] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:49:07] local.INFO: Packet analysis {"connection_id":108918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:49:07] local.INFO: Extracted packet for processing {"connection_id":108918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:49: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-06-21 13:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":108918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:49:07] local.INFO: GPS data processed {"connection_id":108918,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:49:07] local.INFO: Acknowledgment sent {"connection_id":108918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:49:12] local.INFO: TCP Data received {"connection_id":110482,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:49:12] local.INFO: Processing buffer {"connection_id":110482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:49:12] local.INFO: IMEI packet received {"connection_id":110482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":110482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:49:29] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:49:29] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:49:29] local.INFO: IMEI packet received {"connection_id":110483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":110483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:49:35] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:49:35] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:49:35] local.INFO: IMEI packet received {"connection_id":110483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":110483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:49:36] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:49:36] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee93e74c8012d34c58006aa3f50000c00671f..."} 
[2026-06-21 13:49:36] local.INFO: Packet analysis {"connection_id":110483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:49:36] local.INFO: Extracted packet for processing {"connection_id":110483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee93e"} 
[2026-06-21 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199512064001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029645000,"timestamp_ms":1782029645000,"timestamp_seconds":1782029645,"priority":1,"record_length":96,"hex_timestamp":"0000019ee93e74c8"} 
[2026-06-21 13:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 13:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199512064001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199512064001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199512064001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":110483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:49:36] local.INFO: GPS data processed {"connection_id":110483,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:49:36] local.INFO: Acknowledgment sent {"connection_id":110483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:50:07] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:50:07] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:50:07] local.INFO: Packet analysis {"connection_id":110483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:50:07] local.INFO: Extracted packet for processing {"connection_id":110483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":110483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:50:07] local.INFO: GPS data processed {"connection_id":110483,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:50:07] local.INFO: Acknowledgment sent {"connection_id":110483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:50:30] local.INFO: TCP Data received {"connection_id":109529,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:50:30] local.INFO: Processing buffer {"connection_id":109529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:50:30] local.INFO: IMEI packet received {"connection_id":109529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":109529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:50:35] local.INFO: TCP Data received {"connection_id":109529,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:50:35] local.INFO: Processing buffer {"connection_id":109529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:50:35] local.INFO: IMEI packet received {"connection_id":109529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":109529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:50:36] local.INFO: TCP Data received {"connection_id":109529,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:50:36] local.INFO: Processing buffer {"connection_id":109529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:50:36] local.INFO: Packet analysis {"connection_id":109529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:50:36] local.INFO: Extracted packet for processing {"connection_id":109529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":109529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:50:36] local.INFO: GPS data processed {"connection_id":109529,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:50:36] local.INFO: Acknowledgment sent {"connection_id":109529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:51:08] local.INFO: TCP Data received {"connection_id":109529,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:51:08] local.INFO: Processing buffer {"connection_id":109529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:51:08] local.INFO: Packet analysis {"connection_id":109529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:51:08] local.INFO: Extracted packet for processing {"connection_id":109529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:51:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":109529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:51:08] local.INFO: GPS data processed {"connection_id":109529,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:51:08] local.INFO: Acknowledgment sent {"connection_id":109529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:51:29] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:51:29] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:51:29] local.INFO: IMEI packet received {"connection_id":108728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":108728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:51:35] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:51:35] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:51:35] local.INFO: IMEI packet received {"connection_id":108728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":108728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:51:36] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:51:36] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:51:36] local.INFO: Packet analysis {"connection_id":108728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:51:36] local.INFO: Extracted packet for processing {"connection_id":108728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":108728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:51:36] local.INFO: GPS data processed {"connection_id":108728,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:51:36] local.INFO: Acknowledgment sent {"connection_id":108728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:52:08] local.INFO: TCP Data received {"connection_id":108728,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:52:08] local.INFO: Processing buffer {"connection_id":108728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:52:08] local.INFO: Packet analysis {"connection_id":108728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:52:08] local.INFO: Extracted packet for processing {"connection_id":108728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:52:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":108728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:52:08] local.INFO: GPS data processed {"connection_id":108728,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:52:08] local.INFO: Acknowledgment sent {"connection_id":108728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:52:29] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:52:29] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:52:29] local.INFO: IMEI packet received {"connection_id":110485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":110485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:52:35] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:52:35] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:52:35] local.INFO: IMEI packet received {"connection_id":110485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":110485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:52:36] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:52:36] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:52:36] local.INFO: Packet analysis {"connection_id":110485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:52:36] local.INFO: Extracted packet for processing {"connection_id":110485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":110485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:52:36] local.INFO: GPS data processed {"connection_id":110485,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:52:36] local.INFO: Acknowledgment sent {"connection_id":110485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:53:08] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:08] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:08] local.INFO: Packet analysis {"connection_id":110485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:53:08] local.INFO: Extracted packet for processing {"connection_id":110485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:53:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:53:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":110485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:53:08] local.INFO: GPS data processed {"connection_id":110485,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:53:08] local.INFO: Acknowledgment sent {"connection_id":110485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:53:35] local.INFO: TCP Data received {"connection_id":109530,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:53:35] local.INFO: Processing buffer {"connection_id":109530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:53:35] local.INFO: IMEI packet received {"connection_id":109530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":109530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:53:40] local.INFO: TCP Data received {"connection_id":109530,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:53:40] local.INFO: Processing buffer {"connection_id":109530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:53:40] local.INFO: IMEI packet received {"connection_id":109530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":109530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:53:41] local.INFO: TCP Data received {"connection_id":109530,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:41] local.INFO: Processing buffer {"connection_id":109530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:41] local.INFO: Packet analysis {"connection_id":109530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:53:41] local.INFO: Extracted packet for processing {"connection_id":109530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":109530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:53:41] local.INFO: GPS data processed {"connection_id":109530,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:53:41] local.INFO: Acknowledgment sent {"connection_id":109530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:53:46] local.INFO: TCP Data received {"connection_id":109530,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:46] local.INFO: Processing buffer {"connection_id":109530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:53:46] local.INFO: Packet analysis {"connection_id":109530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:53:46] local.INFO: Extracted packet for processing {"connection_id":109530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:53:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:53:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":109530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:53:46] local.INFO: GPS data processed {"connection_id":109530,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:53:46] local.INFO: Acknowledgment sent {"connection_id":109530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:54:30] local.INFO: TCP Data received {"connection_id":109531,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:54:30] local.INFO: Processing buffer {"connection_id":109531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:54:30] local.INFO: IMEI packet received {"connection_id":109531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":109531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:54:35] local.INFO: TCP Data received {"connection_id":109531,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:54:35] local.INFO: Processing buffer {"connection_id":109531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:54:35] local.INFO: IMEI packet received {"connection_id":109531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":109531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:54:36] local.INFO: TCP Data received {"connection_id":109531,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:54:36] local.INFO: Processing buffer {"connection_id":109531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9430c90012d34c58006aa3f50000e006722..."} 
[2026-06-21 13:54:36] local.INFO: Packet analysis {"connection_id":109531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:54:36] local.INFO: Extracted packet for processing {"connection_id":109531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee943"} 
[2026-06-21 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199589120001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782029946000,"timestamp_ms":1782029946000,"timestamp_seconds":1782029946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9430c90"} 
[2026-06-21 13:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 13:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199589120001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199589120001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:54:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199589120001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":109531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:54:36] local.INFO: GPS data processed {"connection_id":109531,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:54:36] local.INFO: Acknowledgment sent {"connection_id":109531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:54:42] local.INFO: TCP Data received {"connection_id":108921,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:54:42] local.INFO: Processing buffer {"connection_id":108921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:54:42] local.INFO: IMEI packet received {"connection_id":108921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":108921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:55:07] local.INFO: TCP Data received {"connection_id":109531,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:07] local.INFO: Processing buffer {"connection_id":109531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:07] local.INFO: Packet analysis {"connection_id":109531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:55:07] local.INFO: Extracted packet for processing {"connection_id":109531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:55:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":109531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:55:07] local.INFO: GPS data processed {"connection_id":109531,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:55:07] local.INFO: Acknowledgment sent {"connection_id":109531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:55:12] local.INFO: TCP Data received {"connection_id":110486,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:55:12] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 13:55:12] local.INFO: IMEI packet received {"connection_id":110486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 13:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":110486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:55:29] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:55:29] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:55:29] local.INFO: IMEI packet received {"connection_id":108730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":108730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:55:35] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:55:35] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:55:35] local.INFO: IMEI packet received {"connection_id":108730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":108730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:55:36] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:36] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:36] local.INFO: Packet analysis {"connection_id":108730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:55:36] local.INFO: Extracted packet for processing {"connection_id":108730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":108730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:55:36] local.INFO: GPS data processed {"connection_id":108730,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:55:36] local.INFO: Acknowledgment sent {"connection_id":108730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:55:41] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:41] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:55:41] local.INFO: Packet analysis {"connection_id":108730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:55:41] local.INFO: Extracted packet for processing {"connection_id":108730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:55:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:55:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":108730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:55:41] local.INFO: GPS data processed {"connection_id":108730,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:55:41] local.INFO: Acknowledgment sent {"connection_id":108730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:56:13] local.INFO: TCP Data received {"connection_id":108730,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:56:13] local.INFO: Processing buffer {"connection_id":108730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:56:13] local.INFO: Packet analysis {"connection_id":108730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:56:13] local.INFO: Extracted packet for processing {"connection_id":108730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":108730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":108730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:56:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:56:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":108730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:56:13] local.INFO: GPS data processed {"connection_id":108730,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:56:13] local.INFO: Acknowledgment sent {"connection_id":108730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:56:29] local.INFO: TCP Data received {"connection_id":109532,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:56:29] local.INFO: Processing buffer {"connection_id":109532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:56:29] local.INFO: IMEI packet received {"connection_id":109532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":109532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:56:35] local.INFO: TCP Data received {"connection_id":109532,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:56:35] local.INFO: Processing buffer {"connection_id":109532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:56:35] local.INFO: IMEI packet received {"connection_id":109532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":109532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:56:36] local.INFO: TCP Data received {"connection_id":109532,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:56:36] local.INFO: Processing buffer {"connection_id":109532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:56:36] local.INFO: Packet analysis {"connection_id":109532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:56:36] local.INFO: Extracted packet for processing {"connection_id":109532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":109532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:56:36] local.INFO: GPS data processed {"connection_id":109532,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:56:36] local.INFO: Acknowledgment sent {"connection_id":109532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:57:07] local.INFO: TCP Data received {"connection_id":109532,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:07] local.INFO: Processing buffer {"connection_id":109532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:07] local.INFO: Packet analysis {"connection_id":109532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:57:07] local.INFO: Extracted packet for processing {"connection_id":109532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":109532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:57:07] local.INFO: GPS data processed {"connection_id":109532,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:57:07] local.INFO: Acknowledgment sent {"connection_id":109532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:57:35] local.INFO: TCP Data received {"connection_id":108923,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:57:35] local.INFO: Processing buffer {"connection_id":108923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:57:35] local.INFO: IMEI packet received {"connection_id":108923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":108923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:57:40] local.INFO: TCP Data received {"connection_id":108923,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:57:40] local.INFO: Processing buffer {"connection_id":108923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:57:40] local.INFO: IMEI packet received {"connection_id":108923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":108923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:57:41] local.INFO: TCP Data received {"connection_id":108923,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:41] local.INFO: Processing buffer {"connection_id":108923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:41] local.INFO: Packet analysis {"connection_id":108923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:57:41] local.INFO: Extracted packet for processing {"connection_id":108923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13: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-06-21 13:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:57:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":108923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:57:41] local.INFO: GPS data processed {"connection_id":108923,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:57:41] local.INFO: Acknowledgment sent {"connection_id":108923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:57:46] local.INFO: TCP Data received {"connection_id":108923,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:46] local.INFO: Processing buffer {"connection_id":108923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:57:46] local.INFO: Packet analysis {"connection_id":108923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:57:46] local.INFO: Extracted packet for processing {"connection_id":108923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":108923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:57:46] local.INFO: GPS data processed {"connection_id":108923,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:57:46] local.INFO: Acknowledgment sent {"connection_id":108923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:58:30] local.INFO: TCP Data received {"connection_id":109534,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:58:30] local.INFO: Processing buffer {"connection_id":109534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:58:30] local.INFO: IMEI packet received {"connection_id":109534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":109534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:58:35] local.INFO: TCP Data received {"connection_id":109534,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:58:35] local.INFO: Processing buffer {"connection_id":109534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:58:35] local.INFO: IMEI packet received {"connection_id":109534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":109534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:58:36] local.INFO: TCP Data received {"connection_id":109534,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:58:36] local.INFO: Processing buffer {"connection_id":109534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:58:36] local.INFO: Packet analysis {"connection_id":109534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:58:36] local.INFO: Extracted packet for processing {"connection_id":109534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":109534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:58:36] local.INFO: GPS data processed {"connection_id":109534,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:58:36] local.INFO: Acknowledgment sent {"connection_id":109534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:59:07] local.INFO: TCP Data received {"connection_id":109534,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:59:07] local.INFO: Processing buffer {"connection_id":109534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:59:07] local.INFO: Packet analysis {"connection_id":109534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:59:07] local.INFO: Extracted packet for processing {"connection_id":109534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13: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-06-21 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":109534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:59:07] local.INFO: GPS data processed {"connection_id":109534,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:59:07] local.INFO: Acknowledgment sent {"connection_id":109534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 13:59:29] local.INFO: TCP Data received {"connection_id":109535,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:59:29] local.INFO: Processing buffer {"connection_id":109535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:59:29] local.INFO: IMEI packet received {"connection_id":109535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 13:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":109535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 13:59:35] local.INFO: TCP Data received {"connection_id":109535,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:59:35] local.INFO: Processing buffer {"connection_id":109535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 13:59:35] local.INFO: IMEI packet received {"connection_id":109535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 13:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":109535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 13:59:36] local.INFO: TCP Data received {"connection_id":109535,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:59:36] local.INFO: Processing buffer {"connection_id":109535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee947a458012d34c58006aa3f50000700671d..."} 
[2026-06-21 13:59:36] local.INFO: Packet analysis {"connection_id":109535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:59:36] local.INFO: Extracted packet for processing {"connection_id":109535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee947"} 
[2026-06-21 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":29,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 13:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 13:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199666176001,"note":"Value kept but may cause issues"} 
[2026-06-21 13:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 13:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 13:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 13:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030247000,"timestamp_ms":1782030247000,"timestamp_seconds":1782030247,"priority":1,"record_length":96,"hex_timestamp":"0000019ee947a458"} 
[2026-06-21 13:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 13: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 13:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 13:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 13:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 13:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 13:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 13:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 13:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 13:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 13:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 13:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199666176001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 13:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 13:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199666176001,"description":"Unknown IO ID 0"} 
[2026-06-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 13:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 13:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199666176001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 13:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":109535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 13:59:36] local.INFO: GPS data processed {"connection_id":109535,"processed":1,"errors":0,"total":1} 
[2026-06-21 13:59:36] local.INFO: Acknowledgment sent {"connection_id":109535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:00:07] local.INFO: TCP Data received {"connection_id":109535,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:00:07] local.INFO: Processing buffer {"connection_id":109535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:00:07] local.INFO: Packet analysis {"connection_id":109535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:00:07] local.INFO: Extracted packet for processing {"connection_id":109535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":109535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:00:07] local.INFO: GPS data processed {"connection_id":109535,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:00:07] local.INFO: Acknowledgment sent {"connection_id":109535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:00:30] local.INFO: TCP Data received {"connection_id":110487,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:00:30] local.INFO: Processing buffer {"connection_id":110487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:00:30] local.INFO: IMEI packet received {"connection_id":110487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":110487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:00:35] local.INFO: TCP Data received {"connection_id":110487,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:00:35] local.INFO: Processing buffer {"connection_id":110487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:00:35] local.INFO: IMEI packet received {"connection_id":110487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":110487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:00:36] local.INFO: TCP Data received {"connection_id":110487,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:00:36] local.INFO: Processing buffer {"connection_id":110487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:00:36] local.INFO: Packet analysis {"connection_id":110487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:00:36] local.INFO: Extracted packet for processing {"connection_id":110487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":110487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:00:36] local.INFO: GPS data processed {"connection_id":110487,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:00:36] local.INFO: Acknowledgment sent {"connection_id":110487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:00:42] local.INFO: TCP Data received {"connection_id":108732,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:00:42] local.INFO: Processing buffer {"connection_id":108732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:00:42] local.INFO: IMEI packet received {"connection_id":108732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":108732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:01:08] local.INFO: TCP Data received {"connection_id":110487,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:01:08] local.INFO: Processing buffer {"connection_id":110487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:01:08] local.INFO: Packet analysis {"connection_id":110487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:01:08] local.INFO: Extracted packet for processing {"connection_id":110487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:01:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":110487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:01:08] local.INFO: GPS data processed {"connection_id":110487,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:01:08] local.INFO: Acknowledgment sent {"connection_id":110487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:01:12] local.INFO: TCP Data received {"connection_id":109536,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:01:12] local.INFO: Processing buffer {"connection_id":109536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:01:12] local.INFO: IMEI packet received {"connection_id":109536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":109536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:01:30] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:01:30] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:01:30] local.INFO: IMEI packet received {"connection_id":108733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":108733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:01:35] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:01:35] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:01:35] local.INFO: IMEI packet received {"connection_id":108733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":108733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:01:36] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:01:36] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:01:36] local.INFO: Packet analysis {"connection_id":108733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:01:36] local.INFO: Extracted packet for processing {"connection_id":108733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":108733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:01:36] local.INFO: GPS data processed {"connection_id":108733,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:01:36] local.INFO: Acknowledgment sent {"connection_id":108733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:02:07] local.INFO: TCP Data received {"connection_id":108733,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:02:07] local.INFO: Processing buffer {"connection_id":108733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:02:07] local.INFO: Packet analysis {"connection_id":108733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:02:07] local.INFO: Extracted packet for processing {"connection_id":108733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":108733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:02:07] local.INFO: GPS data processed {"connection_id":108733,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:02:07] local.INFO: Acknowledgment sent {"connection_id":108733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:02:29] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:02:29] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:02:29] local.INFO: IMEI packet received {"connection_id":108925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":108925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:02:35] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:02:35] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:02:35] local.INFO: IMEI packet received {"connection_id":108925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":108925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:02:36] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:02:36] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:02:36] local.INFO: Packet analysis {"connection_id":108925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:02:36] local.INFO: Extracted packet for processing {"connection_id":108925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":108925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:02:36] local.INFO: GPS data processed {"connection_id":108925,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:02:36] local.INFO: Acknowledgment sent {"connection_id":108925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:03:09] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:03:09] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:03:09] local.INFO: Packet analysis {"connection_id":108925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:03:09] local.INFO: Extracted packet for processing {"connection_id":108925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":108925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:03:09] local.INFO: GPS data processed {"connection_id":108925,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:03:09] local.INFO: Acknowledgment sent {"connection_id":108925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:03:29] local.INFO: TCP Data received {"connection_id":108734,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:03:29] local.INFO: Processing buffer {"connection_id":108734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:03:29] local.INFO: IMEI packet received {"connection_id":108734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":108734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:03:35] local.INFO: TCP Data received {"connection_id":108734,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:03:35] local.INFO: Processing buffer {"connection_id":108734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:03:35] local.INFO: IMEI packet received {"connection_id":108734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":108734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:03:36] local.INFO: TCP Data received {"connection_id":108734,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:03:36] local.INFO: Processing buffer {"connection_id":108734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:03:36] local.INFO: Packet analysis {"connection_id":108734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:03:36] local.INFO: Extracted packet for processing {"connection_id":108734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":108734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:03:36] local.INFO: GPS data processed {"connection_id":108734,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:03:36] local.INFO: Acknowledgment sent {"connection_id":108734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:04:08] local.INFO: TCP Data received {"connection_id":108734,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:04:08] local.INFO: Processing buffer {"connection_id":108734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:04:08] local.INFO: Packet analysis {"connection_id":108734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:04:08] local.INFO: Extracted packet for processing {"connection_id":108734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 14:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:04:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":108734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:04:08] local.INFO: GPS data processed {"connection_id":108734,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:04:08] local.INFO: Acknowledgment sent {"connection_id":108734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:04:29] local.INFO: TCP Data received {"connection_id":110489,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:04:29] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:04:29] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:04:35] local.INFO: TCP Data received {"connection_id":110489,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:04:35] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:04:35] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:04:37] local.INFO: TCP Data received {"connection_id":110489,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:04:37] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee94c3c20012d34c58006aa3f50000c00671e..."} 
[2026-06-21 14:04:37] local.INFO: Packet analysis {"connection_id":110489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:04:37] local.INFO: Extracted packet for processing {"connection_id":110489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee94c"} 
[2026-06-21 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199743232001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782030548000,"timestamp_ms":1782030548000,"timestamp_seconds":1782030548,"priority":1,"record_length":96,"hex_timestamp":"0000019ee94c3c20"} 
[2026-06-21 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-06-21 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199743232001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199743232001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:04:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199743232001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":110489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:04:37] local.INFO: GPS data processed {"connection_id":110489,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:04:37] local.INFO: Acknowledgment sent {"connection_id":110489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:05:09] local.INFO: TCP Data received {"connection_id":110489,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:05:09] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:05:09] local.INFO: Packet analysis {"connection_id":110489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:05:09] local.INFO: Extracted packet for processing {"connection_id":110489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:05: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-06-21 14:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":110489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:05:09] local.INFO: GPS data processed {"connection_id":110489,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:05:09] local.INFO: Acknowledgment sent {"connection_id":110489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:05:29] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:05:29] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:05:29] local.INFO: IMEI packet received {"connection_id":108737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":108737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:05:35] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:05:35] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:05:35] local.INFO: IMEI packet received {"connection_id":108737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":108737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:05:37] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:05:37] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:05:37] local.INFO: Packet analysis {"connection_id":108737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:05:37] local.INFO: Extracted packet for processing {"connection_id":108737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:05:37] 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-06-21 14:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 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-06-21 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":108737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:05:37] local.INFO: GPS data processed {"connection_id":108737,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:05:37] local.INFO: Acknowledgment sent {"connection_id":108737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:06:09] local.INFO: TCP Data received {"connection_id":108737,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:06:09] local.INFO: Processing buffer {"connection_id":108737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:06:09] local.INFO: Packet analysis {"connection_id":108737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:06:09] local.INFO: Extracted packet for processing {"connection_id":108737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:06: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-06-21 14:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:06:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":108737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:06:09] local.INFO: GPS data processed {"connection_id":108737,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:06:09] local.INFO: Acknowledgment sent {"connection_id":108737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:06:29] local.INFO: TCP Data received {"connection_id":109538,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:06:29] local.INFO: Processing buffer {"connection_id":109538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:06:29] local.INFO: IMEI packet received {"connection_id":109538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":109538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:06:35] local.INFO: TCP Data received {"connection_id":109538,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:06:35] local.INFO: Processing buffer {"connection_id":109538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:06:35] local.INFO: IMEI packet received {"connection_id":109538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":109538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:06:36] local.INFO: TCP Data received {"connection_id":109538,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:06:36] local.INFO: Processing buffer {"connection_id":109538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:06:36] local.INFO: Packet analysis {"connection_id":109538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:06:36] local.INFO: Extracted packet for processing {"connection_id":109538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:06: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-06-21 14:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":109538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:06:36] local.INFO: GPS data processed {"connection_id":109538,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:06:36] local.INFO: Acknowledgment sent {"connection_id":109538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:06:37] local.INFO: TCP Data received {"connection_id":108926,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:06:37] local.INFO: Processing buffer {"connection_id":108926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:06:37] local.INFO: IMEI packet received {"connection_id":108926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":108926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:07:07] local.INFO: TCP Data received {"connection_id":109538,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:07:07] local.INFO: Processing buffer {"connection_id":109538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:07:07] local.INFO: Packet analysis {"connection_id":109538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:07:07] local.INFO: Extracted packet for processing {"connection_id":109538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:07:07] 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-06-21 14:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":109538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:07:07] local.INFO: GPS data processed {"connection_id":109538,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:07:07] local.INFO: Acknowledgment sent {"connection_id":109538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:07:12] local.INFO: TCP Data received {"connection_id":110490,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:07:12] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:07:12] local.INFO: IMEI packet received {"connection_id":110490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":110490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:07:29] local.INFO: TCP Data received {"connection_id":108927,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:07:29] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:07:29] local.INFO: IMEI packet received {"connection_id":108927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":108927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:07:35] local.INFO: TCP Data received {"connection_id":108927,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:07:35] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:07:35] local.INFO: IMEI packet received {"connection_id":108927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":108927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:07:36] local.INFO: TCP Data received {"connection_id":108927,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:07:36] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:07:36] local.INFO: Packet analysis {"connection_id":108927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:07:36] local.INFO: Extracted packet for processing {"connection_id":108927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:07: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-06-21 14:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":108927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:07:36] local.INFO: GPS data processed {"connection_id":108927,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:07:36] local.INFO: Acknowledgment sent {"connection_id":108927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:08:07] local.INFO: TCP Data received {"connection_id":108927,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:07] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:07] local.INFO: Packet analysis {"connection_id":108927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:08:07] local.INFO: Extracted packet for processing {"connection_id":108927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:07] 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-06-21 14:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":108927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:08:08] local.INFO: GPS data processed {"connection_id":108927,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:08:08] local.INFO: Acknowledgment sent {"connection_id":108927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:08:35] local.INFO: TCP Data received {"connection_id":110492,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:08:35] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:08:35] local.INFO: IMEI packet received {"connection_id":110492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":110492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:08:40] local.INFO: TCP Data received {"connection_id":110492,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:08:40] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:08:40] local.INFO: IMEI packet received {"connection_id":110492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":110492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:08:42] local.INFO: TCP Data received {"connection_id":110492,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:42] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:42] local.INFO: Packet analysis {"connection_id":110492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:08:42] local.INFO: Extracted packet for processing {"connection_id":110492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08: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-06-21 14:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 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-06-21 14:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:08:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":110492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:08:42] local.INFO: GPS data processed {"connection_id":110492,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:08:42] local.INFO: Acknowledgment sent {"connection_id":110492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:08:46] local.INFO: TCP Data received {"connection_id":110492,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:46] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:08:46] local.INFO: Packet analysis {"connection_id":110492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:08:46] local.INFO: Extracted packet for processing {"connection_id":110492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:08:46] 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-06-21 14:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:08:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:08:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":110492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:08:46] local.INFO: GPS data processed {"connection_id":110492,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:08:46] local.INFO: Acknowledgment sent {"connection_id":110492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:09:30] local.INFO: TCP Data received {"connection_id":108738,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:09:30] local.INFO: Processing buffer {"connection_id":108738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:09:30] local.INFO: IMEI packet received {"connection_id":108738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":108738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:09:35] local.INFO: TCP Data received {"connection_id":108738,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:09:35] local.INFO: Processing buffer {"connection_id":108738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:09:35] local.INFO: IMEI packet received {"connection_id":108738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":108738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:09:36] local.INFO: TCP Data received {"connection_id":108738,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:09:36] local.INFO: Processing buffer {"connection_id":108738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee950d3e8012d34c58006aa3f50000a00671e..."} 
[2026-06-21 14:09:36] local.INFO: Packet analysis {"connection_id":108738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:09:36] local.INFO: Extracted packet for processing {"connection_id":108738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee950"} 
[2026-06-21 14:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199820288001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:09: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-06-21 14:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782030849000,"timestamp_ms":1782030849000,"timestamp_seconds":1782030849,"priority":1,"record_length":96,"hex_timestamp":"0000019ee950d3e8"} 
[2026-06-21 14:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199820288001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199820288001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:09:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199820288001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":108738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:09:36] local.INFO: GPS data processed {"connection_id":108738,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:09:36] local.INFO: Acknowledgment sent {"connection_id":108738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:10:07] local.INFO: TCP Data received {"connection_id":108738,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:10:07] local.INFO: Processing buffer {"connection_id":108738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:10:07] local.INFO: Packet analysis {"connection_id":108738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:10:07] local.INFO: Extracted packet for processing {"connection_id":108738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:10:07] 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-06-21 14:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:10:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":108738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:10:07] local.INFO: GPS data processed {"connection_id":108738,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:10:07] local.INFO: Acknowledgment sent {"connection_id":108738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:10:29] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:10:29] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:10:29] local.INFO: IMEI packet received {"connection_id":110494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":110494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:10:35] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:10:35] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:10:35] local.INFO: IMEI packet received {"connection_id":110494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":110494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:10:36] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:10:36] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:10:36] local.INFO: Packet analysis {"connection_id":110494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:10:36] local.INFO: Extracted packet for processing {"connection_id":110494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:10: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-06-21 14:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":110494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:10:36] local.INFO: GPS data processed {"connection_id":110494,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:10:36] local.INFO: Acknowledgment sent {"connection_id":110494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:11:08] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:11:08] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:11:08] local.INFO: Packet analysis {"connection_id":110494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:11:08] local.INFO: Extracted packet for processing {"connection_id":110494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:11:08] 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-06-21 14:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":110494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:11:08] local.INFO: GPS data processed {"connection_id":110494,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:11:08] local.INFO: Acknowledgment sent {"connection_id":110494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:11:29] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:11:29] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:11:29] local.INFO: IMEI packet received {"connection_id":108928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":108928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:11:35] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:11:35] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:11:35] local.INFO: IMEI packet received {"connection_id":108928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":108928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:11:36] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:11:36] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:11:36] local.INFO: Packet analysis {"connection_id":108928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:11:36] local.INFO: Extracted packet for processing {"connection_id":108928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:11: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-06-21 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":108928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:11:36] local.INFO: GPS data processed {"connection_id":108928,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:11:36] local.INFO: Acknowledgment sent {"connection_id":108928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:12:08] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:08] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:08] local.INFO: Packet analysis {"connection_id":108928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:12:08] local.INFO: Extracted packet for processing {"connection_id":108928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:08] 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-06-21 14:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:12:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":108928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:12:08] local.INFO: GPS data processed {"connection_id":108928,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:12:08] local.INFO: Acknowledgment sent {"connection_id":108928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:12:35] local.INFO: TCP Data received {"connection_id":109541,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:12:35] local.INFO: Processing buffer {"connection_id":109541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:12:35] local.INFO: IMEI packet received {"connection_id":109541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":109541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:12:37] local.INFO: TCP Data received {"connection_id":109540,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:12:37] local.INFO: Processing buffer {"connection_id":109540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:12:37] local.INFO: IMEI packet received {"connection_id":109540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":109540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:12:40] local.INFO: TCP Data received {"connection_id":109541,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:12:40] local.INFO: Processing buffer {"connection_id":109541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:12:40] local.INFO: IMEI packet received {"connection_id":109541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":109541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:12:41] local.INFO: TCP Data received {"connection_id":109541,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:41] local.INFO: Processing buffer {"connection_id":109541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:41] local.INFO: Packet analysis {"connection_id":109541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:12:41] local.INFO: Extracted packet for processing {"connection_id":109541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:41] 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-06-21 14:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":109541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:12:41] local.INFO: GPS data processed {"connection_id":109541,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:12:41] local.INFO: Acknowledgment sent {"connection_id":109541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:12:45] local.INFO: TCP Data received {"connection_id":109541,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:45] local.INFO: Processing buffer {"connection_id":109541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:12:45] local.INFO: Packet analysis {"connection_id":109541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:12:45] local.INFO: Extracted packet for processing {"connection_id":109541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:12:45] 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-06-21 14:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:12:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:12:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":109541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:12:45] local.INFO: GPS data processed {"connection_id":109541,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:12:45] local.INFO: Acknowledgment sent {"connection_id":109541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:13:13] local.INFO: TCP Data received {"connection_id":108740,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:13:13] local.INFO: Processing buffer {"connection_id":108740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:13:13] local.INFO: IMEI packet received {"connection_id":108740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":108740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:13:30] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:13:30] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:13:30] local.INFO: IMEI packet received {"connection_id":108741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":108741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:13:35] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:13:35] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:13:35] local.INFO: IMEI packet received {"connection_id":108741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":108741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:13:36] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:13:36] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:13:36] local.INFO: Packet analysis {"connection_id":108741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:13:36] local.INFO: Extracted packet for processing {"connection_id":108741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:13: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-06-21 14:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":108741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:13:36] local.INFO: GPS data processed {"connection_id":108741,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:13:36] local.INFO: Acknowledgment sent {"connection_id":108741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:14:08] local.INFO: TCP Data received {"connection_id":108741,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:14:08] local.INFO: Processing buffer {"connection_id":108741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:14:08] local.INFO: Packet analysis {"connection_id":108741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:14:08] local.INFO: Extracted packet for processing {"connection_id":108741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:14:08] 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-06-21 14:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 14:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":108741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:14:08] local.INFO: GPS data processed {"connection_id":108741,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:14:08] local.INFO: Acknowledgment sent {"connection_id":108741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:14:29] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:14:29] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:14:29] local.INFO: IMEI packet received {"connection_id":108930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":108930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:14:35] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:14:35] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:14:35] local.INFO: IMEI packet received {"connection_id":108930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":108930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:14:37] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:14:37] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9556bb0012d34c58006aa3f50000e00671f..."} 
[2026-06-21 14:14:37] local.INFO: Packet analysis {"connection_id":108930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:14:37] local.INFO: Extracted packet for processing {"connection_id":108930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee955"} 
[2026-06-21 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199897344001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:14:37] 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-06-21 14:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782031150000,"timestamp_ms":1782031150000,"timestamp_seconds":1782031150,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9556bb0"} 
[2026-06-21 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-06-21 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199897344001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199897344001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:14:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199897344001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":108930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:14:37] local.INFO: GPS data processed {"connection_id":108930,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:14:37] local.INFO: Acknowledgment sent {"connection_id":108930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:15:08] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:15:08] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:15:08] local.INFO: Packet analysis {"connection_id":108930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:15:08] local.INFO: Extracted packet for processing {"connection_id":108930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:15:08] 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-06-21 14:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:15:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":108930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:15:08] local.INFO: GPS data processed {"connection_id":108930,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:15:08] local.INFO: Acknowledgment sent {"connection_id":108930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:15:30] local.INFO: TCP Data received {"connection_id":109543,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:15:30] local.INFO: Processing buffer {"connection_id":109543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:15:30] local.INFO: IMEI packet received {"connection_id":109543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":109543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:15:35] local.INFO: TCP Data received {"connection_id":109543,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:15:35] local.INFO: Processing buffer {"connection_id":109543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:15:35] local.INFO: IMEI packet received {"connection_id":109543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":109543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:15:36] local.INFO: TCP Data received {"connection_id":109543,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:15:36] local.INFO: Processing buffer {"connection_id":109543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:15:36] local.INFO: Packet analysis {"connection_id":109543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:15:36] local.INFO: Extracted packet for processing {"connection_id":109543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:15: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-06-21 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":109543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:15:36] local.INFO: GPS data processed {"connection_id":109543,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:15:36] local.INFO: Acknowledgment sent {"connection_id":109543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:16:09] local.INFO: TCP Data received {"connection_id":109543,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:16:09] local.INFO: Processing buffer {"connection_id":109543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:16:09] local.INFO: Packet analysis {"connection_id":109543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:16:09] local.INFO: Extracted packet for processing {"connection_id":109543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:16: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-06-21 14:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:16:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":109543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:16:09] local.INFO: GPS data processed {"connection_id":109543,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:16:09] local.INFO: Acknowledgment sent {"connection_id":109543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:16:30] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:16:30] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:16:30] local.INFO: IMEI packet received {"connection_id":110496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":110496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:16:35] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:16:35] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:16:35] local.INFO: IMEI packet received {"connection_id":110496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":110496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:16:36] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:16:36] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:16:36] local.INFO: Packet analysis {"connection_id":110496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:16:36] local.INFO: Extracted packet for processing {"connection_id":110496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:16: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-06-21 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":110496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:16:36] local.INFO: GPS data processed {"connection_id":110496,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:16:36] local.INFO: Acknowledgment sent {"connection_id":110496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:17:08] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:17:08] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:17:08] local.INFO: Packet analysis {"connection_id":110496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:17:08] local.INFO: Extracted packet for processing {"connection_id":110496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:17:08] 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-06-21 14:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":110496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:17:08] local.INFO: GPS data processed {"connection_id":110496,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:17:08] local.INFO: Acknowledgment sent {"connection_id":110496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:17:29] local.INFO: TCP Data received {"connection_id":109544,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:17:29] local.INFO: Processing buffer {"connection_id":109544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:17:29] local.INFO: IMEI packet received {"connection_id":109544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":109544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:17:35] local.INFO: TCP Data received {"connection_id":109544,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:17:35] local.INFO: Processing buffer {"connection_id":109544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:17:35] local.INFO: IMEI packet received {"connection_id":109544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":109544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:17:37] local.INFO: TCP Data received {"connection_id":109544,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:17:37] local.INFO: Processing buffer {"connection_id":109544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:17:37] local.INFO: Packet analysis {"connection_id":109544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:17:37] local.INFO: Extracted packet for processing {"connection_id":109544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:17:37] 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-06-21 14:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:17:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":109544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:17:37] local.INFO: GPS data processed {"connection_id":109544,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:17:37] local.INFO: Acknowledgment sent {"connection_id":109544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:18:11] local.INFO: TCP Data received {"connection_id":109544,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:18:11] local.INFO: Processing buffer {"connection_id":109544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:18:11] local.INFO: Packet analysis {"connection_id":109544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:18:11] local.INFO: Extracted packet for processing {"connection_id":109544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:18:11] 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-06-21 14:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":109544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":109544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":109544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":109544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:18:11] local.INFO: GPS data processed {"connection_id":109544,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:18:11] local.INFO: Acknowledgment sent {"connection_id":109544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:18:30] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:18:30] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:18:30] local.INFO: IMEI packet received {"connection_id":108745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":108745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:18:35] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:18:35] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:18:35] local.INFO: IMEI packet received {"connection_id":108745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":108745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:18:36] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:18:36] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:18:36] local.INFO: Packet analysis {"connection_id":108745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:18:36] local.INFO: Extracted packet for processing {"connection_id":108745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:18: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-06-21 14:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":108745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:18:36] local.INFO: GPS data processed {"connection_id":108745,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:18:36] local.INFO: Acknowledgment sent {"connection_id":108745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:18:42] local.INFO: TCP Data received {"connection_id":108744,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:18:42] local.INFO: Processing buffer {"connection_id":108744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:18:42] local.INFO: IMEI packet received {"connection_id":108744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":108744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:19:09] local.INFO: TCP Data received {"connection_id":108745,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:09] local.INFO: Processing buffer {"connection_id":108745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:09] local.INFO: Packet analysis {"connection_id":108745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:19:09] local.INFO: Extracted packet for processing {"connection_id":108745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19: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-06-21 14:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":108745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:19:09] local.INFO: GPS data processed {"connection_id":108745,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:19:09] local.INFO: Acknowledgment sent {"connection_id":108745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:19:12] local.INFO: TCP Data received {"connection_id":108746,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:19:12] local.INFO: Processing buffer {"connection_id":108746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:19:12] local.INFO: IMEI packet received {"connection_id":108746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":108746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:19:35] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:19:35] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:19:35] local.INFO: IMEI packet received {"connection_id":108747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":108747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:19:40] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:19:40] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:19:40] local.INFO: IMEI packet received {"connection_id":108747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":108747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:19:41] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:41] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:41] local.INFO: Packet analysis {"connection_id":108747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:19:41] local.INFO: Extracted packet for processing {"connection_id":108747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:41] 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-06-21 14:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":108747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:19:41] local.INFO: GPS data processed {"connection_id":108747,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:19:41] local.INFO: Acknowledgment sent {"connection_id":108747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:19:46] local.INFO: TCP Data received {"connection_id":108747,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:46] local.INFO: Processing buffer {"connection_id":108747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95a0378012d34c58006aa3f50000500671e..."} 
[2026-06-21 14:19:46] local.INFO: Packet analysis {"connection_id":108747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:19:46] local.INFO: Extracted packet for processing {"connection_id":108747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95a"} 
[2026-06-21 14:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456199974400001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:19:46] 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-06-21 14:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782031451000,"timestamp_ms":1782031451000,"timestamp_seconds":1782031451,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95a0378"} 
[2026-06-21 14:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456199974400001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456199974400001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:19:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456199974400001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":108747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:19:46] local.INFO: GPS data processed {"connection_id":108747,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:19:46] local.INFO: Acknowledgment sent {"connection_id":108747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:20:29] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:20:29] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:20:29] local.INFO: IMEI packet received {"connection_id":108933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":108933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:20:34] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:20:34] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:20:34] local.INFO: IMEI packet received {"connection_id":108933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":108933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:20:36] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:20:36] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:20:36] local.INFO: Packet analysis {"connection_id":108933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:20:36] local.INFO: Extracted packet for processing {"connection_id":108933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:20: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-06-21 14:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":108933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:20:36] local.INFO: GPS data processed {"connection_id":108933,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:20:36] local.INFO: Acknowledgment sent {"connection_id":108933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:20:41] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:20:41] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:20:41] local.INFO: Packet analysis {"connection_id":108933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:20:41] local.INFO: Extracted packet for processing {"connection_id":108933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:20:41] 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-06-21 14:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:20:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:20:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":108933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:20:41] local.INFO: GPS data processed {"connection_id":108933,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:20:41] local.INFO: Acknowledgment sent {"connection_id":108933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:21:29] local.INFO: TCP Data received {"connection_id":110497,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:21:29] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:21:29] local.INFO: IMEI packet received {"connection_id":110497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":110497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:21:35] local.INFO: TCP Data received {"connection_id":110497,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:21:35] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:21:35] local.INFO: IMEI packet received {"connection_id":110497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":110497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:21:36] local.INFO: TCP Data received {"connection_id":110497,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:21:36] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:21:36] local.INFO: Packet analysis {"connection_id":110497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:21:36] local.INFO: Extracted packet for processing {"connection_id":110497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:21: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-06-21 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":110497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:21:36] local.INFO: GPS data processed {"connection_id":110497,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:21:36] local.INFO: Acknowledgment sent {"connection_id":110497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:22:08] local.INFO: TCP Data received {"connection_id":110497,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:08] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:08] local.INFO: Packet analysis {"connection_id":110497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:22:08] local.INFO: Extracted packet for processing {"connection_id":110497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:08] 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-06-21 14:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:22:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":110497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:22:08] local.INFO: GPS data processed {"connection_id":110497,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:22:08] local.INFO: Acknowledgment sent {"connection_id":110497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:22:35] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:22:35] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:22:35] local.INFO: IMEI packet received {"connection_id":108749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":108749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:22:40] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:22:40] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:22:40] local.INFO: IMEI packet received {"connection_id":108749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":108749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:22:41] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:41] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:41] local.INFO: Packet analysis {"connection_id":108749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:22:41] local.INFO: Extracted packet for processing {"connection_id":108749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:41] 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-06-21 14:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:22:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:22:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":108749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:22:41] local.INFO: GPS data processed {"connection_id":108749,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:22:41] local.INFO: Acknowledgment sent {"connection_id":108749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:22:46] local.INFO: TCP Data received {"connection_id":108749,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:46] local.INFO: Processing buffer {"connection_id":108749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:22:46] local.INFO: Packet analysis {"connection_id":108749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:22:46] local.INFO: Extracted packet for processing {"connection_id":108749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:22:46] 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-06-21 14:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:22:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":108749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:22:46] local.INFO: GPS data processed {"connection_id":108749,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:22:46] local.INFO: Acknowledgment sent {"connection_id":108749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:23:30] local.INFO: TCP Data received {"connection_id":108750,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:23:30] local.INFO: Processing buffer {"connection_id":108750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:23:30] local.INFO: IMEI packet received {"connection_id":108750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":108750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:23:35] local.INFO: TCP Data received {"connection_id":108750,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:23:35] local.INFO: Processing buffer {"connection_id":108750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:23:35] local.INFO: IMEI packet received {"connection_id":108750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":108750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:23:36] local.INFO: TCP Data received {"connection_id":108750,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:23:36] local.INFO: Processing buffer {"connection_id":108750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:23:36] local.INFO: Packet analysis {"connection_id":108750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:23:36] local.INFO: Extracted packet for processing {"connection_id":108750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:23: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-06-21 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":108750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:23:36] local.INFO: GPS data processed {"connection_id":108750,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:23:36] local.INFO: Acknowledgment sent {"connection_id":108750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:24:08] local.INFO: TCP Data received {"connection_id":108750,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:24:08] local.INFO: Processing buffer {"connection_id":108750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:24:08] local.INFO: Packet analysis {"connection_id":108750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:24:08] local.INFO: Extracted packet for processing {"connection_id":108750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:24:08] 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-06-21 14:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:24:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":108750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:24:08] local.INFO: GPS data processed {"connection_id":108750,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:24:08] local.INFO: Acknowledgment sent {"connection_id":108750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:24:30] local.INFO: TCP Data received {"connection_id":108751,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:24:30] local.INFO: Processing buffer {"connection_id":108751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:24:30] local.INFO: IMEI packet received {"connection_id":108751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":108751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:24:35] local.INFO: TCP Data received {"connection_id":108751,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:24:35] local.INFO: Processing buffer {"connection_id":108751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:24:35] local.INFO: IMEI packet received {"connection_id":108751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":108751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:24:36] local.INFO: TCP Data received {"connection_id":108751,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:24:36] local.INFO: Processing buffer {"connection_id":108751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee95e9b40012d34c58006aa3f500006006722..."} 
[2026-06-21 14:24:36] local.INFO: Packet analysis {"connection_id":108751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:24:36] local.INFO: Extracted packet for processing {"connection_id":108751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee95e"} 
[2026-06-21 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":6,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200051456001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:24: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-06-21 14:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782031752000,"timestamp_ms":1782031752000,"timestamp_seconds":1782031752,"priority":1,"record_length":96,"hex_timestamp":"0000019ee95e9b40"} 
[2026-06-21 14:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200051456001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200051456001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200051456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":108751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:24:36] local.INFO: GPS data processed {"connection_id":108751,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:24:36] local.INFO: Acknowledgment sent {"connection_id":108751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:24:37] local.INFO: TCP Data received {"connection_id":110498,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:24:37] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:24:37] local.INFO: IMEI packet received {"connection_id":110498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":110498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:25:08] local.INFO: TCP Data received {"connection_id":108751,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:08] local.INFO: Processing buffer {"connection_id":108751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:08] local.INFO: Packet analysis {"connection_id":108751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:25:08] local.INFO: Extracted packet for processing {"connection_id":108751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:08] 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-06-21 14:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:25:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":108751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:25:08] local.INFO: GPS data processed {"connection_id":108751,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:25:08] local.INFO: Acknowledgment sent {"connection_id":108751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:25:12] local.INFO: TCP Data received {"connection_id":108935,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:25:12] local.INFO: Processing buffer {"connection_id":108935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:25:12] local.INFO: IMEI packet received {"connection_id":108935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":108935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:25:35] local.INFO: TCP Data received {"connection_id":110499,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:25:35] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:25:35] local.INFO: IMEI packet received {"connection_id":110499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":110499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:25:40] local.INFO: TCP Data received {"connection_id":110499,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:25:40] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:25:40] local.INFO: IMEI packet received {"connection_id":110499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":110499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:25:41] local.INFO: TCP Data received {"connection_id":110499,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:41] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:41] local.INFO: Packet analysis {"connection_id":110499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:25:41] local.INFO: Extracted packet for processing {"connection_id":110499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:41] 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-06-21 14:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":110499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:25:41] local.INFO: GPS data processed {"connection_id":110499,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:25:41] local.INFO: Acknowledgment sent {"connection_id":110499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:25:45] local.INFO: TCP Data received {"connection_id":110499,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:45] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:25:45] local.INFO: Packet analysis {"connection_id":110499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:25:45] local.INFO: Extracted packet for processing {"connection_id":110499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:25:45] 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-06-21 14:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 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-06-21 14:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:25:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":110499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:25:45] local.INFO: GPS data processed {"connection_id":110499,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:25:45] local.INFO: Acknowledgment sent {"connection_id":110499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:26:30] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:26:30] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:26:30] local.INFO: IMEI packet received {"connection_id":108753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":108753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:26:35] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:26:35] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:26:35] local.INFO: IMEI packet received {"connection_id":108753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":108753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:26:37] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:26:37] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:26:37] local.INFO: Packet analysis {"connection_id":108753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:26:37] local.INFO: Extracted packet for processing {"connection_id":108753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:26:37] 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-06-21 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 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-06-21 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:26:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":108753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:26:37] local.INFO: GPS data processed {"connection_id":108753,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:26:37] local.INFO: Acknowledgment sent {"connection_id":108753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:27:08] local.INFO: TCP Data received {"connection_id":108753,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:27:08] local.INFO: Processing buffer {"connection_id":108753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:27:08] local.INFO: Packet analysis {"connection_id":108753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:27:08] local.INFO: Extracted packet for processing {"connection_id":108753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:27:08] 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-06-21 14:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:27:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":108753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:27:08] local.INFO: GPS data processed {"connection_id":108753,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:27:08] local.INFO: Acknowledgment sent {"connection_id":108753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:27:29] local.INFO: TCP Data received {"connection_id":108936,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:27:29] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:27:29] local.INFO: IMEI packet received {"connection_id":108936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":108936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:27:35] local.INFO: TCP Data received {"connection_id":108936,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:27:35] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:27:35] local.INFO: IMEI packet received {"connection_id":108936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":108936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:27:37] local.INFO: TCP Data received {"connection_id":108936,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:27:37] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:27:37] local.INFO: Packet analysis {"connection_id":108936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:27:37] local.INFO: Extracted packet for processing {"connection_id":108936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:27:37] 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-06-21 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":108936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:27:37] local.INFO: GPS data processed {"connection_id":108936,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:27:37] local.INFO: Acknowledgment sent {"connection_id":108936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:28:08] local.INFO: TCP Data received {"connection_id":108936,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:28:08] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:28:08] local.INFO: Packet analysis {"connection_id":108936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:28:08] local.INFO: Extracted packet for processing {"connection_id":108936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:28:08] 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-06-21 14:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:28:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":108936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:28:09] local.INFO: GPS data processed {"connection_id":108936,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:28:09] local.INFO: Acknowledgment sent {"connection_id":108936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:28:29] local.INFO: TCP Data received {"connection_id":110500,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:28:29] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:28:29] local.INFO: IMEI packet received {"connection_id":110500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":110500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:28:34] local.INFO: TCP Data received {"connection_id":110500,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:28:34] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:28:34] local.INFO: IMEI packet received {"connection_id":110500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":110500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:28:35] local.INFO: TCP Data received {"connection_id":110500,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:28:36] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:28:36] local.INFO: Packet analysis {"connection_id":110500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:28:36] local.INFO: Extracted packet for processing {"connection_id":110500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:28: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-06-21 14:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":110500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:28:36] local.INFO: GPS data processed {"connection_id":110500,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:28:36] local.INFO: Acknowledgment sent {"connection_id":110500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:29:08] local.INFO: TCP Data received {"connection_id":110500,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:08] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:08] local.INFO: Packet analysis {"connection_id":110500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:29:08] local.INFO: Extracted packet for processing {"connection_id":110500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:08] 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-06-21 14:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":110500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:29:08] local.INFO: GPS data processed {"connection_id":110500,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:29:08] local.INFO: Acknowledgment sent {"connection_id":110500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:29:35] local.INFO: TCP Data received {"connection_id":109546,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:29:35] local.INFO: Processing buffer {"connection_id":109546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:29:35] local.INFO: IMEI packet received {"connection_id":109546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":109546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:29:40] local.INFO: TCP Data received {"connection_id":109546,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:29:40] local.INFO: Processing buffer {"connection_id":109546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:29:40] local.INFO: IMEI packet received {"connection_id":109546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":109546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:29:41] local.INFO: TCP Data received {"connection_id":109546,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:41] local.INFO: Processing buffer {"connection_id":109546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:41] local.INFO: Packet analysis {"connection_id":109546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:29:41] local.INFO: Extracted packet for processing {"connection_id":109546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:41] 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-06-21 14:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:29:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":109546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:29:41] local.INFO: GPS data processed {"connection_id":109546,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:29:41] local.INFO: Acknowledgment sent {"connection_id":109546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:29:46] local.INFO: TCP Data received {"connection_id":109546,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:46] local.INFO: Processing buffer {"connection_id":109546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9633308012d34c58006aa3f500011006722..."} 
[2026-06-21 14:29:46] local.INFO: Packet analysis {"connection_id":109546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:29:46] local.INFO: Extracted packet for processing {"connection_id":109546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee963"} 
[2026-06-21 14:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200128512001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:29:46] 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-06-21 14:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782032053000,"timestamp_ms":1782032053000,"timestamp_seconds":1782032053,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9633308"} 
[2026-06-21 14:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 14:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200128512001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200128512001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:29:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:29:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200128512001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":109546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:29:46] local.INFO: GPS data processed {"connection_id":109546,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:29:46] local.INFO: Acknowledgment sent {"connection_id":109546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:30:29] local.INFO: TCP Data received {"connection_id":110501,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:30:29] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:30:29] local.INFO: IMEI packet received {"connection_id":110501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":110501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:30:35] local.INFO: TCP Data received {"connection_id":110501,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:30:35] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:30:35] local.INFO: IMEI packet received {"connection_id":110501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":110501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:30:36] local.INFO: TCP Data received {"connection_id":110501,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:30:36] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:30:36] local.INFO: Packet analysis {"connection_id":110501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:30:36] local.INFO: Extracted packet for processing {"connection_id":110501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:30: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-06-21 14:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 14:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:30:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":110501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:30:36] local.INFO: GPS data processed {"connection_id":110501,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:30:36] local.INFO: Acknowledgment sent {"connection_id":110501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:30:37] local.INFO: TCP Data received {"connection_id":108757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:30:37] local.INFO: Processing buffer {"connection_id":108757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:30:37] local.INFO: IMEI packet received {"connection_id":108757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":108757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:31:08] local.INFO: TCP Data received {"connection_id":110501,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:31:08] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:31:08] local.INFO: Packet analysis {"connection_id":110501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:31:08] local.INFO: Extracted packet for processing {"connection_id":110501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:31:08] 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-06-21 14:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 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-06-21 14:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":110501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:31:08] local.INFO: GPS data processed {"connection_id":110501,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:31:08] local.INFO: Acknowledgment sent {"connection_id":110501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:31:17] local.INFO: TCP Data received {"connection_id":108937,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:31:17] local.INFO: Processing buffer {"connection_id":108937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:31:17] local.INFO: IMEI packet received {"connection_id":108937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":108937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:31:29] local.INFO: TCP Data received {"connection_id":108938,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:31:29] local.INFO: Processing buffer {"connection_id":108938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:31:29] local.INFO: IMEI packet received {"connection_id":108938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":108938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:31:35] local.INFO: TCP Data received {"connection_id":108938,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:31:35] local.INFO: Processing buffer {"connection_id":108938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:31:35] local.INFO: IMEI packet received {"connection_id":108938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":108938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:31:36] local.INFO: TCP Data received {"connection_id":108938,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:31:36] local.INFO: Processing buffer {"connection_id":108938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:31:36] local.INFO: Packet analysis {"connection_id":108938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:31:36] local.INFO: Extracted packet for processing {"connection_id":108938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:31: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-06-21 14:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 14:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":108938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:31:36] local.INFO: GPS data processed {"connection_id":108938,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:31:36] local.INFO: Acknowledgment sent {"connection_id":108938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:32:08] local.INFO: TCP Data received {"connection_id":108938,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:32:08] local.INFO: Processing buffer {"connection_id":108938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:32:08] local.INFO: Packet analysis {"connection_id":108938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:32:08] local.INFO: Extracted packet for processing {"connection_id":108938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:32:08] 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-06-21 14:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 14:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":108938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:32:08] local.INFO: GPS data processed {"connection_id":108938,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:32:08] local.INFO: Acknowledgment sent {"connection_id":108938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:32:29] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:32:29] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:32:29] local.INFO: IMEI packet received {"connection_id":110502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":110502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:32:35] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:32:35] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:32:35] local.INFO: IMEI packet received {"connection_id":110502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":110502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:32:36] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:32:36] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:32:36] local.INFO: Packet analysis {"connection_id":110502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:32:36] local.INFO: Extracted packet for processing {"connection_id":110502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14: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-06-21 14:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 14:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":110502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:32:36] local.INFO: GPS data processed {"connection_id":110502,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:32:36] local.INFO: Acknowledgment sent {"connection_id":110502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:33:07] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:07] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:07] local.INFO: Packet analysis {"connection_id":110502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:33:07] local.INFO: Extracted packet for processing {"connection_id":110502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:07] 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-06-21 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":110502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:33:07] local.INFO: GPS data processed {"connection_id":110502,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:33:07] local.INFO: Acknowledgment sent {"connection_id":110502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:33:35] local.INFO: TCP Data received {"connection_id":108759,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:33:35] local.INFO: Processing buffer {"connection_id":108759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:33:35] local.INFO: IMEI packet received {"connection_id":108759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":108759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:33:50] local.INFO: TCP Data received {"connection_id":108759,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:33:50] local.INFO: Processing buffer {"connection_id":108759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:33:50] local.INFO: IMEI packet received {"connection_id":108759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":108759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:33:51] local.INFO: TCP Data received {"connection_id":108759,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:51] local.INFO: Processing buffer {"connection_id":108759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:51] local.INFO: Packet analysis {"connection_id":108759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:33:51] local.INFO: Extracted packet for processing {"connection_id":108759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:51] 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-06-21 14:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 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-06-21 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":108759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":108759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":108759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:33:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":108759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:33:51] local.INFO: GPS data processed {"connection_id":108759,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:33:51] local.INFO: Acknowledgment sent {"connection_id":108759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:33:52] local.INFO: TCP Data received {"connection_id":108759,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:52] local.INFO: Processing buffer {"connection_id":108759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:33:52] local.INFO: Packet analysis {"connection_id":108759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:33:52] local.INFO: Extracted packet for processing {"connection_id":108759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 14:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":108759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":108759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":108759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:33:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:33:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":108759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:33:52] local.INFO: GPS data processed {"connection_id":108759,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:33:52] local.INFO: Acknowledgment sent {"connection_id":108759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:34:30] local.INFO: TCP Data received {"connection_id":109548,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:34:30] local.INFO: Processing buffer {"connection_id":109548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:34:30] local.INFO: IMEI packet received {"connection_id":109548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":109548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:34:35] local.INFO: TCP Data received {"connection_id":109548,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:34:35] local.INFO: Processing buffer {"connection_id":109548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:34:35] local.INFO: IMEI packet received {"connection_id":109548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":109548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:34:36] local.INFO: TCP Data received {"connection_id":109548,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:34:36] local.INFO: Processing buffer {"connection_id":109548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee967cad0012d34c58006aa3f500000006722..."} 
[2026-06-21 14:34:36] local.INFO: Packet analysis {"connection_id":109548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:34:36] local.INFO: Extracted packet for processing {"connection_id":109548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee967"} 
[2026-06-21 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":0,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200205568001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:34: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-06-21 14:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032354000,"timestamp_ms":1782032354000,"timestamp_seconds":1782032354,"priority":1,"record_length":96,"hex_timestamp":"0000019ee967cad0"} 
[2026-06-21 14:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200205568001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200205568001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200205568001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":109548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:34:36] local.INFO: GPS data processed {"connection_id":109548,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:34:36] local.INFO: Acknowledgment sent {"connection_id":109548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:35:07] local.INFO: TCP Data received {"connection_id":109548,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:35:07] local.INFO: Processing buffer {"connection_id":109548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:35:07] local.INFO: Packet analysis {"connection_id":109548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:35:07] local.INFO: Extracted packet for processing {"connection_id":109548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:35:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":109548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:35:07] local.INFO: GPS data processed {"connection_id":109548,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:35:07] local.INFO: Acknowledgment sent {"connection_id":109548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:35:29] local.INFO: TCP Data received {"connection_id":108941,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:35:29] local.INFO: Processing buffer {"connection_id":108941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:35:29] local.INFO: IMEI packet received {"connection_id":108941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":108941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:35:35] local.INFO: TCP Data received {"connection_id":108941,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:35:35] local.INFO: Processing buffer {"connection_id":108941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:35:35] local.INFO: IMEI packet received {"connection_id":108941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":108941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:35:36] local.INFO: TCP Data received {"connection_id":108941,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:35:36] local.INFO: Processing buffer {"connection_id":108941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:35:36] local.INFO: Packet analysis {"connection_id":108941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:35:36] local.INFO: Extracted packet for processing {"connection_id":108941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:35:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":108941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:35:36] local.INFO: GPS data processed {"connection_id":108941,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:35:36] local.INFO: Acknowledgment sent {"connection_id":108941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:36:08] local.INFO: TCP Data received {"connection_id":108941,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:08] local.INFO: Processing buffer {"connection_id":108941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:08] local.INFO: Packet analysis {"connection_id":108941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:36:08] local.INFO: Extracted packet for processing {"connection_id":108941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:36:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":108941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:36:08] local.INFO: GPS data processed {"connection_id":108941,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:36:08] local.INFO: Acknowledgment sent {"connection_id":108941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:36:35] local.INFO: TCP Data received {"connection_id":110504,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:36:35] local.INFO: Processing buffer {"connection_id":110504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:36:35] local.INFO: IMEI packet received {"connection_id":110504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":110504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:36:40] local.INFO: TCP Data received {"connection_id":110504,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:36:40] local.INFO: Processing buffer {"connection_id":110504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:36:40] local.INFO: IMEI packet received {"connection_id":110504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":110504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:36:41] local.INFO: TCP Data received {"connection_id":110504,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:41] local.INFO: Processing buffer {"connection_id":110504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:41] local.INFO: Packet analysis {"connection_id":110504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:36:41] local.INFO: Extracted packet for processing {"connection_id":110504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:36:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:36:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":110504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:36:41] local.INFO: GPS data processed {"connection_id":110504,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:36:41] local.INFO: Acknowledgment sent {"connection_id":110504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:36:42] local.INFO: TCP Data received {"connection_id":108942,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:36:42] local.INFO: Processing buffer {"connection_id":108942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:36:42] local.INFO: IMEI packet received {"connection_id":108942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":108942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:36:45] local.INFO: TCP Data received {"connection_id":110504,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:45] local.INFO: Processing buffer {"connection_id":110504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:36:45] local.INFO: Packet analysis {"connection_id":110504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:36:45] local.INFO: Extracted packet for processing {"connection_id":110504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:36:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":110504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:36:45] local.INFO: GPS data processed {"connection_id":110504,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:36:45] local.INFO: Acknowledgment sent {"connection_id":110504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:37:17] local.INFO: TCP Data received {"connection_id":110505,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:37:17] local.INFO: Processing buffer {"connection_id":110505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:37:17] local.INFO: IMEI packet received {"connection_id":110505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":110505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:37:29] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:37:29] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:37:29] local.INFO: IMEI packet received {"connection_id":108943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":108943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:37:35] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:37:35] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:37:35] local.INFO: IMEI packet received {"connection_id":108943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":108943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:37:36] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:37:36] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:37:36] local.INFO: Packet analysis {"connection_id":108943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:37:36] local.INFO: Extracted packet for processing {"connection_id":108943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:37:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":108943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:37:36] local.INFO: GPS data processed {"connection_id":108943,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:37:36] local.INFO: Acknowledgment sent {"connection_id":108943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:38:08] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:38:08] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:38:08] local.INFO: Packet analysis {"connection_id":108943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:38:08] local.INFO: Extracted packet for processing {"connection_id":108943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:38:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":108943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:38:08] local.INFO: GPS data processed {"connection_id":108943,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:38:08] local.INFO: Acknowledgment sent {"connection_id":108943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:38:30] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:38:30] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:38:30] local.INFO: IMEI packet received {"connection_id":110506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":110506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:38:35] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:38:35] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:38:35] local.INFO: IMEI packet received {"connection_id":110506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":110506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:38:36] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:38:36] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:38:36] local.INFO: Packet analysis {"connection_id":110506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:38:36] local.INFO: Extracted packet for processing {"connection_id":110506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:38:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":110506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:38:36] local.INFO: GPS data processed {"connection_id":110506,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:38:36] local.INFO: Acknowledgment sent {"connection_id":110506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:39:08] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:39:08] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:39:08] local.INFO: Packet analysis {"connection_id":110506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:39:08] local.INFO: Extracted packet for processing {"connection_id":110506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 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-06-21 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":110506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:39:08] local.INFO: GPS data processed {"connection_id":110506,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:39:08] local.INFO: Acknowledgment sent {"connection_id":110506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:39:29] local.INFO: TCP Data received {"connection_id":108760,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:39:29] local.INFO: Processing buffer {"connection_id":108760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:39:29] local.INFO: IMEI packet received {"connection_id":108760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":108760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:39:35] local.INFO: TCP Data received {"connection_id":108760,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:39:35] local.INFO: Processing buffer {"connection_id":108760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:39:35] local.INFO: IMEI packet received {"connection_id":108760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":108760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:39:36] local.INFO: TCP Data received {"connection_id":108760,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:39:36] local.INFO: Processing buffer {"connection_id":108760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee96c6298012d34c58006aa3f50000f006720..."} 
[2026-06-21 14:39:36] local.INFO: Packet analysis {"connection_id":108760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:39:36] local.INFO: Extracted packet for processing {"connection_id":108760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee96c"} 
[2026-06-21 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200282624001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032655000,"timestamp_ms":1782032655000,"timestamp_seconds":1782032655,"priority":1,"record_length":96,"hex_timestamp":"0000019ee96c6298"} 
[2026-06-21 14:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 14:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200282624001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200282624001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200282624001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":108760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:39:36] local.INFO: GPS data processed {"connection_id":108760,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:39:36] local.INFO: Acknowledgment sent {"connection_id":108760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:40:08] local.INFO: TCP Data received {"connection_id":108760,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:08] local.INFO: Processing buffer {"connection_id":108760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:08] local.INFO: Packet analysis {"connection_id":108760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:40:08] local.INFO: Extracted packet for processing {"connection_id":108760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:40:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":108760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:40:08] local.INFO: GPS data processed {"connection_id":108760,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:40:08] local.INFO: Acknowledgment sent {"connection_id":108760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:40:35] local.INFO: TCP Data received {"connection_id":108945,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:40:35] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:40:35] local.INFO: IMEI packet received {"connection_id":108945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":108945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:40:40] local.INFO: TCP Data received {"connection_id":108945,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:40:40] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:40:40] local.INFO: IMEI packet received {"connection_id":108945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":108945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:40:41] local.INFO: TCP Data received {"connection_id":108945,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:41] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:41] local.INFO: Packet analysis {"connection_id":108945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:40:41] local.INFO: Extracted packet for processing {"connection_id":108945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":108945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:40:41] local.INFO: GPS data processed {"connection_id":108945,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:40:41] local.INFO: Acknowledgment sent {"connection_id":108945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:40:45] local.INFO: TCP Data received {"connection_id":108945,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:45] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:40:45] local.INFO: Packet analysis {"connection_id":108945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:40:45] local.INFO: Extracted packet for processing {"connection_id":108945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:40:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":108945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:40:45] local.INFO: GPS data processed {"connection_id":108945,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:40:45] local.INFO: Acknowledgment sent {"connection_id":108945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:41:30] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:41:30] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:41:30] local.INFO: IMEI packet received {"connection_id":110509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":110509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:41:35] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:41:35] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:41:35] local.INFO: IMEI packet received {"connection_id":110509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":110509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:41:36] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:41:36] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:41:36] local.INFO: Packet analysis {"connection_id":110509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:41:36] local.INFO: Extracted packet for processing {"connection_id":110509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:41:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":110509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:41:36] local.INFO: GPS data processed {"connection_id":110509,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:41:36] local.INFO: Acknowledgment sent {"connection_id":110509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:42:07] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:42:07] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:42:07] local.INFO: Packet analysis {"connection_id":110509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:42:07] local.INFO: Extracted packet for processing {"connection_id":110509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":110509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:42:07] local.INFO: GPS data processed {"connection_id":110509,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:42:07] local.INFO: Acknowledgment sent {"connection_id":110509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:42:30] local.INFO: TCP Data received {"connection_id":108946,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:42:30] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:42:30] local.INFO: IMEI packet received {"connection_id":108946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":108946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:42:35] local.INFO: TCP Data received {"connection_id":108946,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:42:35] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:42:35] local.INFO: IMEI packet received {"connection_id":108946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":108946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:42:36] local.INFO: TCP Data received {"connection_id":108946,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:42:36] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:42:36] local.INFO: Packet analysis {"connection_id":108946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:42:36] local.INFO: Extracted packet for processing {"connection_id":108946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":108946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:42:36] local.INFO: GPS data processed {"connection_id":108946,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:42:36] local.INFO: Acknowledgment sent {"connection_id":108946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:42:37] local.INFO: TCP Data received {"connection_id":109550,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:42:37] local.INFO: Processing buffer {"connection_id":109550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:42:37] local.INFO: IMEI packet received {"connection_id":109550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":109550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:43:07] local.INFO: TCP Data received {"connection_id":108946,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:43:07] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:43:07] local.INFO: Packet analysis {"connection_id":108946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:43:07] local.INFO: Extracted packet for processing {"connection_id":108946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:43:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":108946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:43:07] local.INFO: GPS data processed {"connection_id":108946,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:43:07] local.INFO: Acknowledgment sent {"connection_id":108946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:43:12] local.INFO: TCP Data received {"connection_id":108761,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:43:12] local.INFO: Processing buffer {"connection_id":108761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:43:12] local.INFO: IMEI packet received {"connection_id":108761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":108761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:43:29] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:43:29] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:43:29] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:43:35] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:43:35] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:43:35] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:43:36] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:43:36] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:43:36] local.INFO: Packet analysis {"connection_id":110510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:43:36] local.INFO: Extracted packet for processing {"connection_id":110510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:43:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":110510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:43:36] local.INFO: GPS data processed {"connection_id":110510,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:43:36] local.INFO: Acknowledgment sent {"connection_id":110510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:44:07] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:44:07] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:44:07] local.INFO: Packet analysis {"connection_id":110510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:44:07] local.INFO: Extracted packet for processing {"connection_id":110510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:44:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:44:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":110510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:44:07] local.INFO: GPS data processed {"connection_id":110510,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:44:07] local.INFO: Acknowledgment sent {"connection_id":110510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:44:29] local.INFO: TCP Data received {"connection_id":109551,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:44:29] local.INFO: Processing buffer {"connection_id":109551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:44:29] local.INFO: IMEI packet received {"connection_id":109551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":109551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:44:35] local.INFO: TCP Data received {"connection_id":109551,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:44:35] local.INFO: Processing buffer {"connection_id":109551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:44:35] local.INFO: IMEI packet received {"connection_id":109551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":109551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:44:36] local.INFO: TCP Data received {"connection_id":109551,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:44:36] local.INFO: Processing buffer {"connection_id":109551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee970fa60012d34c58006aa3f500013006721..."} 
[2026-06-21 14:44:36] local.INFO: Packet analysis {"connection_id":109551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:44:36] local.INFO: Extracted packet for processing {"connection_id":109551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee970"} 
[2026-06-21 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200359680001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782032956000,"timestamp_ms":1782032956000,"timestamp_seconds":1782032956,"priority":1,"record_length":96,"hex_timestamp":"0000019ee970fa60"} 
[2026-06-21 14:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200359680001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200359680001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200359680001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":109551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:44:36] local.INFO: GPS data processed {"connection_id":109551,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:44:36] local.INFO: Acknowledgment sent {"connection_id":109551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:45:08] local.INFO: TCP Data received {"connection_id":109551,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:08] local.INFO: Processing buffer {"connection_id":109551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:08] local.INFO: Packet analysis {"connection_id":109551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:45:08] local.INFO: Extracted packet for processing {"connection_id":109551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":109551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:45:08] local.INFO: GPS data processed {"connection_id":109551,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:45:08] local.INFO: Acknowledgment sent {"connection_id":109551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:45:30] local.INFO: TCP Data received {"connection_id":110511,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:45:30] local.INFO: Processing buffer {"connection_id":110511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:45:30] local.INFO: IMEI packet received {"connection_id":110511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":110511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:45:35] local.INFO: TCP Data received {"connection_id":110511,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:45:35] local.INFO: Processing buffer {"connection_id":110511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:45:35] local.INFO: IMEI packet received {"connection_id":110511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":110511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:45:36] local.INFO: TCP Data received {"connection_id":110511,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:36] local.INFO: Processing buffer {"connection_id":110511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:36] local.INFO: Packet analysis {"connection_id":110511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:45:36] local.INFO: Extracted packet for processing {"connection_id":110511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:45:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":110511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:45:36] local.INFO: GPS data processed {"connection_id":110511,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:45:36] local.INFO: Acknowledgment sent {"connection_id":110511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:45:41] local.INFO: TCP Data received {"connection_id":110511,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:41] local.INFO: Processing buffer {"connection_id":110511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:45:41] local.INFO: Packet analysis {"connection_id":110511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:45:41] local.INFO: Extracted packet for processing {"connection_id":110511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:45:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":110511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:45:41] local.INFO: GPS data processed {"connection_id":110511,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:45:41] local.INFO: Acknowledgment sent {"connection_id":110511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:46:12] local.INFO: TCP Data received {"connection_id":110511,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:46:12] local.INFO: Processing buffer {"connection_id":110511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:46:12] local.INFO: Packet analysis {"connection_id":110511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:46:12] local.INFO: Extracted packet for processing {"connection_id":110511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:46:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":110511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:46:12] local.INFO: GPS data processed {"connection_id":110511,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:46:12] local.INFO: Acknowledgment sent {"connection_id":110511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:46:30] local.INFO: TCP Data received {"connection_id":109552,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:46:30] local.INFO: Processing buffer {"connection_id":109552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:46:30] local.INFO: IMEI packet received {"connection_id":109552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":109552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:46:35] local.INFO: TCP Data received {"connection_id":109552,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:46:35] local.INFO: Processing buffer {"connection_id":109552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:46:35] local.INFO: IMEI packet received {"connection_id":109552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":109552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:46:36] local.INFO: TCP Data received {"connection_id":109552,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:46:36] local.INFO: Processing buffer {"connection_id":109552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:46:36] local.INFO: Packet analysis {"connection_id":109552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:46:36] local.INFO: Extracted packet for processing {"connection_id":109552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":109552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:46:36] local.INFO: GPS data processed {"connection_id":109552,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:46:36] local.INFO: Acknowledgment sent {"connection_id":109552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:47:08] local.INFO: TCP Data received {"connection_id":109552,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:47:08] local.INFO: Processing buffer {"connection_id":109552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:47:08] local.INFO: Packet analysis {"connection_id":109552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:47:08] local.INFO: Extracted packet for processing {"connection_id":109552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":109552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:47:08] local.INFO: GPS data processed {"connection_id":109552,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:47:08] local.INFO: Acknowledgment sent {"connection_id":109552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:47:29] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:47:29] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:47:29] local.INFO: IMEI packet received {"connection_id":108950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":108950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:47:35] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:47:35] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:47:35] local.INFO: IMEI packet received {"connection_id":108950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":108950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:47:36] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:47:36] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:47:36] local.INFO: Packet analysis {"connection_id":108950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:47:36] local.INFO: Extracted packet for processing {"connection_id":108950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:47:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":108950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:47:36] local.INFO: GPS data processed {"connection_id":108950,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:47:36] local.INFO: Acknowledgment sent {"connection_id":108950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:48:08] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:48:08] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:48:08] local.INFO: Packet analysis {"connection_id":108950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:48:08] local.INFO: Extracted packet for processing {"connection_id":108950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:48:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":108950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:48:08] local.INFO: GPS data processed {"connection_id":108950,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:48:08] local.INFO: Acknowledgment sent {"connection_id":108950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:48:29] local.INFO: TCP Data received {"connection_id":109553,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:48:29] local.INFO: Processing buffer {"connection_id":109553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:48:29] local.INFO: IMEI packet received {"connection_id":109553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":109553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:48:35] local.INFO: TCP Data received {"connection_id":109553,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:48:35] local.INFO: Processing buffer {"connection_id":109553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:48:35] local.INFO: IMEI packet received {"connection_id":109553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":109553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:48:36] local.INFO: TCP Data received {"connection_id":109553,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:48:36] local.INFO: Processing buffer {"connection_id":109553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:48:36] local.INFO: Packet analysis {"connection_id":109553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:48:36] local.INFO: Extracted packet for processing {"connection_id":109553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":109553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:48:36] local.INFO: GPS data processed {"connection_id":109553,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:48:36] local.INFO: Acknowledgment sent {"connection_id":109553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:48:37] local.INFO: TCP Data received {"connection_id":108951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:48:37] local.INFO: Processing buffer {"connection_id":108951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:48:37] local.INFO: IMEI packet received {"connection_id":108951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":108951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:49:08] local.INFO: TCP Data received {"connection_id":109553,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:08] local.INFO: Processing buffer {"connection_id":109553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:08] local.INFO: Packet analysis {"connection_id":109553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:49:08] local.INFO: Extracted packet for processing {"connection_id":109553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:49:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:49:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":109553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:49:08] local.INFO: GPS data processed {"connection_id":109553,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:49:08] local.INFO: Acknowledgment sent {"connection_id":109553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:49:12] local.INFO: TCP Data received {"connection_id":108763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:49:12] local.INFO: Processing buffer {"connection_id":108763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:49:12] local.INFO: IMEI packet received {"connection_id":108763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":108763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:49:35] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:49:35] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:49:35] local.INFO: IMEI packet received {"connection_id":110512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":110512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:49:40] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:49:40] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:49:40] local.INFO: IMEI packet received {"connection_id":110512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":110512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:49:41] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:41] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:41] local.INFO: Packet analysis {"connection_id":110512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:49:41] local.INFO: Extracted packet for processing {"connection_id":110512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:49:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":110512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:49:41] local.INFO: GPS data processed {"connection_id":110512,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:49:41] local.INFO: Acknowledgment sent {"connection_id":110512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:49:45] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:45] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9759228012d34c58006aa3f50000b006723..."} 
[2026-06-21 14:49:45] local.INFO: Packet analysis {"connection_id":110512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:49:45] local.INFO: Extracted packet for processing {"connection_id":110512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee975"} 
[2026-06-21 14:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200436736001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782033257000,"timestamp_ms":1782033257000,"timestamp_seconds":1782033257,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9759228"} 
[2026-06-21 14:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200436736001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200436736001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:49:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200436736001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":110512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:49:45] local.INFO: GPS data processed {"connection_id":110512,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:49:45] local.INFO: Acknowledgment sent {"connection_id":110512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:50:30] local.INFO: TCP Data received {"connection_id":109555,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:50:30] local.INFO: Processing buffer {"connection_id":109555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:50:30] local.INFO: IMEI packet received {"connection_id":109555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":109555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:50:35] local.INFO: TCP Data received {"connection_id":109555,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:50:35] local.INFO: Processing buffer {"connection_id":109555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:50:35] local.INFO: IMEI packet received {"connection_id":109555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":109555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:50:36] local.INFO: TCP Data received {"connection_id":109555,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:50:36] local.INFO: Processing buffer {"connection_id":109555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:50:36] local.INFO: Packet analysis {"connection_id":109555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:50:36] local.INFO: Extracted packet for processing {"connection_id":109555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:50: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-06-21 14:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":109555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:50:36] local.INFO: GPS data processed {"connection_id":109555,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:50:36] local.INFO: Acknowledgment sent {"connection_id":109555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:51:08] local.INFO: TCP Data received {"connection_id":109555,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:51:08] local.INFO: Processing buffer {"connection_id":109555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:51:08] local.INFO: Packet analysis {"connection_id":109555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:51:08] local.INFO: Extracted packet for processing {"connection_id":109555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:51:08] 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-06-21 14:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:51: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-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":109555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:51:08] local.INFO: GPS data processed {"connection_id":109555,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:51:08] local.INFO: Acknowledgment sent {"connection_id":109555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:51:29] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:51:29] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:51:29] local.INFO: IMEI packet received {"connection_id":110513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":110513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:51:35] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:51:35] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:51:35] local.INFO: IMEI packet received {"connection_id":110513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":110513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:51:36] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:51:36] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:51:36] local.INFO: Packet analysis {"connection_id":110513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:51:36] local.INFO: Extracted packet for processing {"connection_id":110513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 14:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:51: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-06-21 14:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 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-06-21 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 14:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:51:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":110513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:51:36] local.INFO: GPS data processed {"connection_id":110513,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:51:36] local.INFO: Acknowledgment sent {"connection_id":110513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:52:08] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:52:08] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:52:08] local.INFO: Packet analysis {"connection_id":110513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:52:08] local.INFO: Extracted packet for processing {"connection_id":110513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:52:08] 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-06-21 14:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:52: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-06-21 14:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":110513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:52:08] local.INFO: GPS data processed {"connection_id":110513,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:52:08] local.INFO: Acknowledgment sent {"connection_id":110513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:52:29] local.INFO: TCP Data received {"connection_id":109556,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:52:29] local.INFO: Processing buffer {"connection_id":109556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:52:29] local.INFO: IMEI packet received {"connection_id":109556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":109556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:52:35] local.INFO: TCP Data received {"connection_id":109556,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:52:35] local.INFO: Processing buffer {"connection_id":109556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:52:35] local.INFO: IMEI packet received {"connection_id":109556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":109556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:52:36] local.INFO: TCP Data received {"connection_id":109556,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:52:36] local.INFO: Processing buffer {"connection_id":109556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:52:36] local.INFO: Packet analysis {"connection_id":109556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:52:36] local.INFO: Extracted packet for processing {"connection_id":109556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14: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-06-21 14:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:52:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":109556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:52:36] local.INFO: GPS data processed {"connection_id":109556,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:52:36] local.INFO: Acknowledgment sent {"connection_id":109556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:53:07] local.INFO: TCP Data received {"connection_id":109556,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:07] local.INFO: Processing buffer {"connection_id":109556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:07] local.INFO: Packet analysis {"connection_id":109556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:07] local.INFO: Extracted packet for processing {"connection_id":109556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:07] 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-06-21 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":109556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:53:07] local.INFO: GPS data processed {"connection_id":109556,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:53:07] local.INFO: Acknowledgment sent {"connection_id":109556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:53:35] local.INFO: TCP Data received {"connection_id":108954,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:53:35] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:53:35] local.INFO: IMEI packet received {"connection_id":108954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":108954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:53:40] local.INFO: TCP Data received {"connection_id":108954,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:53:40] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:53:40] local.INFO: IMEI packet received {"connection_id":108954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":108954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:53:41] local.INFO: TCP Data received {"connection_id":108954,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:41] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:41] local.INFO: Packet analysis {"connection_id":108954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:41] local.INFO: Extracted packet for processing {"connection_id":108954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:41] 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-06-21 14:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:53: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-06-21 14:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:53:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:53:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":108954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:53:41] local.INFO: GPS data processed {"connection_id":108954,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:53:41] local.INFO: Acknowledgment sent {"connection_id":108954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:53:45] local.INFO: TCP Data received {"connection_id":108954,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:45] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:45] local.INFO: Packet analysis {"connection_id":108954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:45] local.INFO: Extracted packet for processing {"connection_id":108954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:45] 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-06-21 14:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:53: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-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:53:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":108954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:53:45] local.INFO: GPS data processed {"connection_id":108954,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:53:45] local.INFO: Acknowledgment sent {"connection_id":108954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:53:51] local.INFO: TCP Data received {"connection_id":108954,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:51] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:53:51] local.INFO: Packet analysis {"connection_id":108954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:51] local.INFO: Extracted packet for processing {"connection_id":108954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:53:51] 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-06-21 14:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":108954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":108954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":108954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:53:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:53:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":108954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:53:51] local.INFO: GPS data processed {"connection_id":108954,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:53:51] local.INFO: Acknowledgment sent {"connection_id":108954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:54:27] local.INFO: TCP Data received {"connection_id":110515,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:54:27] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:54:27] local.INFO: IMEI packet received {"connection_id":110515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":110515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:54:35] local.INFO: TCP Data received {"connection_id":109557,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:54:35] local.INFO: Processing buffer {"connection_id":109557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:54:35] local.INFO: IMEI packet received {"connection_id":109557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":109557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:54:40] local.INFO: TCP Data received {"connection_id":109557,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:54:40] local.INFO: Processing buffer {"connection_id":109557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:54:40] local.INFO: IMEI packet received {"connection_id":109557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":109557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:54:41] local.INFO: TCP Data received {"connection_id":109557,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:54:41] local.INFO: Processing buffer {"connection_id":109557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:54:41] local.INFO: Packet analysis {"connection_id":109557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:54:41] local.INFO: Extracted packet for processing {"connection_id":109557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:54:41] 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-06-21 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:54: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-06-21 14:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:54:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:54:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":109557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:54:41] local.INFO: GPS data processed {"connection_id":109557,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:54:41] local.INFO: Acknowledgment sent {"connection_id":109557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:54:45] local.INFO: TCP Data received {"connection_id":109557,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:54:45] local.INFO: Processing buffer {"connection_id":109557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97a29f0012d34c58006aa3f500017006723..."} 
[2026-06-21 14:54:45] local.INFO: Packet analysis {"connection_id":109557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:54:45] local.INFO: Extracted packet for processing {"connection_id":109557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97a"} 
[2026-06-21 14:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200513792001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:54:45] 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-06-21 14:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782033558000,"timestamp_ms":1782033558000,"timestamp_seconds":1782033558,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97a29f0"} 
[2026-06-21 14:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:54: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-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200513792001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 14:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200513792001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:54:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 14:54:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200513792001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":109557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:54:45] local.INFO: GPS data processed {"connection_id":109557,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:54:45] local.INFO: Acknowledgment sent {"connection_id":109557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:55:17] local.INFO: TCP Data received {"connection_id":109558,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:55:17] local.INFO: Processing buffer {"connection_id":109558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 14:55:17] local.INFO: IMEI packet received {"connection_id":109558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 14:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":109558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:55:29] local.INFO: TCP Data received {"connection_id":110516,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:55:29] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:55:29] local.INFO: IMEI packet received {"connection_id":110516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":110516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:55:35] local.INFO: TCP Data received {"connection_id":110516,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:55:35] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:55:35] local.INFO: IMEI packet received {"connection_id":110516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":110516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:55:36] local.INFO: TCP Data received {"connection_id":110516,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:55:36] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:55:36] local.INFO: Packet analysis {"connection_id":110516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:55:36] local.INFO: Extracted packet for processing {"connection_id":110516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:55:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":110516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:55:36] local.INFO: GPS data processed {"connection_id":110516,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:55:36] local.INFO: Acknowledgment sent {"connection_id":110516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:56:07] local.INFO: TCP Data received {"connection_id":110516,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:56:07] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:56:07] local.INFO: Packet analysis {"connection_id":110516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:56:07] local.INFO: Extracted packet for processing {"connection_id":110516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14: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-06-21 14:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:56:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":110516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:56:07] local.INFO: GPS data processed {"connection_id":110516,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:56:07] local.INFO: Acknowledgment sent {"connection_id":110516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:56:29] local.INFO: TCP Data received {"connection_id":108765,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:56:29] local.INFO: Processing buffer {"connection_id":108765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:56:29] local.INFO: IMEI packet received {"connection_id":108765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":108765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:56:35] local.INFO: TCP Data received {"connection_id":108765,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:56:35] local.INFO: Processing buffer {"connection_id":108765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:56:35] local.INFO: IMEI packet received {"connection_id":108765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":108765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:56:36] local.INFO: TCP Data received {"connection_id":108765,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:56:36] local.INFO: Processing buffer {"connection_id":108765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:56:36] local.INFO: Packet analysis {"connection_id":108765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:56:36] local.INFO: Extracted packet for processing {"connection_id":108765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:56:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":108765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:56:36] local.INFO: GPS data processed {"connection_id":108765,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:56:36] local.INFO: Acknowledgment sent {"connection_id":108765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:57:07] local.INFO: TCP Data received {"connection_id":108765,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:57:07] local.INFO: Processing buffer {"connection_id":108765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:57:07] local.INFO: Packet analysis {"connection_id":108765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:57:07] local.INFO: Extracted packet for processing {"connection_id":108765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:57:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":108765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:57:07] local.INFO: GPS data processed {"connection_id":108765,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:57:07] local.INFO: Acknowledgment sent {"connection_id":108765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:57:29] local.INFO: TCP Data received {"connection_id":108956,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:57:29] local.INFO: Processing buffer {"connection_id":108956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:57:29] local.INFO: IMEI packet received {"connection_id":108956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":108956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:57:35] local.INFO: TCP Data received {"connection_id":108956,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:57:35] local.INFO: Processing buffer {"connection_id":108956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:57:35] local.INFO: IMEI packet received {"connection_id":108956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":108956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:57:36] local.INFO: TCP Data received {"connection_id":108956,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:57:36] local.INFO: Processing buffer {"connection_id":108956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:57:36] local.INFO: Packet analysis {"connection_id":108956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:57:36] local.INFO: Extracted packet for processing {"connection_id":108956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:57:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":108956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:57:36] local.INFO: GPS data processed {"connection_id":108956,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:57:36] local.INFO: Acknowledgment sent {"connection_id":108956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:58:09] local.INFO: TCP Data received {"connection_id":108956,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:09] local.INFO: Processing buffer {"connection_id":108956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:09] local.INFO: Packet analysis {"connection_id":108956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:58:09] local.INFO: Extracted packet for processing {"connection_id":108956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:58: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-06-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":108956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:58:09] local.INFO: GPS data processed {"connection_id":108956,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:58:09] local.INFO: Acknowledgment sent {"connection_id":108956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:58:35] local.INFO: TCP Data received {"connection_id":109559,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:58:35] local.INFO: Processing buffer {"connection_id":109559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:58:35] local.INFO: IMEI packet received {"connection_id":109559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":109559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:58:40] local.INFO: TCP Data received {"connection_id":109559,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:58:40] local.INFO: Processing buffer {"connection_id":109559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:58:40] local.INFO: IMEI packet received {"connection_id":109559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":109559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:58:41] local.INFO: TCP Data received {"connection_id":109559,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:41] local.INFO: Processing buffer {"connection_id":109559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:41] local.INFO: Packet analysis {"connection_id":109559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:58:41] local.INFO: Extracted packet for processing {"connection_id":109559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:58: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-06-21 14:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:58:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":109559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:58:41] local.INFO: GPS data processed {"connection_id":109559,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:58:41] local.INFO: Acknowledgment sent {"connection_id":109559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:58:46] local.INFO: TCP Data received {"connection_id":109559,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:46] local.INFO: Processing buffer {"connection_id":109559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:58:46] local.INFO: Packet analysis {"connection_id":109559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:58:46] local.INFO: Extracted packet for processing {"connection_id":109559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14: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-06-21 14:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:58: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-06-21 14:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14: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-06-21 14:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:58:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:58:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":109559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:58:46] local.INFO: GPS data processed {"connection_id":109559,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:58:46] local.INFO: Acknowledgment sent {"connection_id":109559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 14:59:30] local.INFO: TCP Data received {"connection_id":108957,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:59:30] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:59:30] local.INFO: IMEI packet received {"connection_id":108957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 14:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":108957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 14:59:35] local.INFO: TCP Data received {"connection_id":108957,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:59:35] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 14:59:35] local.INFO: IMEI packet received {"connection_id":108957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 14:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":108957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 14:59:36] local.INFO: TCP Data received {"connection_id":108957,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:59:36] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee97ec1b8012d34c58006aa3f50000e006721..."} 
[2026-06-21 14:59:36] local.INFO: Packet analysis {"connection_id":108957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:59:36] local.INFO: Extracted packet for processing {"connection_id":108957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee97e"} 
[2026-06-21 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":14,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 14:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200590848001,"note":"Value kept but may cause issues"} 
[2026-06-21 14:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 14:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 14:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 14:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782033859000,"timestamp_ms":1782033859000,"timestamp_seconds":1782033859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee97ec1b8"} 
[2026-06-21 14:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 14:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 14:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 14:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 14:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 14:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 14:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 14:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 14:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 14:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 14:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200590848001,"66":25517,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 14:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 14:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 14:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200590848001,"description":"Unknown IO ID 0"} 
[2026-06-21 14:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 14:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 14:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 14:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 14:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200590848001,"power":25517,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 14:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":108957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 14:59:36] local.INFO: GPS data processed {"connection_id":108957,"processed":1,"errors":0,"total":1} 
[2026-06-21 14:59:36] local.INFO: Acknowledgment sent {"connection_id":108957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:00:07] local.INFO: TCP Data received {"connection_id":108957,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:00:07] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:00:07] local.INFO: Packet analysis {"connection_id":108957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:00:07] local.INFO: Extracted packet for processing {"connection_id":108957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":108957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:00:07] local.INFO: GPS data processed {"connection_id":108957,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:00:07] local.INFO: Acknowledgment sent {"connection_id":108957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:00:29] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:00:29] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:00:29] local.INFO: IMEI packet received {"connection_id":110519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":110519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:00:35] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:00:35] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:00:35] local.INFO: IMEI packet received {"connection_id":110519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":110519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:00:36] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:00:36] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:00:36] local.INFO: Packet analysis {"connection_id":110519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:00:36] local.INFO: Extracted packet for processing {"connection_id":110519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:00:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":110519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:00:36] local.INFO: GPS data processed {"connection_id":110519,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:00:36] local.INFO: Acknowledgment sent {"connection_id":110519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:00:47] local.INFO: TCP Data received {"connection_id":109560,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:00:47] local.INFO: Processing buffer {"connection_id":109560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:00:47] local.INFO: IMEI packet received {"connection_id":109560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":109560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:01:09] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:09] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:09] local.INFO: Packet analysis {"connection_id":110519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:01:09] local.INFO: Extracted packet for processing {"connection_id":110519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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":795,"current_offset":40} 
[2026-06-21 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15: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-06-21 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":110519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:01:09] local.INFO: GPS data processed {"connection_id":110519,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:01:09] local.INFO: Acknowledgment sent {"connection_id":110519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:01:12] local.INFO: TCP Data received {"connection_id":110520,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:01:12] local.INFO: Processing buffer {"connection_id":110520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:01:12] local.INFO: IMEI packet received {"connection_id":110520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":110520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:01:35] local.INFO: TCP Data received {"connection_id":108767,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:01:35] local.INFO: Processing buffer {"connection_id":108767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:01:35] local.INFO: IMEI packet received {"connection_id":108767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":108767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:01:40] local.INFO: TCP Data received {"connection_id":108767,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:01:40] local.INFO: Processing buffer {"connection_id":108767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:01:40] local.INFO: IMEI packet received {"connection_id":108767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":108767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:01:41] local.INFO: TCP Data received {"connection_id":108767,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:41] local.INFO: Processing buffer {"connection_id":108767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:41] local.INFO: Packet analysis {"connection_id":108767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:01:41] local.INFO: Extracted packet for processing {"connection_id":108767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:01: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-06-21 15:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:01:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":108767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:01:41] local.INFO: GPS data processed {"connection_id":108767,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:01:41] local.INFO: Acknowledgment sent {"connection_id":108767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:01:45] local.INFO: TCP Data received {"connection_id":108767,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:45] local.INFO: Processing buffer {"connection_id":108767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:01:45] local.INFO: Packet analysis {"connection_id":108767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:01:45] local.INFO: Extracted packet for processing {"connection_id":108767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:01: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-06-21 15: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:01:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":108767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:01:45] local.INFO: GPS data processed {"connection_id":108767,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:01:45] local.INFO: Acknowledgment sent {"connection_id":108767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:02:30] local.INFO: TCP Data received {"connection_id":108768,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:02:30] local.INFO: Processing buffer {"connection_id":108768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:02:30] local.INFO: IMEI packet received {"connection_id":108768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":108768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:02:35] local.INFO: TCP Data received {"connection_id":108768,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:02:35] local.INFO: Processing buffer {"connection_id":108768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:02:35] local.INFO: IMEI packet received {"connection_id":108768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":108768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:02:37] local.INFO: TCP Data received {"connection_id":108768,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:02:37] local.INFO: Processing buffer {"connection_id":108768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:02:37] local.INFO: Packet analysis {"connection_id":108768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:02:37] local.INFO: Extracted packet for processing {"connection_id":108768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:02: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-06-21 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:02:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":108768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:02:37] local.INFO: GPS data processed {"connection_id":108768,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:02:37] local.INFO: Acknowledgment sent {"connection_id":108768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:03:09] local.INFO: TCP Data received {"connection_id":108768,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:03:09] local.INFO: Processing buffer {"connection_id":108768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:03:09] local.INFO: Packet analysis {"connection_id":108768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:03:09] local.INFO: Extracted packet for processing {"connection_id":108768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:03: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-06-21 15:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:03:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":108768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:03:09] local.INFO: GPS data processed {"connection_id":108768,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:03:09] local.INFO: Acknowledgment sent {"connection_id":108768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:03:30] local.INFO: TCP Data received {"connection_id":109561,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:03:30] local.INFO: Processing buffer {"connection_id":109561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:03:30] local.INFO: IMEI packet received {"connection_id":109561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":109561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:03:35] local.INFO: TCP Data received {"connection_id":109561,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:03:35] local.INFO: Processing buffer {"connection_id":109561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:03:35] local.INFO: IMEI packet received {"connection_id":109561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":109561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:03:36] local.INFO: TCP Data received {"connection_id":109561,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:03:36] local.INFO: Processing buffer {"connection_id":109561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:03:36] local.INFO: Packet analysis {"connection_id":109561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:03:36] local.INFO: Extracted packet for processing {"connection_id":109561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":109561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:03:36] local.INFO: GPS data processed {"connection_id":109561,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:03:36] local.INFO: Acknowledgment sent {"connection_id":109561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:04:10] local.INFO: TCP Data received {"connection_id":109561,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:04:10] local.INFO: Processing buffer {"connection_id":109561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:04:10] local.INFO: Packet analysis {"connection_id":109561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:04:10] local.INFO: Extracted packet for processing {"connection_id":109561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 15:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:04:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":109561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:04:10] local.INFO: GPS data processed {"connection_id":109561,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:04:10] local.INFO: Acknowledgment sent {"connection_id":109561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:04:29] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:04:29] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:04:29] local.INFO: IMEI packet received {"connection_id":108769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":108769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:04:35] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:04:35] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:04:35] local.INFO: IMEI packet received {"connection_id":108769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":108769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:04:37] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:04:37] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9835980012d34c58006aa3f50000a00671f..."} 
[2026-06-21 15:04:37] local.INFO: Packet analysis {"connection_id":108769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:04:37] local.INFO: Extracted packet for processing {"connection_id":108769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee983"} 
[2026-06-21 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200667904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782034160000,"timestamp_ms":1782034160000,"timestamp_seconds":1782034160,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9835980"} 
[2026-06-21 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-06-21 15:04: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-06-21 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200667904001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200667904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:04:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200667904001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":108769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:04:37] local.INFO: GPS data processed {"connection_id":108769,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:04:37] local.INFO: Acknowledgment sent {"connection_id":108769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:05:09] local.INFO: TCP Data received {"connection_id":108769,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:09] local.INFO: Processing buffer {"connection_id":108769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:09] local.INFO: Packet analysis {"connection_id":108769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:05:09] local.INFO: Extracted packet for processing {"connection_id":108769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05: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-06-21 15:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:05: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-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":108769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:05:09] local.INFO: GPS data processed {"connection_id":108769,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:05:09] local.INFO: Acknowledgment sent {"connection_id":108769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:05:35] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:05:35] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:05:35] local.INFO: IMEI packet received {"connection_id":108960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":108960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:05:40] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:05:40] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:05:40] local.INFO: IMEI packet received {"connection_id":108960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":108960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:05:41] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:41] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:41] local.INFO: Packet analysis {"connection_id":108960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:05:41] local.INFO: Extracted packet for processing {"connection_id":108960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:41] 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-06-21 15:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:05: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-06-21 15:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:05:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":108960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:05:41] local.INFO: GPS data processed {"connection_id":108960,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:05:41] local.INFO: Acknowledgment sent {"connection_id":108960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:05:46] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:46] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:05:46] local.INFO: Packet analysis {"connection_id":108960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:05:46] local.INFO: Extracted packet for processing {"connection_id":108960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:05:46] 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-06-21 15:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:05:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":108960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:05:46] local.INFO: GPS data processed {"connection_id":108960,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:05:46] local.INFO: Acknowledgment sent {"connection_id":108960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:06:30] local.INFO: TCP Data received {"connection_id":109562,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:06:30] local.INFO: Processing buffer {"connection_id":109562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:06:30] local.INFO: IMEI packet received {"connection_id":109562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":109562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:06:35] local.INFO: TCP Data received {"connection_id":109562,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:06:35] local.INFO: Processing buffer {"connection_id":109562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:06:35] local.INFO: IMEI packet received {"connection_id":109562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":109562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:06:36] local.INFO: TCP Data received {"connection_id":109562,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:06:36] local.INFO: Processing buffer {"connection_id":109562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:06:36] local.INFO: Packet analysis {"connection_id":109562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:06:36] local.INFO: Extracted packet for processing {"connection_id":109562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:06: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-06-21 15:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:06:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":109562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:06:36] local.INFO: GPS data processed {"connection_id":109562,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:06:36] local.INFO: Acknowledgment sent {"connection_id":109562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:06:42] local.INFO: TCP Data received {"connection_id":110523,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:06:42] local.INFO: Processing buffer {"connection_id":110523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:06:42] local.INFO: IMEI packet received {"connection_id":110523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":110523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:07:08] local.INFO: TCP Data received {"connection_id":109562,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:07:08] local.INFO: Processing buffer {"connection_id":109562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:07:08] local.INFO: Packet analysis {"connection_id":109562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:07:08] local.INFO: Extracted packet for processing {"connection_id":109562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:07:08] 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-06-21 15:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:07: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-06-21 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:07:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":109562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:07:08] local.INFO: GPS data processed {"connection_id":109562,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:07:08] local.INFO: Acknowledgment sent {"connection_id":109562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:07:12] local.INFO: TCP Data received {"connection_id":109563,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:07:12] local.INFO: Processing buffer {"connection_id":109563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:07:12] local.INFO: IMEI packet received {"connection_id":109563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":109563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:07:29] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:07:29] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:07:29] local.INFO: IMEI packet received {"connection_id":110524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":110524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:07:35] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:07:35] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:07:35] local.INFO: IMEI packet received {"connection_id":110524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":110524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:07:36] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:07:36] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:07:36] local.INFO: Packet analysis {"connection_id":110524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:07:36] local.INFO: Extracted packet for processing {"connection_id":110524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:07: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-06-21 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:07:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":110524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:07:36] local.INFO: GPS data processed {"connection_id":110524,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:07:36] local.INFO: Acknowledgment sent {"connection_id":110524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:08:08] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:08:08] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:08:08] local.INFO: Packet analysis {"connection_id":110524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:08:08] local.INFO: Extracted packet for processing {"connection_id":110524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:08:08] 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-06-21 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:08: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-06-21 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":110524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:08:08] local.INFO: GPS data processed {"connection_id":110524,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:08:08] local.INFO: Acknowledgment sent {"connection_id":110524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:08:29] local.INFO: TCP Data received {"connection_id":108962,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:08:29] local.INFO: Processing buffer {"connection_id":108962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:08:29] local.INFO: IMEI packet received {"connection_id":108962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":108962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:08:35] local.INFO: TCP Data received {"connection_id":108962,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:08:35] local.INFO: Processing buffer {"connection_id":108962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:08:35] local.INFO: IMEI packet received {"connection_id":108962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":108962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:08:36] local.INFO: TCP Data received {"connection_id":108962,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:08:36] local.INFO: Processing buffer {"connection_id":108962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:08:36] local.INFO: Packet analysis {"connection_id":108962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:08:36] local.INFO: Extracted packet for processing {"connection_id":108962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:08: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-06-21 15:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":108962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:08:36] local.INFO: GPS data processed {"connection_id":108962,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:08:36] local.INFO: Acknowledgment sent {"connection_id":108962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:09:08] local.INFO: TCP Data received {"connection_id":108962,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:09:08] local.INFO: Processing buffer {"connection_id":108962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:09:08] local.INFO: Packet analysis {"connection_id":108962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:09:08] local.INFO: Extracted packet for processing {"connection_id":108962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:09:08] 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-06-21 15:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:09: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-06-21 15:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:09:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":108962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:09:08] local.INFO: GPS data processed {"connection_id":108962,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:09:08] local.INFO: Acknowledgment sent {"connection_id":108962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:09:29] local.INFO: TCP Data received {"connection_id":109564,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:09:29] local.INFO: Processing buffer {"connection_id":109564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:09:29] local.INFO: IMEI packet received {"connection_id":109564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":109564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:09:35] local.INFO: TCP Data received {"connection_id":109564,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:09:35] local.INFO: Processing buffer {"connection_id":109564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:09:35] local.INFO: IMEI packet received {"connection_id":109564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":109564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:09:36] local.INFO: TCP Data received {"connection_id":109564,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:09:36] local.INFO: Processing buffer {"connection_id":109564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee987f148012d34c58006aa3f500008006723..."} 
[2026-06-21 15:09:36] local.INFO: Packet analysis {"connection_id":109564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:09:36] local.INFO: Extracted packet for processing {"connection_id":109564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee987"} 
[2026-06-21 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200744960001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:09: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-06-21 15:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034461000,"timestamp_ms":1782034461000,"timestamp_seconds":1782034461,"priority":1,"record_length":96,"hex_timestamp":"0000019ee987f148"} 
[2026-06-21 15:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200744960001,"66":25549,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200744960001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:09:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200744960001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":109564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:09:36] local.INFO: GPS data processed {"connection_id":109564,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:09:36] local.INFO: Acknowledgment sent {"connection_id":109564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:10:08] local.INFO: TCP Data received {"connection_id":109564,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:10:08] local.INFO: Processing buffer {"connection_id":109564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:10:08] local.INFO: Packet analysis {"connection_id":109564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:10:08] local.INFO: Extracted packet for processing {"connection_id":109564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:10:08] 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-06-21 15:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:10: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-06-21 15:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":109564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:10:08] local.INFO: GPS data processed {"connection_id":109564,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:10:08] local.INFO: Acknowledgment sent {"connection_id":109564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:10:35] local.INFO: TCP Data received {"connection_id":108963,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:10:35] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:10:35] local.INFO: IMEI packet received {"connection_id":108963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":108963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:10:40] local.INFO: TCP Data received {"connection_id":108963,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:10:40] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:10:40] local.INFO: IMEI packet received {"connection_id":108963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":108963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:10:41] local.INFO: TCP Data received {"connection_id":108963,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:10:41] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:10:41] local.INFO: Packet analysis {"connection_id":108963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:10:41] local.INFO: Extracted packet for processing {"connection_id":108963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:10:41] 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-06-21 15:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 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-06-21 15:10: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-06-21 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:10: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-06-21 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-06-21 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-06-21 15:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:10:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":108963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:10:41] local.INFO: GPS data processed {"connection_id":108963,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:10:41] local.INFO: Acknowledgment sent {"connection_id":108963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:11:13] local.INFO: TCP Data received {"connection_id":108963,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:11:13] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:11:13] local.INFO: Packet analysis {"connection_id":108963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:11:13] local.INFO: Extracted packet for processing {"connection_id":108963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:11:13] 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-06-21 15:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:11: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-06-21 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":108963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":108963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":108963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:11:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":108963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:11:13] local.INFO: GPS data processed {"connection_id":108963,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:11:13] local.INFO: Acknowledgment sent {"connection_id":108963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:11:30] local.INFO: TCP Data received {"connection_id":109565,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:11:30] local.INFO: Processing buffer {"connection_id":109565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:11:30] local.INFO: IMEI packet received {"connection_id":109565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":109565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:11:34] local.INFO: TCP Data received {"connection_id":109565,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:11:34] local.INFO: Processing buffer {"connection_id":109565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:11:34] local.INFO: IMEI packet received {"connection_id":109565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":109565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:11:36] local.INFO: TCP Data received {"connection_id":109565,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:11:36] local.INFO: Processing buffer {"connection_id":109565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:11:36] local.INFO: Packet analysis {"connection_id":109565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:11:36] local.INFO: Extracted packet for processing {"connection_id":109565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:11: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-06-21 15:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:11: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-06-21 15:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:11:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":109565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:11:36] local.INFO: GPS data processed {"connection_id":109565,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:11:36] local.INFO: Acknowledgment sent {"connection_id":109565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:12:07] local.INFO: TCP Data received {"connection_id":109565,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:12:07] local.INFO: Processing buffer {"connection_id":109565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:12:07] local.INFO: Packet analysis {"connection_id":109565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:12:07] local.INFO: Extracted packet for processing {"connection_id":109565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:12:07] 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-06-21 15:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:12: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-06-21 15:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":109565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:12:07] local.INFO: GPS data processed {"connection_id":109565,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:12:07] local.INFO: Acknowledgment sent {"connection_id":109565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:12:29] local.INFO: TCP Data received {"connection_id":109566,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:12:29] local.INFO: Processing buffer {"connection_id":109566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:12:29] local.INFO: IMEI packet received {"connection_id":109566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":109566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:12:35] local.INFO: TCP Data received {"connection_id":109566,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:12:35] local.INFO: Processing buffer {"connection_id":109566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:12:35] local.INFO: IMEI packet received {"connection_id":109566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":109566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:12:36] local.INFO: TCP Data received {"connection_id":109566,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:12:36] local.INFO: Processing buffer {"connection_id":109566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:12:36] local.INFO: Packet analysis {"connection_id":109566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:12:36] local.INFO: Extracted packet for processing {"connection_id":109566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:12: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-06-21 15:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:12: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-06-21 15:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:12:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":109566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:12:36] local.INFO: GPS data processed {"connection_id":109566,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:12:36] local.INFO: Acknowledgment sent {"connection_id":109566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:12:37] local.INFO: TCP Data received {"connection_id":110526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:12:37] local.INFO: Processing buffer {"connection_id":110526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:12:37] local.INFO: IMEI packet received {"connection_id":110526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":110526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:13:09] local.INFO: TCP Data received {"connection_id":109566,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:13:09] local.INFO: Processing buffer {"connection_id":109566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:13:09] local.INFO: Packet analysis {"connection_id":109566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:13:09] local.INFO: Extracted packet for processing {"connection_id":109566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:13: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-06-21 15:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:13: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-06-21 15:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:13: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-06-21 15:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:13:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:13:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":109566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:13:09] local.INFO: GPS data processed {"connection_id":109566,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:13:09] local.INFO: Acknowledgment sent {"connection_id":109566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:13:12] local.INFO: TCP Data received {"connection_id":108964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:13:12] local.INFO: Processing buffer {"connection_id":108964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:13:12] local.INFO: IMEI packet received {"connection_id":108964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":108964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:13:29] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:13:29] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:13:29] local.INFO: IMEI packet received {"connection_id":108772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":108772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:13:35] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:13:35] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:13:35] local.INFO: IMEI packet received {"connection_id":108772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":108772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:13:36] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:13:36] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:13:36] local.INFO: Packet analysis {"connection_id":108772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:13:36] local.INFO: Extracted packet for processing {"connection_id":108772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:13: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-06-21 15:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:13: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-06-21 15:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:13:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":108772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:13:36] local.INFO: GPS data processed {"connection_id":108772,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:13:36] local.INFO: Acknowledgment sent {"connection_id":108772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:14:08] local.INFO: TCP Data received {"connection_id":108772,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:08] local.INFO: Processing buffer {"connection_id":108772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:08] local.INFO: Packet analysis {"connection_id":108772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:14:08] local.INFO: Extracted packet for processing {"connection_id":108772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:08] 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-06-21 15:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:14: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-06-21 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":108772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:14:08] local.INFO: GPS data processed {"connection_id":108772,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:14:08] local.INFO: Acknowledgment sent {"connection_id":108772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:14:35] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:14:35] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:14:35] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:14:40] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:14:40] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:14:40] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:14:41] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:41] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:41] local.INFO: Packet analysis {"connection_id":110527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:14:41] local.INFO: Extracted packet for processing {"connection_id":110527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:41] 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-06-21 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 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-06-21 15:14: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-06-21 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:14: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-06-21 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-06-21 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-06-21 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:14:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":110527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:14:41] local.INFO: GPS data processed {"connection_id":110527,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:14:41] local.INFO: Acknowledgment sent {"connection_id":110527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:14:45] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:45] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee98c8528012d34c58006aa3f50000700671f..."} 
[2026-06-21 15:14:45] local.INFO: Packet analysis {"connection_id":110527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:14:45] local.INFO: Extracted packet for processing {"connection_id":110527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee98c"} 
[2026-06-21 15:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200822016001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:14:45] 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-06-21 15:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782034761000,"timestamp_ms":1782034761000,"timestamp_seconds":1782034761,"priority":1,"record_length":96,"hex_timestamp":"0000019ee98c8528"} 
[2026-06-21 15:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:14: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-06-21 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 15:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200822016001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200822016001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:14:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:14:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200822016001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":110527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:14:45] local.INFO: GPS data processed {"connection_id":110527,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:14:45] local.INFO: Acknowledgment sent {"connection_id":110527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:15:30] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:15:30] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:15:30] local.INFO: IMEI packet received {"connection_id":110528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":110528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:15:35] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:15:35] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:15:35] local.INFO: IMEI packet received {"connection_id":110528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":110528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:15:36] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:15:36] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:15:36] local.INFO: Packet analysis {"connection_id":110528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:15:36] local.INFO: Extracted packet for processing {"connection_id":110528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:15: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-06-21 15:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 15:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":110528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:15:37] local.INFO: GPS data processed {"connection_id":110528,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:15:37] local.INFO: Acknowledgment sent {"connection_id":110528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:16:10] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:16:10] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:16:10] local.INFO: Packet analysis {"connection_id":110528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:16:10] local.INFO: Extracted packet for processing {"connection_id":110528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:16:10] 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-06-21 15:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 15:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:16:10] 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-06-21 15:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:16:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:16:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":110528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:16:10] local.INFO: GPS data processed {"connection_id":110528,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:16:10] local.INFO: Acknowledgment sent {"connection_id":110528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:16:29] local.INFO: TCP Data received {"connection_id":108774,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:16:29] local.INFO: Processing buffer {"connection_id":108774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:16:29] local.INFO: IMEI packet received {"connection_id":108774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":108774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:16:35] local.INFO: TCP Data received {"connection_id":108774,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:16:35] local.INFO: Processing buffer {"connection_id":108774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:16:35] local.INFO: IMEI packet received {"connection_id":108774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":108774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:16:36] local.INFO: TCP Data received {"connection_id":108774,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:16:36] local.INFO: Processing buffer {"connection_id":108774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:16:36] local.INFO: Packet analysis {"connection_id":108774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:16:36] local.INFO: Extracted packet for processing {"connection_id":108774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:16: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-06-21 15:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 15:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":108774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:16:36] local.INFO: GPS data processed {"connection_id":108774,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:16:36] local.INFO: Acknowledgment sent {"connection_id":108774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:17:08] local.INFO: TCP Data received {"connection_id":108774,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:17:08] local.INFO: Processing buffer {"connection_id":108774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:17:08] local.INFO: Packet analysis {"connection_id":108774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:17:08] local.INFO: Extracted packet for processing {"connection_id":108774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:17:08] 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-06-21 15:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 15:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:17: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-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":108774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:17:08] local.INFO: GPS data processed {"connection_id":108774,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:17:08] local.INFO: Acknowledgment sent {"connection_id":108774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:17:29] local.INFO: TCP Data received {"connection_id":110529,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:17:29] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:17:29] local.INFO: IMEI packet received {"connection_id":110529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":110529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:17:35] local.INFO: TCP Data received {"connection_id":110529,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:17:35] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:17:35] local.INFO: IMEI packet received {"connection_id":110529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":110529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:17:36] local.INFO: TCP Data received {"connection_id":110529,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:17:36] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:17:36] local.INFO: Packet analysis {"connection_id":110529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:17:36] local.INFO: Extracted packet for processing {"connection_id":110529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:17: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-06-21 15:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 15:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:17:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:17:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":110529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:17:36] local.INFO: GPS data processed {"connection_id":110529,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:17:36] local.INFO: Acknowledgment sent {"connection_id":110529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:18:08] local.INFO: TCP Data received {"connection_id":110529,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:08] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:08] local.INFO: Packet analysis {"connection_id":110529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:18:08] local.INFO: Extracted packet for processing {"connection_id":110529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:08] 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-06-21 15:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 15:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:18: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-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:18:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":110529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:18:08] local.INFO: GPS data processed {"connection_id":110529,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:18:08] local.INFO: Acknowledgment sent {"connection_id":110529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:18:27] local.INFO: TCP Data received {"connection_id":108776,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:18:27] local.INFO: Processing buffer {"connection_id":108776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:18:27] local.INFO: IMEI packet received {"connection_id":108776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":108776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:18:35] local.INFO: TCP Data received {"connection_id":108965,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:18:35] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:18:35] local.INFO: IMEI packet received {"connection_id":108965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":108965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:18:40] local.INFO: TCP Data received {"connection_id":108965,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:18:40] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:18:40] local.INFO: IMEI packet received {"connection_id":108965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":108965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:18:41] local.INFO: TCP Data received {"connection_id":108965,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:41] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:41] local.INFO: Packet analysis {"connection_id":108965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:18:41] local.INFO: Extracted packet for processing {"connection_id":108965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:41] 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-06-21 15:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 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-06-21 15:18: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-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:18:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":108965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:18:41] local.INFO: GPS data processed {"connection_id":108965,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:18:41] local.INFO: Acknowledgment sent {"connection_id":108965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:18:47] local.INFO: TCP Data received {"connection_id":108965,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:47] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:18:47] local.INFO: Packet analysis {"connection_id":108965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:18:47] local.INFO: Extracted packet for processing {"connection_id":108965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 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-06-21 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:18:47] 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-06-21 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-06-21 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-06-21 15:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":108965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":108965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":108965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:18:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":108965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:18:47] local.INFO: GPS data processed {"connection_id":108965,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:18:47] local.INFO: Acknowledgment sent {"connection_id":108965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:19:12] local.INFO: TCP Data received {"connection_id":109569,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:19:12] local.INFO: Processing buffer {"connection_id":109569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:19:12] local.INFO: IMEI packet received {"connection_id":109569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":109569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:19:30] local.INFO: TCP Data received {"connection_id":109570,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:19:30] local.INFO: Processing buffer {"connection_id":109570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:19:30] local.INFO: IMEI packet received {"connection_id":109570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":109570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:19:35] local.INFO: TCP Data received {"connection_id":109570,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:19:35] local.INFO: Processing buffer {"connection_id":109570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:19:35] local.INFO: IMEI packet received {"connection_id":109570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":109570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:19:36] local.INFO: TCP Data received {"connection_id":109570,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:19:36] local.INFO: Processing buffer {"connection_id":109570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9911cf0012d34c58006aa3f50000700671e..."} 
[2026-06-21 15:19:36] local.INFO: Packet analysis {"connection_id":109570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:19:36] local.INFO: Extracted packet for processing {"connection_id":109570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee991"} 
[2026-06-21 15:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200898816001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:19: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-06-21 15:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035062000,"timestamp_ms":1782035062000,"timestamp_seconds":1782035062,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9911cf0"} 
[2026-06-21 15:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200898816001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200898816001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:19:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200898816001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":109570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:19:36] local.INFO: GPS data processed {"connection_id":109570,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:19:36] local.INFO: Acknowledgment sent {"connection_id":109570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:20:08] local.INFO: TCP Data received {"connection_id":109570,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:20:08] local.INFO: Processing buffer {"connection_id":109570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:20:08] local.INFO: Packet analysis {"connection_id":109570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:20:08] local.INFO: Extracted packet for processing {"connection_id":109570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:20:08] 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-06-21 15:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:20: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-06-21 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":109570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:20:08] local.INFO: GPS data processed {"connection_id":109570,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:20:08] local.INFO: Acknowledgment sent {"connection_id":109570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:20:30] local.INFO: TCP Data received {"connection_id":108778,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:20:30] local.INFO: Processing buffer {"connection_id":108778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:20:30] local.INFO: IMEI packet received {"connection_id":108778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":108778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:20:35] local.INFO: TCP Data received {"connection_id":108778,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:20:35] local.INFO: Processing buffer {"connection_id":108778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:20:35] local.INFO: IMEI packet received {"connection_id":108778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":108778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:20:36] local.INFO: TCP Data received {"connection_id":108778,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:20:36] local.INFO: Processing buffer {"connection_id":108778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:20:36] local.INFO: Packet analysis {"connection_id":108778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:20:36] local.INFO: Extracted packet for processing {"connection_id":108778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:20: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-06-21 15:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:20:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":108778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:20:36] local.INFO: GPS data processed {"connection_id":108778,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:20:36] local.INFO: Acknowledgment sent {"connection_id":108778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:21:08] local.INFO: TCP Data received {"connection_id":108778,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:21:08] local.INFO: Processing buffer {"connection_id":108778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:21:08] local.INFO: Packet analysis {"connection_id":108778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:21:08] local.INFO: Extracted packet for processing {"connection_id":108778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:21:08] 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-06-21 15:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:21: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-06-21 15:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:21:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":108778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:21:08] local.INFO: GPS data processed {"connection_id":108778,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:21:08] local.INFO: Acknowledgment sent {"connection_id":108778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:21:29] local.INFO: TCP Data received {"connection_id":110531,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:21:29] local.INFO: Processing buffer {"connection_id":110531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:21:29] local.INFO: IMEI packet received {"connection_id":110531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":110531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:21:35] local.INFO: TCP Data received {"connection_id":110531,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:21:35] local.INFO: Processing buffer {"connection_id":110531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:21:35] local.INFO: IMEI packet received {"connection_id":110531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":110531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:21:36] local.INFO: TCP Data received {"connection_id":110531,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:21:36] local.INFO: Processing buffer {"connection_id":110531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:21:36] local.INFO: Packet analysis {"connection_id":110531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:21:36] local.INFO: Extracted packet for processing {"connection_id":110531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:21: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-06-21 15:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:21:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":110531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:21:36] local.INFO: GPS data processed {"connection_id":110531,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:21:36] local.INFO: Acknowledgment sent {"connection_id":110531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:22:08] local.INFO: TCP Data received {"connection_id":110531,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:22:08] local.INFO: Processing buffer {"connection_id":110531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:22:08] local.INFO: Packet analysis {"connection_id":110531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:22:08] local.INFO: Extracted packet for processing {"connection_id":110531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:22:08] 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-06-21 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:22: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-06-21 15:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:22:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":110531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:22:08] local.INFO: GPS data processed {"connection_id":110531,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:22:08] local.INFO: Acknowledgment sent {"connection_id":110531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:22:29] local.INFO: TCP Data received {"connection_id":108779,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:22:29] local.INFO: Processing buffer {"connection_id":108779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:22:29] local.INFO: IMEI packet received {"connection_id":108779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":108779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:22:35] local.INFO: TCP Data received {"connection_id":108779,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:22:35] local.INFO: Processing buffer {"connection_id":108779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:22:35] local.INFO: IMEI packet received {"connection_id":108779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":108779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:22:36] local.INFO: TCP Data received {"connection_id":108779,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:22:36] local.INFO: Processing buffer {"connection_id":108779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:22:36] local.INFO: Packet analysis {"connection_id":108779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:22:36] local.INFO: Extracted packet for processing {"connection_id":108779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:22: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-06-21 15:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:22:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":108779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:22:36] local.INFO: GPS data processed {"connection_id":108779,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:22:36] local.INFO: Acknowledgment sent {"connection_id":108779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:23:08] local.INFO: TCP Data received {"connection_id":108779,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:08] local.INFO: Processing buffer {"connection_id":108779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:08] local.INFO: Packet analysis {"connection_id":108779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:23:08] local.INFO: Extracted packet for processing {"connection_id":108779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:08] 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-06-21 15:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:23: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-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:23:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":108779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:23:08] local.INFO: GPS data processed {"connection_id":108779,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:23:08] local.INFO: Acknowledgment sent {"connection_id":108779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:23:35] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:23:35] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:23:35] local.INFO: IMEI packet received {"connection_id":108967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":108967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:23:40] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:23:40] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:23:40] local.INFO: IMEI packet received {"connection_id":108967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":108967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:23:41] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:41] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:41] local.INFO: Packet analysis {"connection_id":108967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:23:41] local.INFO: Extracted packet for processing {"connection_id":108967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:41] 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-06-21 15:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:23: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-06-21 15:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:23:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":108967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:23:41] local.INFO: GPS data processed {"connection_id":108967,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:23:41] local.INFO: Acknowledgment sent {"connection_id":108967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:23:46] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:46] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:23:46] local.INFO: Packet analysis {"connection_id":108967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:23:46] local.INFO: Extracted packet for processing {"connection_id":108967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:23:46] 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-06-21 15:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:23: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-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:23:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":108967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:23:46] local.INFO: GPS data processed {"connection_id":108967,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:23:46] local.INFO: Acknowledgment sent {"connection_id":108967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:24:30] local.INFO: TCP Data received {"connection_id":109574,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:24:30] local.INFO: Processing buffer {"connection_id":109574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:24:30] local.INFO: IMEI packet received {"connection_id":109574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":109574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:24:35] local.INFO: TCP Data received {"connection_id":109574,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:24:35] local.INFO: Processing buffer {"connection_id":109574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:24:35] local.INFO: IMEI packet received {"connection_id":109574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":109574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:24:36] local.INFO: TCP Data received {"connection_id":109574,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:24:36] local.INFO: Processing buffer {"connection_id":109574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee995bc88012d34c58006aa3f500007006720..."} 
[2026-06-21 15:24:36] local.INFO: Packet analysis {"connection_id":109574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:24:36] local.INFO: Extracted packet for processing {"connection_id":109574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee995"} 
[2026-06-21 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456200975872001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:24: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-06-21 15:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035365000,"timestamp_ms":1782035365000,"timestamp_seconds":1782035365,"priority":1,"record_length":96,"hex_timestamp":"0000019ee995bc88"} 
[2026-06-21 15:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456200975872001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456200975872001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456200975872001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":109574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:24:36] local.INFO: GPS data processed {"connection_id":109574,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:24:36] local.INFO: Acknowledgment sent {"connection_id":109574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:24:42] local.INFO: TCP Data received {"connection_id":109573,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:24:42] local.INFO: Processing buffer {"connection_id":109573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:24:42] local.INFO: IMEI packet received {"connection_id":109573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":109573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:25:08] local.INFO: TCP Data received {"connection_id":109574,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:25:08] local.INFO: Processing buffer {"connection_id":109574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:25:08] local.INFO: Packet analysis {"connection_id":109574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:25:08] local.INFO: Extracted packet for processing {"connection_id":109574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:25:08] 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-06-21 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:25: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-06-21 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:25:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":109574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:25:08] local.INFO: GPS data processed {"connection_id":109574,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:25:08] local.INFO: Acknowledgment sent {"connection_id":109574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:25:12] local.INFO: TCP Data received {"connection_id":108780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:25:12] local.INFO: Processing buffer {"connection_id":108780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:25:12] local.INFO: IMEI packet received {"connection_id":108780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":108780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:25:29] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:25:29] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:25:29] local.INFO: IMEI packet received {"connection_id":108781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":108781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:25:35] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:25:35] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:25:35] local.INFO: IMEI packet received {"connection_id":108781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":108781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:25:36] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:25:36] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:25:36] local.INFO: Packet analysis {"connection_id":108781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:25:36] local.INFO: Extracted packet for processing {"connection_id":108781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:25: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-06-21 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:25:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":108781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:25:36] local.INFO: GPS data processed {"connection_id":108781,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:25:36] local.INFO: Acknowledgment sent {"connection_id":108781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:26:09] local.INFO: TCP Data received {"connection_id":108781,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:26:09] local.INFO: Processing buffer {"connection_id":108781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:26:09] local.INFO: Packet analysis {"connection_id":108781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:26:09] local.INFO: Extracted packet for processing {"connection_id":108781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:26: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-06-21 15:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:26: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-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:26:09] 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-06-21 15:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":108781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:26:09] local.INFO: GPS data processed {"connection_id":108781,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:26:09] local.INFO: Acknowledgment sent {"connection_id":108781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:26:29] local.INFO: TCP Data received {"connection_id":110533,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:26:29] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:26:29] local.INFO: IMEI packet received {"connection_id":110533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":110533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:26:35] local.INFO: TCP Data received {"connection_id":110533,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:26:35] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:26:35] local.INFO: IMEI packet received {"connection_id":110533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":110533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:26:36] local.INFO: TCP Data received {"connection_id":110533,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:26:36] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:26:36] local.INFO: Packet analysis {"connection_id":110533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:26:36] local.INFO: Extracted packet for processing {"connection_id":110533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:26: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-06-21 15:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":110533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:26:36] local.INFO: GPS data processed {"connection_id":110533,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:26:36] local.INFO: Acknowledgment sent {"connection_id":110533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:27:09] local.INFO: TCP Data received {"connection_id":110533,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:09] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:09] local.INFO: Packet analysis {"connection_id":110533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:27:09] local.INFO: Extracted packet for processing {"connection_id":110533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27: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-06-21 15:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:27: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-06-21 15:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:27:09] 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-06-21 15: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-06-21 15:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":110533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:27:09] local.INFO: GPS data processed {"connection_id":110533,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:27:09] local.INFO: Acknowledgment sent {"connection_id":110533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:27:35] local.INFO: TCP Data received {"connection_id":109575,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:27:35] local.INFO: Processing buffer {"connection_id":109575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:27:35] local.INFO: IMEI packet received {"connection_id":109575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":109575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:27:40] local.INFO: TCP Data received {"connection_id":109575,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:27:40] local.INFO: Processing buffer {"connection_id":109575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:27:40] local.INFO: IMEI packet received {"connection_id":109575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":109575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:27:41] local.INFO: TCP Data received {"connection_id":109575,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:41] local.INFO: Processing buffer {"connection_id":109575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:41] local.INFO: Packet analysis {"connection_id":109575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:27:41] local.INFO: Extracted packet for processing {"connection_id":109575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:41] 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-06-21 15:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:27: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-06-21 15:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:27:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:27:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":109575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:27:41] local.INFO: GPS data processed {"connection_id":109575,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:27:41] local.INFO: Acknowledgment sent {"connection_id":109575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:27:46] local.INFO: TCP Data received {"connection_id":109575,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:46] local.INFO: Processing buffer {"connection_id":109575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:27:46] local.INFO: Packet analysis {"connection_id":109575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:27:46] local.INFO: Extracted packet for processing {"connection_id":109575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:27:46] 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-06-21 15:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:27: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-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:27:46] 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-06-21 15: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-06-21 15:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:27:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":109575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:27:46] local.INFO: GPS data processed {"connection_id":109575,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:27:46] local.INFO: Acknowledgment sent {"connection_id":109575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:28:30] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:28:30] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:28:30] local.INFO: IMEI packet received {"connection_id":108784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":108784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:28:35] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:28:35] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:28:35] local.INFO: IMEI packet received {"connection_id":108784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":108784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:28:37] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:28:37] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:28:37] local.INFO: Packet analysis {"connection_id":108784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:28:37] local.INFO: Extracted packet for processing {"connection_id":108784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:28:37] 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-06-21 15:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:28: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-06-21 15:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:28: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-06-21 15: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-06-21 15:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:28:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":108784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:28:37] local.INFO: GPS data processed {"connection_id":108784,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:28:37] local.INFO: Acknowledgment sent {"connection_id":108784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:28:40] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:28:40] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:28:40] local.INFO: Packet analysis {"connection_id":108784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:28:40] local.INFO: Extracted packet for processing {"connection_id":108784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:28: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-06-21 15:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 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-06-21 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:28: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-06-21 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-06-21 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-06-21 15:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":108784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:28:40] local.INFO: GPS data processed {"connection_id":108784,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:28:40] local.INFO: Acknowledgment sent {"connection_id":108784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:29:12] local.INFO: TCP Data received {"connection_id":108784,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:29:12] local.INFO: Processing buffer {"connection_id":108784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:29:12] local.INFO: Packet analysis {"connection_id":108784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:29:12] local.INFO: Extracted packet for processing {"connection_id":108784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:29:12] 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-06-21 15:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 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-06-21 15: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-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:29: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-06-21 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-06-21 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-06-21 15:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":108784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:29:12] local.INFO: GPS data processed {"connection_id":108784,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:29:12] local.INFO: Acknowledgment sent {"connection_id":108784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:29:30] local.INFO: TCP Data received {"connection_id":109577,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:29:30] local.INFO: Processing buffer {"connection_id":109577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:29:30] local.INFO: IMEI packet received {"connection_id":109577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":109577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:29:35] local.INFO: TCP Data received {"connection_id":109577,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:29:35] local.INFO: Processing buffer {"connection_id":109577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:29:35] local.INFO: IMEI packet received {"connection_id":109577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":109577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:29:36] local.INFO: TCP Data received {"connection_id":109577,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:29:36] local.INFO: Processing buffer {"connection_id":109577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99a67d8012d34c58006aa3f50000a006722..."} 
[2026-06-21 15:29:36] local.INFO: Packet analysis {"connection_id":109577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:29:36] local.INFO: Extracted packet for processing {"connection_id":109577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99a"} 
[2026-06-21 15:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201053440001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:29: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-06-21 15:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035671000,"timestamp_ms":1782035671000,"timestamp_seconds":1782035671,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99a67d8"} 
[2026-06-21 15:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201053440001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201053440001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:29:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201053440001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":109577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:29:36] local.INFO: GPS data processed {"connection_id":109577,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:29:36] local.INFO: Acknowledgment sent {"connection_id":109577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:30:08] local.INFO: TCP Data received {"connection_id":109577,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:30:08] local.INFO: Processing buffer {"connection_id":109577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:30:08] local.INFO: Packet analysis {"connection_id":109577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:30:08] local.INFO: Extracted packet for processing {"connection_id":109577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:30:08] 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-06-21 15:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:30:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":109577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:30:08] local.INFO: GPS data processed {"connection_id":109577,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:30:08] local.INFO: Acknowledgment sent {"connection_id":109577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:30:29] local.INFO: TCP Data received {"connection_id":108968,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:30:29] local.INFO: Processing buffer {"connection_id":108968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:30:29] local.INFO: IMEI packet received {"connection_id":108968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":108968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:30:35] local.INFO: TCP Data received {"connection_id":108968,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:30:35] local.INFO: Processing buffer {"connection_id":108968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:30:35] local.INFO: IMEI packet received {"connection_id":108968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":108968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:30:36] local.INFO: TCP Data received {"connection_id":108968,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:30:36] local.INFO: Processing buffer {"connection_id":108968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:30:36] local.INFO: Packet analysis {"connection_id":108968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:30:36] local.INFO: Extracted packet for processing {"connection_id":108968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:30: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-06-21 15:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:30:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":108968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:30:36] local.INFO: GPS data processed {"connection_id":108968,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:30:36] local.INFO: Acknowledgment sent {"connection_id":108968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:30:37] local.INFO: TCP Data received {"connection_id":109578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:30:37] local.INFO: Processing buffer {"connection_id":109578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:30:37] local.INFO: IMEI packet received {"connection_id":109578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":109578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:31:08] local.INFO: TCP Data received {"connection_id":108968,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:31:08] local.INFO: Processing buffer {"connection_id":108968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:31:08] local.INFO: Packet analysis {"connection_id":108968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:31:08] local.INFO: Extracted packet for processing {"connection_id":108968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:31:08] 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-06-21 15:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":108968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:31:08] local.INFO: GPS data processed {"connection_id":108968,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:31:08] local.INFO: Acknowledgment sent {"connection_id":108968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:31:17] local.INFO: TCP Data received {"connection_id":108785,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:31:17] local.INFO: Processing buffer {"connection_id":108785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:31:17] local.INFO: IMEI packet received {"connection_id":108785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":108785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:31:29] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:31:29] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:31:29] local.INFO: IMEI packet received {"connection_id":110534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":110534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:31:35] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:31:35] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:31:35] local.INFO: IMEI packet received {"connection_id":110534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":110534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:31:36] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:31:36] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:31:36] local.INFO: Packet analysis {"connection_id":110534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:31:36] local.INFO: Extracted packet for processing {"connection_id":110534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:31: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-06-21 15:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":110534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:31:36] local.INFO: GPS data processed {"connection_id":110534,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:31:36] local.INFO: Acknowledgment sent {"connection_id":110534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:31:43] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:43] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:43] local.INFO: IMEI packet received {"connection_id":108786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":108786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:31:44] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:44] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:44] local.INFO: IMEI packet received {"connection_id":108786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":108786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:31:48] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:48] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:31:48] local.INFO: IMEI packet received {"connection_id":108786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":108786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:31:49] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-21 15:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-21 15:31:49] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-21 15:31:49] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-21 15:31:49] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-21 15:31:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:31:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:31:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:31:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 15:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-21 15:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-21 15:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 15:31:49] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 15:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 15:31:49] local.ERROR: GPS data processing failed {"connection_id":108786,"error":"No valid data to process"} 
[2026-06-21 15:31:49] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 15:32:08] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:08] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:08] local.INFO: Packet analysis {"connection_id":110534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:32:08] local.INFO: Extracted packet for processing {"connection_id":110534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:08] 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-06-21 15:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":110534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:32:08] local.INFO: GPS data processed {"connection_id":110534,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:32:08] local.INFO: Acknowledgment sent {"connection_id":110534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:32:20] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-21 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-21 15:32:20] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-21 15:32:20] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-21 15:32:20] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-21 15:32: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-06-21 15:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:32:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:32:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 15:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-21 15:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-21 15:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 15:32:20] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 15:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 15:32:20] local.ERROR: GPS data processing failed {"connection_id":108786,"error":"No valid data to process"} 
[2026-06-21 15:32:20] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 15:32:35] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:32:35] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:32:35] local.INFO: IMEI packet received {"connection_id":108788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":108788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:32:40] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:32:40] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:32:40] local.INFO: IMEI packet received {"connection_id":108788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":108788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:32:41] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:41] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:41] local.INFO: Packet analysis {"connection_id":108788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:32:41] local.INFO: Extracted packet for processing {"connection_id":108788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:41] 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-06-21 15:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 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-06-21 15:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:32:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":108788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:32:41] local.INFO: GPS data processed {"connection_id":108788,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:32:41] local.INFO: Acknowledgment sent {"connection_id":108788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:32:46] local.INFO: TCP Data received {"connection_id":108788,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:46] local.INFO: Processing buffer {"connection_id":108788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:32:46] local.INFO: Packet analysis {"connection_id":108788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:32:46] local.INFO: Extracted packet for processing {"connection_id":108788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:46] 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-06-21 15:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:32:46] 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-06-21 15: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-06-21 15:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:32:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:32:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":108788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:32:46] local.INFO: GPS data processed {"connection_id":108788,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:32:46] local.INFO: Acknowledgment sent {"connection_id":108788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:32:52] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a1a3680100000000000000000000000000..."} 
[2026-06-21 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a1a3680100000000000000000000000000..."} 
[2026-06-21 15:32:52] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a1a3680100000000000000000000000000..."} 
[2026-06-21 15:32:52] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a1"} 
[2026-06-21 15:32:52] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a1"} 
[2026-06-21 15:32:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:32:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782036145000,"timestamp_ms":1782036145000,"timestamp_seconds":1782036145,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a1a368"} 
[2026-06-21 15:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-21 15:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:32:52] local.INFO: GPS data processed {"connection_id":108786,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:32:52] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:33:24] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a1f5700100000000000000000000000000..."} 
[2026-06-21 15:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a1f5700100000000000000000000000000..."} 
[2026-06-21 15:33:24] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a1f5700100000000000000000000000000..."} 
[2026-06-21 15:33:24] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a1"} 
[2026-06-21 15:33:24] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a1"} 
[2026-06-21 15:33:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:33:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782036166000,"timestamp_ms":1782036166000,"timestamp_seconds":1782036166,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a1f570"} 
[2026-06-21 15:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:33: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-06-21 15:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-21 15:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:33:24] local.INFO: GPS data processed {"connection_id":108786,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:33:24] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:33:30] local.INFO: TCP Data received {"connection_id":110536,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:33:30] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:33:30] local.INFO: IMEI packet received {"connection_id":110536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":110536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:33:35] local.INFO: TCP Data received {"connection_id":110536,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:33:35] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:33:35] local.INFO: IMEI packet received {"connection_id":110536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":110536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:33:36] local.INFO: TCP Data received {"connection_id":110536,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:33:36] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:33:36] local.INFO: Packet analysis {"connection_id":110536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:33:36] local.INFO: Extracted packet for processing {"connection_id":110536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:33: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-06-21 15:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:33:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":110536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:33:36] local.INFO: GPS data processed {"connection_id":110536,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:33:36] local.INFO: Acknowledgment sent {"connection_id":110536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:33:55] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a247780100000000000000000000000000..."} 
[2026-06-21 15:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a247780100000000000000000000000000..."} 
[2026-06-21 15:33:55] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a247780100000000000000000000000000..."} 
[2026-06-21 15:33:55] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a2"} 
[2026-06-21 15:33:55] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a2"} 
[2026-06-21 15:33:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:33:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782036187000,"timestamp_ms":1782036187000,"timestamp_seconds":1782036187,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a24778"} 
[2026-06-21 15:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-21 15:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:33:55] local.INFO: GPS data processed {"connection_id":108786,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:33:55] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:34:08] local.INFO: TCP Data received {"connection_id":110536,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:34:08] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:34:08] local.INFO: Packet analysis {"connection_id":110536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:34:08] local.INFO: Extracted packet for processing {"connection_id":110536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:34:08] 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-06-21 15:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":110536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:34:08] local.INFO: GPS data processed {"connection_id":110536,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:34:08] local.INFO: Acknowledgment sent {"connection_id":110536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:34:30] local.INFO: TCP Data received {"connection_id":109579,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:34:30] local.INFO: Processing buffer {"connection_id":109579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:34:30] local.INFO: IMEI packet received {"connection_id":109579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":109579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:34:35] local.INFO: TCP Data received {"connection_id":109579,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:34:35] local.INFO: Processing buffer {"connection_id":109579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:34:35] local.INFO: IMEI packet received {"connection_id":109579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":109579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:34:36] local.INFO: TCP Data received {"connection_id":109579,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:34:36] local.INFO: Processing buffer {"connection_id":109579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee99f0388012d34c58006aa3f500003006722..."} 
[2026-06-21 15:34:36] local.INFO: Packet analysis {"connection_id":109579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:34:36] local.INFO: Extracted packet for processing {"connection_id":109579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee99f"} 
[2026-06-21 15:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":3,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201131776001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:34: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-06-21 15:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782035973000,"timestamp_ms":1782035973000,"timestamp_seconds":1782035973,"priority":1,"record_length":96,"hex_timestamp":"0000019ee99f0388"} 
[2026-06-21 15:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201131776001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201131776001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201131776001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":109579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:34:37] local.INFO: GPS data processed {"connection_id":109579,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:34:37] local.INFO: Acknowledgment sent {"connection_id":109579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:34:49] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a299800100000000000000000000000000..."} 
[2026-06-21 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a299800100000000000000000000000000..."} 
[2026-06-21 15:34:49] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a299800100000000000000000000000000..."} 
[2026-06-21 15:34:49] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a2"} 
[2026-06-21 15:34:49] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a2"} 
[2026-06-21 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:34:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782036208000,"timestamp_ms":1782036208000,"timestamp_seconds":1782036208,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a29980"} 
[2026-06-21 15:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 15:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:34:49] local.INFO: GPS data processed {"connection_id":108786,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:34:49] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:35:08] local.INFO: TCP Data received {"connection_id":109579,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:35:08] local.INFO: Processing buffer {"connection_id":109579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:35:08] local.INFO: Packet analysis {"connection_id":109579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:35:08] local.INFO: Extracted packet for processing {"connection_id":109579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35:08] 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-06-21 15:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:35:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":109579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:35:08] local.INFO: GPS data processed {"connection_id":109579,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:35:08] local.INFO: Acknowledgment sent {"connection_id":109579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:35:20] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a2eb880100000000000000000000000000..."} 
[2026-06-21 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a2eb880100000000000000000000000000..."} 
[2026-06-21 15:35:20] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a2eb880100000000000000000000000000..."} 
[2026-06-21 15:35:20] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a2"} 
[2026-06-21 15:35:20] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a2"} 
[2026-06-21 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782036229000,"timestamp_ms":1782036229000,"timestamp_seconds":1782036229,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a2eb88"} 
[2026-06-21 15:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 15:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:35:20] local.INFO: GPS data processed {"connection_id":108786,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:35:20] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:35:29] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:35:29] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:35:29] local.INFO: IMEI packet received {"connection_id":110537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":110537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:35:35] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:35:35] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:35:35] local.INFO: IMEI packet received {"connection_id":110537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":110537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:35:36] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:35:36] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:35:36] local.INFO: Packet analysis {"connection_id":110537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:35:36] local.INFO: Extracted packet for processing {"connection_id":110537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35: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-06-21 15:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:35:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":110537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:35:36] local.INFO: GPS data processed {"connection_id":110537,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:35:36] local.INFO: Acknowledgment sent {"connection_id":110537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:35:51] local.INFO: TCP Data received {"connection_id":108786,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a33d900100000000000000000000000000..."} 
[2026-06-21 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a33d900100000000000000000000000000..."} 
[2026-06-21 15:35:51] local.INFO: Processing buffer {"connection_id":108786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a33d900100000000000000000000000000..."} 
[2026-06-21 15:35:51] local.INFO: Packet analysis {"connection_id":108786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:35:51] local.INFO: Extracted packet for processing {"connection_id":108786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:35:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782036250000,"timestamp_ms":1782036250000,"timestamp_seconds":1782036250,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a33d90"} 
[2026-06-21 15:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 15:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":108786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":108786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":108786,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:35:51] local.INFO: GPS data processed {"connection_id":108786,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:35:51] local.INFO: Acknowledgment sent {"connection_id":108786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:36:08] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:08] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:08] local.INFO: Packet analysis {"connection_id":110537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:08] local.INFO: Extracted packet for processing {"connection_id":110537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:08] 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-06-21 15:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:36:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":110537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:36:08] local.INFO: GPS data processed {"connection_id":110537,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:36:08] local.INFO: Acknowledgment sent {"connection_id":110537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:36:23] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:36:23] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:36:23] local.INFO: IMEI packet received {"connection_id":110538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":110538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:36:28] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:36:28] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:36:28] local.INFO: IMEI packet received {"connection_id":110538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":110538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:36:29] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a38f980100000000000000000000000000..."} 
[2026-06-21 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a38f980100000000000000000000000000..."} 
[2026-06-21 15:36:29] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a38f980100000000000000000000000000..."} 
[2026-06-21 15:36:29] local.INFO: Packet analysis {"connection_id":110538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:29] local.INFO: Extracted packet for processing {"connection_id":110538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782036271000,"timestamp_ms":1782036271000,"timestamp_seconds":1782036271,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a38f98"} 
[2026-06-21 15:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-21 15:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":110538,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:36:29] local.INFO: GPS data processed {"connection_id":110538,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:36:29] local.INFO: Acknowledgment sent {"connection_id":110538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:36:35] local.INFO: TCP Data received {"connection_id":109580,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:36:35] local.INFO: Processing buffer {"connection_id":109580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:36:35] local.INFO: IMEI packet received {"connection_id":109580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":109580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:36:40] local.INFO: TCP Data received {"connection_id":109580,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:36:40] local.INFO: Processing buffer {"connection_id":109580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:36:40] local.INFO: IMEI packet received {"connection_id":109580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":109580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:36:41] local.INFO: TCP Data received {"connection_id":109580,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:41] local.INFO: Processing buffer {"connection_id":109580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:41] local.INFO: Packet analysis {"connection_id":109580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:41] local.INFO: Extracted packet for processing {"connection_id":109580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:41] 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-06-21 15:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:36:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:36:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":109580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:36:41] local.INFO: GPS data processed {"connection_id":109580,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:36:41] local.INFO: Acknowledgment sent {"connection_id":109580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:36:47] local.INFO: TCP Data received {"connection_id":109580,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:47] local.INFO: Processing buffer {"connection_id":109580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:36:47] local.INFO: Packet analysis {"connection_id":109580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:47] local.INFO: Extracted packet for processing {"connection_id":109580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:36: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-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":109580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":109580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":109580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:36:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:36:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":109580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:36:47] local.INFO: GPS data processed {"connection_id":109580,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:36:47] local.INFO: Acknowledgment sent {"connection_id":109580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:36:47] local.INFO: TCP Data received {"connection_id":108791,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:36:47] local.INFO: Processing buffer {"connection_id":108791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:36:47] local.INFO: IMEI packet received {"connection_id":108791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":108791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:37:00] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a3e1a00100000000000000000000000000..."} 
[2026-06-21 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a3e1a00100000000000000000000000000..."} 
[2026-06-21 15:37:00] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a3e1a00100000000000000000000000000..."} 
[2026-06-21 15:37:00] local.INFO: Packet analysis {"connection_id":110538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:37:00] local.INFO: Extracted packet for processing {"connection_id":110538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:37: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-06-21 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:37:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782036292000,"timestamp_ms":1782036292000,"timestamp_seconds":1782036292,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a3e1a0"} 
[2026-06-21 15:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-21 15:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":110538,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:37:00] local.INFO: GPS data processed {"connection_id":110538,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:37:00] local.INFO: Acknowledgment sent {"connection_id":110538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:37:12] local.INFO: TCP Data received {"connection_id":108969,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:37:12] local.INFO: Processing buffer {"connection_id":108969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:37:12] local.INFO: IMEI packet received {"connection_id":108969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":108969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:37:30] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:37:30] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:37:30] local.INFO: IMEI packet received {"connection_id":110539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":110539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:37:35] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:37:35] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:37:35] local.INFO: IMEI packet received {"connection_id":110539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":110539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:37:37] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:37:37] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:37:37] local.INFO: Packet analysis {"connection_id":110539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:37:37] local.INFO: Extracted packet for processing {"connection_id":110539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:37:37] 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-06-21 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 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-06-21 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":110539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:37:37] local.INFO: GPS data processed {"connection_id":110539,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:37:37] local.INFO: Acknowledgment sent {"connection_id":110539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:37:37] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a433a80100000000000000000000000000..."} 
[2026-06-21 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a433a80100000000000000000000000000..."} 
[2026-06-21 15:37:37] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a433a80100000000000000000000000000..."} 
[2026-06-21 15:37:37] local.INFO: Packet analysis {"connection_id":110538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a4"} 
[2026-06-21 15:37:37] local.INFO: Extracted packet for processing {"connection_id":110538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a4"} 
[2026-06-21 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:37:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782036313000,"timestamp_ms":1782036313000,"timestamp_seconds":1782036313,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a433a8"} 
[2026-06-21 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-06-21 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-21 15:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":110538,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:37:37] local.INFO: GPS data processed {"connection_id":110538,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:37:37] local.INFO: Acknowledgment sent {"connection_id":110538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:38:08] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a485b00100000000000000000000000000..."} 
[2026-06-21 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a485b00100000000000000000000000000..."} 
[2026-06-21 15:38:08] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a485b00100000000000000000000000000..."} 
[2026-06-21 15:38:08] local.INFO: Packet analysis {"connection_id":110538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a4"} 
[2026-06-21 15:38:08] local.INFO: Extracted packet for processing {"connection_id":110538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a4"} 
[2026-06-21 15:38:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782036334000,"timestamp_ms":1782036334000,"timestamp_seconds":1782036334,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a485b0"} 
[2026-06-21 15:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 15:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":110538,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:38:08] local.INFO: GPS data processed {"connection_id":110538,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:38:08] local.INFO: Acknowledgment sent {"connection_id":110538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:38:09] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:38:09] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:38:09] local.INFO: Packet analysis {"connection_id":110539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:38:09] local.INFO: Extracted packet for processing {"connection_id":110539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38: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-06-21 15:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":110539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:38:09] local.INFO: GPS data processed {"connection_id":110539,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:38:09] local.INFO: Acknowledgment sent {"connection_id":110539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:38:30] local.INFO: TCP Data received {"connection_id":109581,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:38:30] local.INFO: Processing buffer {"connection_id":109581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:38:30] local.INFO: IMEI packet received {"connection_id":109581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":109581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:38:35] local.INFO: TCP Data received {"connection_id":109581,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:38:35] local.INFO: Processing buffer {"connection_id":109581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:38:35] local.INFO: IMEI packet received {"connection_id":109581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":109581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:38:37] local.INFO: TCP Data received {"connection_id":109581,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:38:37] local.INFO: Processing buffer {"connection_id":109581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:38:37] local.INFO: Packet analysis {"connection_id":109581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:38:37] local.INFO: Extracted packet for processing {"connection_id":109581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38:37] 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-06-21 15:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 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-06-21 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:38:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":109581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:38:37] local.INFO: GPS data processed {"connection_id":109581,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:38:37] local.INFO: Acknowledgment sent {"connection_id":109581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:38:39] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a4d7b80100000000000000000000000000..."} 
[2026-06-21 15:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a4d7b80100000000000000000000000000..."} 
[2026-06-21 15:38:39] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a4d7b80100000000000000000000000000..."} 
[2026-06-21 15:38:39] local.INFO: Packet analysis {"connection_id":110538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a4"} 
[2026-06-21 15:38:39] local.INFO: Extracted packet for processing {"connection_id":110538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a4"} 
[2026-06-21 15:38:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:38:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782036355000,"timestamp_ms":1782036355000,"timestamp_seconds":1782036355,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a4d7b8"} 
[2026-06-21 15:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 15:38: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-06-21 15:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":110538,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:38:39] local.INFO: GPS data processed {"connection_id":110538,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:38:39] local.INFO: Acknowledgment sent {"connection_id":110538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:39:09] local.INFO: TCP Data received {"connection_id":109581,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:39:09] local.INFO: Processing buffer {"connection_id":109581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:39:09] local.INFO: Packet analysis {"connection_id":109581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:39:09] local.INFO: Extracted packet for processing {"connection_id":109581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:39: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-06-21 15:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":109581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:39:09] local.INFO: GPS data processed {"connection_id":109581,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:39:09] local.INFO: Acknowledgment sent {"connection_id":109581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:39:27] local.INFO: TCP Data received {"connection_id":110540,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:39:27] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:39:27] local.INFO: IMEI packet received {"connection_id":110540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":110540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:39:29] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:39:29] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:39:29] local.INFO: IMEI packet received {"connection_id":108792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":108792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:39:31] local.INFO: TCP Data received {"connection_id":110540,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:39:31] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:39:31] local.INFO: IMEI packet received {"connection_id":110540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":110540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:39:32] local.INFO: TCP Data received {"connection_id":110540,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a529c00100000000000000000000000000..."} 
[2026-06-21 15:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a529c00100000000000000000000000000..."} 
[2026-06-21 15:39:32] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a529c00100000000000000000000000000..."} 
[2026-06-21 15:39:32] local.INFO: Packet analysis {"connection_id":110540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a5"} 
[2026-06-21 15:39:32] local.INFO: Extracted packet for processing {"connection_id":110540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a5"} 
[2026-06-21 15:39:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:39:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782036376000,"timestamp_ms":1782036376000,"timestamp_seconds":1782036376,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a529c0"} 
[2026-06-21 15:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-21 15:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":110540,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:39:32] local.INFO: GPS data processed {"connection_id":110540,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:39:32] local.INFO: Acknowledgment sent {"connection_id":110540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:39:35] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:39:35] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:39:35] local.INFO: IMEI packet received {"connection_id":108792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":108792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:39:37] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:39:37] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a37c10012d34c58006aa3f500007006720..."} 
[2026-06-21 15:39:37] local.INFO: Packet analysis {"connection_id":108792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:39:37] local.INFO: Extracted packet for processing {"connection_id":108792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a3"} 
[2026-06-21 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201209088001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:39:37] 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-06-21 15:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782036266000,"timestamp_ms":1782036266000,"timestamp_seconds":1782036266,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a37c10"} 
[2026-06-21 15:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201209088001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201209088001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:39:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201209088001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":108792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:39:37] local.INFO: GPS data processed {"connection_id":108792,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:39:37] local.INFO: Acknowledgment sent {"connection_id":108792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:40:03] local.INFO: TCP Data received {"connection_id":110540,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a57bc80100000000000000000000000000..."} 
[2026-06-21 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a57bc80100000000000000000000000000..."} 
[2026-06-21 15:40:03] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a57bc80100000000000000000000000000..."} 
[2026-06-21 15:40:03] local.INFO: Packet analysis {"connection_id":110540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a5"} 
[2026-06-21 15:40:03] local.INFO: Extracted packet for processing {"connection_id":110540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a5"} 
[2026-06-21 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782036397000,"timestamp_ms":1782036397000,"timestamp_seconds":1782036397,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a57bc8"} 
[2026-06-21 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:40:03] 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-06-21 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-21 15:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":110540,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:40:03] local.INFO: GPS data processed {"connection_id":110540,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:40:03] local.INFO: Acknowledgment sent {"connection_id":110540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:40:09] local.INFO: TCP Data received {"connection_id":108792,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:40:09] local.INFO: Processing buffer {"connection_id":108792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:40:09] local.INFO: Packet analysis {"connection_id":108792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:40:09] local.INFO: Extracted packet for processing {"connection_id":108792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40: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-06-21 15:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:40: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-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:40:09] 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-06-21 15:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":108792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":360999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:40:09] local.INFO: GPS data processed {"connection_id":108792,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:40:09] local.INFO: Acknowledgment sent {"connection_id":108792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:40:23] local.INFO: TCP Data received {"connection_id":109582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:40:23] local.INFO: Processing buffer {"connection_id":109582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:40:23] local.INFO: IMEI packet received {"connection_id":109582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":109582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:40:28] local.INFO: TCP Data received {"connection_id":109582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:40:28] local.INFO: Processing buffer {"connection_id":109582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:40:28] local.INFO: IMEI packet received {"connection_id":109582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":109582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:40:29] local.INFO: TCP Data received {"connection_id":109582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a5cdd00100000000000000000000000000..."} 
[2026-06-21 15:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a5cdd00100000000000000000000000000..."} 
[2026-06-21 15:40:29] local.INFO: Processing buffer {"connection_id":109582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a5cdd00100000000000000000000000000..."} 
[2026-06-21 15:40:29] local.INFO: Packet analysis {"connection_id":109582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a5"} 
[2026-06-21 15:40:29] local.INFO: Extracted packet for processing {"connection_id":109582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a5"} 
[2026-06-21 15:40:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 15:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782036418000,"timestamp_ms":1782036418000,"timestamp_seconds":1782036418,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a5cdd0"} 
[2026-06-21 15:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-21 15:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":109582,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:40:29] local.INFO: GPS data processed {"connection_id":109582,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:40:29] local.INFO: Acknowledgment sent {"connection_id":109582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:40:35] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:40:35] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:40:35] local.INFO: IMEI packet received {"connection_id":108972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":108972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:40:40] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:40:40] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:40:40] local.INFO: IMEI packet received {"connection_id":108972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":108972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:40:41] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:40:41] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:40:41] local.INFO: Packet analysis {"connection_id":108972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:40:41] local.INFO: Extracted packet for processing {"connection_id":108972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:40:41] 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-06-21 15:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:40: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-06-21 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":108972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:40:41] local.INFO: GPS data processed {"connection_id":108972,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:40:41] local.INFO: Acknowledgment sent {"connection_id":108972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:41:00] local.INFO: TCP Data received {"connection_id":109582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a61fd80100000000000000000000000000..."} 
[2026-06-21 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a61fd80100000000000000000000000000..."} 
[2026-06-21 15:41:00] local.INFO: Processing buffer {"connection_id":109582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a61fd80100000000000000000000000000..."} 
[2026-06-21 15:41:00] local.INFO: Packet analysis {"connection_id":109582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a6"} 
[2026-06-21 15:41:00] local.INFO: Extracted packet for processing {"connection_id":109582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a6"} 
[2026-06-21 15:41: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-06-21 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782036439000,"timestamp_ms":1782036439000,"timestamp_seconds":1782036439,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a61fd8"} 
[2026-06-21 15:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-21 15:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":109582,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:41:00] local.INFO: GPS data processed {"connection_id":109582,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:41:00] local.INFO: Acknowledgment sent {"connection_id":109582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:41:12] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:41:12] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:41:12] local.INFO: Packet analysis {"connection_id":108972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:41:12] local.INFO: Extracted packet for processing {"connection_id":108972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:12] 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-06-21 15:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:41: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-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:41: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-06-21 15: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-06-21 15:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:41:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":108972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:41:12] local.INFO: GPS data processed {"connection_id":108972,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:41:12] local.INFO: Acknowledgment sent {"connection_id":108972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:41:23] local.INFO: TCP Data received {"connection_id":108794,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:41:23] local.INFO: Processing buffer {"connection_id":108794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:41:23] local.INFO: IMEI packet received {"connection_id":108794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":108794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:41:27] local.INFO: TCP Data received {"connection_id":108794,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:41:27] local.INFO: Processing buffer {"connection_id":108794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:41:27] local.INFO: IMEI packet received {"connection_id":108794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":108794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:41:28] local.INFO: TCP Data received {"connection_id":108794,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a671e00100000000000000000000000000..."} 
[2026-06-21 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a671e00100000000000000000000000000..."} 
[2026-06-21 15:41:28] local.INFO: Processing buffer {"connection_id":108794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a671e00100000000000000000000000000..."} 
[2026-06-21 15:41:28] local.INFO: Packet analysis {"connection_id":108794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a6"} 
[2026-06-21 15:41:28] local.INFO: Extracted packet for processing {"connection_id":108794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a6"} 
[2026-06-21 15:41: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-06-21 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676148407992320,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 15:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782036460000,"timestamp_ms":1782036460000,"timestamp_seconds":1782036460,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a671e0"} 
[2026-06-21 15:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-21 15:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":108794,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 15:41:28] local.INFO: GPS data processed {"connection_id":108794,"processed":0,"errors":0,"total":1} 
[2026-06-21 15:41:28] local.INFO: Acknowledgment sent {"connection_id":108794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:41:30] local.INFO: TCP Data received {"connection_id":108795,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:41:30] local.INFO: Processing buffer {"connection_id":108795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:41:30] local.INFO: IMEI packet received {"connection_id":108795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":108795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:41:35] local.INFO: TCP Data received {"connection_id":108795,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:41:35] local.INFO: Processing buffer {"connection_id":108795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:41:35] local.INFO: IMEI packet received {"connection_id":108795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":108795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:41:37] local.INFO: TCP Data received {"connection_id":108795,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:41:37] local.INFO: Processing buffer {"connection_id":108795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:41:37] local.INFO: Packet analysis {"connection_id":108795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:41:37] local.INFO: Extracted packet for processing {"connection_id":108795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:37] 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-06-21 15:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:41: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-06-21 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:41: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-06-21 15:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:41:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":108795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:41:37] local.INFO: GPS data processed {"connection_id":108795,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:41:37] local.INFO: Acknowledgment sent {"connection_id":108795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:41:59] local.INFO: TCP Data received {"connection_id":108794,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a9b5d0012d18134007219800005f00c71b..."} 
[2026-06-21 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a9b5d0012d18134007219800005f00c71b..."} 
[2026-06-21 15:41:59] local.INFO: Processing buffer {"connection_id":108794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a9b5d0012d18134007219800005f00c71b..."} 
[2026-06-21 15:41:59] local.INFO: Packet analysis {"connection_id":108794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a9"} 
[2026-06-21 15:41:59] local.INFO: Extracted packet for processing {"connection_id":108794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a9"} 
[2026-06-21 15:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119642112,"longitude_deg":75.6552512,"latitude_deg":11.9642112,"altitude":95,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219800","is_valid_coordinates":true} 
[2026-06-21 15:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201383168001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676251487207424,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840331264,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782036674000,"timestamp_ms":1782036674000,"timestamp_seconds":1782036674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a9b5d0"} 
[2026-06-21 15:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3920066456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2820384769,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2550136927,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-21 15:41:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,15,158,17,45,64,152,95,23,10,66,191,109,1,240,47,227,233,33,4,113,205,201,19,22,239,49,105,2,13,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 15:41:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6845690348086231040,"timestamp_seconds":6845690348086231.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201383168001,"66":12526,"107":206,"83":41984,"24":0,"16":3676251487207424,"45":1734800680840331264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201383168001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:41:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676251487207424,"km_value":3676251487207.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840331264,"description":"Unknown IO ID 45"} 
[2026-06-21 15:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201383168001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734800680840331264}} 
[2026-06-21 15:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":108794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:41:59] local.INFO: GPS data processed {"connection_id":108794,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:41:59] local.INFO: Acknowledgment sent {"connection_id":108794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:42:09] local.INFO: TCP Data received {"connection_id":108795,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:42:09] local.INFO: Processing buffer {"connection_id":108795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:42:09] local.INFO: Packet analysis {"connection_id":108795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:42:09] local.INFO: Extracted packet for processing {"connection_id":108795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15: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-06-21 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 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-06-21 15:42: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-06-21 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:42:09] 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-06-21 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-06-21 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-06-21 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":108795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:42:09] local.INFO: GPS data processed {"connection_id":108795,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:42:09] local.INFO: Acknowledgment sent {"connection_id":108795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:42:23] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:42:23] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:42:23] local.INFO: IMEI packet received {"connection_id":110542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":110542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:42:28] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:42:28] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:42:28] local.INFO: IMEI packet received {"connection_id":110542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":110542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:42:28] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9aa07d8012d18134007219800005f00c71b..."} 
[2026-06-21 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9aa07d8012d18134007219800005f00c71b..."} 
[2026-06-21 15:42:28] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9aa07d8012d18134007219800005f00c71b..."} 
[2026-06-21 15:42:28] local.INFO: Packet analysis {"connection_id":110542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9aa"} 
[2026-06-21 15:42:28] local.INFO: Extracted packet for processing {"connection_id":110542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9aa"} 
[2026-06-21 15:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119642112,"longitude_deg":75.6552512,"latitude_deg":11.9642112,"altitude":95,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219800","is_valid_coordinates":true} 
[2026-06-21 15:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201388544001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676251487207424,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840331264,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782036695000,"timestamp_ms":1782036695000,"timestamp_seconds":1782036695,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9aa07d8"} 
[2026-06-21 15:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 15:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201388544001,"66":12461,"107":206,"83":41984,"24":0,"16":3676251487207424,"45":1734800680840331264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201388544001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:42:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676251487207424,"km_value":3676251487207.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840331264,"description":"Unknown IO ID 45"} 
[2026-06-21 15:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201388544001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734800680840331264}} 
[2026-06-21 15:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":110542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:42:28] local.INFO: GPS data processed {"connection_id":110542,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:42:28] local.INFO: Acknowledgment sent {"connection_id":110542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:42:29] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:42:29] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:42:29] local.INFO: IMEI packet received {"connection_id":108797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":108797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:42:35] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:42:35] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:42:35] local.INFO: IMEI packet received {"connection_id":108797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":108797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:42:37] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:42:37] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:42:37] local.INFO: Packet analysis {"connection_id":108797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:42:37] local.INFO: Extracted packet for processing {"connection_id":108797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:42:37] 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-06-21 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:42: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-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:42: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-06-21 15:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:42:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":108797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:42:37] local.INFO: GPS data processed {"connection_id":108797,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:42:37] local.INFO: Acknowledgment sent {"connection_id":108797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:42:42] local.INFO: TCP Data received {"connection_id":108796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:42:42] local.INFO: Processing buffer {"connection_id":108796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:42:42] local.INFO: IMEI packet received {"connection_id":108796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":108796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:43:00] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9aa59e0012d18134007219800005f00c71b..."} 
[2026-06-21 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9aa59e0012d18134007219800005f00c71b..."} 
[2026-06-21 15:43:00] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9aa59e0012d18134007219800005f00c71b..."} 
[2026-06-21 15:43:00] local.INFO: Packet analysis {"connection_id":110542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9aa"} 
[2026-06-21 15:43:00] local.INFO: Extracted packet for processing {"connection_id":110542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9aa"} 
[2026-06-21 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119642112,"longitude_deg":75.6552512,"latitude_deg":11.9642112,"altitude":95,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219800","is_valid_coordinates":true} 
[2026-06-21 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201393920001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676251487207424,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840331264,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782036716000,"timestamp_ms":1782036716000,"timestamp_seconds":1782036716,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9aa59e0"} 
[2026-06-21 15:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 15:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201393920001,"66":12472,"107":206,"83":41984,"24":0,"16":3676251487207424,"45":1734800680840331264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201393920001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:43:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676251487207424,"km_value":3676251487207.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840331264,"description":"Unknown IO ID 45"} 
[2026-06-21 15:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201393920001,"power":12472,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734800680840331264}} 
[2026-06-21 15:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":110542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:43:00] local.INFO: GPS data processed {"connection_id":110542,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:43:00] local.INFO: Acknowledgment sent {"connection_id":110542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:43:09] local.INFO: TCP Data received {"connection_id":108797,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:43:09] local.INFO: Processing buffer {"connection_id":108797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:43:09] local.INFO: Packet analysis {"connection_id":108797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:43:09] local.INFO: Extracted packet for processing {"connection_id":108797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43: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-06-21 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:43: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-06-21 15: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":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:43:09] 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-06-21 15: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-06-21 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:43:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":108797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:43:09] local.INFO: GPS data processed {"connection_id":108797,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:43:09] local.INFO: Acknowledgment sent {"connection_id":108797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:43:17] local.INFO: TCP Data received {"connection_id":109583,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:43:17] local.INFO: Processing buffer {"connection_id":109583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:43:17] local.INFO: IMEI packet received {"connection_id":109583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":109583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:43:22] local.INFO: TCP Data received {"connection_id":108798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:43:22] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:43:22] local.INFO: IMEI packet received {"connection_id":108798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":108798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:43:27] local.INFO: TCP Data received {"connection_id":108798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:43:27] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:43:27] local.INFO: IMEI packet received {"connection_id":108798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":108798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:43:28] local.INFO: TCP Data received {"connection_id":108798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9aaabe8012d18134007219800005f00c71b..."} 
[2026-06-21 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9aaabe8012d18134007219800005f00c71b..."} 
[2026-06-21 15:43:28] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9aaabe8012d18134007219800005f00c71b..."} 
[2026-06-21 15:43:28] local.INFO: Packet analysis {"connection_id":108798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9aa"} 
[2026-06-21 15:43:28] local.INFO: Extracted packet for processing {"connection_id":108798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9aa"} 
[2026-06-21 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119642112,"longitude_deg":75.6552512,"latitude_deg":11.9642112,"altitude":95,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219800","is_valid_coordinates":true} 
[2026-06-21 15:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201399296001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676251487207424,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840331264,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782036737000,"timestamp_ms":1782036737000,"timestamp_seconds":1782036737,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9aaabe8"} 
[2026-06-21 15:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-21 15:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201399296001,"66":12461,"107":206,"83":41984,"24":0,"16":3676251487207424,"45":1734800680840331264},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201399296001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:43:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676251487207424,"km_value":3676251487207.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840331264,"description":"Unknown IO ID 45"} 
[2026-06-21 15:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201399296001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1734800680840331264}} 
[2026-06-21 15:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":108798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:43:28] local.INFO: GPS data processed {"connection_id":108798,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:43:28] local.INFO: Acknowledgment sent {"connection_id":108798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:43:29] local.INFO: TCP Data received {"connection_id":110543,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:43:29] local.INFO: Processing buffer {"connection_id":110543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:43:29] local.INFO: IMEI packet received {"connection_id":110543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":110543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:43:35] local.INFO: TCP Data received {"connection_id":110543,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:43:35] local.INFO: Processing buffer {"connection_id":110543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:43:35] local.INFO: IMEI packet received {"connection_id":110543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":110543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:43:36] local.INFO: TCP Data received {"connection_id":110543,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:43:36] local.INFO: Processing buffer {"connection_id":110543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:43:36] local.INFO: Packet analysis {"connection_id":110543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:43:36] local.INFO: Extracted packet for processing {"connection_id":110543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15: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-06-21 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:43:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":110543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:43:36] local.INFO: GPS data processed {"connection_id":110543,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:43:36] local.INFO: Acknowledgment sent {"connection_id":110543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:43:59] local.INFO: TCP Data received {"connection_id":108798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ac1b18012d1811c007219768004d00051e..."} 
[2026-06-21 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ac1b18012d1811c007219768004d00051e..."} 
[2026-06-21 15:43:59] local.INFO: Processing buffer {"connection_id":108798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ac1b18012d1811c007219768004d00051e..."} 
[2026-06-21 15:43:59] local.INFO: Packet analysis {"connection_id":108798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:43:59] local.INFO: Extracted packet for processing {"connection_id":108798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756552128,"raw_latitude":119641960,"longitude_deg":75.6552128,"latitude_deg":11.964196,"altitude":77,"angle":5,"satellites":30,"speed":10,"hex_longitude":"2d1811c0","hex_latitude":"07219768","is_valid_coordinates":true} 
[2026-06-21 15:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201428480001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676324501651456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734378468375173120,"note":"Value kept but may cause issues"} 
[2026-06-21 15:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782036831000,"timestamp_ms":1782036831000,"timestamp_seconds":1782036831,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ac1b18"} 
[2026-06-21 15:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:43:59] 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-06-21 15:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-21 15:43: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-06-21 15:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201428480001,"66":14135,"107":206,"83":41984,"24":10,"16":3676324501651456,"45":1734378468375173120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201428480001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:43:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676324501651456,"km_value":3676324501651.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734378468375173120,"description":"Unknown IO ID 45"} 
[2026-06-21 15:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201428480001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1734378468375173120}} 
[2026-06-21 15:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":108798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:43:59] local.INFO: GPS data processed {"connection_id":108798,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:43:59] local.INFO: Acknowledgment sent {"connection_id":108798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:44:08] local.INFO: TCP Data received {"connection_id":110543,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:08] local.INFO: Processing buffer {"connection_id":110543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:08] local.INFO: Packet analysis {"connection_id":110543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:44:08] local.INFO: Extracted packet for processing {"connection_id":110543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:08] 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-06-21 15:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:44: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-06-21 15:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":110543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:44:08] local.INFO: GPS data processed {"connection_id":110543,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:44:08] local.INFO: Acknowledgment sent {"connection_id":110543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:44:23] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:23] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:23] local.INFO: IMEI packet received {"connection_id":110544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":110544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:44:23] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:23] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:23] local.INFO: IMEI packet received {"connection_id":110544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":110544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:44:28] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:28] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:44:28] local.INFO: IMEI packet received {"connection_id":110544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":110544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:44:29] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ac1f00012d18120007219860004d00141e..."} 
[2026-06-21 15:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ac1f00012d18120007219860004d00141e..."} 
[2026-06-21 15:44:29] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ac1f00012d18120007219860004d00141e..."} 
[2026-06-21 15:44:29] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:44:29] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756552192,"raw_latitude":119642208,"longitude_deg":75.6552192,"latitude_deg":11.9642208,"altitude":77,"angle":20,"satellites":30,"speed":10,"hex_longitude":"2d181200","hex_latitude":"07219860","is_valid_coordinates":true} 
[2026-06-21 15:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201428736001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676337386553344,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734378468375226368,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782036832000,"timestamp_ms":1782036832000,"timestamp_seconds":1782036832,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ac1f00"} 
[2026-06-21 15:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:44:29] 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-06-21 15:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-21 15:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201428736001,"66":14135,"107":206,"83":41984,"24":10,"16":3676337386553344,"45":1734378468375226368},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201428736001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:44:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676337386553344,"km_value":3676337386553.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734378468375226368,"description":"Unknown IO ID 45"} 
[2026-06-21 15:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201428736001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1734378468375226368}} 
[2026-06-21 15:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:44:29] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:44:29] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:44:35] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:44:35] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:44:35] local.INFO: IMEI packet received {"connection_id":108799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":108799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:44:40] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:44:40] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:44:40] local.INFO: IMEI packet received {"connection_id":108799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":108799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:44:42] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:42] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:42] local.INFO: Packet analysis {"connection_id":108799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:44:42] local.INFO: Extracted packet for processing {"connection_id":108799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44: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-06-21 15:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 15:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:44: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-06-21 15:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":108799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:44:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":108799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:44:42] local.INFO: GPS data processed {"connection_id":108799,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:44:42] local.INFO: Acknowledgment sent {"connection_id":108799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:44:45] local.INFO: TCP Data received {"connection_id":108799,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:45] local.INFO: Processing buffer {"connection_id":108799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9a813d8012d34c58006aa3f500005006722..."} 
[2026-06-21 15:44:45] local.INFO: Packet analysis {"connection_id":108799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:44:45] local.INFO: Extracted packet for processing {"connection_id":108799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9a8"} 
[2026-06-21 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":5,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201284096001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:44:45] 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-06-21 15:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782036567000,"timestamp_ms":1782036567000,"timestamp_seconds":1782036567,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9a813d8"} 
[2026-06-21 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-06-21 15:44: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-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:44:45] 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-06-21 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-06-21 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-06-21 15:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201284096001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201284096001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:44:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201284096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":108799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:44:45] local.INFO: GPS data processed {"connection_id":108799,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:44:45] local.INFO: Acknowledgment sent {"connection_id":108799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:45:00] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ac22e8012d1812c007219950004d00201e..."} 
[2026-06-21 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ac22e8012d1812c007219950004d00201e..."} 
[2026-06-21 15:45:00] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ac22e8012d1812c007219950004d00201e..."} 
[2026-06-21 15:45:00] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:45:00] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756552384,"raw_latitude":119642448,"longitude_deg":75.6552384,"latitude_deg":11.9642448,"altitude":77,"angle":32,"satellites":30,"speed":12,"hex_longitude":"2d1812c0","hex_latitude":"07219950","is_valid_coordinates":true} 
[2026-06-21 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201428992001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676350271455232,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734448837119467520,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782036833000,"timestamp_ms":1782036833000,"timestamp_seconds":1782036833,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ac22e8"} 
[2026-06-21 15:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-21 15:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201428992001,"66":14135,"107":206,"83":41984,"24":12,"16":3676350271455232,"45":1734448837119467520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201428992001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:45:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676350271455232,"km_value":3676350271455.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734448837119467520,"description":"Unknown IO ID 45"} 
[2026-06-21 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201428992001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1734448837119467520}} 
[2026-06-21 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:45:00] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:45:00] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:45:27] local.INFO: TCP Data received {"connection_id":108974,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:27] local.INFO: Processing buffer {"connection_id":108974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:27] local.INFO: IMEI packet received {"connection_id":108974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":108974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:45:27] local.INFO: TCP Data received {"connection_id":108974,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:27] local.INFO: Processing buffer {"connection_id":108974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:27] local.INFO: IMEI packet received {"connection_id":108974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":108974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:45:30] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:45:30] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:45:30] local.INFO: IMEI packet received {"connection_id":108975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":108975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:45:33] local.INFO: TCP Data received {"connection_id":108974,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:33] local.INFO: Processing buffer {"connection_id":108974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:45:33] local.INFO: IMEI packet received {"connection_id":108974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":108974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:45:34] local.INFO: TCP Data received {"connection_id":108974,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ac74f0012d1822400721b1f0004c001f1e..."} 
[2026-06-21 15:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ac74f0012d1822400721b1f0004c001f1e..."} 
[2026-06-21 15:45:34] local.INFO: Processing buffer {"connection_id":108974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ac74f0012d1822400721b1f0004c001f1e..."} 
[2026-06-21 15:45:34] local.INFO: Packet analysis {"connection_id":108974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:45:34] local.INFO: Extracted packet for processing {"connection_id":108974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648752,"longitude_deg":75.6556352,"latitude_deg":11.9648752,"altitude":76,"angle":31,"satellites":30,"speed":10,"hex_longitude":"2d182240","hex_latitude":"0721b1f0","is_valid_coordinates":true} 
[2026-06-21 15:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201429248001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676711048708096,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734659943352061952,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782036854000,"timestamp_ms":1782036854000,"timestamp_seconds":1782036854,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ac74f0"} 
[2026-06-21 15:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:45:34] 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-06-21 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-21 15:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":108974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":108974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":108974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201429248001,"66":14276,"107":206,"83":41984,"24":10,"16":3676711048708096,"45":1734659943352061952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201429248001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:45:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676711048708096,"km_value":3676711048708.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734659943352061952,"description":"Unknown IO ID 45"} 
[2026-06-21 15:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201429248001,"power":14276,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1734659943352061952}} 
[2026-06-21 15:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":108974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:45:34] local.INFO: GPS data processed {"connection_id":108974,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:45:34] local.INFO: Acknowledgment sent {"connection_id":108974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:45:35] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:45:35] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:45:35] local.INFO: IMEI packet received {"connection_id":108975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":108975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:45:37] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:45:37] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:45:37] local.INFO: Packet analysis {"connection_id":108975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:45:37] local.INFO: Extracted packet for processing {"connection_id":108975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:45:37] 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-06-21 15:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:45: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-06-21 15:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:45:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":108975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:45:37] local.INFO: GPS data processed {"connection_id":108975,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:45:37] local.INFO: Acknowledgment sent {"connection_id":108975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:46:04] local.INFO: TCP Data received {"connection_id":108974,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ac8878012d1824000721b5f0004c000c1e..."} 
[2026-06-21 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ac8878012d1824000721b5f0004c000c1e..."} 
[2026-06-21 15:46:04] local.INFO: Processing buffer {"connection_id":108974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ac8878012d1824000721b5f0004c000c1e..."} 
[2026-06-21 15:46:04] local.INFO: Packet analysis {"connection_id":108974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:04] local.INFO: Extracted packet for processing {"connection_id":108974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649776,"longitude_deg":75.65568,"latitude_deg":11.9649776,"altitude":76,"angle":12,"satellites":30,"speed":8,"hex_longitude":"2d182400","hex_latitude":"0721b5f0","is_valid_coordinates":true} 
[2026-06-21 15:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201434624001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676766883282944,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492690944,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782036859000,"timestamp_ms":1782036859000,"timestamp_seconds":1782036859,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ac8878"} 
[2026-06-21 15:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:46:04] 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-06-21 15: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-21 15:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201434624001,"66":14298,"107":206,"83":41984,"24":8,"16":3676766883282944,"45":1739022805492690944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201434624001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:46:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676766883282944,"km_value":3676766883282.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492690944,"description":"Unknown IO ID 45"} 
[2026-06-21 15:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201434624001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739022805492690944}} 
[2026-06-21 15:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":108974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:46:05] local.INFO: GPS data processed {"connection_id":108974,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:46:05] local.INFO: Acknowledgment sent {"connection_id":108974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:46:09] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:46:09] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:46:09] local.INFO: Packet analysis {"connection_id":108975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:09] local.INFO: Extracted packet for processing {"connection_id":108975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46: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-06-21 15:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:46: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-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":108975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:46:09] local.INFO: GPS data processed {"connection_id":108975,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:46:09] local.INFO: Acknowledgment sent {"connection_id":108975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:46:23] local.INFO: TCP Data received {"connection_id":110546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:46:23] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:46:23] local.INFO: IMEI packet received {"connection_id":110546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":110546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:46:28] local.INFO: TCP Data received {"connection_id":110546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:46:28] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:46:28] local.INFO: IMEI packet received {"connection_id":110546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":110546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:46:29] local.INFO: TCP Data received {"connection_id":110546,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ac8c60012d1824000721b6b8004c015a1e..."} 
[2026-06-21 15:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ac8c60012d1824000721b6b8004c015a1e..."} 
[2026-06-21 15:46:29] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ac8c60012d1824000721b6b8004c015a1e..."} 
[2026-06-21 15:46:29] local.INFO: Packet analysis {"connection_id":110546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:29] local.INFO: Extracted packet for processing {"connection_id":110546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649976,"longitude_deg":75.65568,"latitude_deg":11.9649976,"altitude":76,"angle":346,"satellites":30,"speed":7,"hex_longitude":"2d182400","hex_latitude":"0721b6b8","is_valid_coordinates":true} 
[2026-06-21 15:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201435904001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676775473217536,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702196736,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782036860000,"timestamp_ms":1782036860000,"timestamp_seconds":1782036860,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ac8c60"} 
[2026-06-21 15:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-21 15:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201435904001,"66":14080,"107":206,"83":41984,"24":7,"16":3676775473217536,"45":1739515386702196736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201435904001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:46:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676775473217536,"km_value":3676775473217.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702196736,"description":"Unknown IO ID 45"} 
[2026-06-21 15:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201435904001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739515386702196736}} 
[2026-06-21 15:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":110546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:46:29] local.INFO: GPS data processed {"connection_id":110546,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:46:29] local.INFO: Acknowledgment sent {"connection_id":110546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:46:29] local.INFO: TCP Data received {"connection_id":109585,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:46:29] local.INFO: Processing buffer {"connection_id":109585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:46:29] local.INFO: IMEI packet received {"connection_id":109585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":109585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:46:35] local.INFO: TCP Data received {"connection_id":109585,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:46:35] local.INFO: Processing buffer {"connection_id":109585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:46:35] local.INFO: IMEI packet received {"connection_id":109585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":109585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:46:36] local.INFO: TCP Data received {"connection_id":109585,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:46:36] local.INFO: Processing buffer {"connection_id":109585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:46:36] local.INFO: Packet analysis {"connection_id":109585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:36] local.INFO: Extracted packet for processing {"connection_id":109585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15: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-06-21 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":109585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:46:36] local.INFO: GPS data processed {"connection_id":109585,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:46:36] local.INFO: Acknowledgment sent {"connection_id":109585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:47:00] local.INFO: TCP Data received {"connection_id":110546,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ac9048012d1823800721b750004c01451e..."} 
[2026-06-21 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ac9048012d1823800721b750004c01451e..."} 
[2026-06-21 15:47:00] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ac9048012d1823800721b750004c01451e..."} 
[2026-06-21 15:47:00] local.INFO: Packet analysis {"connection_id":110546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:00] local.INFO: Extracted packet for processing {"connection_id":110546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650128,"longitude_deg":75.6556672,"latitude_deg":11.9650128,"altitude":76,"angle":325,"satellites":30,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b750","is_valid_coordinates":true} 
[2026-06-21 15:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201436160001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676784063152128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702247936,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782036861000,"timestamp_ms":1782036861000,"timestamp_seconds":1782036861,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ac9048"} 
[2026-06-21 15:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3920369456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2887712769,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2556428365,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-06-21 15:47:00] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3221692823,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,158,136,45,181,76,30,10,66,116,64,177,15,34,192,1,240,55,227,233,33,4,113,205,27,17,104,239,2,13,7,77,6],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-06-21 15:47:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476757706755211264,"timestamp_seconds":5476757706755211.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201436160001,"66":14080,"107":206,"83":41984,"24":5,"16":3676784063152128,"45":1739515386702247936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 15:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201436160001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:47:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 15:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676784063152128,"km_value":3676784063152.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702247936,"description":"Unknown IO ID 45"} 
[2026-06-21 15:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201436160001,"power":14080,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739515386702247936}} 
[2026-06-21 15:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":110546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:47:00] local.INFO: GPS data processed {"connection_id":110546,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:47:00] local.INFO: Acknowledgment sent {"connection_id":110546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:47:08] local.INFO: TCP Data received {"connection_id":109585,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:47:08] local.INFO: Processing buffer {"connection_id":109585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:47:08] local.INFO: Packet analysis {"connection_id":109585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:08] local.INFO: Extracted packet for processing {"connection_id":109585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:08] 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-06-21 15:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:47: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-06-21 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":109585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:47:08] local.INFO: GPS data processed {"connection_id":109585,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:47:08] local.INFO: Acknowledgment sent {"connection_id":109585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:47:23] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:47:23] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:47:23] local.INFO: IMEI packet received {"connection_id":110548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":110548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:47:28] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:47:28] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:47:28] local.INFO: IMEI packet received {"connection_id":110548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":110548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:47:29] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ace250012d1825c00721b898004c00321e..."} 
[2026-06-21 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ace250012d1825c00721b898004c00321e..."} 
[2026-06-21 15:47:29] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ace250012d1825c00721b898004c00321e..."} 
[2026-06-21 15:47:29] local.INFO: Packet analysis {"connection_id":110548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:29] local.INFO: Extracted packet for processing {"connection_id":110548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650456,"longitude_deg":75.6557248,"latitude_deg":11.9650456,"altitude":76,"angle":50,"satellites":30,"speed":5,"hex_longitude":"2d1825c0","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 15:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201436416001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676844192694272,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213931520,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782036882000,"timestamp_ms":1782036882000,"timestamp_seconds":1782036882,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ace250"} 
[2026-06-21 15:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:47:29] 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-06-21 15:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303488,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3920370456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":15,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2887968769,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2572157005,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-06-21 15:47:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,158,140,45,182,76,30,10,66,136,181,116,64,1,240,196,227,15,233,33,4,113,205,12,31,18,96,239,55,2,13,7,77],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-06-21 15:47:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476734617010896896,"timestamp_seconds":5476734617010897.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201436416001,"66":14341,"105":206,"83":41984,"24":5,"16":3676844192694272,"45":1739374649213931520},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201436416001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:47:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676844192694272,"km_value":3676844192694.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213931520,"description":"Unknown IO ID 45"} 
[2026-06-21 15:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201436416001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213931520}} 
[2026-06-21 15:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":110548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:47:29] local.INFO: GPS data processed {"connection_id":110548,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:47:29] local.INFO: Acknowledgment sent {"connection_id":110548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:47:29] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:47:29] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:47:29] local.INFO: IMEI packet received {"connection_id":108800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":108800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:47:35] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:47:35] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:47:35] local.INFO: IMEI packet received {"connection_id":108800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":108800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:47:36] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:47:36] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:47:36] local.INFO: Packet analysis {"connection_id":108800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:36] local.INFO: Extracted packet for processing {"connection_id":108800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:47: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-06-21 15:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:47:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":108800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:47:36] local.INFO: GPS data processed {"connection_id":108800,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:47:36] local.INFO: Acknowledgment sent {"connection_id":108800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:48:00] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ace250012d1825c00721b898004c00321e..."} 
[2026-06-21 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ace250012d1825c00721b898004c00321e..."} 
[2026-06-21 15:48:00] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ace250012d1825c00721b898004c00321e..."} 
[2026-06-21 15:48:00] local.INFO: Packet analysis {"connection_id":110548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:00] local.INFO: Extracted packet for processing {"connection_id":110548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650456,"longitude_deg":75.6557248,"latitude_deg":11.9650456,"altitude":76,"angle":50,"satellites":30,"speed":5,"hex_longitude":"2d1825c0","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 15:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201441792001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676844192694272,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911614464,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782036882000,"timestamp_ms":1782036882000,"timestamp_seconds":1782036882,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ace250"} 
[2026-06-21 15:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6961081371,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84750432505110935,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3920371456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503655723827200,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2893344769,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2985295948,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3221692825,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.WARNING: Large IO value detected {"io_id":104,"raw_value":21673595184876032,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,158,144,45,128,183,76,30,10,66,107,140,182,136,1,240,218,227,233,33,4,113,205,34,18,80,239,55,2,13,7,77,206,104],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-06-21 15:48:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476432251313258496,"timestamp_seconds":5476432251313258.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201441792001,"66":14341,"105":206,"83":41984,"24":5,"16":3676844192694272,"45":1740007967911614464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201441792001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:48:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676844192694272,"km_value":3676844192694.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911614464,"description":"Unknown IO ID 45"} 
[2026-06-21 15:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201441792001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740007967911614464}} 
[2026-06-21 15:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":110548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:48:00] local.INFO: GPS data processed {"connection_id":110548,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:48:00] local.INFO: Acknowledgment sent {"connection_id":110548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:48:09] local.INFO: TCP Data received {"connection_id":108800,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:09] local.INFO: Processing buffer {"connection_id":108800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:09] local.INFO: Packet analysis {"connection_id":108800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:09] local.INFO: Extracted packet for processing {"connection_id":108800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48: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-06-21 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:48: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-06-21 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":108800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:48:09] local.INFO: GPS data processed {"connection_id":108800,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:48:09] local.INFO: Acknowledgment sent {"connection_id":108800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:48:23] local.INFO: TCP Data received {"connection_id":109586,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:48:23] local.INFO: Processing buffer {"connection_id":109586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:48:23] local.INFO: IMEI packet received {"connection_id":109586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":109586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:48:28] local.INFO: TCP Data received {"connection_id":109586,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:48:28] local.INFO: Processing buffer {"connection_id":109586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:48:28] local.INFO: IMEI packet received {"connection_id":109586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":109586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:48:29] local.INFO: TCP Data received {"connection_id":109586,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ace638012d1826400721b910004c001e1e..."} 
[2026-06-21 15:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ace638012d1826400721b910004c001e1e..."} 
[2026-06-21 15:48:29] local.INFO: Processing buffer {"connection_id":109586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ace638012d1826400721b910004c001e1e..."} 
[2026-06-21 15:48:29] local.INFO: Packet analysis {"connection_id":109586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:29] local.INFO: Extracted packet for processing {"connection_id":109586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119650576,"longitude_deg":75.6557376,"latitude_deg":11.9650576,"altitude":76,"angle":30,"satellites":30,"speed":6,"hex_longitude":"2d182640","hex_latitude":"0721b910","is_valid_coordinates":true} 
[2026-06-21 15:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201441792001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676852782628864,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911614464,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782036883000,"timestamp_ms":1782036883000,"timestamp_seconds":1782036883,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ace638"} 
[2026-06-21 15:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84750433578852760,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3920372456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503655724023808,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2894624769,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3052404812,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":116,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386922,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.WARNING: Large IO value detected {"io_id":96,"raw_value":21673659609385472,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,158,226,45,192,184,76,30,10,66,144,128,183,107,140,1,240,227,233,33,4,113,205,8,116,34,239,55,2,13,7,77,12,206,96],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-06-21 15:48:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476432251313258496,"timestamp_seconds":5476432251313258.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201441792001,"66":14341,"105":206,"83":41984,"24":6,"16":3676852782628864,"45":1740007967911614464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201441792001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:48:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676852782628864,"km_value":3676852782628.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911614464,"description":"Unknown IO ID 45"} 
[2026-06-21 15:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201441792001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740007967911614464}} 
[2026-06-21 15:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":109586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:48:29] local.INFO: GPS data processed {"connection_id":109586,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:48:29] local.INFO: Acknowledgment sent {"connection_id":109586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:48:35] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:48:35] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:48:35] local.INFO: IMEI packet received {"connection_id":110549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":110549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:48:40] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:48:40] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:48:40] local.INFO: IMEI packet received {"connection_id":110549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":110549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:48:42] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:42] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:42] local.INFO: Packet analysis {"connection_id":110549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:42] local.INFO: Extracted packet for processing {"connection_id":110549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48: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-06-21 15:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 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-06-21 15:48: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-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:48:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":110549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:48:42] local.INFO: GPS data processed {"connection_id":110549,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:48:42] local.INFO: Acknowledgment sent {"connection_id":110549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:48:46] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:46] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:48:46] local.INFO: Packet analysis {"connection_id":110549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:46] local.INFO: Extracted packet for processing {"connection_id":110549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:48:46] 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-06-21 15:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:48:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":110549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:48:46] local.INFO: GPS data processed {"connection_id":110549,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:48:46] local.INFO: Acknowledgment sent {"connection_id":110549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:48:47] local.INFO: TCP Data received {"connection_id":108976,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:48:47] local.INFO: Processing buffer {"connection_id":108976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:48:47] local.INFO: IMEI packet received {"connection_id":108976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":108976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:49:01] local.INFO: TCP Data received {"connection_id":109586,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ad3840012d1826800721bb48004b001e1e..."} 
[2026-06-21 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ad3840012d1826800721bb48004b001e1e..."} 
[2026-06-21 15:49:01] local.INFO: Processing buffer {"connection_id":109586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ad3840012d1826800721bb48004b001e1e..."} 
[2026-06-21 15:49:01] local.INFO: Packet analysis {"connection_id":109586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ad"} 
[2026-06-21 15:49:01] local.INFO: Extracted packet for processing {"connection_id":109586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ad"} 
[2026-06-21 15:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":30,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201442048001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705400000512,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782036904000,"timestamp_ms":1782036904000,"timestamp_seconds":1782036904,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ad3840"} 
[2026-06-21 15:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6961081378,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3920393456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503655729528832,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2894880769,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3065512012,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485674,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84750436800078233,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.WARNING: Large IO value detected {"io_id":80,"raw_value":21673711148993536,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:01] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,158,226,45,192,184,76,30,10,66,144,128,1,240,227,233,33,4,113,205,7,136,36,239,55,107,2,13,206,232,80],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-06-21 15:49:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476410261080768512,"timestamp_seconds":5476410261080769.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":109586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":109586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":109586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201442048001,"66":13167,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740148705400000512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201442048001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:49:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705400000512,"description":"Unknown IO ID 45"} 
[2026-06-21 15:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201442048001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740148705400000512}} 
[2026-06-21 15:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":109586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:49:01] local.INFO: GPS data processed {"connection_id":109586,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:49:01] local.INFO: Acknowledgment sent {"connection_id":109586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:49:12] local.INFO: TCP Data received {"connection_id":110550,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:49:12] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:49:12] local.INFO: IMEI packet received {"connection_id":110550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":110550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:49:22] local.INFO: TCP Data received {"connection_id":108977,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:49:22] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:49:22] local.INFO: IMEI packet received {"connection_id":108977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":108977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:49:28] local.INFO: TCP Data received {"connection_id":108977,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:49:28] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:49:28] local.INFO: IMEI packet received {"connection_id":108977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":108977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:49:29] local.INFO: TCP Data received {"connection_id":108977,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ad8a48012d1826800721bb48004b001e1e..."} 
[2026-06-21 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ad8a48012d1826800721bb48004b001e1e..."} 
[2026-06-21 15:49:29] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ad8a48012d1826800721bb48004b001e1e..."} 
[2026-06-21 15:49:29] local.INFO: Packet analysis {"connection_id":108977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ad"} 
[2026-06-21 15:49:29] local.INFO: Extracted packet for processing {"connection_id":108977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ad"} 
[2026-06-21 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":30,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201447424001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782036925000,"timestamp_ms":1782036925000,"timestamp_seconds":1782036925,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ad8a48"} 
[2026-06-21 15:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-21 15:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201447424001,"66":13080,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201447424001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:49:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201447424001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":108977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:49:29] local.INFO: GPS data processed {"connection_id":108977,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:49:29] local.INFO: Acknowledgment sent {"connection_id":108977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:49:30] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:49:30] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:49:30] local.INFO: IMEI packet received {"connection_id":108978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":108978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:49:35] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:49:35] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:49:35] local.INFO: IMEI packet received {"connection_id":108978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":108978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:49:36] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:49:36] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:49:36] local.INFO: Packet analysis {"connection_id":108978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:49:36] local.INFO: Extracted packet for processing {"connection_id":108978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15: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-06-21 15:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 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-06-21 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:49:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":108978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:49:36] local.INFO: GPS data processed {"connection_id":108978,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:49:36] local.INFO: Acknowledgment sent {"connection_id":108978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:50:00] local.INFO: TCP Data received {"connection_id":108977,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9addc50012d1826800721bb48004b001e1f..."} 
[2026-06-21 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9addc50012d1826800721bb48004b001e1f..."} 
[2026-06-21 15:50:00] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9addc50012d1826800721bb48004b001e1f..."} 
[2026-06-21 15:50:00] local.INFO: Packet analysis {"connection_id":108977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ad"} 
[2026-06-21 15:50:00] local.INFO: Extracted packet for processing {"connection_id":108977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ad"} 
[2026-06-21 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":31,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201452800001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782036946000,"timestamp_ms":1782036946000,"timestamp_seconds":1782036946,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9addc50"} 
[2026-06-21 15:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-21 15:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201452800001,"66":13091,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201452800001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:50:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201452800001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":108977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:50:00] local.INFO: GPS data processed {"connection_id":108977,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:50:00] local.INFO: Acknowledgment sent {"connection_id":108977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:50:09] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:50:09] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9acaba0012d34c58006aa3f50000a006721..."} 
[2026-06-21 15:50:09] local.INFO: Packet analysis {"connection_id":108978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:50:09] local.INFO: Extracted packet for processing {"connection_id":108978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ac"} 
[2026-06-21 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":10,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201361152001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50: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-06-21 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782036868000,"timestamp_ms":1782036868000,"timestamp_seconds":1782036868,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9acaba0"} 
[2026-06-21 15:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:50: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-06-21 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201361152001,"66":25495,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201361152001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201361152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":108978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:50:09] local.INFO: GPS data processed {"connection_id":108978,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:50:09] local.INFO: Acknowledgment sent {"connection_id":108978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:50:22] local.INFO: TCP Data received {"connection_id":109587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:50:22] local.INFO: Processing buffer {"connection_id":109587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:50:22] local.INFO: IMEI packet received {"connection_id":109587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":109587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:50:28] local.INFO: TCP Data received {"connection_id":109587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:50:28] local.INFO: Processing buffer {"connection_id":109587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:50:28] local.INFO: IMEI packet received {"connection_id":109587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":109587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:50:29] local.INFO: TCP Data received {"connection_id":109587,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b15ec0012d1826800721bb48004b001e24..."} 
[2026-06-21 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b15ec0012d1826800721bb48004b001e24..."} 
[2026-06-21 15:50:29] local.INFO: Processing buffer {"connection_id":109587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b15ec0012d1826800721bb48004b001e24..."} 
[2026-06-21 15:50:29] local.INFO: Packet analysis {"connection_id":109587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:50:29] local.INFO: Extracted packet for processing {"connection_id":109587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":36,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201511936001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037176000,"timestamp_ms":1782037176000,"timestamp_seconds":1782037176,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b15ec0"} 
[2026-06-21 15:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:50:29] 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-06-21 15:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 15:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201511936001,"66":12841,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201511936001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:50:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201511936001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":109587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:50:29] local.INFO: GPS data processed {"connection_id":109587,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:50:29] local.INFO: Acknowledgment sent {"connection_id":109587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:50:29] local.INFO: TCP Data received {"connection_id":109588,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:50:29] local.INFO: Processing buffer {"connection_id":109588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:50:29] local.INFO: IMEI packet received {"connection_id":109588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":109588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:50:35] local.INFO: TCP Data received {"connection_id":109588,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:50:35] local.INFO: Processing buffer {"connection_id":109588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:50:35] local.INFO: IMEI packet received {"connection_id":109588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":109588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:50:36] local.INFO: TCP Data received {"connection_id":109588,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:50:36] local.INFO: Processing buffer {"connection_id":109588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:50:36] local.INFO: Packet analysis {"connection_id":109588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:50:36] local.INFO: Extracted packet for processing {"connection_id":109588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:50: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-06-21 15:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":109588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:50:36] local.INFO: GPS data processed {"connection_id":109588,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:50:36] local.INFO: Acknowledgment sent {"connection_id":109588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:51:00] local.INFO: TCP Data received {"connection_id":109587,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b1b0c8012d1826800721bb48004b001e24..."} 
[2026-06-21 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b1b0c8012d1826800721bb48004b001e24..."} 
[2026-06-21 15:51:00] local.INFO: Processing buffer {"connection_id":109587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b1b0c8012d1826800721bb48004b001e24..."} 
[2026-06-21 15:51:00] local.INFO: Packet analysis {"connection_id":109587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:00] local.INFO: Extracted packet for processing {"connection_id":109587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":36,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201517056001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782037197000,"timestamp_ms":1782037197000,"timestamp_seconds":1782037197,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b1b0c8"} 
[2026-06-21 15:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 15:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201517056001,"66":12809,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201517056001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:51:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201517056001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":109587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:51:00] local.INFO: GPS data processed {"connection_id":109587,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:51:00] local.INFO: Acknowledgment sent {"connection_id":109587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:51:08] local.INFO: TCP Data received {"connection_id":109588,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:51:08] local.INFO: Processing buffer {"connection_id":109588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:51:08] local.INFO: Packet analysis {"connection_id":109588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:08] local.INFO: Extracted packet for processing {"connection_id":109588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:08] 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-06-21 15:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:51: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-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15: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-06-21 15:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":109588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:51:08] local.INFO: GPS data processed {"connection_id":109588,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:51:08] local.INFO: Acknowledgment sent {"connection_id":109588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:51:22] local.INFO: TCP Data received {"connection_id":108979,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:22] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:22] local.INFO: IMEI packet received {"connection_id":108979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":108979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:51:24] local.INFO: TCP Data received {"connection_id":108979,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:24] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:24] local.INFO: IMEI packet received {"connection_id":108979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":108979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:51:28] local.INFO: TCP Data received {"connection_id":108979,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:28] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:51:28] local.INFO: IMEI packet received {"connection_id":108979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":108979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:51:29] local.INFO: TCP Data received {"connection_id":108979,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b1fee8012d1826800721bb48004b001e24..."} 
[2026-06-21 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b1fee8012d1826800721bb48004b001e24..."} 
[2026-06-21 15:51:29] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b1fee8012d1826800721bb48004b001e24..."} 
[2026-06-21 15:51:29] local.INFO: Packet analysis {"connection_id":108979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:29] local.INFO: Extracted packet for processing {"connection_id":108979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":36,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201522432001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037217000,"timestamp_ms":1782037217000,"timestamp_seconds":1782037217,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b1fee8"} 
[2026-06-21 15:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3920611456,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5803319123373447552,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3142058059,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147951035,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430615589992013346,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,158,94,45,128,187,75,36,10,66,190,1,240,63,227,233,33,4,113,205,26,38,72,35,239,50,2,13,7,164],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 15:51:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404352692812251136,"timestamp_seconds":5404352692812251.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 15:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201522432001,"66":12798,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201522432001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:51:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201522432001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":108979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:51:29] local.INFO: GPS data processed {"connection_id":108979,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:51:29] local.INFO: Acknowledgment sent {"connection_id":108979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:51:29] local.INFO: TCP Data received {"connection_id":109589,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:51:29] local.INFO: Processing buffer {"connection_id":109589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:51:29] local.INFO: IMEI packet received {"connection_id":109589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":109589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:51:35] local.INFO: TCP Data received {"connection_id":109589,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:51:35] local.INFO: Processing buffer {"connection_id":109589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:51:35] local.INFO: IMEI packet received {"connection_id":109589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":109589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:51:36] local.INFO: TCP Data received {"connection_id":109589,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:51:36] local.INFO: Processing buffer {"connection_id":109589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:51:36] local.INFO: Packet analysis {"connection_id":109589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:36] local.INFO: Extracted packet for processing {"connection_id":109589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:51: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-06-21 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 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-06-21 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:51:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":109589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:51:36] local.INFO: GPS data processed {"connection_id":109589,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:51:36] local.INFO: Acknowledgment sent {"connection_id":109589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:52:00] local.INFO: TCP Data received {"connection_id":108979,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b250f0012d1826800721bb48004b001e24..."} 
[2026-06-21 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b250f0012d1826800721bb48004b001e24..."} 
[2026-06-21 15:52:00] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b250f0012d1826800721bb48004b001e24..."} 
[2026-06-21 15:52:00] local.INFO: Packet analysis {"connection_id":108979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b2"} 
[2026-06-21 15:52:00] local.INFO: Extracted packet for processing {"connection_id":108979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b2"} 
[2026-06-21 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":36,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201527552001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782037238000,"timestamp_ms":1782037238000,"timestamp_seconds":1782037238,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b250f0"} 
[2026-06-21 15:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 15:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201527552001,"66":12776,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201527552001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:52:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201527552001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":108979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:52:00] local.INFO: GPS data processed {"connection_id":108979,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:52:00] local.INFO: Acknowledgment sent {"connection_id":108979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:52:08] local.INFO: TCP Data received {"connection_id":109589,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:08] local.INFO: Processing buffer {"connection_id":109589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:08] local.INFO: Packet analysis {"connection_id":109589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:52:08] local.INFO: Extracted packet for processing {"connection_id":109589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:08] 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-06-21 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:52: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-06-21 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":109589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:52:08] local.INFO: GPS data processed {"connection_id":109589,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:52:08] local.INFO: Acknowledgment sent {"connection_id":109589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:52:27] local.INFO: TCP Data received {"connection_id":110553,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:27] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:27] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:52:28] local.INFO: TCP Data received {"connection_id":110553,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:28] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:28] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:52:33] local.INFO: TCP Data received {"connection_id":110553,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:33] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:52:33] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:52:34] local.INFO: TCP Data received {"connection_id":110553,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b29f10012d1826800721bb48004b001e23..."} 
[2026-06-21 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b29f10012d1826800721bb48004b001e23..."} 
[2026-06-21 15:52:34] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b29f10012d1826800721bb48004b001e23..."} 
[2026-06-21 15:52:34] local.INFO: Packet analysis {"connection_id":110553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b2"} 
[2026-06-21 15:52:34] local.INFO: Extracted packet for processing {"connection_id":110553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b2"} 
[2026-06-21 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":35,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201532928001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782037258000,"timestamp_ms":1782037258000,"timestamp_seconds":1782037258,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b29f10"} 
[2026-06-21 15:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-21 15:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201532928001,"66":12722,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201532928001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:52:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201532928001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":110553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:52:34] local.INFO: GPS data processed {"connection_id":110553,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:52:34] local.INFO: Acknowledgment sent {"connection_id":110553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:52:35] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:52:35] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:52:35] local.INFO: IMEI packet received {"connection_id":110554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":110554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:52:40] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:52:40] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:52:40] local.INFO: IMEI packet received {"connection_id":110554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":110554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:52:43] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:43] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:43] local.INFO: Packet analysis {"connection_id":110554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:52:43] local.INFO: Extracted packet for processing {"connection_id":110554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:43] 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-06-21 15:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":110554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:52:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:52:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":110554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:52:43] local.INFO: GPS data processed {"connection_id":110554,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:52:43] local.INFO: Acknowledgment sent {"connection_id":110554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:52:46] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:46] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:52:46] local.INFO: Packet analysis {"connection_id":110554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:52:46] local.INFO: Extracted packet for processing {"connection_id":110554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:52:46] 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-06-21 15:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 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-06-21 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:52:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":110554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:52:46] local.INFO: GPS data processed {"connection_id":110554,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:52:46] local.INFO: Acknowledgment sent {"connection_id":110554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:53:04] local.INFO: TCP Data received {"connection_id":110553,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b2f118012d1826800721bb48004b001e23..."} 
[2026-06-21 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b2f118012d1826800721bb48004b001e23..."} 
[2026-06-21 15:53:04] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b2f118012d1826800721bb48004b001e23..."} 
[2026-06-21 15:53:04] local.INFO: Packet analysis {"connection_id":110553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b2"} 
[2026-06-21 15:53:04] local.INFO: Extracted packet for processing {"connection_id":110553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b2"} 
[2026-06-21 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":35,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201538048001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782037279000,"timestamp_ms":1782037279000,"timestamp_seconds":1782037279,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b2f118"} 
[2026-06-21 15:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 15:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201538048001,"66":12722,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201538048001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:53:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201538048001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":110553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:53:05] local.INFO: GPS data processed {"connection_id":110553,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:53:05] local.INFO: Acknowledgment sent {"connection_id":110553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:53:23] local.INFO: TCP Data received {"connection_id":108803,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:53:23] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:53:23] local.INFO: IMEI packet received {"connection_id":108803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":108803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:53:28] local.INFO: TCP Data received {"connection_id":108803,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:53:28] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:53:28] local.INFO: IMEI packet received {"connection_id":108803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":108803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:53:29] local.INFO: TCP Data received {"connection_id":108803,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b34320012d1826800721bb48004b001e22..."} 
[2026-06-21 15:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b34320012d1826800721bb48004b001e22..."} 
[2026-06-21 15:53:29] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b34320012d1826800721bb48004b001e22..."} 
[2026-06-21 15:53:29] local.INFO: Packet analysis {"connection_id":108803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b3"} 
[2026-06-21 15:53:29] local.INFO: Extracted packet for processing {"connection_id":108803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b3"} 
[2026-06-21 15:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":34,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201543424001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037300000,"timestamp_ms":1782037300000,"timestamp_seconds":1782037300,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b34320"} 
[2026-06-21 15:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 15:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201543424001,"66":12722,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201543424001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:53:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201543424001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":108803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:53:29] local.INFO: GPS data processed {"connection_id":108803,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:53:29] local.INFO: Acknowledgment sent {"connection_id":108803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:53:30] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:53:30] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:53:30] local.INFO: IMEI packet received {"connection_id":110555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":110555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:53:35] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:53:35] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:53:35] local.INFO: IMEI packet received {"connection_id":110555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":110555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:53:36] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:53:36] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:53:36] local.INFO: Packet analysis {"connection_id":110555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:53:36] local.INFO: Extracted packet for processing {"connection_id":110555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15: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-06-21 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:53:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":110555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:53:36] local.INFO: GPS data processed {"connection_id":110555,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:53:36] local.INFO: Acknowledgment sent {"connection_id":110555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:54:00] local.INFO: TCP Data received {"connection_id":108803,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b39140012d1826800721bb48004b001e24..."} 
[2026-06-21 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b39140012d1826800721bb48004b001e24..."} 
[2026-06-21 15:54:00] local.INFO: Processing buffer {"connection_id":108803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b39140012d1826800721bb48004b001e24..."} 
[2026-06-21 15:54:00] local.INFO: Packet analysis {"connection_id":108803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b3"} 
[2026-06-21 15:54:00] local.INFO: Extracted packet for processing {"connection_id":108803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b3"} 
[2026-06-21 15:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":36,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201548800001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782037320000,"timestamp_ms":1782037320000,"timestamp_seconds":1782037320,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b39140"} 
[2026-06-21 15:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 15:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201548800001,"66":12667,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201548800001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201548800001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":108803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:54:00] local.INFO: GPS data processed {"connection_id":108803,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:54:00] local.INFO: Acknowledgment sent {"connection_id":108803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:54:07] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:54:07] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:54:07] local.INFO: Packet analysis {"connection_id":110555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:54:07] local.INFO: Extracted packet for processing {"connection_id":110555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:07] 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-06-21 15:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:54:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":110555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:54:08] local.INFO: GPS data processed {"connection_id":110555,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:54:08] local.INFO: Acknowledgment sent {"connection_id":110555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:54:23] local.INFO: TCP Data received {"connection_id":108804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:54:23] local.INFO: Processing buffer {"connection_id":108804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:54:23] local.INFO: IMEI packet received {"connection_id":108804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":108804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:54:28] local.INFO: TCP Data received {"connection_id":108804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:54:28] local.INFO: Processing buffer {"connection_id":108804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:54:28] local.INFO: IMEI packet received {"connection_id":108804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":108804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:54:29] local.INFO: TCP Data received {"connection_id":108804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b3e348012d1826800721bb48004b001e22..."} 
[2026-06-21 15:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b3e348012d1826800721bb48004b001e22..."} 
[2026-06-21 15:54:29] local.INFO: Processing buffer {"connection_id":108804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b3e348012d1826800721bb48004b001e22..."} 
[2026-06-21 15:54:29] local.INFO: Packet analysis {"connection_id":108804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b3"} 
[2026-06-21 15:54:29] local.INFO: Extracted packet for processing {"connection_id":108804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b3"} 
[2026-06-21 15:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":34,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201553920001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037341000,"timestamp_ms":1782037341000,"timestamp_seconds":1782037341,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b3e348"} 
[2026-06-21 15:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 15:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201553920001,"66":12667,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201553920001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:54:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201553920001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":108804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:54:29] local.INFO: GPS data processed {"connection_id":108804,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:54:29] local.INFO: Acknowledgment sent {"connection_id":108804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:54:30] local.INFO: TCP Data received {"connection_id":109590,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:54:30] local.INFO: Processing buffer {"connection_id":109590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:54:30] local.INFO: IMEI packet received {"connection_id":109590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":109590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:54:34] local.INFO: TCP Data received {"connection_id":109590,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:54:34] local.INFO: Processing buffer {"connection_id":109590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:54:34] local.INFO: IMEI packet received {"connection_id":109590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":109590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:54:35] local.INFO: TCP Data received {"connection_id":109590,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:54:35] local.INFO: Processing buffer {"connection_id":109590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:54:35] local.INFO: Packet analysis {"connection_id":109590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:54:35] local.INFO: Extracted packet for processing {"connection_id":109590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:54: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-06-21 15:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:54:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:54:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":109590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:54:35] local.INFO: GPS data processed {"connection_id":109590,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:54:35] local.INFO: Acknowledgment sent {"connection_id":109590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:54:37] local.INFO: TCP Data received {"connection_id":110556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:54:37] local.INFO: Processing buffer {"connection_id":110556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:54:37] local.INFO: IMEI packet received {"connection_id":110556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":110556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:55:00] local.INFO: TCP Data received {"connection_id":108804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b43550012d1826800721bb48004b001e23..."} 
[2026-06-21 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b43550012d1826800721bb48004b001e23..."} 
[2026-06-21 15:55:00] local.INFO: Processing buffer {"connection_id":108804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b43550012d1826800721bb48004b001e23..."} 
[2026-06-21 15:55:00] local.INFO: Packet analysis {"connection_id":108804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b4"} 
[2026-06-21 15:55:00] local.INFO: Extracted packet for processing {"connection_id":108804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b4"} 
[2026-06-21 15:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651144,"longitude_deg":75.655744,"latitude_deg":11.9651144,"altitude":75,"angle":30,"satellites":35,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721bb48","is_valid_coordinates":true} 
[2026-06-21 15:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201559296001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3676878552432640,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144323584,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782037362000,"timestamp_ms":1782037362000,"timestamp_seconds":1782037362,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b43550"} 
[2026-06-21 15:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 15:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 15:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 15:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 15:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 15:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201559296001,"66":12689,"105":206,"83":41984,"24":0,"16":3676878552432640,"45":1740219074144323584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 15:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 15:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 15:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201559296001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:55:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 15:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3676878552432640,"km_value":3676878552432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144323584,"description":"Unknown IO ID 45"} 
[2026-06-21 15:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201559296001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144323584}} 
[2026-06-21 15:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":108804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:55:00] local.INFO: GPS data processed {"connection_id":108804,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:55:00] local.INFO: Acknowledgment sent {"connection_id":108804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:55:07] local.INFO: TCP Data received {"connection_id":109590,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:55:07] local.INFO: Processing buffer {"connection_id":109590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b14368012d34c58006aa3f50000b006721..."} 
[2026-06-21 15:55:07] local.INFO: Packet analysis {"connection_id":109590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:55:07] local.INFO: Extracted packet for processing {"connection_id":109590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b1"} 
[2026-06-21 15:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201438208001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:07] 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-06-21 15:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037169000,"timestamp_ms":1782037169000,"timestamp_seconds":1782037169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b14368"} 
[2026-06-21 15:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 15:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201438208001,"66":25538,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 15:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201438208001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:55:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 15:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201438208001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":109590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:55:07] local.INFO: GPS data processed {"connection_id":109590,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:55:07] local.INFO: Acknowledgment sent {"connection_id":109590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:55:12] local.INFO: TCP Data received {"connection_id":110557,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:55:12] local.INFO: Processing buffer {"connection_id":110557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 15:55:12] local.INFO: IMEI packet received {"connection_id":110557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":110557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:55:21] local.INFO: TCP Data received {"connection_id":108980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:21] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:21] local.INFO: IMEI packet received {"connection_id":108980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 15:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":108980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:55:22] local.INFO: TCP Data received {"connection_id":108980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:22] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:22] local.INFO: IMEI packet received {"connection_id":108980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":108980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:55:22] local.INFO: TCP Data received {"connection_id":108980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:22] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:22] local.INFO: IMEI packet received {"connection_id":108980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":108980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:55:24] local.INFO: TCP Data received {"connection_id":108980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:24] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 15:55:24] local.INFO: IMEI packet received {"connection_id":108980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 15:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":108980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:55:29] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:55:29] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:55:29] local.INFO: IMEI packet received {"connection_id":108981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":108981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:55:35] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:55:35] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:55:35] local.INFO: IMEI packet received {"connection_id":108981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":108981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:55:36] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:55:36] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:55:36] local.INFO: Packet analysis {"connection_id":108981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:55:36] local.INFO: Extracted packet for processing {"connection_id":108981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 15:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:55:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":108981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:55:36] local.INFO: GPS data processed {"connection_id":108981,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:55:36] local.INFO: Acknowledgment sent {"connection_id":108981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:56:07] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:07] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:07] local.INFO: Packet analysis {"connection_id":108981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:56:07] local.INFO: Extracted packet for processing {"connection_id":108981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 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-06-21 15:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:56: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-06-21 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-06-21 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-06-21 15:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:56:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":108981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:56:07] local.INFO: GPS data processed {"connection_id":108981,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:56:07] local.INFO: Acknowledgment sent {"connection_id":108981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:56:35] local.INFO: TCP Data received {"connection_id":109592,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:56:35] local.INFO: Processing buffer {"connection_id":109592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:56:35] local.INFO: IMEI packet received {"connection_id":109592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":109592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:56:40] local.INFO: TCP Data received {"connection_id":109592,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:56:40] local.INFO: Processing buffer {"connection_id":109592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:56:40] local.INFO: IMEI packet received {"connection_id":109592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":109592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:56:41] local.INFO: TCP Data received {"connection_id":109592,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:41] local.INFO: Processing buffer {"connection_id":109592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:41] local.INFO: Packet analysis {"connection_id":109592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:56:41] local.INFO: Extracted packet for processing {"connection_id":109592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 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-06-21 15:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:56:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":109592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:56:41] local.INFO: GPS data processed {"connection_id":109592,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:56:41] local.INFO: Acknowledgment sent {"connection_id":109592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:56:50] local.INFO: TCP Data received {"connection_id":109592,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:50] local.INFO: Processing buffer {"connection_id":109592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:56:50] local.INFO: Packet analysis {"connection_id":109592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:56:50] local.INFO: Extracted packet for processing {"connection_id":109592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 15:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":109592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":109592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":109592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":109592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:56:50] local.INFO: GPS data processed {"connection_id":109592,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:56:50] local.INFO: Acknowledgment sent {"connection_id":109592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:57:30] local.INFO: TCP Data received {"connection_id":110558,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:57:30] local.INFO: Processing buffer {"connection_id":110558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:57:30] local.INFO: IMEI packet received {"connection_id":110558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":110558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:57:35] local.INFO: TCP Data received {"connection_id":110558,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:57:35] local.INFO: Processing buffer {"connection_id":110558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:57:35] local.INFO: IMEI packet received {"connection_id":110558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":110558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:57:36] local.INFO: TCP Data received {"connection_id":110558,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:57:36] local.INFO: Processing buffer {"connection_id":110558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:57:36] local.INFO: Packet analysis {"connection_id":110558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:57:36] local.INFO: Extracted packet for processing {"connection_id":110558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 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-06-21 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:57:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":110558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:57:36] local.INFO: GPS data processed {"connection_id":110558,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:57:36] local.INFO: Acknowledgment sent {"connection_id":110558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:58:08] local.INFO: TCP Data received {"connection_id":110558,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:58:08] local.INFO: Processing buffer {"connection_id":110558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:58:08] local.INFO: Packet analysis {"connection_id":110558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:58:08] local.INFO: Extracted packet for processing {"connection_id":110558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 15:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:58:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":110558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:58:08] local.INFO: GPS data processed {"connection_id":110558,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:58:08] local.INFO: Acknowledgment sent {"connection_id":110558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:58:29] local.INFO: TCP Data received {"connection_id":108807,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:58:29] local.INFO: Processing buffer {"connection_id":108807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:58:29] local.INFO: IMEI packet received {"connection_id":108807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":108807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:58:35] local.INFO: TCP Data received {"connection_id":108807,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:58:35] local.INFO: Processing buffer {"connection_id":108807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:58:35] local.INFO: IMEI packet received {"connection_id":108807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":108807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:58:36] local.INFO: TCP Data received {"connection_id":108807,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:58:36] local.INFO: Processing buffer {"connection_id":108807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:58:36] local.INFO: Packet analysis {"connection_id":108807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:58:36] local.INFO: Extracted packet for processing {"connection_id":108807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 15:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 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-06-21 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 15:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:58:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":108807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:58:36] local.INFO: GPS data processed {"connection_id":108807,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:58:36] local.INFO: Acknowledgment sent {"connection_id":108807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:59:07] local.INFO: TCP Data received {"connection_id":108807,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:59:07] local.INFO: Processing buffer {"connection_id":108807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:59:07] local.INFO: Packet analysis {"connection_id":108807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:59:07] local.INFO: Extracted packet for processing {"connection_id":108807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15: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-06-21 15:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 15:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:59: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-06-21 15: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-06-21 15:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":108807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:59:07] local.INFO: GPS data processed {"connection_id":108807,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:59:07] local.INFO: Acknowledgment sent {"connection_id":108807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 15:59:29] local.INFO: TCP Data received {"connection_id":109594,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:59:29] local.INFO: Processing buffer {"connection_id":109594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:59:29] local.INFO: IMEI packet received {"connection_id":109594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 15:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":109594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 15:59:35] local.INFO: TCP Data received {"connection_id":109594,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:59:35] local.INFO: Processing buffer {"connection_id":109594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 15:59:35] local.INFO: IMEI packet received {"connection_id":109594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 15:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":109594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 15:59:36] local.INFO: TCP Data received {"connection_id":109594,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:59:36] local.INFO: Processing buffer {"connection_id":109594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 15:59:36] local.INFO: Packet analysis {"connection_id":109594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:59:36] local.INFO: Extracted packet for processing {"connection_id":109594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 15:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 15:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 15:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 15:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 15:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 15:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 15:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 15:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 15:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 15:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 15:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 15:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 15:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 15:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 15:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 15:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 15:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 15:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 15:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 15:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 15:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 15:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 15:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 15:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 15:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 15:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":109594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 15:59:36] local.INFO: GPS data processed {"connection_id":109594,"processed":1,"errors":0,"total":1} 
[2026-06-21 15:59:36] local.INFO: Acknowledgment sent {"connection_id":109594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:00:07] local.INFO: TCP Data received {"connection_id":109594,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 16:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 16:00:07] local.INFO: Processing buffer {"connection_id":109594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b5db30012d34c58006aa3f500013006720..."} 
[2026-06-21 16:00:07] local.INFO: Packet analysis {"connection_id":109594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 16:00:07] local.INFO: Extracted packet for processing {"connection_id":109594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b5"} 
[2026-06-21 16:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201515264001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037470000,"timestamp_ms":1782037470000,"timestamp_seconds":1782037470,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b5db30"} 
[2026-06-21 16:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-21 16:00: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-06-21 16:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201515264001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201515264001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201515264001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":109594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:00:07] local.INFO: GPS data processed {"connection_id":109594,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:00:07] local.INFO: Acknowledgment sent {"connection_id":109594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:00:25] local.INFO: TCP Data received {"connection_id":110560,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:00:25] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:00:25] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:00:28] local.INFO: TCP Data received {"connection_id":110560,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:00:28] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:00:28] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:00:29] local.INFO: TCP Data received {"connection_id":110560,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b8d8d0012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b8d8d0012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:00:29] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b8d8d0012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:00:29] local.INFO: Packet analysis {"connection_id":110560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b8"} 
[2026-06-21 16:00:29] local.INFO: Extracted packet for processing {"connection_id":110560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b8"} 
[2026-06-21 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201637376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037666000,"timestamp_ms":1782037666000,"timestamp_seconds":1782037666,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b8d8d0"} 
[2026-06-21 16:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 16:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201637376001,"66":12461,"105":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201637376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:00:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201637376001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":110560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:00:29] local.INFO: GPS data processed {"connection_id":110560,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:00:29] local.INFO: Acknowledgment sent {"connection_id":110560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:00:35] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:00:35] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:00:35] local.INFO: IMEI packet received {"connection_id":108986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":108986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:00:40] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:00:40] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:00:40] local.INFO: IMEI packet received {"connection_id":108986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":108986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:00:41] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:00:41] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:00:41] local.INFO: Packet analysis {"connection_id":108986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:00:41] local.INFO: Extracted packet for processing {"connection_id":108986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 16:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:00: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-06-21 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:00:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:00:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":108986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:00:41] local.INFO: GPS data processed {"connection_id":108986,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:00:41] local.INFO: Acknowledgment sent {"connection_id":108986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:00:43] local.INFO: TCP Data received {"connection_id":108985,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:00:43] local.INFO: Processing buffer {"connection_id":108985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:00:43] local.INFO: IMEI packet received {"connection_id":108985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":108985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:00:45] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:00:45] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:00:45] local.INFO: Packet analysis {"connection_id":108986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:00:45] local.INFO: Extracted packet for processing {"connection_id":108986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 16:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:00: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-06-21 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:00:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":108986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:00:45] local.INFO: GPS data processed {"connection_id":108986,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:00:45] local.INFO: Acknowledgment sent {"connection_id":108986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:01:00] local.INFO: TCP Data received {"connection_id":110560,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b92ad8012d1824000721b6a0004d00ce26..."} 
[2026-06-21 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b92ad8012d1824000721b6a0004d00ce26..."} 
[2026-06-21 16:01:00] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b92ad8012d1824000721b6a0004d00ce26..."} 
[2026-06-21 16:01:00] local.INFO: Packet analysis {"connection_id":110560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b9"} 
[2026-06-21 16:01:00] local.INFO: Extracted packet for processing {"connection_id":110560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b9"} 
[2026-06-21 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201642496001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782037687000,"timestamp_ms":1782037687000,"timestamp_seconds":1782037687,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b92ad8"} 
[2026-06-21 16:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 16:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201642496001,"66":12428,"105":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201642496001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:01:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201642496001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":110560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:01:00] local.INFO: GPS data processed {"connection_id":110560,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:01:00] local.INFO: Acknowledgment sent {"connection_id":110560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:01:12] local.INFO: TCP Data received {"connection_id":109595,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:01:12] local.INFO: Processing buffer {"connection_id":109595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:01:12] local.INFO: IMEI packet received {"connection_id":109595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":109595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:01:22] local.INFO: TCP Data received {"connection_id":109596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:01:22] local.INFO: Processing buffer {"connection_id":109596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:01:22] local.INFO: IMEI packet received {"connection_id":109596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":109596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:01:28] local.INFO: TCP Data received {"connection_id":109596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:01:28] local.INFO: Processing buffer {"connection_id":109596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:01:28] local.INFO: IMEI packet received {"connection_id":109596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":109596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:01:29] local.INFO: TCP Data received {"connection_id":109596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b978f8012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b978f8012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:01:29] local.INFO: Processing buffer {"connection_id":109596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b978f8012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:01:29] local.INFO: Packet analysis {"connection_id":109596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b9"} 
[2026-06-21 16:01:29] local.INFO: Extracted packet for processing {"connection_id":109596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b9"} 
[2026-06-21 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201647872001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037707000,"timestamp_ms":1782037707000,"timestamp_seconds":1782037707,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b978f8"} 
[2026-06-21 16:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-21 16:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201647872001,"66":12385,"105":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201647872001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:01:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201647872001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":109596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:01:29] local.INFO: GPS data processed {"connection_id":109596,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:01:29] local.INFO: Acknowledgment sent {"connection_id":109596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:01:30] local.INFO: TCP Data received {"connection_id":109597,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:01:30] local.INFO: Processing buffer {"connection_id":109597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:01:30] local.INFO: IMEI packet received {"connection_id":109597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":109597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:01:35] local.INFO: TCP Data received {"connection_id":109597,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:01:35] local.INFO: Processing buffer {"connection_id":109597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:01:35] local.INFO: IMEI packet received {"connection_id":109597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":109597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:01:36] local.INFO: TCP Data received {"connection_id":109597,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:01:36] local.INFO: Processing buffer {"connection_id":109597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:01:36] local.INFO: Packet analysis {"connection_id":109597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:01:36] local.INFO: Extracted packet for processing {"connection_id":109597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 16:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":109597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:01:36] local.INFO: GPS data processed {"connection_id":109597,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:01:36] local.INFO: Acknowledgment sent {"connection_id":109597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:02:00] local.INFO: TCP Data received {"connection_id":109596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9b9c718012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9b9c718012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:00] local.INFO: Processing buffer {"connection_id":109596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9b9c718012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:00] local.INFO: Packet analysis {"connection_id":109596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9b9"} 
[2026-06-21 16:02:00] local.INFO: Extracted packet for processing {"connection_id":109596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9b9"} 
[2026-06-21 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201652992001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782037727000,"timestamp_ms":1782037727000,"timestamp_seconds":1782037727,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9b9c718"} 
[2026-06-21 16:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 16:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201652992001,"66":12385,"105":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201652992001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:02:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201652992001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":109596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:02:00] local.INFO: GPS data processed {"connection_id":109596,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:02:00] local.INFO: Acknowledgment sent {"connection_id":109596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:02:07] local.INFO: TCP Data received {"connection_id":109597,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:02:07] local.INFO: Processing buffer {"connection_id":109597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:02:07] local.INFO: Packet analysis {"connection_id":109597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:07] local.INFO: Extracted packet for processing {"connection_id":109597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 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-06-21 16: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-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":109597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:02:07] local.INFO: GPS data processed {"connection_id":109597,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:02:07] local.INFO: Acknowledgment sent {"connection_id":109597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:02:28] local.INFO: TCP Data received {"connection_id":108809,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:02:28] local.INFO: Processing buffer {"connection_id":108809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:02:28] local.INFO: IMEI packet received {"connection_id":108809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":108809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:02:29] local.INFO: TCP Data received {"connection_id":109598,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:02:29] local.INFO: Processing buffer {"connection_id":109598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:02:29] local.INFO: IMEI packet received {"connection_id":109598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":109598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:02:31] local.INFO: TCP Data received {"connection_id":108809,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:02:31] local.INFO: Processing buffer {"connection_id":108809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:02:31] local.INFO: IMEI packet received {"connection_id":108809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":108809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:02:32] local.INFO: TCP Data received {"connection_id":108809,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba1920012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba1920012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:32] local.INFO: Processing buffer {"connection_id":108809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba1920012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:32] local.INFO: Packet analysis {"connection_id":108809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:32] local.INFO: Extracted packet for processing {"connection_id":108809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201658112001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782037748000,"timestamp_ms":1782037748000,"timestamp_seconds":1782037748,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba1920"} 
[2026-06-21 16:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 16:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201658112001,"66":12385,"105":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201658112001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201658112001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":108809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:02:32] local.INFO: GPS data processed {"connection_id":108809,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:02:32] local.INFO: Acknowledgment sent {"connection_id":108809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:02:33] local.INFO: TCP Data received {"connection_id":108809,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba6740012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba6740012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:33] local.INFO: Processing buffer {"connection_id":108809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba6740012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:02:33] local.INFO: Packet analysis {"connection_id":108809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:33] local.INFO: Extracted packet for processing {"connection_id":108809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201663488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782037768000,"timestamp_ms":1782037768000,"timestamp_seconds":1782037768,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba6740"} 
[2026-06-21 16:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 16:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201663488001,"66":12298,"105":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201663488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:02:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201663488001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":108809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:02:33] local.INFO: GPS data processed {"connection_id":108809,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:02:33] local.INFO: Acknowledgment sent {"connection_id":108809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:02:35] local.INFO: TCP Data received {"connection_id":109598,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:02:35] local.INFO: Processing buffer {"connection_id":109598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:02:35] local.INFO: IMEI packet received {"connection_id":109598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":109598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:02:36] local.INFO: TCP Data received {"connection_id":109598,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:02:36] local.INFO: Processing buffer {"connection_id":109598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:02:36] local.INFO: Packet analysis {"connection_id":109598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:36] local.INFO: Extracted packet for processing {"connection_id":109598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 16:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:02:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":109598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:02:36] local.INFO: GPS data processed {"connection_id":109598,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:02:36] local.INFO: Acknowledgment sent {"connection_id":109598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:03:04] local.INFO: TCP Data received {"connection_id":108809,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bab948012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bab948012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:03:04] local.INFO: Processing buffer {"connection_id":108809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bab948012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:03:04] local.INFO: Packet analysis {"connection_id":108809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:04] local.INFO: Extracted packet for processing {"connection_id":108809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201668608001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782037789000,"timestamp_ms":1782037789000,"timestamp_seconds":1782037789,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bab948"} 
[2026-06-21 16:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513892630813016270,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-1605470972932188124,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":77,"raw_value":58024527132622848,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832559,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567045046478,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3106592769,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063939149,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,158,25,45,182,77,39,10,66,199,120,1,240,97,227,233,33,4,113,205,216,36,160,239,48,2,13,7,37],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 16:03:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548661407819497472,"timestamp_seconds":5548661407819497.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 16:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201668608001,"66":12341,"107":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 16:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201668608001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:03:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 16:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201668608001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":108809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:03:04] local.INFO: GPS data processed {"connection_id":108809,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:03:04] local.INFO: Acknowledgment sent {"connection_id":108809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:03:07] local.INFO: TCP Data received {"connection_id":109598,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:07] local.INFO: Processing buffer {"connection_id":109598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:07] local.INFO: Packet analysis {"connection_id":109598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:07] local.INFO: Extracted packet for processing {"connection_id":109598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 16:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":109598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:03:07] local.INFO: GPS data processed {"connection_id":109598,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:03:07] local.INFO: Acknowledgment sent {"connection_id":109598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:03:23] local.INFO: TCP Data received {"connection_id":108811,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:03:23] local.INFO: Processing buffer {"connection_id":108811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:03:23] local.INFO: IMEI packet received {"connection_id":108811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":108811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:03:28] local.INFO: TCP Data received {"connection_id":108811,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:03:28] local.INFO: Processing buffer {"connection_id":108811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:03:28] local.INFO: IMEI packet received {"connection_id":108811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":108811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:03:29] local.INFO: TCP Data received {"connection_id":108811,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bb0768012d1824000721b6a0004d00ce28..."} 
[2026-06-21 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bb0768012d1824000721b6a0004d00ce28..."} 
[2026-06-21 16:03:29] local.INFO: Processing buffer {"connection_id":108811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bb0768012d1824000721b6a0004d00ce28..."} 
[2026-06-21 16:03:29] local.INFO: Packet analysis {"connection_id":108811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bb"} 
[2026-06-21 16:03:29] local.INFO: Extracted packet for processing {"connection_id":108811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bb"} 
[2026-06-21 16:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201673984001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037809000,"timestamp_ms":1782037809000,"timestamp_seconds":1782037809,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bb0768"} 
[2026-06-21 16:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201673984001,"66":12287,"107":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 16:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201673984001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:03:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 16:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201673984001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":108811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:03:29] local.INFO: GPS data processed {"connection_id":108811,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:03:29] local.INFO: Acknowledgment sent {"connection_id":108811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:03:35] local.INFO: TCP Data received {"connection_id":110561,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:03:35] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:03:35] local.INFO: IMEI packet received {"connection_id":110561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":110561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:03:39] local.INFO: TCP Data received {"connection_id":110561,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:03:39] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:03:39] local.INFO: IMEI packet received {"connection_id":110561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":110561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:03:40] local.INFO: TCP Data received {"connection_id":110561,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:40] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:40] local.INFO: Packet analysis {"connection_id":110561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:40] local.INFO: Extracted packet for processing {"connection_id":110561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 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-06-21 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:03:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":110561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:03:40] local.INFO: GPS data processed {"connection_id":110561,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:03:40] local.INFO: Acknowledgment sent {"connection_id":110561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:03:45] local.INFO: TCP Data received {"connection_id":110561,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:45] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:03:45] local.INFO: Packet analysis {"connection_id":110561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:45] local.INFO: Extracted packet for processing {"connection_id":110561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 16:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16: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-06-21 16: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":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:03:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:03:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":110561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:03:45] local.INFO: GPS data processed {"connection_id":110561,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:03:45] local.INFO: Acknowledgment sent {"connection_id":110561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:04:00] local.INFO: TCP Data received {"connection_id":108811,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bb5970012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bb5970012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:04:00] local.INFO: Processing buffer {"connection_id":108811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bb5970012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:04:00] local.INFO: Packet analysis {"connection_id":108811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bb"} 
[2026-06-21 16:04:00] local.INFO: Extracted packet for processing {"connection_id":108811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bb"} 
[2026-06-21 16:04:00] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201679104001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782037830000,"timestamp_ms":1782037830000,"timestamp_seconds":1782037830,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bb5970"} 
[2026-06-21 16:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 16:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201679104001,"66":12319,"107":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 16:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201679104001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:04:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 16:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201679104001,"power":12319,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":108811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:04:00] local.INFO: GPS data processed {"connection_id":108811,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:04:00] local.INFO: Acknowledgment sent {"connection_id":108811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:04:23] local.INFO: TCP Data received {"connection_id":108987,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:04:23] local.INFO: Processing buffer {"connection_id":108987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:04:23] local.INFO: IMEI packet received {"connection_id":108987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":108987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:04:28] local.INFO: TCP Data received {"connection_id":108987,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:04:28] local.INFO: Processing buffer {"connection_id":108987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:04:28] local.INFO: IMEI packet received {"connection_id":108987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":108987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:04:29] local.INFO: TCP Data received {"connection_id":108987,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bbab78012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bbab78012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:04:29] local.INFO: Processing buffer {"connection_id":108987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bbab78012d1824000721b6a0004d00ce27..."} 
[2026-06-21 16:04:29] local.INFO: Packet analysis {"connection_id":108987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bb"} 
[2026-06-21 16:04:29] local.INFO: Extracted packet for processing {"connection_id":108987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bb"} 
[2026-06-21 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649952,"longitude_deg":75.65568,"latitude_deg":11.9649952,"altitude":77,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-21 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201684480001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677041761189888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702241792,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782037851000,"timestamp_ms":1782037851000,"timestamp_seconds":1782037851,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bbab78"} 
[2026-06-21 16:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 16:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201684480001,"66":12298,"107":206,"83":41984,"24":0,"16":3677041761189888,"45":1739515386702241792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-21 16:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201684480001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:04:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-21 16:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677041761189888,"km_value":3677041761189.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702241792,"description":"Unknown IO ID 45"} 
[2026-06-21 16:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201684480001,"power":12298,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702241792}} 
[2026-06-21 16:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":108987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:04:29] local.INFO: GPS data processed {"connection_id":108987,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:04:29] local.INFO: Acknowledgment sent {"connection_id":108987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:04:29] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:04:29] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:04:29] local.INFO: IMEI packet received {"connection_id":108812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":108812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:04:35] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:04:35] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:04:35] local.INFO: IMEI packet received {"connection_id":108812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":108812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:04:36] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:04:36] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:04:36] local.INFO: Packet analysis {"connection_id":108812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:04:36] local.INFO: Extracted packet for processing {"connection_id":108812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 16:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:04:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":108812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:04:36] local.INFO: GPS data processed {"connection_id":108812,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:04:36] local.INFO: Acknowledgment sent {"connection_id":108812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:05:00] local.INFO: TCP Data received {"connection_id":108987,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ea8012d181e800721a8c8004a00a52a..."} 
[2026-06-21 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ea8012d181e800721a8c8004a00a52a..."} 
[2026-06-21 16:05:00] local.INFO: Processing buffer {"connection_id":108987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ea8012d181e800721a8c8004a00a52a..."} 
[2026-06-21 16:05:00] local.INFO: Packet analysis {"connection_id":108987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:05:00] local.INFO: Extracted packet for processing {"connection_id":108987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646408,"longitude_deg":75.6555392,"latitude_deg":11.9646408,"altitude":74,"angle":165,"satellites":42,"speed":9,"hex_longitude":"2d181e80","hex_latitude":"0721a8c8","is_valid_coordinates":true} 
[2026-06-21 16:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746176001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677239329685504,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329554944,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038073000,"timestamp_ms":1782038073000,"timestamp_seconds":1782038073,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ea8"} 
[2026-06-21 16:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 16:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746176001,"66":14189,"105":206,"83":41984,"24":9,"16":3677239329685504,"45":1737967274329554944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746176001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:05:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677239329685504,"km_value":3677239329685.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329554944,"description":"Unknown IO ID 45"} 
[2026-06-21 16:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746176001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329554944}} 
[2026-06-21 16:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":108987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:05:00] local.INFO: GPS data processed {"connection_id":108987,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:05:00] local.INFO: Acknowledgment sent {"connection_id":108987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:05:07] local.INFO: TCP Data received {"connection_id":108812,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:05:07] local.INFO: Processing buffer {"connection_id":108812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ba72f8012d34c58006aa3f50000f006720..."} 
[2026-06-21 16:05:07] local.INFO: Packet analysis {"connection_id":108812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:05:07] local.INFO: Extracted packet for processing {"connection_id":108812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ba"} 
[2026-06-21 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201592320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782037771000,"timestamp_ms":1782037771000,"timestamp_seconds":1782037771,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ba72f8"} 
[2026-06-21 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-06-21 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 16:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201592320001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201592320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201592320001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":108812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:05:07] local.INFO: GPS data processed {"connection_id":108812,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:05:07] local.INFO: Acknowledgment sent {"connection_id":108812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:05:23] local.INFO: TCP Data received {"connection_id":108988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:05:23] local.INFO: Processing buffer {"connection_id":108988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:05:23] local.INFO: IMEI packet received {"connection_id":108988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":108988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:05:28] local.INFO: TCP Data received {"connection_id":108988,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:05:28] local.INFO: Processing buffer {"connection_id":108988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:05:28] local.INFO: IMEI packet received {"connection_id":108988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":108988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:05:29] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:05:29] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:05:29] local.INFO: IMEI packet received {"connection_id":108989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":108989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:05:32] local.INFO: TCP Data received {"connection_id":108988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf1290012d181ec00721a808004a008c2a..."} 
[2026-06-21 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf1290012d181ec00721a808004a008c2a..."} 
[2026-06-21 16:05:32] local.INFO: Processing buffer {"connection_id":108988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf1290012d181ec00721a808004a008c2a..."} 
[2026-06-21 16:05:32] local.INFO: Packet analysis {"connection_id":108988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:05:32] local.INFO: Extracted packet for processing {"connection_id":108988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646216,"longitude_deg":75.6555456,"latitude_deg":11.9646216,"altitude":74,"angle":140,"satellites":42,"speed":8,"hex_longitude":"2d181ec0","hex_latitude":"0721a808","is_valid_coordinates":true} 
[2026-06-21 16:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746688001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677252214587392,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329425920,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782038074000,"timestamp_ms":1782038074000,"timestamp_seconds":1782038074,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf1290"} 
[2026-06-21 16:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-21 16:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":108988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":108988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":108988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746688001,"66":14135,"105":206,"83":41984,"24":8,"16":3677252214587392,"45":1737967274329425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746688001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:05:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677252214587392,"km_value":3677252214587.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329425920,"description":"Unknown IO ID 45"} 
[2026-06-21 16:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746688001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737967274329425920}} 
[2026-06-21 16:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":108988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:05:32] local.INFO: GPS data processed {"connection_id":108988,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:05:32] local.INFO: Acknowledgment sent {"connection_id":108988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:05:35] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:05:35] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:05:35] local.INFO: IMEI packet received {"connection_id":108989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":108989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:05:36] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:05:36] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:05:36] local.INFO: Packet analysis {"connection_id":108989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:05:36] local.INFO: Extracted packet for processing {"connection_id":108989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:05:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":108989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:05:36] local.INFO: GPS data processed {"connection_id":108989,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:05:36] local.INFO: Acknowledgment sent {"connection_id":108989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:06:02] local.INFO: TCP Data received {"connection_id":108988,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf1678012d181f800721a778004a007d2a..."} 
[2026-06-21 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf1678012d181f800721a778004a007d2a..."} 
[2026-06-21 16:06:02] local.INFO: Processing buffer {"connection_id":108988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf1678012d181f800721a778004a007d2a..."} 
[2026-06-21 16:06:02] local.INFO: Packet analysis {"connection_id":108988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:06:02] local.INFO: Extracted packet for processing {"connection_id":108988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646072,"longitude_deg":75.6555648,"latitude_deg":11.9646072,"altitude":74,"angle":125,"satellites":42,"speed":8,"hex_longitude":"2d181f80","hex_latitude":"0721a778","is_valid_coordinates":true} 
[2026-06-21 16:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746944001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3677260804521984,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073554432,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782038075000,"timestamp_ms":1782038075000,"timestamp_seconds":1782038075,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf1678"} 
[2026-06-21 16:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-21 16:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":108988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":108988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":108988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746944001,"66":14135,"105":206,"83":41984,"24":8,"16":3677260804521984,"45":1738037643073554432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746944001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:06:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3677260804521984,"km_value":3677260804521.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073554432,"description":"Unknown IO ID 45"} 
[2026-06-21 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746944001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738037643073554432}} 
[2026-06-21 16:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":108988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:06:03] local.INFO: GPS data processed {"connection_id":108988,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:06:03] local.INFO: Acknowledgment sent {"connection_id":108988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:06:07] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:06:07] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:06:07] local.INFO: Packet analysis {"connection_id":108989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:06:07] local.INFO: Extracted packet for processing {"connection_id":108989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":108989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:06:07] local.INFO: GPS data processed {"connection_id":108989,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:06:07] local.INFO: Acknowledgment sent {"connection_id":108989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:06:22] local.INFO: TCP Data received {"connection_id":110562,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:22] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:22] local.INFO: IMEI packet received {"connection_id":110562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":110562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:06:26] local.INFO: TCP Data received {"connection_id":110562,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:26] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:26] local.INFO: IMEI packet received {"connection_id":110562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":110562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:06:28] local.INFO: TCP Data received {"connection_id":110562,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:28] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:06:28] local.INFO: IMEI packet received {"connection_id":110562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":110562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:06:28] local.INFO: TCP Data received {"connection_id":110562,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c04340012d18c440072150380040009f2a..."} 
[2026-06-21 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c04340012d18c440072150380040009f2a..."} 
[2026-06-21 16:06:28] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c04340012d18c440072150380040009f2a..."} 
[2026-06-21 16:06:28] local.INFO: Packet analysis {"connection_id":110562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:06:28] local.INFO: Extracted packet for processing {"connection_id":110562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623736,"longitude_deg":75.6597824,"latitude_deg":11.9623736,"altitude":64,"angle":159,"satellites":42,"speed":22,"hex_longitude":"2d18c440","hex_latitude":"07215038","is_valid_coordinates":true} 
[2026-06-21 16:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201763840001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3679657396273152,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779766308366884864,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038152000,"timestamp_ms":1782038152000,"timestamp_seconds":1782038152,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c04340"} 
[2026-06-21 16:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-21 16:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201763840001,"66":13004,"106":206,"83":41984,"24":22,"16":3679657396273152,"45":1779766308366884864},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-21 16:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201763840001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:06:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3679657396273152,"km_value":3679657396273.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779766308366884864,"description":"Unknown IO ID 45"} 
[2026-06-21 16:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201763840001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1779766308366884864}} 
[2026-06-21 16:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":110562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:06:28] local.INFO: GPS data processed {"connection_id":110562,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:06:28] local.INFO: Acknowledgment sent {"connection_id":110562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:06:29] local.INFO: TCP Data received {"connection_id":110562,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c04728012d18c4c007214e00003f00ab2a..."} 
[2026-06-21 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c04728012d18c4c007214e00003f00ab2a..."} 
[2026-06-21 16:06:29] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c04728012d18c4c007214e00003f00ab2a..."} 
[2026-06-21 16:06:29] local.INFO: Packet analysis {"connection_id":110562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:06:29] local.INFO: Extracted packet for processing {"connection_id":110562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119623168,"longitude_deg":75.6597952,"latitude_deg":11.9623168,"altitude":63,"angle":171,"satellites":42,"speed":23,"hex_longitude":"2d18c4c0","hex_latitude":"07214e00","is_valid_coordinates":true} 
[2026-06-21 16:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201766912001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3679687461044224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713413120,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038153000,"timestamp_ms":1782038153000,"timestamp_seconds":1782038153,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c04728"} 
[2026-06-21 16:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-21 16:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201766912001,"66":13004,"106":206,"83":41984,"24":23,"16":3679687461044224,"45":1784621751713413120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-21 16:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201766912001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:06:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3679687461044224,"km_value":3679687461044.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713413120,"description":"Unknown IO ID 45"} 
[2026-06-21 16:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201766912001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1784621751713413120}} 
[2026-06-21 16:06:29] local.INFO: TCP Data received {"connection_id":108814,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:06:29] local.INFO: Processing buffer {"connection_id":108814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:06:29] local.INFO: IMEI packet received {"connection_id":108814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":108814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":110562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:06:29] local.INFO: GPS data processed {"connection_id":110562,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:06:29] local.INFO: Acknowledgment sent {"connection_id":110562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:06:32] local.INFO: TCP Data received {"connection_id":108813,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:06:32] local.INFO: Processing buffer {"connection_id":108813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:06:32] local.INFO: IMEI packet received {"connection_id":108813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":108813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:06:35] local.INFO: TCP Data received {"connection_id":108814,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:06:35] local.INFO: Processing buffer {"connection_id":108814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:06:35] local.INFO: IMEI packet received {"connection_id":108814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":108814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:06:36] local.INFO: TCP Data received {"connection_id":108814,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:06:36] local.INFO: Processing buffer {"connection_id":108814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:06:36] local.INFO: Packet analysis {"connection_id":108814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:06:36] local.INFO: Extracted packet for processing {"connection_id":108814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":108814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:06:36] local.INFO: GPS data processed {"connection_id":108814,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:06:36] local.INFO: Acknowledgment sent {"connection_id":108814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:07:00] local.INFO: TCP Data received {"connection_id":110562,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c06668012d18c70007213b80003d009f2a..."} 
[2026-06-21 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c06668012d18c70007213b80003d009f2a..."} 
[2026-06-21 16:07:00] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c06668012d18c70007213b80003d009f2a..."} 
[2026-06-21 16:07:00] local.INFO: Packet analysis {"connection_id":110562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:07:00] local.INFO: Extracted packet for processing {"connection_id":110562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119618432,"longitude_deg":75.6598528,"latitude_deg":11.9618432,"altitude":61,"angle":159,"satellites":42,"speed":22,"hex_longitude":"2d18c700","hex_latitude":"07213b80","is_valid_coordinates":true} 
[2026-06-21 16:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201767168001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3679919389278208,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201623040,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038161000,"timestamp_ms":1782038161000,"timestamp_seconds":1782038161,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c06668"} 
[2026-06-21 16:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-21 16:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201767168001,"66":12972,"106":206,"83":41984,"24":22,"16":3679919389278208,"45":1784762489201623040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-21 16:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201767168001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3679919389278208,"km_value":3679919389278.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201623040,"description":"Unknown IO ID 45"} 
[2026-06-21 16:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201767168001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1784762489201623040}} 
[2026-06-21 16:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":110562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:07:00] local.INFO: GPS data processed {"connection_id":110562,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:07:00] local.INFO: Acknowledgment sent {"connection_id":110562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:07:07] local.INFO: TCP Data received {"connection_id":108814,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:07] local.INFO: Processing buffer {"connection_id":108814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:07] local.INFO: Packet analysis {"connection_id":108814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:07:07] local.INFO: Extracted packet for processing {"connection_id":108814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":108814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:07:07] local.INFO: GPS data processed {"connection_id":108814,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:07:07] local.INFO: Acknowledgment sent {"connection_id":108814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:07:12] local.INFO: TCP Data received {"connection_id":108990,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:07:12] local.INFO: Processing buffer {"connection_id":108990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:07:12] local.INFO: IMEI packet received {"connection_id":108990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":108990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:07:22] local.INFO: TCP Data received {"connection_id":108991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:22] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:22] local.INFO: IMEI packet received {"connection_id":108991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":108991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:07:27] local.INFO: TCP Data received {"connection_id":108991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:27] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:27] local.INFO: IMEI packet received {"connection_id":108991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":108991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:07:28] local.INFO: TCP Data received {"connection_id":108991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:28] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:07:28] local.INFO: IMEI packet received {"connection_id":108991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":108991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:07:29] local.INFO: TCP Data received {"connection_id":108991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c06e38012d18c900072137c8003d00932a..."} 
[2026-06-21 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c06e38012d18c900072137c8003d00932a..."} 
[2026-06-21 16:07:29] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c06e38012d18c900072137c8003d00932a..."} 
[2026-06-21 16:07:29] local.INFO: Packet analysis {"connection_id":108991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:07:29] local.INFO: Extracted packet for processing {"connection_id":108991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119617480,"longitude_deg":75.659904,"latitude_deg":11.961748,"altitude":61,"angle":147,"satellites":42,"speed":21,"hex_longitude":"2d18c900","hex_latitude":"072137c8","is_valid_coordinates":true} 
[2026-06-21 16:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201769216001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3679970928885760,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898009600,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038163000,"timestamp_ms":1782038163000,"timestamp_seconds":1782038163,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c06e38"} 
[2026-06-21 16:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-21 16:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201769216001,"66":12841,"106":206,"83":41984,"24":21,"16":3679970928885760,"45":1785395807898009600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-21 16:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201769216001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:07:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3679970928885760,"km_value":3679970928885.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898009600,"description":"Unknown IO ID 45"} 
[2026-06-21 16:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201769216001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1785395807898009600}} 
[2026-06-21 16:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":108991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:07:29] local.INFO: GPS data processed {"connection_id":108991,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:07:29] local.INFO: Acknowledgment sent {"connection_id":108991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:07:33] local.INFO: TCP Data received {"connection_id":108991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c08d78012d18d140072129a8003c00a12a..."} 
[2026-06-21 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c08d78012d18d140072129a8003c00a12a..."} 
[2026-06-21 16:07:33] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c08d78012d18d140072129a8003c00a12a..."} 
[2026-06-21 16:07:33] local.INFO: Packet analysis {"connection_id":108991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:07:33] local.INFO: Extracted packet for processing {"connection_id":108991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119613864,"longitude_deg":75.6601152,"latitude_deg":11.9613864,"altitude":60,"angle":161,"satellites":42,"speed":19,"hex_longitude":"2d18d140","hex_latitude":"072129a8","is_valid_coordinates":true} 
[2026-06-21 16:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201769728001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3680172792348672,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851187200,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782038171000,"timestamp_ms":1782038171000,"timestamp_seconds":1782038171,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c08d78"} 
[2026-06-21 16:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 16:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201769728001,"66":12961,"106":206,"83":41984,"24":19,"16":3680172792348672,"45":1785958757851187200},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-21 16:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201769728001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:07:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3680172792348672,"km_value":3680172792348.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851187200,"description":"Unknown IO ID 45"} 
[2026-06-21 16:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201769728001,"power":12961,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1785958757851187200}} 
[2026-06-21 16:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":108991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:07:33] local.INFO: GPS data processed {"connection_id":108991,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:07:33] local.INFO: Acknowledgment sent {"connection_id":108991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:07:35] local.INFO: TCP Data received {"connection_id":108815,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:07:35] local.INFO: Processing buffer {"connection_id":108815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:07:35] local.INFO: IMEI packet received {"connection_id":108815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":108815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:07:40] local.INFO: TCP Data received {"connection_id":108815,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:07:40] local.INFO: Processing buffer {"connection_id":108815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:07:40] local.INFO: IMEI packet received {"connection_id":108815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":108815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:07:41] local.INFO: TCP Data received {"connection_id":108815,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:41] local.INFO: Processing buffer {"connection_id":108815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:41] local.INFO: Packet analysis {"connection_id":108815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:07:41] local.INFO: Extracted packet for processing {"connection_id":108815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:07:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:07:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":108815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:07:41] local.INFO: GPS data processed {"connection_id":108815,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:07:41] local.INFO: Acknowledgment sent {"connection_id":108815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:07:45] local.INFO: TCP Data received {"connection_id":108815,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:45] local.INFO: Processing buffer {"connection_id":108815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:07:45] local.INFO: Packet analysis {"connection_id":108815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:07:45] local.INFO: Extracted packet for processing {"connection_id":108815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 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-06-21 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:07:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":108815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:07:45] local.INFO: GPS data processed {"connection_id":108815,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:07:45] local.INFO: Acknowledgment sent {"connection_id":108815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:08:05] local.INFO: TCP Data received {"connection_id":108991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c09548012d18d240072125b8003c00ad2a..."} 
[2026-06-21 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c09548012d18d240072125b8003c00ad2a..."} 
[2026-06-21 16:08:05] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c09548012d18d240072125b8003c00ad2a..."} 
[2026-06-21 16:08:05] local.INFO: Packet analysis {"connection_id":108991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:08:05] local.INFO: Extracted packet for processing {"connection_id":108991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612856,"longitude_deg":75.6601408,"latitude_deg":11.9612856,"altitude":60,"angle":173,"satellites":42,"speed":21,"hex_longitude":"2d18d240","hex_latitude":"072125b8","is_valid_coordinates":true} 
[2026-06-21 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201771776001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3680224331956224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926408124416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782038173000,"timestamp_ms":1782038173000,"timestamp_seconds":1782038173,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c09548"} 
[2026-06-21 16:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-21 16:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201771776001,"66":12156,"103":206,"83":41984,"24":21,"16":3680224331956224,"45":1788280926408124416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201771776001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:08:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3680224331956224,"km_value":3680224331956.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926408124416,"description":"Unknown IO ID 45"} 
[2026-06-21 16:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201771776001,"power":12156,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1788280926408124416}} 
[2026-06-21 16:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":108991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:08:05] local.INFO: GPS data processed {"connection_id":108991,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:08:05] local.INFO: Acknowledgment sent {"connection_id":108991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:08:26] local.INFO: TCP Data received {"connection_id":110563,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:26] local.INFO: Processing buffer {"connection_id":110563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:26] local.INFO: IMEI packet received {"connection_id":110563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":110563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:08:27] local.INFO: TCP Data received {"connection_id":110563,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:27] local.INFO: Processing buffer {"connection_id":110563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:27] local.INFO: IMEI packet received {"connection_id":110563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":110563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:08:30] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:08:30] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:08:30] local.INFO: IMEI packet received {"connection_id":110564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":110564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:08:33] local.INFO: TCP Data received {"connection_id":110563,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:33] local.INFO: Processing buffer {"connection_id":110563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:08:33] local.INFO: IMEI packet received {"connection_id":110563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":110563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:08:34] local.INFO: TCP Data received {"connection_id":110563,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c0cbf8012d18d580072104080038009f2a..."} 
[2026-06-21 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c0cbf8012d18d580072104080038009f2a..."} 
[2026-06-21 16:08:34] local.INFO: Processing buffer {"connection_id":110563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c0cbf8012d18d580072104080038009f2a..."} 
[2026-06-21 16:08:34] local.INFO: Packet analysis {"connection_id":110563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:08:34] local.INFO: Extracted packet for processing {"connection_id":110563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756602240,"raw_latitude":119604232,"longitude_deg":75.660224,"latitude_deg":11.9604232,"altitude":56,"angle":159,"satellites":42,"speed":25,"hex_longitude":"2d18d580","hex_latitude":"07210408","is_valid_coordinates":true} 
[2026-06-21 16:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201772288001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3680649533718528,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384577024,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782038187000,"timestamp_ms":1782038187000,"timestamp_seconds":1782038187,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c0cbf8"} 
[2026-06-21 16:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-21 16:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201772288001,"66":12885,"103":206,"83":41984,"24":25,"16":3680649533718528,"45":1788562401384577024},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201772288001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:08:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3680649533718528,"km_value":3680649533718.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384577024,"description":"Unknown IO ID 45"} 
[2026-06-21 16:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201772288001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788562401384577024}} 
[2026-06-21 16:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":110563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:08:34] local.INFO: GPS data processed {"connection_id":110563,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:08:34] local.INFO: Acknowledgment sent {"connection_id":110563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:08:35] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:08:35] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:08:35] local.INFO: IMEI packet received {"connection_id":110564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":110564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:08:36] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:08:36] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:08:36] local.INFO: Packet analysis {"connection_id":110564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:08:36] local.INFO: Extracted packet for processing {"connection_id":110564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:08:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":110564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:08:36] local.INFO: GPS data processed {"connection_id":110564,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:08:36] local.INFO: Acknowledgment sent {"connection_id":110564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:08:38] local.INFO: TCP Data received {"connection_id":110563,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c0d7b0012d18d8c00720fd400037008f2a..."} 
[2026-06-21 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c0d7b0012d18d8c00720fd400037008f2a..."} 
[2026-06-21 16:08:38] local.INFO: Processing buffer {"connection_id":110563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c0d7b0012d18d8c00720fd400037008f2a..."} 
[2026-06-21 16:08:38] local.INFO: Packet analysis {"connection_id":110563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:08:38] local.INFO: Extracted packet for processing {"connection_id":110563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602496,"longitude_deg":75.6603072,"latitude_deg":11.9602496,"altitude":55,"angle":143,"satellites":42,"speed":25,"hex_longitude":"2d18d8c0","hex_latitude":"0720fd40","is_valid_coordinates":true} 
[2026-06-21 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201775872001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3680739728031744,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056678912,"note":"Value kept but may cause issues"} 
[2026-06-21 16:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782038190000,"timestamp_ms":1782038190000,"timestamp_seconds":1782038190,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c0d7b0"} 
[2026-06-21 16:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-21 16:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201775872001,"66":12885,"103":206,"83":41984,"24":25,"16":3680739728031744,"45":1789477195056678912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201775872001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3680739728031744,"km_value":3680739728031.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056678912,"description":"Unknown IO ID 45"} 
[2026-06-21 16:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201775872001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1789477195056678912}} 
[2026-06-21 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":110563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:08:38] local.INFO: GPS data processed {"connection_id":110563,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:08:38] local.INFO: Acknowledgment sent {"connection_id":110563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:09:07] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:09:07] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:09:07] local.INFO: Packet analysis {"connection_id":110564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:09:07] local.INFO: Extracted packet for processing {"connection_id":110564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":110564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:09:07] local.INFO: GPS data processed {"connection_id":110564,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:09:07] local.INFO: Acknowledgment sent {"connection_id":110564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:09:23] local.INFO: TCP Data received {"connection_id":109601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:09:23] local.INFO: Processing buffer {"connection_id":109601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:09:23] local.INFO: IMEI packet received {"connection_id":109601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":109601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:09:28] local.INFO: TCP Data received {"connection_id":109601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:09:28] local.INFO: Processing buffer {"connection_id":109601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:09:28] local.INFO: IMEI packet received {"connection_id":109601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":109601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:09:29] local.INFO: TCP Data received {"connection_id":109601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c0df80012d18dc800720fa08003600822a..."} 
[2026-06-21 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c0df80012d18dc800720fa08003600822a..."} 
[2026-06-21 16:09:29] local.INFO: Processing buffer {"connection_id":109601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c0df80012d18dc800720fa08003600822a..."} 
[2026-06-21 16:09:29] local.INFO: Packet analysis {"connection_id":109601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:09:29] local.INFO: Extracted packet for processing {"connection_id":109601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119601672,"longitude_deg":75.6604032,"latitude_deg":11.9601672,"altitude":54,"angle":130,"satellites":42,"speed":24,"hex_longitude":"2d18dc80","hex_latitude":"0720fa08","is_valid_coordinates":true} 
[2026-06-21 16:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201776640001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3680799857573888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730544128,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038192000,"timestamp_ms":1782038192000,"timestamp_seconds":1782038192,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c0df80"} 
[2026-06-21 16:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-21 16:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201776640001,"66":12841,"103":206,"83":41984,"24":24,"16":3680799857573888,"45":1790391988730544128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201776640001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:09:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3680799857573888,"km_value":3680799857573.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730544128,"description":"Unknown IO ID 45"} 
[2026-06-21 16:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201776640001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1790391988730544128}} 
[2026-06-21 16:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":109601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:09:29] local.INFO: GPS data processed {"connection_id":109601,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:09:29] local.INFO: Acknowledgment sent {"connection_id":109601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:09:29] local.INFO: TCP Data received {"connection_id":109602,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:09:29] local.INFO: Processing buffer {"connection_id":109602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:09:29] local.INFO: IMEI packet received {"connection_id":109602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":109602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:09:35] local.INFO: TCP Data received {"connection_id":109602,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:09:35] local.INFO: Processing buffer {"connection_id":109602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:09:35] local.INFO: IMEI packet received {"connection_id":109602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":109602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:09:36] local.INFO: TCP Data received {"connection_id":109602,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:09:36] local.INFO: Processing buffer {"connection_id":109602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:09:36] local.INFO: Packet analysis {"connection_id":109602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:09:36] local.INFO: Extracted packet for processing {"connection_id":109602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:09:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":109602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:09:36] local.INFO: GPS data processed {"connection_id":109602,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:09:36] local.INFO: Acknowledgment sent {"connection_id":109602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:10:00] local.INFO: TCP Data received {"connection_id":109601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c0f6f0012d18e6000720f0400035008f2a..."} 
[2026-06-21 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c0f6f0012d18e6000720f0400035008f2a..."} 
[2026-06-21 16:10:00] local.INFO: Processing buffer {"connection_id":109601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c0f6f0012d18e6000720f0400035008f2a..."} 
[2026-06-21 16:10:00] local.INFO: Packet analysis {"connection_id":109601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:10:00] local.INFO: Extracted packet for processing {"connection_id":109601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c0"} 
[2026-06-21 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":756606464,"raw_latitude":119599168,"longitude_deg":75.6606464,"latitude_deg":11.9599168,"altitude":53,"angle":143,"satellites":42,"speed":22,"hex_longitude":"2d18e600","hex_latitude":"0720f040","is_valid_coordinates":true} 
[2026-06-21 16:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201777152001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3680967361298432,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519892998144,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038198000,"timestamp_ms":1782038198000,"timestamp_seconds":1782038198,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c0f6f0"} 
[2026-06-21 16:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 16:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201777152001,"66":12863,"103":206,"83":41984,"24":22,"16":3680967361298432,"45":1791447519892998144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201777152001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:10:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:10:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3680967361298432,"km_value":3680967361298.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519892998144,"description":"Unknown IO ID 45"} 
[2026-06-21 16:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201777152001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1791447519892998144}} 
[2026-06-21 16:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":109601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:10:00] local.INFO: GPS data processed {"connection_id":109601,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:10:00] local.INFO: Acknowledgment sent {"connection_id":109601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:10:08] local.INFO: TCP Data received {"connection_id":109602,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:10:08] local.INFO: Processing buffer {"connection_id":109602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9bf0ac0012d34c58006aa3f50001c006723..."} 
[2026-06-21 16:10:08] local.INFO: Packet analysis {"connection_id":109602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:10:08] local.INFO: Extracted packet for processing {"connection_id":109602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9bf"} 
[2026-06-21 16:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":28,"angle":103,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201669376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782038072000,"timestamp_ms":1782038072000,"timestamp_seconds":1782038072,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9bf0ac0"} 
[2026-06-21 16:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201669376001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201669376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:10:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201669376001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":109602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:10:08] local.INFO: GPS data processed {"connection_id":109602,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:10:08] local.INFO: Acknowledgment sent {"connection_id":109602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:10:23] local.INFO: TCP Data received {"connection_id":109603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:10:23] local.INFO: Processing buffer {"connection_id":109603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:10:23] local.INFO: IMEI packet received {"connection_id":109603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":109603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:10:28] local.INFO: TCP Data received {"connection_id":109603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:10:28] local.INFO: Processing buffer {"connection_id":109603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:10:28] local.INFO: IMEI packet received {"connection_id":109603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":109603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:10:29] local.INFO: TCP Data received {"connection_id":109603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c125d0012d18f6000720d7e8003200832a..."} 
[2026-06-21 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c125d0012d18f6000720d7e8003200832a..."} 
[2026-06-21 16:10:29] local.INFO: Processing buffer {"connection_id":109603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c125d0012d18f6000720d7e8003200832a..."} 
[2026-06-21 16:10:29] local.INFO: Packet analysis {"connection_id":109603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c1"} 
[2026-06-21 16:10:29] local.INFO: Extracted packet for processing {"connection_id":109603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c1"} 
[2026-06-21 16:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756610560,"raw_latitude":119592936,"longitude_deg":75.661056,"latitude_deg":11.9592936,"altitude":50,"angle":131,"satellites":42,"speed":24,"hex_longitude":"2d18f600","hex_latitude":"0720d7e8","is_valid_coordinates":true} 
[2026-06-21 16:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201778688001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3681328138551296,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794121532171108352,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038210000,"timestamp_ms":1782038210000,"timestamp_seconds":1782038210,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c125d0"} 
[2026-06-21 16:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-21 16:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201778688001,"66":12722,"103":206,"83":41984,"24":24,"16":3681328138551296,"45":1794121532171108352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201778688001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:10:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3681328138551296,"km_value":3681328138551.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794121532171108352,"description":"Unknown IO ID 45"} 
[2026-06-21 16:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201778688001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1794121532171108352}} 
[2026-06-21 16:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":109603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:10:29] local.INFO: GPS data processed {"connection_id":109603,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:10:29] local.INFO: Acknowledgment sent {"connection_id":109603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:10:29] local.INFO: TCP Data received {"connection_id":108992,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:10:29] local.INFO: Processing buffer {"connection_id":108992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:10:29] local.INFO: IMEI packet received {"connection_id":108992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":108992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:10:35] local.INFO: TCP Data received {"connection_id":108992,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:10:35] local.INFO: Processing buffer {"connection_id":108992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:10:35] local.INFO: IMEI packet received {"connection_id":108992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":108992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:10:36] local.INFO: TCP Data received {"connection_id":108992,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:10:36] local.INFO: Processing buffer {"connection_id":108992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:10:36] local.INFO: Packet analysis {"connection_id":108992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:10:36] local.INFO: Extracted packet for processing {"connection_id":108992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:10:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":108992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:10:36] local.INFO: GPS data processed {"connection_id":108992,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:10:36] local.INFO: Acknowledgment sent {"connection_id":108992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:11:00] local.INFO: TCP Data received {"connection_id":109603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c41f88012d1944c00720afc0003100672a..."} 
[2026-06-21 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c41f88012d1944c00720afc0003100672a..."} 
[2026-06-21 16:11:00] local.INFO: Processing buffer {"connection_id":109603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c41f88012d1944c00720afc0003100672a..."} 
[2026-06-21 16:11:00] local.INFO: Packet analysis {"connection_id":109603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c4"} 
[2026-06-21 16:11:00] local.INFO: Extracted packet for processing {"connection_id":109603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c4"} 
[2026-06-21 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756630720,"raw_latitude":119582656,"longitude_deg":75.663072,"latitude_deg":11.9582656,"altitude":49,"angle":103,"satellites":42,"speed":14,"hex_longitude":"2d1944c0","hex_latitude":"0720afc0","is_valid_coordinates":true} 
[2026-06-21 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201830144001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3682427650179072,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067605938176,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038405000,"timestamp_ms":1782038405000,"timestamp_seconds":1782038405,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c41f88"} 
[2026-06-21 16:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-21 16:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201830144001,"66":14102,"103":206,"83":41984,"24":14,"16":3682427650179072,"45":1819032067605938176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201830144001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:11:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3682427650179072,"km_value":3682427650179.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067605938176,"description":"Unknown IO ID 45"} 
[2026-06-21 16:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201830144001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1819032067605938176}} 
[2026-06-21 16:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":109603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:11:00] local.INFO: GPS data processed {"connection_id":109603,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:11:00] local.INFO: Acknowledgment sent {"connection_id":109603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:11:07] local.INFO: TCP Data received {"connection_id":108992,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:11:07] local.INFO: Processing buffer {"connection_id":108992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:11:07] local.INFO: Packet analysis {"connection_id":108992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:11:07] local.INFO: Extracted packet for processing {"connection_id":108992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:11:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":108992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:11:07] local.INFO: GPS data processed {"connection_id":108992,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:11:07] local.INFO: Acknowledgment sent {"connection_id":108992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:11:23] local.INFO: TCP Data received {"connection_id":110565,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:23] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:23] local.INFO: IMEI packet received {"connection_id":110565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":110565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:11:25] local.INFO: TCP Data received {"connection_id":110565,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:25] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:25] local.INFO: IMEI packet received {"connection_id":110565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":110565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:11:28] local.INFO: TCP Data received {"connection_id":110565,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:28] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:11:28] local.INFO: IMEI packet received {"connection_id":110565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":110565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:11:29] local.INFO: TCP Data received {"connection_id":110565,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c442b0012d1954400720ac00003200582a..."} 
[2026-06-21 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c442b0012d1954400720ac00003200582a..."} 
[2026-06-21 16:11:29] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c442b0012d1954400720ac00003200582a..."} 
[2026-06-21 16:11:29] local.INFO: Packet analysis {"connection_id":110565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c4"} 
[2026-06-21 16:11:29] local.INFO: Extracted packet for processing {"connection_id":110565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c4"} 
[2026-06-21 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756634688,"raw_latitude":119581696,"longitude_deg":75.6634688,"latitude_deg":11.9581696,"altitude":50,"angle":88,"satellites":42,"speed":20,"hex_longitude":"2d195440","hex_latitude":"0720ac00","is_valid_coordinates":true} 
[2026-06-21 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201831680001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3682625218674688,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820791286210215936,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038414000,"timestamp_ms":1782038414000,"timestamp_seconds":1782038414,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c442b0"} 
[2026-06-21 16:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-21 16:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201831680001,"66":14189,"103":206,"83":41984,"24":20,"16":3682625218674688,"45":1820791286210215936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201831680001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:11:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3682625218674688,"km_value":3682625218674.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820791286210215936,"description":"Unknown IO ID 45"} 
[2026-06-21 16:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201831680001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1820791286210215936}} 
[2026-06-21 16:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":110565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:11:29] local.INFO: GPS data processed {"connection_id":110565,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:11:29] local.INFO: Acknowledgment sent {"connection_id":110565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:11:29] local.INFO: TCP Data received {"connection_id":109605,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:11:29] local.INFO: Processing buffer {"connection_id":109605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:11:29] local.INFO: IMEI packet received {"connection_id":109605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":109605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:11:30] local.INFO: TCP Data received {"connection_id":110565,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c469c0012d196bc00720adc00034004a2a..."} 
[2026-06-21 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c469c0012d196bc00720adc00034004a2a..."} 
[2026-06-21 16:11:30] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c469c0012d196bc00720adc00034004a2a..."} 
[2026-06-21 16:11:30] local.INFO: Packet analysis {"connection_id":110565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c4"} 
[2026-06-21 16:11:30] local.INFO: Extracted packet for processing {"connection_id":110565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c4"} 
[2026-06-21 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119582144,"longitude_deg":75.6640704,"latitude_deg":11.9582144,"altitude":52,"angle":74,"satellites":42,"speed":27,"hex_longitude":"2d196bc0","hex_latitude":"0720adc0","is_valid_coordinates":true} 
[2026-06-21 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201833984001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3682908686516224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825154148348985344,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782038424000,"timestamp_ms":1782038424000,"timestamp_seconds":1782038424,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c469c0"} 
[2026-06-21 16:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-21 16:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201833984001,"66":14211,"103":206,"83":41984,"24":27,"16":3682908686516224,"45":1825154148348985344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201833984001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:11:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3682908686516224,"km_value":3682908686516.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825154148348985344,"description":"Unknown IO ID 45"} 
[2026-06-21 16:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201833984001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1825154148348985344}} 
[2026-06-21 16:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":110565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:11:30] local.INFO: GPS data processed {"connection_id":110565,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:11:30] local.INFO: Acknowledgment sent {"connection_id":110565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:11:35] local.INFO: TCP Data received {"connection_id":109605,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:11:35] local.INFO: Processing buffer {"connection_id":109605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:11:35] local.INFO: IMEI packet received {"connection_id":109605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":109605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:11:36] local.INFO: TCP Data received {"connection_id":109605,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:11:36] local.INFO: Processing buffer {"connection_id":109605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:11:36] local.INFO: Packet analysis {"connection_id":109605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:11:36] local.INFO: Extracted packet for processing {"connection_id":109605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:11:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":109605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:11:36] local.INFO: GPS data processed {"connection_id":109605,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:11:36] local.INFO: Acknowledgment sent {"connection_id":109605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:12:01] local.INFO: TCP Data received {"connection_id":110565,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c51988012d19ae00072089c8002b00ab28..."} 
[2026-06-21 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c51988012d19ae00072089c8002b00ab28..."} 
[2026-06-21 16:12:01] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c51988012d19ae00072089c8002b00ab28..."} 
[2026-06-21 16:12:01] local.INFO: Packet analysis {"connection_id":110565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c5"} 
[2026-06-21 16:12:01] local.INFO: Extracted packet for processing {"connection_id":110565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c5"} 
[2026-06-21 16:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572936,"longitude_deg":75.6657664,"latitude_deg":11.9572936,"altitude":43,"angle":171,"satellites":40,"speed":28,"hex_longitude":"2d19ae00","hex_latitude":"072089c8","is_valid_coordinates":true} 
[2026-06-21 16:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201847552001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3684360385462272,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018537472,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782038469000,"timestamp_ms":1782038469000,"timestamp_seconds":1782038469,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c51988"} 
[2026-06-21 16:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 16:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201847552001,"66":14211,"103":206,"83":41984,"24":28,"16":3684360385462272,"45":1850275790018537472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201847552001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:12:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3684360385462272,"km_value":3684360385462.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018537472,"description":"Unknown IO ID 45"} 
[2026-06-21 16:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201847552001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850275790018537472}} 
[2026-06-21 16:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":110565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:12:01] local.INFO: GPS data processed {"connection_id":110565,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:12:01] local.INFO: Acknowledgment sent {"connection_id":110565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:12:07] local.INFO: TCP Data received {"connection_id":109605,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:12:07] local.INFO: Processing buffer {"connection_id":109605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:12:07] local.INFO: Packet analysis {"connection_id":109605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:12:07] local.INFO: Extracted packet for processing {"connection_id":109605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":109605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:12:07] local.INFO: GPS data processed {"connection_id":109605,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:12:07] local.INFO: Acknowledgment sent {"connection_id":109605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:12:23] local.INFO: TCP Data received {"connection_id":109606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:23] local.INFO: Processing buffer {"connection_id":109606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:23] local.INFO: IMEI packet received {"connection_id":109606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":109606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:12:24] local.INFO: TCP Data received {"connection_id":109606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:24] local.INFO: Processing buffer {"connection_id":109606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:24] local.INFO: IMEI packet received {"connection_id":109606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":109606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:12:26] local.INFO: TCP Data received {"connection_id":109606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:26] local.INFO: Processing buffer {"connection_id":109606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:26] local.INFO: IMEI packet received {"connection_id":109606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":109606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:12:27] local.INFO: TCP Data received {"connection_id":109606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:27] local.INFO: Processing buffer {"connection_id":109606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:12:27] local.INFO: IMEI packet received {"connection_id":109606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":109606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:12:28] local.INFO: TCP Data received {"connection_id":109606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c538c8012d19b380072072b00029009b28..."} 
[2026-06-21 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c538c8012d19b380072072b00029009b28..."} 
[2026-06-21 16:12:28] local.INFO: Processing buffer {"connection_id":109606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c538c8012d19b380072072b00029009b28..."} 
[2026-06-21 16:12:28] local.INFO: Packet analysis {"connection_id":109606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c5"} 
[2026-06-21 16:12:28] local.INFO: Extracted packet for processing {"connection_id":109606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c5"} 
[2026-06-21 16:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756659072,"raw_latitude":119567024,"longitude_deg":75.6659072,"latitude_deg":11.9567024,"altitude":41,"angle":155,"satellites":40,"speed":32,"hex_longitude":"2d19b380","hex_latitude":"072072b0","is_valid_coordinates":true} 
[2026-06-21 16:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201848064001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3684656738205696,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506524160,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038477000,"timestamp_ms":1782038477000,"timestamp_seconds":1782038477,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c538c8"} 
[2026-06-21 16:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 16:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201848064001,"66":13993,"103":206,"83":41984,"24":32,"16":3684656738205696,"45":1850416527506524160},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201848064001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:12:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3684656738205696,"km_value":3684656738205.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506524160,"description":"Unknown IO ID 45"} 
[2026-06-21 16:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201848064001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850416527506524160}} 
[2026-06-21 16:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":109606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:12:28] local.INFO: GPS data processed {"connection_id":109606,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:12:28] local.INFO: Acknowledgment sent {"connection_id":109606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:12:29] local.INFO: TCP Data received {"connection_id":109606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c54c50012d19b940072062c8002900aa28..."} 
[2026-06-21 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c54c50012d19b940072062c8002900aa28..."} 
[2026-06-21 16:12:29] local.INFO: Processing buffer {"connection_id":109606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c54c50012d19b940072062c8002900aa28..."} 
[2026-06-21 16:12:29] local.INFO: Packet analysis {"connection_id":109606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c5"} 
[2026-06-21 16:12:29] local.INFO: Extracted packet for processing {"connection_id":109606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c5"} 
[2026-06-21 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119562952,"longitude_deg":75.6660544,"latitude_deg":11.9562952,"altitude":41,"angle":170,"satellites":40,"speed":35,"hex_longitude":"2d19b940","hex_latitude":"072062c8","is_valid_coordinates":true} 
[2026-06-21 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201850112001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3684867191603200,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851964639876919296,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038482000,"timestamp_ms":1782038482000,"timestamp_seconds":1782038482,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c54c50"} 
[2026-06-21 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-21 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201850112001,"66":14265,"103":206,"83":41984,"24":35,"16":3684867191603200,"45":1851964639876919296},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201850112001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:12:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3684867191603200,"km_value":3684867191603.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851964639876919296,"description":"Unknown IO ID 45"} 
[2026-06-21 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201850112001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1851964639876919296}} 
[2026-06-21 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":109606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:12:29] local.INFO: GPS data processed {"connection_id":109606,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:12:29] local.INFO: Acknowledgment sent {"connection_id":109606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:12:34] local.INFO: TCP Data received {"connection_id":110566,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:12:34] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:12:34] local.INFO: IMEI packet received {"connection_id":110566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":110566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:12:37] local.INFO: TCP Data received {"connection_id":108993,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:12:37] local.INFO: Processing buffer {"connection_id":108993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:12:37] local.INFO: IMEI packet received {"connection_id":108993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":108993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:12:40] local.INFO: TCP Data received {"connection_id":110566,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:12:40] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:12:40] local.INFO: IMEI packet received {"connection_id":110566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":110566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:12:41] local.INFO: TCP Data received {"connection_id":110566,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:12:41] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:12:41] local.INFO: Packet analysis {"connection_id":110566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:12:41] local.INFO: Extracted packet for processing {"connection_id":110566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 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-06-21 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:12:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:12:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":110566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:12:41] local.INFO: GPS data processed {"connection_id":110566,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:12:41] local.INFO: Acknowledgment sent {"connection_id":110566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:13:00] local.INFO: TCP Data received {"connection_id":109606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c62328012d19ca40071ff3b0002800de2a..."} 
[2026-06-21 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c62328012d19ca40071ff3b0002800de2a..."} 
[2026-06-21 16:13:00] local.INFO: Processing buffer {"connection_id":109606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c62328012d19ca40071ff3b0002800de2a..."} 
[2026-06-21 16:13:00] local.INFO: Packet analysis {"connection_id":109606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:13:00] local.INFO: Extracted packet for processing {"connection_id":109606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534512,"longitude_deg":75.6664896,"latitude_deg":11.9534512,"altitude":40,"angle":222,"satellites":42,"speed":13,"hex_longitude":"2d19ca40","hex_latitude":"071ff3b0","is_valid_coordinates":true} 
[2026-06-21 16:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201864704001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3686507869110272,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145542428672,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038537000,"timestamp_ms":1782038537000,"timestamp_seconds":1782038537,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c62328"} 
[2026-06-21 16:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-21 16:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201864704001,"66":14254,"101":206,"83":41984,"24":13,"16":3686507869110272,"45":1858931145542428672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-21 16:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201864704001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:13:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-21 16:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3686507869110272,"km_value":3686507869110.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145542428672,"description":"Unknown IO ID 45"} 
[2026-06-21 16:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201864704001,"power":14254,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1858931145542428672}} 
[2026-06-21 16:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":109606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:13:00] local.INFO: GPS data processed {"connection_id":109606,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:13:00] local.INFO: Acknowledgment sent {"connection_id":109606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:13:12] local.INFO: TCP Data received {"connection_id":110566,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:13:12] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:13:12] local.INFO: Packet analysis {"connection_id":110566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:13:12] local.INFO: Extracted packet for processing {"connection_id":110566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":110566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:13:12] local.INFO: GPS data processed {"connection_id":110566,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:13:12] local.INFO: Acknowledgment sent {"connection_id":110566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:13:17] local.INFO: TCP Data received {"connection_id":108819,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:13:17] local.INFO: Processing buffer {"connection_id":108819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:13:17] local.INFO: IMEI packet received {"connection_id":108819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":108819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:13:22] local.INFO: TCP Data received {"connection_id":108820,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:22] local.INFO: Processing buffer {"connection_id":108820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:22] local.INFO: IMEI packet received {"connection_id":108820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":108820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:13:25] local.INFO: TCP Data received {"connection_id":108820,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:25] local.INFO: Processing buffer {"connection_id":108820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:25] local.INFO: IMEI packet received {"connection_id":108820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":108820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:13:28] local.INFO: TCP Data received {"connection_id":108820,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:28] local.INFO: Processing buffer {"connection_id":108820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:13:28] local.INFO: IMEI packet received {"connection_id":108820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":108820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:13:29] local.INFO: TCP Data received {"connection_id":108820,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c62710012d19c900071ff2e0002800ef2a..."} 
[2026-06-21 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c62710012d19c900071ff2e0002800ef2a..."} 
[2026-06-21 16:13:29] local.INFO: Processing buffer {"connection_id":108820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c62710012d19c900071ff2e0002800ef2a..."} 
[2026-06-21 16:13:29] local.INFO: Packet analysis {"connection_id":108820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:13:29] local.INFO: Extracted packet for processing {"connection_id":108820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756664576,"raw_latitude":119534304,"longitude_deg":75.6664576,"latitude_deg":11.9534304,"altitude":40,"angle":239,"satellites":42,"speed":15,"hex_longitude":"2d19c900","hex_latitude":"071ff2e0","is_valid_coordinates":true} 
[2026-06-21 16:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201865472001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3686525048979456,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588763648,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038538000,"timestamp_ms":1782038538000,"timestamp_seconds":1782038538,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c62710"} 
[2026-06-21 16:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-21 16:13:29] 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-06-21 16:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201865472001,"66":14233,"101":206,"83":41984,"24":15,"16":3686525048979456,"45":1858368195588763648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-21 16:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201865472001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:13:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-21 16:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3686525048979456,"km_value":3686525048979.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588763648,"description":"Unknown IO ID 45"} 
[2026-06-21 16:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201865472001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858368195588763648}} 
[2026-06-21 16:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":108820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:13:29] local.INFO: GPS data processed {"connection_id":108820,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:13:29] local.INFO: Acknowledgment sent {"connection_id":108820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:13:29] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:13:29] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:13:29] local.INFO: IMEI packet received {"connection_id":110567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":110567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:13:35] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:13:35] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:13:35] local.INFO: IMEI packet received {"connection_id":110567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":110567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:13:36] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:13:36] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:13:36] local.INFO: Packet analysis {"connection_id":110567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:13:36] local.INFO: Extracted packet for processing {"connection_id":110567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:13:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":110567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:13:36] local.INFO: GPS data processed {"connection_id":110567,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:13:36] local.INFO: Acknowledgment sent {"connection_id":110567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:14:00] local.INFO: TCP Data received {"connection_id":108820,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c6e678012d197d00071fec40003b01022a..."} 
[2026-06-21 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c6e678012d197d00071fec40003b01022a..."} 
[2026-06-21 16:14:00] local.INFO: Processing buffer {"connection_id":108820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c6e678012d197d00071fec40003b01022a..."} 
[2026-06-21 16:14:00] local.INFO: Packet analysis {"connection_id":108820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:14:00] local.INFO: Extracted packet for processing {"connection_id":108820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756645120,"raw_latitude":119532608,"longitude_deg":75.664512,"latitude_deg":11.9532608,"altitude":59,"angle":258,"satellites":42,"speed":18,"hex_longitude":"2d197d00","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-06-21 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201878016001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687487121653760,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834846652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038587000,"timestamp_ms":1782038587000,"timestamp_seconds":1782038587,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c6e678"} 
[2026-06-21 16:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-21 16:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201878016001,"66":13156,"102":206,"83":41984,"24":18,"16":3687487121653760,"45":1837116834846652416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201878016001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:14:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687487121653760,"km_value":3687487121653.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834846652416,"description":"Unknown IO ID 45"} 
[2026-06-21 16:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201878016001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1837116834846652416}} 
[2026-06-21 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":108820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:14:00] local.INFO: GPS data processed {"connection_id":108820,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:14:00] local.INFO: Acknowledgment sent {"connection_id":108820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:14:07] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:07] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:07] local.INFO: Packet analysis {"connection_id":110567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:14:07] local.INFO: Extracted packet for processing {"connection_id":110567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":110567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:14:07] local.INFO: GPS data processed {"connection_id":110567,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:14:07] local.INFO: Acknowledgment sent {"connection_id":110567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:14:22] local.INFO: TCP Data received {"connection_id":108821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:14:22] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:14:22] local.INFO: IMEI packet received {"connection_id":108821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":108821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:14:28] local.INFO: TCP Data received {"connection_id":108821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:14:28] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:14:28] local.INFO: IMEI packet received {"connection_id":108821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":108821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:14:28] local.INFO: TCP Data received {"connection_id":108821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c6f230012d197800071febb8003c010e29..."} 
[2026-06-21 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c6f230012d197800071febb8003c010e29..."} 
[2026-06-21 16:14:28] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c6f230012d197800071febb8003c010e29..."} 
[2026-06-21 16:14:28] local.INFO: Packet analysis {"connection_id":108821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:14:28] local.INFO: Extracted packet for processing {"connection_id":108821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c6"} 
[2026-06-21 16:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756643840,"raw_latitude":119532472,"longitude_deg":75.664384,"latitude_deg":11.9532472,"altitude":60,"angle":270,"satellites":41,"speed":15,"hex_longitude":"2d197800","hex_latitude":"071febb8","is_valid_coordinates":true} 
[2026-06-21 16:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201878272001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687547251195904,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836624253637378048,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038590000,"timestamp_ms":1782038590000,"timestamp_seconds":1782038590,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c6f230"} 
[2026-06-21 16:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-21 16:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201878272001,"66":13135,"102":206,"83":41984,"24":15,"16":3687547251195904,"45":1836624253637378048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201878272001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687547251195904,"km_value":3687547251195.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836624253637378048,"description":"Unknown IO ID 45"} 
[2026-06-21 16:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201878272001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1836624253637378048}} 
[2026-06-21 16:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":108821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:14:29] local.INFO: GPS data processed {"connection_id":108821,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:14:29] local.INFO: Acknowledgment sent {"connection_id":108821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:14:35] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:14:35] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:14:35] local.INFO: IMEI packet received {"connection_id":110568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":110568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:14:40] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:14:40] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:14:40] local.INFO: IMEI packet received {"connection_id":110568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":110568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:14:41] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:41] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:41] local.INFO: Packet analysis {"connection_id":110568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:14:41] local.INFO: Extracted packet for processing {"connection_id":110568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:14:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":110568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:14:41] local.INFO: GPS data processed {"connection_id":110568,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:14:41] local.INFO: Acknowledgment sent {"connection_id":110568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:14:45] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:45] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c3a288012d34c58006aa3f50000c006722..."} 
[2026-06-21 16:14:45] local.INFO: Packet analysis {"connection_id":110568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:14:45] local.INFO: Extracted packet for processing {"connection_id":110568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c3"} 
[2026-06-21 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201746432001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782038373000,"timestamp_ms":1782038373000,"timestamp_seconds":1782038373,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c3a288"} 
[2026-06-21 16:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201746432001,"66":25180,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201746432001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:14:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:14:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201746432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":110568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:14:45] local.INFO: GPS data processed {"connection_id":110568,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:14:45] local.INFO: Acknowledgment sent {"connection_id":110568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:15:00] local.INFO: TCP Data received {"connection_id":108821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c701d0012d197240071fec30003d011b2a..."} 
[2026-06-21 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c701d0012d197240071fec30003d011b2a..."} 
[2026-06-21 16:15:00] local.INFO: Processing buffer {"connection_id":108821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c701d0012d197240071fec30003d011b2a..."} 
[2026-06-21 16:15:00] local.INFO: Packet analysis {"connection_id":108821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:15:00] local.INFO: Extracted packet for processing {"connection_id":108821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756642368,"raw_latitude":119532592,"longitude_deg":75.6642368,"latitude_deg":11.9532592,"altitude":61,"angle":283,"satellites":42,"speed":11,"hex_longitude":"2d197240","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-06-21 16:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201879040001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687615970672640,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835216878753789952,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038594000,"timestamp_ms":1782038594000,"timestamp_seconds":1782038594,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c701d0"} 
[2026-06-21 16:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-21 16:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201879040001,"66":13135,"102":206,"83":41984,"24":11,"16":3687615970672640,"45":1835216878753789952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201879040001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:15:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687615970672640,"km_value":3687615970672.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835216878753789952,"description":"Unknown IO ID 45"} 
[2026-06-21 16:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201879040001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1835216878753789952}} 
[2026-06-21 16:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":108821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:15:00] local.INFO: GPS data processed {"connection_id":108821,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:15:00] local.INFO: Acknowledgment sent {"connection_id":108821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:15:28] local.INFO: TCP Data received {"connection_id":109608,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:15:28] local.INFO: Processing buffer {"connection_id":109608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:15:28] local.INFO: IMEI packet received {"connection_id":109608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":109608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:15:30] local.INFO: TCP Data received {"connection_id":109609,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:15:30] local.INFO: Processing buffer {"connection_id":109609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:15:30] local.INFO: IMEI packet received {"connection_id":109609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":109609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:15:33] local.INFO: TCP Data received {"connection_id":109608,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:15:33] local.INFO: Processing buffer {"connection_id":109608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:15:33] local.INFO: IMEI packet received {"connection_id":109608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":109608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:15:33] local.INFO: TCP Data received {"connection_id":109608,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c753d8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c753d8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:15:33] local.INFO: Processing buffer {"connection_id":109608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c753d8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:15:33] local.INFO: Packet analysis {"connection_id":109608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:15:33] local.INFO: Extracted packet for processing {"connection_id":109608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201880064001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833598397637734400,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782038615000,"timestamp_ms":1782038615000,"timestamp_seconds":1782038615,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c753d8"} 
[2026-06-21 16:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-21 16:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201880064001,"66":13091,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1833598397637734400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201880064001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:15:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833598397637734400,"description":"Unknown IO ID 45"} 
[2026-06-21 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201880064001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1833598397637734400}} 
[2026-06-21 16:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":109608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:15:34] local.INFO: GPS data processed {"connection_id":109608,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:15:34] local.INFO: Acknowledgment sent {"connection_id":109608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:15:35] local.INFO: TCP Data received {"connection_id":109609,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:15:35] local.INFO: Processing buffer {"connection_id":109609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:15:35] local.INFO: IMEI packet received {"connection_id":109609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":109609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:15:36] local.INFO: TCP Data received {"connection_id":109609,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:15:36] local.INFO: Processing buffer {"connection_id":109609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:15:36] local.INFO: Packet analysis {"connection_id":109609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:15:36] local.INFO: Extracted packet for processing {"connection_id":109609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 16:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:15:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":109609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:15:36] local.INFO: GPS data processed {"connection_id":109609,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:15:36] local.INFO: Acknowledgment sent {"connection_id":109609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:15:37] local.INFO: TCP Data received {"connection_id":109608,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c7a5e0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c7a5e0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:15:37] local.INFO: Processing buffer {"connection_id":109608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c7a5e0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:15:37] local.INFO: Packet analysis {"connection_id":109608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:15:37] local.INFO: Extracted packet for processing {"connection_id":109608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201885440001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782038636000,"timestamp_ms":1782038636000,"timestamp_seconds":1782038636,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c7a5e0"} 
[2026-06-21 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-06-21 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-21 16:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201885440001,"66":13048,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201885440001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201885440001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":109608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:15:37] local.INFO: GPS data processed {"connection_id":109608,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:15:37] local.INFO: Acknowledgment sent {"connection_id":109608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:16:08] local.INFO: TCP Data received {"connection_id":109608,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c7f7e8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c7f7e8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:16:08] local.INFO: Processing buffer {"connection_id":109608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c7f7e8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:16:08] local.INFO: Packet analysis {"connection_id":109608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:16:08] local.INFO: Extracted packet for processing {"connection_id":109608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c7"} 
[2026-06-21 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201890816001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782038657000,"timestamp_ms":1782038657000,"timestamp_seconds":1782038657,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c7f7e8"} 
[2026-06-21 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-21 16:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201890816001,"66":13048,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201890816001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:16:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201890816001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":109608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:16:08] local.INFO: GPS data processed {"connection_id":109608,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:16:08] local.INFO: Acknowledgment sent {"connection_id":109608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:16:23] local.INFO: TCP Data received {"connection_id":108823,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:16:23] local.INFO: Processing buffer {"connection_id":108823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:16:23] local.INFO: IMEI packet received {"connection_id":108823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":108823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:16:28] local.INFO: TCP Data received {"connection_id":108823,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:16:28] local.INFO: Processing buffer {"connection_id":108823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:16:28] local.INFO: IMEI packet received {"connection_id":108823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":108823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:16:28] local.INFO: TCP Data received {"connection_id":108823,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c849f0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c849f0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:16:28] local.INFO: Processing buffer {"connection_id":108823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c849f0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:16:28] local.INFO: Packet analysis {"connection_id":108823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:16:28] local.INFO: Extracted packet for processing {"connection_id":108823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201896192001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038678000,"timestamp_ms":1782038678000,"timestamp_seconds":1782038678,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c849f0"} 
[2026-06-21 16:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-21 16:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201896192001,"66":12993,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201896192001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201896192001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":108823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:16:29] local.INFO: GPS data processed {"connection_id":108823,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:16:29] local.INFO: Acknowledgment sent {"connection_id":108823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:17:00] local.INFO: TCP Data received {"connection_id":108823,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c89bf8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c89bf8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:17:00] local.INFO: Processing buffer {"connection_id":108823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c89bf8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:17:00] local.INFO: Packet analysis {"connection_id":108823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:00] local.INFO: Extracted packet for processing {"connection_id":108823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201901568001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038699000,"timestamp_ms":1782038699000,"timestamp_seconds":1782038699,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c89bf8"} 
[2026-06-21 16:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-21 16:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201901568001,"66":12950,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201901568001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:17:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201901568001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":108823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:17:00] local.INFO: GPS data processed {"connection_id":108823,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:17:00] local.INFO: Acknowledgment sent {"connection_id":108823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:17:21] local.INFO: TCP Data received {"connection_id":109609,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:17:21] local.INFO: Processing buffer {"connection_id":109609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:17:21] local.INFO: Packet analysis {"connection_id":109609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:21] local.INFO: Extracted packet for processing {"connection_id":109609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 16:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":109609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":109609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":109609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:17:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:17:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":109609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:17:21] local.INFO: GPS data processed {"connection_id":109609,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:17:21] local.INFO: Acknowledgment sent {"connection_id":109609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:17:21] local.INFO: TCP Data received {"connection_id":109611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:21] local.INFO: Processing buffer {"connection_id":109611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:21] local.INFO: IMEI packet received {"connection_id":109611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":109611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:17:22] local.INFO: TCP Data received {"connection_id":109611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:22] local.INFO: Processing buffer {"connection_id":109611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:22] local.INFO: IMEI packet received {"connection_id":109611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":109611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:17:28] local.INFO: TCP Data received {"connection_id":109611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:28] local.INFO: Processing buffer {"connection_id":109611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:17:28] local.INFO: IMEI packet received {"connection_id":109611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":109611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:17:28] local.INFO: TCP Data received {"connection_id":109611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c8ee00012d196880071fee50003f011e29..."} 
[2026-06-21 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c8ee00012d196880071fee50003f011e29..."} 
[2026-06-21 16:17:28] local.INFO: Processing buffer {"connection_id":109611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c8ee00012d196880071fee50003f011e29..."} 
[2026-06-21 16:17:28] local.INFO: Packet analysis {"connection_id":109611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:28] local.INFO: Extracted packet for processing {"connection_id":109611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201906944001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038720000,"timestamp_ms":1782038720000,"timestamp_seconds":1782038720,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c8ee00"} 
[2026-06-21 16:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-21 16:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201906944001,"66":12939,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201906944001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201906944001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":109611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:17:29] local.INFO: GPS data processed {"connection_id":109611,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:17:29] local.INFO: Acknowledgment sent {"connection_id":109611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:17:34] local.INFO: TCP Data received {"connection_id":108824,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:17:34] local.INFO: Processing buffer {"connection_id":108824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:17:34] local.INFO: IMEI packet received {"connection_id":108824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":108824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:17:40] local.INFO: TCP Data received {"connection_id":108824,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:17:40] local.INFO: Processing buffer {"connection_id":108824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:17:40] local.INFO: IMEI packet received {"connection_id":108824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":108824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:17:41] local.INFO: TCP Data received {"connection_id":108824,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:17:41] local.INFO: Processing buffer {"connection_id":108824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:17:41] local.INFO: Packet analysis {"connection_id":108824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:41] local.INFO: Extracted packet for processing {"connection_id":108824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 16:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":108824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:17:41] local.INFO: GPS data processed {"connection_id":108824,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:17:41] local.INFO: Acknowledgment sent {"connection_id":108824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:18:00] local.INFO: TCP Data received {"connection_id":109611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c94008012d196880071fee50003f011e2a..."} 
[2026-06-21 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c94008012d196880071fee50003f011e2a..."} 
[2026-06-21 16:18:00] local.INFO: Processing buffer {"connection_id":109611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c94008012d196880071fee50003f011e2a..."} 
[2026-06-21 16:18:00] local.INFO: Packet analysis {"connection_id":109611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c9"} 
[2026-06-21 16:18:00] local.INFO: Extracted packet for processing {"connection_id":109611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c9"} 
[2026-06-21 16:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201912320001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038741000,"timestamp_ms":1782038741000,"timestamp_seconds":1782038741,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c94008"} 
[2026-06-21 16:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-21 16:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201912320001,"66":12863,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201912320001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:18:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201912320001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":109611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:18:00] local.INFO: GPS data processed {"connection_id":109611,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:18:00] local.INFO: Acknowledgment sent {"connection_id":109611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:18:12] local.INFO: TCP Data received {"connection_id":108824,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:12] local.INFO: Processing buffer {"connection_id":108824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:12] local.INFO: Packet analysis {"connection_id":108824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:18:12] local.INFO: Extracted packet for processing {"connection_id":108824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 16:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":108824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:18:12] local.INFO: GPS data processed {"connection_id":108824,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:18:12] local.INFO: Acknowledgment sent {"connection_id":108824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:18:23] local.INFO: TCP Data received {"connection_id":109612,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:23] local.INFO: Processing buffer {"connection_id":109612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:23] local.INFO: IMEI packet received {"connection_id":109612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":109612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:18:24] local.INFO: TCP Data received {"connection_id":109612,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:24] local.INFO: Processing buffer {"connection_id":109612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:24] local.INFO: IMEI packet received {"connection_id":109612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":109612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:18:28] local.INFO: TCP Data received {"connection_id":109612,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:28] local.INFO: Processing buffer {"connection_id":109612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:18:28] local.INFO: IMEI packet received {"connection_id":109612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":109612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:18:28] local.INFO: TCP Data received {"connection_id":109612,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c99210012d196880071fee50003f011e2a..."} 
[2026-06-21 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c99210012d196880071fee50003f011e2a..."} 
[2026-06-21 16:18:28] local.INFO: Processing buffer {"connection_id":109612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c99210012d196880071fee50003f011e2a..."} 
[2026-06-21 16:18:28] local.INFO: Packet analysis {"connection_id":109612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c9"} 
[2026-06-21 16:18:28] local.INFO: Extracted packet for processing {"connection_id":109612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c9"} 
[2026-06-21 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201917696001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038762000,"timestamp_ms":1782038762000,"timestamp_seconds":1782038762,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c99210"} 
[2026-06-21 16:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-21 16:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201917696001,"66":12917,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201917696001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:18:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201917696001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":109612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:18:29] local.INFO: GPS data processed {"connection_id":109612,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:18:29] local.INFO: Acknowledgment sent {"connection_id":109612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:18:32] local.INFO: TCP Data received {"connection_id":110569,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:18:32] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:18:32] local.INFO: IMEI packet received {"connection_id":110569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":110569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:18:35] local.INFO: TCP Data received {"connection_id":108825,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:18:35] local.INFO: Processing buffer {"connection_id":108825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:18:35] local.INFO: IMEI packet received {"connection_id":108825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":108825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:18:40] local.INFO: TCP Data received {"connection_id":108825,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:18:40] local.INFO: Processing buffer {"connection_id":108825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:18:40] local.INFO: IMEI packet received {"connection_id":108825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":108825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:18:41] local.INFO: TCP Data received {"connection_id":108825,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:41] local.INFO: Processing buffer {"connection_id":108825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:41] local.INFO: Packet analysis {"connection_id":108825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:18:41] local.INFO: Extracted packet for processing {"connection_id":108825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:18:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":108825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:18:41] local.INFO: GPS data processed {"connection_id":108825,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:18:41] local.INFO: Acknowledgment sent {"connection_id":108825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:18:45] local.INFO: TCP Data received {"connection_id":108825,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:45] local.INFO: Processing buffer {"connection_id":108825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:18:45] local.INFO: Packet analysis {"connection_id":108825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:18:45] local.INFO: Extracted packet for processing {"connection_id":108825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 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-06-21 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:18:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":108825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:18:45] local.INFO: GPS data processed {"connection_id":108825,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:18:45] local.INFO: Acknowledgment sent {"connection_id":108825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:19:00] local.INFO: TCP Data received {"connection_id":109612,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c9e418012d196880071fee50003f011e2b..."} 
[2026-06-21 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c9e418012d196880071fee50003f011e2b..."} 
[2026-06-21 16:19:00] local.INFO: Processing buffer {"connection_id":109612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c9e418012d196880071fee50003f011e2b..."} 
[2026-06-21 16:19:00] local.INFO: Packet analysis {"connection_id":109612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c9"} 
[2026-06-21 16:19:00] local.INFO: Extracted packet for processing {"connection_id":109612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c9"} 
[2026-06-21 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201923072001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038783000,"timestamp_ms":1782038783000,"timestamp_seconds":1782038783,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c9e418"} 
[2026-06-21 16:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-21 16:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201923072001,"66":12841,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201923072001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:19:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201923072001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":109612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:19:00] local.INFO: GPS data processed {"connection_id":109612,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:19:00] local.INFO: Acknowledgment sent {"connection_id":109612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:19:12] local.INFO: TCP Data received {"connection_id":110570,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:19:12] local.INFO: Processing buffer {"connection_id":110570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:19:12] local.INFO: IMEI packet received {"connection_id":110570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":110570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:19:22] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:19:22] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:19:22] local.INFO: IMEI packet received {"connection_id":110571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":110571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:19:28] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:19:28] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:19:28] local.INFO: IMEI packet received {"connection_id":110571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":110571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:19:29] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ca3620012d196880071fee50003f011e2b..."} 
[2026-06-21 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ca3620012d196880071fee50003f011e2b..."} 
[2026-06-21 16:19:29] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ca3620012d196880071fee50003f011e2b..."} 
[2026-06-21 16:19:29] local.INFO: Packet analysis {"connection_id":110571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ca"} 
[2026-06-21 16:19:29] local.INFO: Extracted packet for processing {"connection_id":110571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ca"} 
[2026-06-21 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201928448001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782038804000,"timestamp_ms":1782038804000,"timestamp_seconds":1782038804,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ca3620"} 
[2026-06-21 16:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 16:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201928448001,"66":12558,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201928448001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:19:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201928448001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":110571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:19:29] local.INFO: GPS data processed {"connection_id":110571,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:19:29] local.INFO: Acknowledgment sent {"connection_id":110571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:19:30] local.INFO: TCP Data received {"connection_id":109613,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:19:30] local.INFO: Processing buffer {"connection_id":109613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:19:30] local.INFO: IMEI packet received {"connection_id":109613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":109613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:19:35] local.INFO: TCP Data received {"connection_id":109613,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:19:35] local.INFO: Processing buffer {"connection_id":109613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:19:35] local.INFO: IMEI packet received {"connection_id":109613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":109613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:19:36] local.INFO: TCP Data received {"connection_id":109613,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:19:36] local.INFO: Processing buffer {"connection_id":109613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:19:36] local.INFO: Packet analysis {"connection_id":109613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:19:36] local.INFO: Extracted packet for processing {"connection_id":109613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 16:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:19:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":109613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:19:36] local.INFO: GPS data processed {"connection_id":109613,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:19:36] local.INFO: Acknowledgment sent {"connection_id":109613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:20:00] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ca8828012d196880071fee50003f011e2b..."} 
[2026-06-21 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ca8828012d196880071fee50003f011e2b..."} 
[2026-06-21 16:20:00] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ca8828012d196880071fee50003f011e2b..."} 
[2026-06-21 16:20:00] local.INFO: Packet analysis {"connection_id":110571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ca"} 
[2026-06-21 16:20:00] local.INFO: Extracted packet for processing {"connection_id":110571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ca"} 
[2026-06-21 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201933824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038825000,"timestamp_ms":1782038825000,"timestamp_seconds":1782038825,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ca8828"} 
[2026-06-21 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3922217456,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159248,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3371040769,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3998220351,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":155,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635000,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,25,158,228,45,128,238,63,43,10,66,146,42,64,1,240,227,233,31,4,113,205,155,104,80,239,50,2,13,7,120,54,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-21 16:20:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539943069398597632,"timestamp_seconds":4539943069398598.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201933824001,"66":12841,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201933824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:20:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201933824001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":110571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:20:00] local.INFO: GPS data processed {"connection_id":110571,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:20:00] local.INFO: Acknowledgment sent {"connection_id":110571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:20:07] local.INFO: TCP Data received {"connection_id":109613,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:20:07] local.INFO: Processing buffer {"connection_id":109613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9c83a50012d34c58006aa3f500017006722..."} 
[2026-06-21 16:20:07] local.INFO: Packet analysis {"connection_id":109613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:20:07] local.INFO: Extracted packet for processing {"connection_id":109613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9c8"} 
[2026-06-21 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":23,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201823488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038674000,"timestamp_ms":1782038674000,"timestamp_seconds":1782038674,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9c83a50"} 
[2026-06-21 16:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 16:20: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-06-21 16:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201823488001,"66":24614,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201823488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201823488001,"power":24614,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":109613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:20:07] local.INFO: GPS data processed {"connection_id":109613,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:20:07] local.INFO: Acknowledgment sent {"connection_id":109613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:20:22] local.INFO: TCP Data received {"connection_id":108826,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:20:22] local.INFO: Processing buffer {"connection_id":108826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:20:22] local.INFO: IMEI packet received {"connection_id":108826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":108826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:20:28] local.INFO: TCP Data received {"connection_id":108826,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:20:28] local.INFO: Processing buffer {"connection_id":108826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:20:28] local.INFO: IMEI packet received {"connection_id":108826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":108826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:20:28] local.INFO: TCP Data received {"connection_id":108826,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cada30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cada30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:20:28] local.INFO: Processing buffer {"connection_id":108826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cada30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:20:28] local.INFO: Packet analysis {"connection_id":108826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ca"} 
[2026-06-21 16:20:28] local.INFO: Extracted packet for processing {"connection_id":108826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ca"} 
[2026-06-21 16:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201939200001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038846000,"timestamp_ms":1782038846000,"timestamp_seconds":1782038846,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cada30"} 
[2026-06-21 16:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 16:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201939200001,"66":12798,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201939200001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201939200001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":108826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:20:29] local.INFO: GPS data processed {"connection_id":108826,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:20:29] local.INFO: Acknowledgment sent {"connection_id":108826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:20:29] local.INFO: TCP Data received {"connection_id":108996,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:20:29] local.INFO: Processing buffer {"connection_id":108996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:20:29] local.INFO: IMEI packet received {"connection_id":108996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":108996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:20:35] local.INFO: TCP Data received {"connection_id":108996,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:20:35] local.INFO: Processing buffer {"connection_id":108996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:20:35] local.INFO: IMEI packet received {"connection_id":108996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":108996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:20:35] local.INFO: TCP Data received {"connection_id":108996,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:20:35] local.INFO: Processing buffer {"connection_id":108996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:20:35] local.INFO: Packet analysis {"connection_id":108996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:20:35] local.INFO: Extracted packet for processing {"connection_id":108996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":108996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:20:35] local.INFO: GPS data processed {"connection_id":108996,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:20:35] local.INFO: Acknowledgment sent {"connection_id":108996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:21:00] local.INFO: TCP Data received {"connection_id":108826,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cb2c38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cb2c38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:00] local.INFO: Processing buffer {"connection_id":108826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cb2c38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:00] local.INFO: Packet analysis {"connection_id":108826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cb"} 
[2026-06-21 16:21:00] local.INFO: Extracted packet for processing {"connection_id":108826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cb"} 
[2026-06-21 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201944576001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038867000,"timestamp_ms":1782038867000,"timestamp_seconds":1782038867,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cb2c38"} 
[2026-06-21 16:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 16:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201944576001,"66":12743,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201944576001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:21:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201944576001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":108826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:21:00] local.INFO: GPS data processed {"connection_id":108826,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:21:00] local.INFO: Acknowledgment sent {"connection_id":108826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:21:07] local.INFO: TCP Data received {"connection_id":108996,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:21:07] local.INFO: Processing buffer {"connection_id":108996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:21:07] local.INFO: Packet analysis {"connection_id":108996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:21:07] local.INFO: Extracted packet for processing {"connection_id":108996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":108996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:21:07] local.INFO: GPS data processed {"connection_id":108996,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:21:07] local.INFO: Acknowledgment sent {"connection_id":108996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:21:28] local.INFO: TCP Data received {"connection_id":110573,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:21:28] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:21:28] local.INFO: IMEI packet received {"connection_id":110573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":110573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:21:29] local.INFO: TCP Data received {"connection_id":108827,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:21:29] local.INFO: Processing buffer {"connection_id":108827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:21:29] local.INFO: IMEI packet received {"connection_id":108827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":108827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:21:33] local.INFO: TCP Data received {"connection_id":110573,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:21:33] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:21:33] local.INFO: IMEI packet received {"connection_id":110573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":110573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:21:33] local.INFO: TCP Data received {"connection_id":110573,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cb7e40012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cb7e40012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:33] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cb7e40012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:33] local.INFO: Packet analysis {"connection_id":110573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cb"} 
[2026-06-21 16:21:33] local.INFO: Extracted packet for processing {"connection_id":110573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cb"} 
[2026-06-21 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201949952001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782038888000,"timestamp_ms":1782038888000,"timestamp_seconds":1782038888,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cb7e40"} 
[2026-06-21 16:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-21 16:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201949952001,"66":12798,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201949952001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:21:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201949952001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":110573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:21:34] local.INFO: GPS data processed {"connection_id":110573,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:21:34] local.INFO: Acknowledgment sent {"connection_id":110573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:21:34] local.INFO: TCP Data received {"connection_id":110573,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cbd048012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cbd048012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:34] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cbd048012d196880071fee50003f011e2c..."} 
[2026-06-21 16:21:34] local.INFO: Packet analysis {"connection_id":110573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cb"} 
[2026-06-21 16:21:34] local.INFO: Extracted packet for processing {"connection_id":110573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cb"} 
[2026-06-21 16:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201955328001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782038909000,"timestamp_ms":1782038909000,"timestamp_seconds":1782038909,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cbd048"} 
[2026-06-21 16:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 16:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201955328001,"66":12776,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201955328001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:21:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201955328001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":110573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:21:34] local.INFO: GPS data processed {"connection_id":110573,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:21:34] local.INFO: Acknowledgment sent {"connection_id":110573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:21:35] local.INFO: TCP Data received {"connection_id":108827,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:21:35] local.INFO: Processing buffer {"connection_id":108827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:21:35] local.INFO: IMEI packet received {"connection_id":108827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":108827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:21:36] local.INFO: TCP Data received {"connection_id":108827,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:21:36] local.INFO: Processing buffer {"connection_id":108827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:21:36] local.INFO: Packet analysis {"connection_id":108827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:21:36] local.INFO: Extracted packet for processing {"connection_id":108827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:21:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":108827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:21:36] local.INFO: GPS data processed {"connection_id":108827,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:21:36] local.INFO: Acknowledgment sent {"connection_id":108827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:22:05] local.INFO: TCP Data received {"connection_id":110573,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cc2250012d196880071fee50003f011e2b..."} 
[2026-06-21 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cc2250012d196880071fee50003f011e2b..."} 
[2026-06-21 16:22:05] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cc2250012d196880071fee50003f011e2b..."} 
[2026-06-21 16:22:05] local.INFO: Packet analysis {"connection_id":110573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:05] local.INFO: Extracted packet for processing {"connection_id":110573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201960704001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782038930000,"timestamp_ms":1782038930000,"timestamp_seconds":1782038930,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cc2250"} 
[2026-06-21 16:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-21 16:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201960704001,"66":12743,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201960704001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201960704001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":110573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:22:05] local.INFO: GPS data processed {"connection_id":110573,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:22:05] local.INFO: Acknowledgment sent {"connection_id":110573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:22:07] local.INFO: TCP Data received {"connection_id":108827,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:07] local.INFO: Processing buffer {"connection_id":108827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:07] local.INFO: Packet analysis {"connection_id":108827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:07] local.INFO: Extracted packet for processing {"connection_id":108827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":108827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:22:07] local.INFO: GPS data processed {"connection_id":108827,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:22:07] local.INFO: Acknowledgment sent {"connection_id":108827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:22:23] local.INFO: TCP Data received {"connection_id":108997,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:22:23] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:22:23] local.INFO: IMEI packet received {"connection_id":108997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":108997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:22:28] local.INFO: TCP Data received {"connection_id":108997,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:22:28] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:22:28] local.INFO: IMEI packet received {"connection_id":108997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":108997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:22:28] local.INFO: TCP Data received {"connection_id":108997,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cc7458012d196880071fee50003f011e2c..."} 
[2026-06-21 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cc7458012d196880071fee50003f011e2c..."} 
[2026-06-21 16:22:28] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cc7458012d196880071fee50003f011e2c..."} 
[2026-06-21 16:22:28] local.INFO: Packet analysis {"connection_id":108997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:28] local.INFO: Extracted packet for processing {"connection_id":108997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201966080001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038951000,"timestamp_ms":1782038951000,"timestamp_seconds":1782038951,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cc7458"} 
[2026-06-21 16:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-21 16:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201966080001,"66":12722,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201966080001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201966080001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":108997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:22:29] local.INFO: GPS data processed {"connection_id":108997,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:22:29] local.INFO: Acknowledgment sent {"connection_id":108997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:22:35] local.INFO: TCP Data received {"connection_id":110574,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:22:35] local.INFO: Processing buffer {"connection_id":110574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:22:35] local.INFO: IMEI packet received {"connection_id":110574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":110574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:22:40] local.INFO: TCP Data received {"connection_id":110574,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:22:40] local.INFO: Processing buffer {"connection_id":110574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:22:40] local.INFO: IMEI packet received {"connection_id":110574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":110574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:22:41] local.INFO: TCP Data received {"connection_id":110574,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:41] local.INFO: Processing buffer {"connection_id":110574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:41] local.INFO: Packet analysis {"connection_id":110574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:41] local.INFO: Extracted packet for processing {"connection_id":110574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:22:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:22:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":110574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:22:41] local.INFO: GPS data processed {"connection_id":110574,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:22:41] local.INFO: Acknowledgment sent {"connection_id":110574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:22:45] local.INFO: TCP Data received {"connection_id":110574,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:45] local.INFO: Processing buffer {"connection_id":110574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:22:45] local.INFO: Packet analysis {"connection_id":110574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:45] local.INFO: Extracted packet for processing {"connection_id":110574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:22:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:22:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":110574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:22:45] local.INFO: GPS data processed {"connection_id":110574,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:22:45] local.INFO: Acknowledgment sent {"connection_id":110574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:23:00] local.INFO: TCP Data received {"connection_id":108997,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccc660012d196880071fee50003f011e2c..."} 
[2026-06-21 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccc660012d196880071fee50003f011e2c..."} 
[2026-06-21 16:23:00] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccc660012d196880071fee50003f011e2c..."} 
[2026-06-21 16:23:00] local.INFO: Packet analysis {"connection_id":108997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:23:00] local.INFO: Extracted packet for processing {"connection_id":108997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201971456001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782038972000,"timestamp_ms":1782038972000,"timestamp_seconds":1782038972,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccc660"} 
[2026-06-21 16:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 16:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201971456001,"66":12667,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201971456001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:23:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201971456001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":108997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:23:00] local.INFO: GPS data processed {"connection_id":108997,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:23:00] local.INFO: Acknowledgment sent {"connection_id":108997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:23:23] local.INFO: TCP Data received {"connection_id":108829,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:23:23] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:23:23] local.INFO: IMEI packet received {"connection_id":108829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":108829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:23:28] local.INFO: TCP Data received {"connection_id":108829,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:23:28] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:23:28] local.INFO: IMEI packet received {"connection_id":108829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":108829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:23:28] local.INFO: TCP Data received {"connection_id":108829,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cd1868012d196880071fee50003f011e2c..."} 
[2026-06-21 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cd1868012d196880071fee50003f011e2c..."} 
[2026-06-21 16:23:28] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cd1868012d196880071fee50003f011e2c..."} 
[2026-06-21 16:23:28] local.INFO: Packet analysis {"connection_id":108829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cd"} 
[2026-06-21 16:23:28] local.INFO: Extracted packet for processing {"connection_id":108829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cd"} 
[2026-06-21 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201976832001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782038993000,"timestamp_ms":1782038993000,"timestamp_seconds":1782038993,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cd1868"} 
[2026-06-21 16:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 16:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201976832001,"66":12645,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201976832001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201976832001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":108829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:23:29] local.INFO: GPS data processed {"connection_id":108829,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:23:29] local.INFO: Acknowledgment sent {"connection_id":108829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:23:30] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:23:30] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:23:30] local.INFO: IMEI packet received {"connection_id":110575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":110575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:23:35] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:23:35] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:23:35] local.INFO: IMEI packet received {"connection_id":110575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":110575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:23:36] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:23:36] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:23:36] local.INFO: Packet analysis {"connection_id":110575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:23:36] local.INFO: Extracted packet for processing {"connection_id":110575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:23:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":110575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:23:36] local.INFO: GPS data processed {"connection_id":110575,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:23:36] local.INFO: Acknowledgment sent {"connection_id":110575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:24:00] local.INFO: TCP Data received {"connection_id":108829,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cd6a70012d196880071fee50003f011e2c..."} 
[2026-06-21 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cd6a70012d196880071fee50003f011e2c..."} 
[2026-06-21 16:24:00] local.INFO: Processing buffer {"connection_id":108829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cd6a70012d196880071fee50003f011e2c..."} 
[2026-06-21 16:24:00] local.INFO: Packet analysis {"connection_id":108829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cd"} 
[2026-06-21 16:24:00] local.INFO: Extracted packet for processing {"connection_id":108829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cd"} 
[2026-06-21 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201982208001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039014000,"timestamp_ms":1782039014000,"timestamp_seconds":1782039014,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cd6a70"} 
[2026-06-21 16:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-21 16:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201982208001,"66":12711,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201982208001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:24:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201982208001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":108829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:24:00] local.INFO: GPS data processed {"connection_id":108829,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:24:00] local.INFO: Acknowledgment sent {"connection_id":108829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:24:08] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:24:08] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:24:08] local.INFO: Packet analysis {"connection_id":110575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:24:08] local.INFO: Extracted packet for processing {"connection_id":110575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:24:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":110575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:24:08] local.INFO: GPS data processed {"connection_id":110575,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:24:08] local.INFO: Acknowledgment sent {"connection_id":110575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:24:22] local.INFO: TCP Data received {"connection_id":108831,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:22] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:22] local.INFO: IMEI packet received {"connection_id":108831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":108831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:24:22] local.INFO: TCP Data received {"connection_id":108831,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:22] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:22] local.INFO: IMEI packet received {"connection_id":108831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":108831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:24:28] local.INFO: TCP Data received {"connection_id":108831,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:28] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:24:28] local.INFO: IMEI packet received {"connection_id":108831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":108831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:24:28] local.INFO: TCP Data received {"connection_id":108831,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cdbc78012d196880071fee50003f011e2c..."} 
[2026-06-21 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cdbc78012d196880071fee50003f011e2c..."} 
[2026-06-21 16:24:28] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cdbc78012d196880071fee50003f011e2c..."} 
[2026-06-21 16:24:28] local.INFO: Packet analysis {"connection_id":108831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cd"} 
[2026-06-21 16:24:28] local.INFO: Extracted packet for processing {"connection_id":108831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cd"} 
[2026-06-21 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201987584001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039035000,"timestamp_ms":1782039035000,"timestamp_seconds":1782039035,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cdbc78"} 
[2026-06-21 16:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-21 16:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201987584001,"66":12678,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201987584001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201987584001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":108831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:24:29] local.INFO: GPS data processed {"connection_id":108831,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:24:29] local.INFO: Acknowledgment sent {"connection_id":108831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:24:29] local.INFO: TCP Data received {"connection_id":109615,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:24:29] local.INFO: Processing buffer {"connection_id":109615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:24:29] local.INFO: IMEI packet received {"connection_id":109615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":109615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:24:35] local.INFO: TCP Data received {"connection_id":109615,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:24:35] local.INFO: Processing buffer {"connection_id":109615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:24:35] local.INFO: IMEI packet received {"connection_id":109615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":109615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:24:37] local.INFO: TCP Data received {"connection_id":109615,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:24:37] local.INFO: Processing buffer {"connection_id":109615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:24:37] local.INFO: Packet analysis {"connection_id":109615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:24:37] local.INFO: Extracted packet for processing {"connection_id":109615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:24:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":109615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:24:37] local.INFO: GPS data processed {"connection_id":109615,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:24:37] local.INFO: Acknowledgment sent {"connection_id":109615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:24:37] local.INFO: TCP Data received {"connection_id":108830,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:24:37] local.INFO: Processing buffer {"connection_id":108830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:24:37] local.INFO: IMEI packet received {"connection_id":108830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":108830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:25:00] local.INFO: TCP Data received {"connection_id":108831,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ce0e80012d196880071fee50003f011e2c..."} 
[2026-06-21 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ce0e80012d196880071fee50003f011e2c..."} 
[2026-06-21 16:25:00] local.INFO: Processing buffer {"connection_id":108831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ce0e80012d196880071fee50003f011e2c..."} 
[2026-06-21 16:25:00] local.INFO: Packet analysis {"connection_id":108831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ce"} 
[2026-06-21 16:25:00] local.INFO: Extracted packet for processing {"connection_id":108831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ce"} 
[2026-06-21 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201992960001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039056000,"timestamp_ms":1782039056000,"timestamp_seconds":1782039056,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ce0e80"} 
[2026-06-21 16:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-21 16:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201992960001,"66":12602,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201992960001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:25:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201992960001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":108831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:25:00] local.INFO: GPS data processed {"connection_id":108831,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:25:00] local.INFO: Acknowledgment sent {"connection_id":108831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:25:09] local.INFO: TCP Data received {"connection_id":109615,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:25:09] local.INFO: Processing buffer {"connection_id":109615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ccd218012d34c58006aa3f500018006722..."} 
[2026-06-21 16:25:09] local.INFO: Packet analysis {"connection_id":109615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:25:09] local.INFO: Extracted packet for processing {"connection_id":109615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cc"} 
[2026-06-21 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201900544001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782038975000,"timestamp_ms":1782038975000,"timestamp_seconds":1782038975,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ccd218"} 
[2026-06-21 16:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-21 16:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201900544001,"66":25495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201900544001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:25:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201900544001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":109615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:25:09] local.INFO: GPS data processed {"connection_id":109615,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:25:09] local.INFO: Acknowledgment sent {"connection_id":109615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:25:13] local.INFO: TCP Data received {"connection_id":110576,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:25:13] local.INFO: Processing buffer {"connection_id":110576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:25:13] local.INFO: IMEI packet received {"connection_id":110576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":110576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:25:22] local.INFO: TCP Data received {"connection_id":110577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:22] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:22] local.INFO: IMEI packet received {"connection_id":110577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":110577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:25:25] local.INFO: TCP Data received {"connection_id":110577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:25] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:25] local.INFO: IMEI packet received {"connection_id":110577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":110577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:25:28] local.INFO: TCP Data received {"connection_id":110577,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:28] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:25:28] local.INFO: IMEI packet received {"connection_id":110577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":110577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:25:29] local.INFO: TCP Data received {"connection_id":110577,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ce6088012d196880071fee50003f011e2c..."} 
[2026-06-21 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ce6088012d196880071fee50003f011e2c..."} 
[2026-06-21 16:25:29] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ce6088012d196880071fee50003f011e2c..."} 
[2026-06-21 16:25:29] local.INFO: Packet analysis {"connection_id":110577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ce"} 
[2026-06-21 16:25:29] local.INFO: Extracted packet for processing {"connection_id":110577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ce"} 
[2026-06-21 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201998336001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782039077000,"timestamp_ms":1782039077000,"timestamp_seconds":1782039077,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ce6088"} 
[2026-06-21 16:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-21 16:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201998336001,"66":12667,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201998336001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:25:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201998336001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":110577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:25:29] local.INFO: GPS data processed {"connection_id":110577,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:25:29] local.INFO: Acknowledgment sent {"connection_id":110577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:25:35] local.INFO: TCP Data received {"connection_id":108832,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:25:35] local.INFO: Processing buffer {"connection_id":108832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:25:35] local.INFO: IMEI packet received {"connection_id":108832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":108832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:25:40] local.INFO: TCP Data received {"connection_id":108832,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:25:40] local.INFO: Processing buffer {"connection_id":108832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:25:40] local.INFO: IMEI packet received {"connection_id":108832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":108832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:25:41] local.INFO: TCP Data received {"connection_id":108832,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:25:41] local.INFO: Processing buffer {"connection_id":108832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:25:41] local.INFO: Packet analysis {"connection_id":108832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:25:41] local.INFO: Extracted packet for processing {"connection_id":108832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 16:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":108832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:25:41] local.INFO: GPS data processed {"connection_id":108832,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:25:41] local.INFO: Acknowledgment sent {"connection_id":108832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:25:45] local.INFO: TCP Data received {"connection_id":108832,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:25:45] local.INFO: Processing buffer {"connection_id":108832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:25:45] local.INFO: Packet analysis {"connection_id":108832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:25:45] local.INFO: Extracted packet for processing {"connection_id":108832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 16:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":108832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:25:45] local.INFO: GPS data processed {"connection_id":108832,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:25:45] local.INFO: Acknowledgment sent {"connection_id":108832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:26:00] local.INFO: TCP Data received {"connection_id":110577,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ceb290012d196880071fee50003f011e2c..."} 
[2026-06-21 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ceb290012d196880071fee50003f011e2c..."} 
[2026-06-21 16:26:00] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ceb290012d196880071fee50003f011e2c..."} 
[2026-06-21 16:26:00] local.INFO: Packet analysis {"connection_id":110577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ce"} 
[2026-06-21 16:26:00] local.INFO: Extracted packet for processing {"connection_id":110577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ce"} 
[2026-06-21 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202003712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039098000,"timestamp_ms":1782039098000,"timestamp_seconds":1782039098,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ceb290"} 
[2026-06-21 16:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 16:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202003712001,"66":12645,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202003712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:26:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202003712001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":110577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:26:00] local.INFO: GPS data processed {"connection_id":110577,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:26:00] local.INFO: Acknowledgment sent {"connection_id":110577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:26:22] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:26:22] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:26:22] local.INFO: IMEI packet received {"connection_id":110578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":110578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:26:28] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:26:28] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:26:28] local.INFO: IMEI packet received {"connection_id":110578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":110578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:26:28] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cf0498012d196880071fee50003f011e2c..."} 
[2026-06-21 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cf0498012d196880071fee50003f011e2c..."} 
[2026-06-21 16:26:28] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cf0498012d196880071fee50003f011e2c..."} 
[2026-06-21 16:26:28] local.INFO: Packet analysis {"connection_id":110578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cf"} 
[2026-06-21 16:26:28] local.INFO: Extracted packet for processing {"connection_id":110578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cf"} 
[2026-06-21 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202009088001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039119000,"timestamp_ms":1782039119000,"timestamp_seconds":1782039119,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cf0498"} 
[2026-06-21 16:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-21 16:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202009088001,"66":12667,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202009088001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202009088001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":110578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:26:29] local.INFO: GPS data processed {"connection_id":110578,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:26:29] local.INFO: Acknowledgment sent {"connection_id":110578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:26:29] local.INFO: TCP Data received {"connection_id":109617,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:26:29] local.INFO: Processing buffer {"connection_id":109617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:26:29] local.INFO: IMEI packet received {"connection_id":109617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":109617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:26:35] local.INFO: TCP Data received {"connection_id":109617,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:26:35] local.INFO: Processing buffer {"connection_id":109617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:26:35] local.INFO: IMEI packet received {"connection_id":109617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":109617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:26:36] local.INFO: TCP Data received {"connection_id":109617,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:26:36] local.INFO: Processing buffer {"connection_id":109617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:26:36] local.INFO: Packet analysis {"connection_id":109617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:26:36] local.INFO: Extracted packet for processing {"connection_id":109617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 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-06-21 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:26:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":109617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:26:36] local.INFO: GPS data processed {"connection_id":109617,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:26:36] local.INFO: Acknowledgment sent {"connection_id":109617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:27:00] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9cf56a0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9cf56a0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:27:00] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9cf56a0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:27:00] local.INFO: Packet analysis {"connection_id":110578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9cf"} 
[2026-06-21 16:27:00] local.INFO: Extracted packet for processing {"connection_id":110578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9cf"} 
[2026-06-21 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202014464001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039140000,"timestamp_ms":1782039140000,"timestamp_seconds":1782039140,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9cf56a0"} 
[2026-06-21 16:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 16:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202014464001,"66":12504,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202014464001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:27:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202014464001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":110578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:27:00] local.INFO: GPS data processed {"connection_id":110578,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:27:00] local.INFO: Acknowledgment sent {"connection_id":110578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:27:08] local.INFO: TCP Data received {"connection_id":109617,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:27:08] local.INFO: Processing buffer {"connection_id":109617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:27:08] local.INFO: Packet analysis {"connection_id":109617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:27:08] local.INFO: Extracted packet for processing {"connection_id":109617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 16:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:27:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":109617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:27:08] local.INFO: GPS data processed {"connection_id":109617,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:27:08] local.INFO: Acknowledgment sent {"connection_id":109617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:27:27] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:27:27] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:27:27] local.INFO: IMEI packet received {"connection_id":110579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":110579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:27:29] local.INFO: TCP Data received {"connection_id":110580,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:27:29] local.INFO: Processing buffer {"connection_id":110580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:27:29] local.INFO: IMEI packet received {"connection_id":110580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":110580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:27:31] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:27:31] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:27:31] local.INFO: IMEI packet received {"connection_id":110579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":110579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:27:31] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d2dcf8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d2dcf8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:27:31] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d2dcf8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:27:31] local.INFO: Packet analysis {"connection_id":110579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d2"} 
[2026-06-21 16:27:31] local.INFO: Extracted packet for processing {"connection_id":110579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d2"} 
[2026-06-21 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202073600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782039371000,"timestamp_ms":1782039371000,"timestamp_seconds":1782039371,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d2dcf8"} 
[2026-06-21 16:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 16:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202073600001,"66":12515,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202073600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:27:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202073600001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":110579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:27:32] local.INFO: GPS data processed {"connection_id":110579,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:27:32] local.INFO: Acknowledgment sent {"connection_id":110579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:27:35] local.INFO: TCP Data received {"connection_id":110580,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:27:35] local.INFO: Processing buffer {"connection_id":110580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:27:35] local.INFO: IMEI packet received {"connection_id":110580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":110580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:27:36] local.INFO: TCP Data received {"connection_id":110580,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:27:36] local.INFO: Processing buffer {"connection_id":110580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:27:36] local.INFO: Packet analysis {"connection_id":110580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:27:36] local.INFO: Extracted packet for processing {"connection_id":110580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 16:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:27:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":110580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:27:36] local.INFO: GPS data processed {"connection_id":110580,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:27:36] local.INFO: Acknowledgment sent {"connection_id":110580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:28:03] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d32f00012d196880071fee50003f011e2c..."} 
[2026-06-21 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d32f00012d196880071fee50003f011e2c..."} 
[2026-06-21 16:28:03] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d32f00012d196880071fee50003f011e2c..."} 
[2026-06-21 16:28:03] local.INFO: Packet analysis {"connection_id":110579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d3"} 
[2026-06-21 16:28:03] local.INFO: Extracted packet for processing {"connection_id":110579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d3"} 
[2026-06-21 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202078976001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782039392000,"timestamp_ms":1782039392000,"timestamp_seconds":1782039392,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d32f00"} 
[2026-06-21 16:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-21 16:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202078976001,"66":12461,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202078976001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202078976001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":110579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:28:03] local.INFO: GPS data processed {"connection_id":110579,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:28:03] local.INFO: Acknowledgment sent {"connection_id":110579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:28:07] local.INFO: TCP Data received {"connection_id":110580,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:28:07] local.INFO: Processing buffer {"connection_id":110580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:28:07] local.INFO: Packet analysis {"connection_id":110580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:28:07] local.INFO: Extracted packet for processing {"connection_id":110580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 16:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":110580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:28:07] local.INFO: GPS data processed {"connection_id":110580,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:28:07] local.INFO: Acknowledgment sent {"connection_id":110580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:28:23] local.INFO: TCP Data received {"connection_id":109618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:28:23] local.INFO: Processing buffer {"connection_id":109618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:28:23] local.INFO: IMEI packet received {"connection_id":109618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":109618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:28:28] local.INFO: TCP Data received {"connection_id":109618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:28:28] local.INFO: Processing buffer {"connection_id":109618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:28:28] local.INFO: IMEI packet received {"connection_id":109618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":109618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:28:28] local.INFO: TCP Data received {"connection_id":109618,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d38108012d196880071fee50003f011e2b..."} 
[2026-06-21 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d38108012d196880071fee50003f011e2b..."} 
[2026-06-21 16:28:28] local.INFO: Processing buffer {"connection_id":109618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d38108012d196880071fee50003f011e2b..."} 
[2026-06-21 16:28:28] local.INFO: Packet analysis {"connection_id":109618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d3"} 
[2026-06-21 16:28:28] local.INFO: Extracted packet for processing {"connection_id":109618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d3"} 
[2026-06-21 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202084352001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039413000,"timestamp_ms":1782039413000,"timestamp_seconds":1782039413,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d38108"} 
[2026-06-21 16:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 16:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202084352001,"66":12504,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202084352001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:28:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202084352001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":109618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:28:29] local.INFO: GPS data processed {"connection_id":109618,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:28:29] local.INFO: Acknowledgment sent {"connection_id":109618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:28:29] local.INFO: TCP Data received {"connection_id":108999,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:28:29] local.INFO: Processing buffer {"connection_id":108999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:28:29] local.INFO: IMEI packet received {"connection_id":108999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":108999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:28:35] local.INFO: TCP Data received {"connection_id":108999,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:28:35] local.INFO: Processing buffer {"connection_id":108999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:28:35] local.INFO: IMEI packet received {"connection_id":108999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":108999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:28:36] local.INFO: TCP Data received {"connection_id":108999,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:28:36] local.INFO: Processing buffer {"connection_id":108999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:28:36] local.INFO: Packet analysis {"connection_id":108999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:28:36] local.INFO: Extracted packet for processing {"connection_id":108999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 16:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:28:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":108999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:28:36] local.INFO: GPS data processed {"connection_id":108999,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:28:36] local.INFO: Acknowledgment sent {"connection_id":108999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:29:00] local.INFO: TCP Data received {"connection_id":109618,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d3d310012d196880071fee50003f011e2b..."} 
[2026-06-21 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d3d310012d196880071fee50003f011e2b..."} 
[2026-06-21 16:29:00] local.INFO: Processing buffer {"connection_id":109618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d3d310012d196880071fee50003f011e2b..."} 
[2026-06-21 16:29:00] local.INFO: Packet analysis {"connection_id":109618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d3"} 
[2026-06-21 16:29:00] local.INFO: Extracted packet for processing {"connection_id":109618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d3"} 
[2026-06-21 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202089728001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039434000,"timestamp_ms":1782039434000,"timestamp_seconds":1782039434,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d3d310"} 
[2026-06-21 16:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 16:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202089728001,"66":12504,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202089728001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:29:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202089728001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":109618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:29:00] local.INFO: GPS data processed {"connection_id":109618,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:29:00] local.INFO: Acknowledgment sent {"connection_id":109618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:29:12] local.INFO: TCP Data received {"connection_id":108999,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:12] local.INFO: Processing buffer {"connection_id":108999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:12] local.INFO: Packet analysis {"connection_id":108999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:29:12] local.INFO: Extracted packet for processing {"connection_id":108999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 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-06-21 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:29:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":108999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:29:12] local.INFO: GPS data processed {"connection_id":108999,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:29:12] local.INFO: Acknowledgment sent {"connection_id":108999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:29:23] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:29:23] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:29:23] local.INFO: IMEI packet received {"connection_id":110582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":110582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:29:27] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:29:27] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:29:27] local.INFO: IMEI packet received {"connection_id":110582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":110582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:29:28] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d42518012d196880071fee50003f011e2c..."} 
[2026-06-21 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d42518012d196880071fee50003f011e2c..."} 
[2026-06-21 16:29:28] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d42518012d196880071fee50003f011e2c..."} 
[2026-06-21 16:29:28] local.INFO: Packet analysis {"connection_id":110582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d4"} 
[2026-06-21 16:29:28] local.INFO: Extracted packet for processing {"connection_id":110582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d4"} 
[2026-06-21 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202095104001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039455000,"timestamp_ms":1782039455000,"timestamp_seconds":1782039455,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d42518"} 
[2026-06-21 16:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 16:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202095104001,"66":12504,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202095104001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:29:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202095104001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":110582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:29:28] local.INFO: GPS data processed {"connection_id":110582,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:29:28] local.INFO: Acknowledgment sent {"connection_id":110582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:29:35] local.INFO: TCP Data received {"connection_id":108834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:29:35] local.INFO: Processing buffer {"connection_id":108834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:29:35] local.INFO: IMEI packet received {"connection_id":108834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":108834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:29:40] local.INFO: TCP Data received {"connection_id":108834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:29:40] local.INFO: Processing buffer {"connection_id":108834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:29:40] local.INFO: IMEI packet received {"connection_id":108834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":108834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:29:41] local.INFO: TCP Data received {"connection_id":108834,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:41] local.INFO: Processing buffer {"connection_id":108834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:41] local.INFO: Packet analysis {"connection_id":108834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:29:41] local.INFO: Extracted packet for processing {"connection_id":108834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 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-06-21 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:29:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":108834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:29:41] local.INFO: GPS data processed {"connection_id":108834,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:29:41] local.INFO: Acknowledgment sent {"connection_id":108834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:29:45] local.INFO: TCP Data received {"connection_id":108834,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:45] local.INFO: Processing buffer {"connection_id":108834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d169e0012d34c58006aa3f50000c00671f..."} 
[2026-06-21 16:29:45] local.INFO: Packet analysis {"connection_id":108834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:29:45] local.INFO: Extracted packet for processing {"connection_id":108834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d1"} 
[2026-06-21 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":12,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456201977600001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782039276000,"timestamp_ms":1782039276000,"timestamp_seconds":1782039276,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d169e0"} 
[2026-06-21 16:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456201977600001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456201977600001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:29:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456201977600001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":108834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:29:45] local.INFO: GPS data processed {"connection_id":108834,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:29:45] local.INFO: Acknowledgment sent {"connection_id":108834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:29:59] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d47720012d196880071fee50003f011e2c..."} 
[2026-06-21 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d47720012d196880071fee50003f011e2c..."} 
[2026-06-21 16:29:59] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d47720012d196880071fee50003f011e2c..."} 
[2026-06-21 16:29:59] local.INFO: Packet analysis {"connection_id":110582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d4"} 
[2026-06-21 16:29:59] local.INFO: Extracted packet for processing {"connection_id":110582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d4"} 
[2026-06-21 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202100480001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782039476000,"timestamp_ms":1782039476000,"timestamp_seconds":1782039476,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d47720"} 
[2026-06-21 16:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 16:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202100480001,"66":12504,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202100480001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202100480001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":110582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:29:59] local.INFO: GPS data processed {"connection_id":110582,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:29:59] local.INFO: Acknowledgment sent {"connection_id":110582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:30:23] local.INFO: TCP Data received {"connection_id":109619,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:30:23] local.INFO: Processing buffer {"connection_id":109619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:30:23] local.INFO: IMEI packet received {"connection_id":109619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":109619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:30:28] local.INFO: TCP Data received {"connection_id":109619,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:30:28] local.INFO: Processing buffer {"connection_id":109619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:30:28] local.INFO: IMEI packet received {"connection_id":109619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":109619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:30:28] local.INFO: TCP Data received {"connection_id":109619,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d4c928012d196880071fee50003f011e2c..."} 
[2026-06-21 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d4c928012d196880071fee50003f011e2c..."} 
[2026-06-21 16:30:28] local.INFO: Processing buffer {"connection_id":109619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d4c928012d196880071fee50003f011e2c..."} 
[2026-06-21 16:30:28] local.INFO: Packet analysis {"connection_id":109619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d4"} 
[2026-06-21 16:30:28] local.INFO: Extracted packet for processing {"connection_id":109619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d4"} 
[2026-06-21 16:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202105856001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039497000,"timestamp_ms":1782039497000,"timestamp_seconds":1782039497,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d4c928"} 
[2026-06-21 16:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 16:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202105856001,"66":12461,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202105856001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202105856001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":109619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:30:28] local.INFO: GPS data processed {"connection_id":109619,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:30:28] local.INFO: Acknowledgment sent {"connection_id":109619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:30:30] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:30:30] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:30:30] local.INFO: IMEI packet received {"connection_id":109000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":109000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:30:32] local.INFO: TCP Data received {"connection_id":108835,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:30:32] local.INFO: Processing buffer {"connection_id":108835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:30:32] local.INFO: IMEI packet received {"connection_id":108835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":108835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:30:35] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:30:35] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:30:35] local.INFO: IMEI packet received {"connection_id":109000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":109000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:30:36] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:30:36] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:30:36] local.INFO: Packet analysis {"connection_id":109000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:30:36] local.INFO: Extracted packet for processing {"connection_id":109000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30: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-06-21 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:30:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":109000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:30:36] local.INFO: GPS data processed {"connection_id":109000,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:30:36] local.INFO: Acknowledgment sent {"connection_id":109000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:30:59] local.INFO: TCP Data received {"connection_id":109619,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d51b30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d51b30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:30:59] local.INFO: Processing buffer {"connection_id":109619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d51b30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:30:59] local.INFO: Packet analysis {"connection_id":109619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d5"} 
[2026-06-21 16:30:59] local.INFO: Extracted packet for processing {"connection_id":109619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d5"} 
[2026-06-21 16:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202111232001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782039518000,"timestamp_ms":1782039518000,"timestamp_seconds":1782039518,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d51b30"} 
[2026-06-21 16:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 16:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202111232001,"66":12504,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202111232001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202111232001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":109619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:30:59] local.INFO: GPS data processed {"connection_id":109619,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:30:59] local.INFO: Acknowledgment sent {"connection_id":109619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:31:07] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:31:07] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:31:07] local.INFO: Packet analysis {"connection_id":109000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:31:07] local.INFO: Extracted packet for processing {"connection_id":109000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:07] 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-06-21 16:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:31:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":109000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:31:07] local.INFO: GPS data processed {"connection_id":109000,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:31:07] local.INFO: Acknowledgment sent {"connection_id":109000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:31:12] local.INFO: TCP Data received {"connection_id":110583,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:31:12] local.INFO: Processing buffer {"connection_id":110583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:31:12] local.INFO: IMEI packet received {"connection_id":110583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":110583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:31:21] local.INFO: TCP Data received {"connection_id":108836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:21] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:21] local.INFO: IMEI packet received {"connection_id":108836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":108836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:31:22] local.INFO: TCP Data received {"connection_id":108836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:22] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:22] local.INFO: IMEI packet received {"connection_id":108836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":108836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:31:28] local.INFO: TCP Data received {"connection_id":108836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:28] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:31:28] local.INFO: IMEI packet received {"connection_id":108836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":108836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:31:28] local.INFO: TCP Data received {"connection_id":108836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d56d38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d56d38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:31:28] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d56d38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:31:28] local.INFO: Packet analysis {"connection_id":108836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d5"} 
[2026-06-21 16:31:28] local.INFO: Extracted packet for processing {"connection_id":108836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d5"} 
[2026-06-21 16:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202116608001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039539000,"timestamp_ms":1782039539000,"timestamp_seconds":1782039539,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d56d38"} 
[2026-06-21 16:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 16:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202116608001,"66":12493,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202116608001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202116608001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":108836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:31:29] local.INFO: GPS data processed {"connection_id":108836,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:31:29] local.INFO: Acknowledgment sent {"connection_id":108836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:31:29] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:31:29] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:31:29] local.INFO: IMEI packet received {"connection_id":110584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":110584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:31:35] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:31:35] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:31:35] local.INFO: IMEI packet received {"connection_id":110584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":110584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:31:36] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:31:36] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:31:36] local.INFO: Packet analysis {"connection_id":110584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:31:36] local.INFO: Extracted packet for processing {"connection_id":110584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:31: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-06-21 16:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":110584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:31:36] local.INFO: GPS data processed {"connection_id":110584,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:31:36] local.INFO: Acknowledgment sent {"connection_id":110584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:32:00] local.INFO: TCP Data received {"connection_id":108836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d5bf40012d196880071fee50003f011e2c..."} 
[2026-06-21 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d5bf40012d196880071fee50003f011e2c..."} 
[2026-06-21 16:32:00] local.INFO: Processing buffer {"connection_id":108836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d5bf40012d196880071fee50003f011e2c..."} 
[2026-06-21 16:32:00] local.INFO: Packet analysis {"connection_id":108836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d5"} 
[2026-06-21 16:32:00] local.INFO: Extracted packet for processing {"connection_id":108836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d5"} 
[2026-06-21 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202121984001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039560000,"timestamp_ms":1782039560000,"timestamp_seconds":1782039560,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d5bf40"} 
[2026-06-21 16:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-21 16:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202121984001,"66":12406,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202121984001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:32:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202121984001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":108836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:32:00] local.INFO: GPS data processed {"connection_id":108836,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:32:00] local.INFO: Acknowledgment sent {"connection_id":108836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:32:07] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:32:07] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:32:07] local.INFO: Packet analysis {"connection_id":110584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:32:07] local.INFO: Extracted packet for processing {"connection_id":110584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:07] 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-06-21 16:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:32:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":110584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:32:07] local.INFO: GPS data processed {"connection_id":110584,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:32:07] local.INFO: Acknowledgment sent {"connection_id":110584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:32:22] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:22] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:22] local.INFO: IMEI packet received {"connection_id":110585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":110585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:32:25] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:25] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:25] local.INFO: IMEI packet received {"connection_id":110585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":110585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:32:28] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:28] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:32:28] local.INFO: IMEI packet received {"connection_id":110585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":110585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:32:28] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d61148012d196880071fee50003f011e2c..."} 
[2026-06-21 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d61148012d196880071fee50003f011e2c..."} 
[2026-06-21 16:32:28] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d61148012d196880071fee50003f011e2c..."} 
[2026-06-21 16:32:28] local.INFO: Packet analysis {"connection_id":110585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:32:28] local.INFO: Extracted packet for processing {"connection_id":110585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202127360001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039581000,"timestamp_ms":1782039581000,"timestamp_seconds":1782039581,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d61148"} 
[2026-06-21 16:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202127360001,"66":12015,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202127360001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202127360001,"power":12015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":110585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:32:29] local.INFO: GPS data processed {"connection_id":110585,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:32:29] local.INFO: Acknowledgment sent {"connection_id":110585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:32:29] local.INFO: TCP Data received {"connection_id":109001,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:32:29] local.INFO: Processing buffer {"connection_id":109001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:32:29] local.INFO: IMEI packet received {"connection_id":109001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":109001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:32:35] local.INFO: TCP Data received {"connection_id":109001,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:32:35] local.INFO: Processing buffer {"connection_id":109001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:32:35] local.INFO: IMEI packet received {"connection_id":109001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":109001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:32:36] local.INFO: TCP Data received {"connection_id":109001,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:32:36] local.INFO: Processing buffer {"connection_id":109001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:32:36] local.INFO: Packet analysis {"connection_id":109001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:32:36] local.INFO: Extracted packet for processing {"connection_id":109001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16: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-06-21 16:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":109001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:32:36] local.INFO: GPS data processed {"connection_id":109001,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:32:36] local.INFO: Acknowledgment sent {"connection_id":109001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:33:00] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d66350012d196880071fee50003f011e2b..."} 
[2026-06-21 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d66350012d196880071fee50003f011e2b..."} 
[2026-06-21 16:33:00] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d66350012d196880071fee50003f011e2b..."} 
[2026-06-21 16:33:00] local.INFO: Packet analysis {"connection_id":110585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:00] local.INFO: Extracted packet for processing {"connection_id":110585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202132736001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039602000,"timestamp_ms":1782039602000,"timestamp_seconds":1782039602,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d66350"} 
[2026-06-21 16:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 16:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202132736001,"66":12461,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202132736001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:33:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202132736001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":110585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:33:00] local.INFO: GPS data processed {"connection_id":110585,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:33:00] local.INFO: Acknowledgment sent {"connection_id":110585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:33:08] local.INFO: TCP Data received {"connection_id":109001,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:08] local.INFO: Processing buffer {"connection_id":109001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:08] local.INFO: Packet analysis {"connection_id":109001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:08] local.INFO: Extracted packet for processing {"connection_id":109001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:08] 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-06-21 16:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":109001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:33:08] local.INFO: GPS data processed {"connection_id":109001,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:33:08] local.INFO: Acknowledgment sent {"connection_id":109001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:33:28] local.INFO: TCP Data received {"connection_id":109002,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:28] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:28] local.INFO: IMEI packet received {"connection_id":109002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":109002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:33:28] local.INFO: TCP Data received {"connection_id":109002,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:28] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:28] local.INFO: IMEI packet received {"connection_id":109002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":109002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:33:33] local.INFO: TCP Data received {"connection_id":109002,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:33] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:33:33] local.INFO: IMEI packet received {"connection_id":109002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":109002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:33:33] local.INFO: TCP Data received {"connection_id":109002,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d6b558012d196880071fee50003f011e2b..."} 
[2026-06-21 16:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d6b558012d196880071fee50003f011e2b..."} 
[2026-06-21 16:33:33] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d6b558012d196880071fee50003f011e2b..."} 
[2026-06-21 16:33:33] local.INFO: Packet analysis {"connection_id":109002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:33] local.INFO: Extracted packet for processing {"connection_id":109002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202138112001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782039623000,"timestamp_ms":1782039623000,"timestamp_seconds":1782039623,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d6b558"} 
[2026-06-21 16:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 16:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202138112001,"66":12406,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202138112001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:33:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202138112001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":109002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:33:33] local.INFO: GPS data processed {"connection_id":109002,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:33:33] local.INFO: Acknowledgment sent {"connection_id":109002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:33:34] local.INFO: TCP Data received {"connection_id":109621,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:33:34] local.INFO: Processing buffer {"connection_id":109621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:33:34] local.INFO: IMEI packet received {"connection_id":109621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":109621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:33:38] local.INFO: TCP Data received {"connection_id":109002,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d70760012d196880071fee50003f011e2c..."} 
[2026-06-21 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d70760012d196880071fee50003f011e2c..."} 
[2026-06-21 16:33:38] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d70760012d196880071fee50003f011e2c..."} 
[2026-06-21 16:33:38] local.INFO: Packet analysis {"connection_id":109002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:33:38] local.INFO: Extracted packet for processing {"connection_id":109002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202143488001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782039644000,"timestamp_ms":1782039644000,"timestamp_seconds":1782039644,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d70760"} 
[2026-06-21 16:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202143488001,"66":12287,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202143488001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:33:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202143488001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":109002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:33:38] local.INFO: GPS data processed {"connection_id":109002,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:33:38] local.INFO: Acknowledgment sent {"connection_id":109002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:33:40] local.INFO: TCP Data received {"connection_id":109621,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:33:40] local.INFO: Processing buffer {"connection_id":109621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:33:40] local.INFO: IMEI packet received {"connection_id":109621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":109621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:33:40] local.INFO: TCP Data received {"connection_id":109621,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:40] local.INFO: Processing buffer {"connection_id":109621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:40] local.INFO: Packet analysis {"connection_id":109621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:40] local.INFO: Extracted packet for processing {"connection_id":109621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33: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-06-21 16:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:33:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":109621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:33:40] local.INFO: GPS data processed {"connection_id":109621,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:33:40] local.INFO: Acknowledgment sent {"connection_id":109621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:33:45] local.INFO: TCP Data received {"connection_id":109621,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:45] local.INFO: Processing buffer {"connection_id":109621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:33:45] local.INFO: Packet analysis {"connection_id":109621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:45] local.INFO: Extracted packet for processing {"connection_id":109621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:33:45] 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-06-21 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 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-06-21 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:33:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:33:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":109621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:33:45] local.INFO: GPS data processed {"connection_id":109621,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:33:45] local.INFO: Acknowledgment sent {"connection_id":109621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:34:23] local.INFO: TCP Data received {"connection_id":110586,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:34:23] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:34:23] local.INFO: IMEI packet received {"connection_id":110586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":110586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:34:28] local.INFO: TCP Data received {"connection_id":110586,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:34:28] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:34:28] local.INFO: IMEI packet received {"connection_id":110586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":110586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:34:28] local.INFO: TCP Data received {"connection_id":110586,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d75968012d196880071fee50003f011e2c..."} 
[2026-06-21 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d75968012d196880071fee50003f011e2c..."} 
[2026-06-21 16:34:28] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d75968012d196880071fee50003f011e2c..."} 
[2026-06-21 16:34:28] local.INFO: Packet analysis {"connection_id":110586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:34:28] local.INFO: Extracted packet for processing {"connection_id":110586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202148864001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039665000,"timestamp_ms":1782039665000,"timestamp_seconds":1782039665,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d75968"} 
[2026-06-21 16:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 16:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202148864001,"66":12461,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202148864001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:34:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202148864001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":110586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:34:29] local.INFO: GPS data processed {"connection_id":110586,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:34:29] local.INFO: Acknowledgment sent {"connection_id":110586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:34:30] local.INFO: TCP Data received {"connection_id":109623,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:34:30] local.INFO: Processing buffer {"connection_id":109623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:34:30] local.INFO: IMEI packet received {"connection_id":109623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":109623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:34:31] local.INFO: TCP Data received {"connection_id":110586,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d7ab70012d196880071fee50003f011e2b..."} 
[2026-06-21 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d7ab70012d196880071fee50003f011e2b..."} 
[2026-06-21 16:34:31] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d7ab70012d196880071fee50003f011e2b..."} 
[2026-06-21 16:34:31] local.INFO: Packet analysis {"connection_id":110586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:34:31] local.INFO: Extracted packet for processing {"connection_id":110586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202154240001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782039686000,"timestamp_ms":1782039686000,"timestamp_seconds":1782039686,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d7ab70"} 
[2026-06-21 16:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 16:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202154240001,"66":12439,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202154240001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:34:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202154240001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":110586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:34:31] local.INFO: GPS data processed {"connection_id":110586,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:34:31] local.INFO: Acknowledgment sent {"connection_id":110586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:34:35] local.INFO: TCP Data received {"connection_id":109623,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:34:35] local.INFO: Processing buffer {"connection_id":109623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:34:35] local.INFO: IMEI packet received {"connection_id":109623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":109623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:34:35] local.INFO: TCP Data received {"connection_id":109623,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:34:35] local.INFO: Processing buffer {"connection_id":109623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:34:35] local.INFO: Packet analysis {"connection_id":109623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:34:35] local.INFO: Extracted packet for processing {"connection_id":109623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:34: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-06-21 16:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:34:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:34:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":109623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:34:35] local.INFO: GPS data processed {"connection_id":109623,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:34:35] local.INFO: Acknowledgment sent {"connection_id":109623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:35:02] local.INFO: TCP Data received {"connection_id":110586,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d7fd78012d196880071fee50003f011e2b..."} 
[2026-06-21 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d7fd78012d196880071fee50003f011e2b..."} 
[2026-06-21 16:35:02] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d7fd78012d196880071fee50003f011e2b..."} 
[2026-06-21 16:35:02] local.INFO: Packet analysis {"connection_id":110586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:35:02] local.INFO: Extracted packet for processing {"connection_id":110586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d7"} 
[2026-06-21 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202159616001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782039707000,"timestamp_ms":1782039707000,"timestamp_seconds":1782039707,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d7fd78"} 
[2026-06-21 16:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202159616001,"66":12385,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202159616001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:35:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:35:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202159616001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":110586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:35:02] local.INFO: GPS data processed {"connection_id":110586,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:35:02] local.INFO: Acknowledgment sent {"connection_id":110586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:35:07] local.INFO: TCP Data received {"connection_id":109623,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:35:07] local.INFO: Processing buffer {"connection_id":109623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d601a8012d34c58006aa3f50001d006722..."} 
[2026-06-21 16:35:07] local.INFO: Packet analysis {"connection_id":109623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:35:07] local.INFO: Extracted packet for processing {"connection_id":109623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d6"} 
[2026-06-21 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":29,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202054656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:07] 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-06-21 16:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782039577000,"timestamp_ms":1782039577000,"timestamp_seconds":1782039577,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d601a8"} 
[2026-06-21 16:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202054656001,"66":25473,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 16:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202054656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:35:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 16:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202054656001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":109623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:35:07] local.INFO: GPS data processed {"connection_id":109623,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:35:07] local.INFO: Acknowledgment sent {"connection_id":109623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:35:23] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:35:23] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:35:23] local.INFO: IMEI packet received {"connection_id":110587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":110587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:35:28] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:35:28] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:35:28] local.INFO: IMEI packet received {"connection_id":110587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":110587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:35:28] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d84f80012d196880071fee50003f011e2c..."} 
[2026-06-21 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d84f80012d196880071fee50003f011e2c..."} 
[2026-06-21 16:35:28] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d84f80012d196880071fee50003f011e2c..."} 
[2026-06-21 16:35:28] local.INFO: Packet analysis {"connection_id":110587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d8"} 
[2026-06-21 16:35:28] local.INFO: Extracted packet for processing {"connection_id":110587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d8"} 
[2026-06-21 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202164992001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039728000,"timestamp_ms":1782039728000,"timestamp_seconds":1782039728,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d84f80"} 
[2026-06-21 16:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 16:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202164992001,"66":12439,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202164992001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202164992001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":110587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:35:29] local.INFO: GPS data processed {"connection_id":110587,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:35:29] local.INFO: Acknowledgment sent {"connection_id":110587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:35:30] local.INFO: TCP Data received {"connection_id":110588,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:35:30] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:35:30] local.INFO: IMEI packet received {"connection_id":110588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":110588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:35:35] local.INFO: TCP Data received {"connection_id":110588,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:35:35] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:35:35] local.INFO: IMEI packet received {"connection_id":110588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":110588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:35:36] local.INFO: TCP Data received {"connection_id":110588,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:35:36] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:35:36] local.INFO: Packet analysis {"connection_id":110588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:35:36] local.INFO: Extracted packet for processing {"connection_id":110588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:35:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":110588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:35:36] local.INFO: GPS data processed {"connection_id":110588,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:35:36] local.INFO: Acknowledgment sent {"connection_id":110588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:36:00] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d8a188012d196880071fee50003f011e2c..."} 
[2026-06-21 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d8a188012d196880071fee50003f011e2c..."} 
[2026-06-21 16:36:00] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d8a188012d196880071fee50003f011e2c..."} 
[2026-06-21 16:36:00] local.INFO: Packet analysis {"connection_id":110587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d8"} 
[2026-06-21 16:36:00] local.INFO: Extracted packet for processing {"connection_id":110587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d8"} 
[2026-06-21 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202170368001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039749000,"timestamp_ms":1782039749000,"timestamp_seconds":1782039749,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d8a188"} 
[2026-06-21 16:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-21 16:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202170368001,"66":12428,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202170368001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:36:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202170368001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":110587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:36:00] local.INFO: GPS data processed {"connection_id":110587,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:36:00] local.INFO: Acknowledgment sent {"connection_id":110587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:36:08] local.INFO: TCP Data received {"connection_id":110588,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:36:08] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:36:08] local.INFO: Packet analysis {"connection_id":110588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:36:08] local.INFO: Extracted packet for processing {"connection_id":110588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:36:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":110588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:36:08] local.INFO: GPS data processed {"connection_id":110588,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:36:08] local.INFO: Acknowledgment sent {"connection_id":110588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:36:23] local.INFO: TCP Data received {"connection_id":109004,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:36:23] local.INFO: Processing buffer {"connection_id":109004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:36:23] local.INFO: IMEI packet received {"connection_id":109004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":109004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:36:28] local.INFO: TCP Data received {"connection_id":109004,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:36:28] local.INFO: Processing buffer {"connection_id":109004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:36:28] local.INFO: IMEI packet received {"connection_id":109004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":109004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:36:28] local.INFO: TCP Data received {"connection_id":109004,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d8f390012d196880071fee50003f011e2c..."} 
[2026-06-21 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d8f390012d196880071fee50003f011e2c..."} 
[2026-06-21 16:36:28] local.INFO: Processing buffer {"connection_id":109004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d8f390012d196880071fee50003f011e2c..."} 
[2026-06-21 16:36:28] local.INFO: Packet analysis {"connection_id":109004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d8"} 
[2026-06-21 16:36:28] local.INFO: Extracted packet for processing {"connection_id":109004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d8"} 
[2026-06-21 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202175744001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039770000,"timestamp_ms":1782039770000,"timestamp_seconds":1782039770,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d8f390"} 
[2026-06-21 16:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-21 16:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202175744001,"66":12406,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202175744001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202175744001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":109004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:36:29] local.INFO: GPS data processed {"connection_id":109004,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:36:29] local.INFO: Acknowledgment sent {"connection_id":109004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:36:29] local.INFO: TCP Data received {"connection_id":108839,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:36:29] local.INFO: Processing buffer {"connection_id":108839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:36:29] local.INFO: IMEI packet received {"connection_id":108839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":108839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:36:32] local.INFO: TCP Data received {"connection_id":108838,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:36:32] local.INFO: Processing buffer {"connection_id":108838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:36:32] local.INFO: IMEI packet received {"connection_id":108838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":108838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:36:35] local.INFO: TCP Data received {"connection_id":108839,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:36:35] local.INFO: Processing buffer {"connection_id":108839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:36:35] local.INFO: IMEI packet received {"connection_id":108839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":108839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:36:36] local.INFO: TCP Data received {"connection_id":108839,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:36:36] local.INFO: Processing buffer {"connection_id":108839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:36:36] local.INFO: Packet analysis {"connection_id":108839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:36:36] local.INFO: Extracted packet for processing {"connection_id":108839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:36:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":108839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:36:36] local.INFO: GPS data processed {"connection_id":108839,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:36:36] local.INFO: Acknowledgment sent {"connection_id":108839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:37:00] local.INFO: TCP Data received {"connection_id":109004,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d94598012d196880071fee50003f011e2b..."} 
[2026-06-21 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d94598012d196880071fee50003f011e2b..."} 
[2026-06-21 16:37:00] local.INFO: Processing buffer {"connection_id":109004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d94598012d196880071fee50003f011e2b..."} 
[2026-06-21 16:37:00] local.INFO: Packet analysis {"connection_id":109004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d9"} 
[2026-06-21 16:37:00] local.INFO: Extracted packet for processing {"connection_id":109004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d9"} 
[2026-06-21 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202181120001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039791000,"timestamp_ms":1782039791000,"timestamp_seconds":1782039791,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d94598"} 
[2026-06-21 16:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202181120001,"66":12385,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202181120001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:37:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202181120001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":109004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:37:00] local.INFO: GPS data processed {"connection_id":109004,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:37:00] local.INFO: Acknowledgment sent {"connection_id":109004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:37:08] local.INFO: TCP Data received {"connection_id":108839,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:37:08] local.INFO: Processing buffer {"connection_id":108839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:37:08] local.INFO: Packet analysis {"connection_id":108839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:37:08] local.INFO: Extracted packet for processing {"connection_id":108839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":108839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:37:08] local.INFO: GPS data processed {"connection_id":108839,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:37:08] local.INFO: Acknowledgment sent {"connection_id":108839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:37:12] local.INFO: TCP Data received {"connection_id":109005,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:37:12] local.INFO: Processing buffer {"connection_id":109005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:37:12] local.INFO: IMEI packet received {"connection_id":109005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":109005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:37:23] local.INFO: TCP Data received {"connection_id":109624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:37:23] local.INFO: Processing buffer {"connection_id":109624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:37:23] local.INFO: IMEI packet received {"connection_id":109624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":109624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:37:28] local.INFO: TCP Data received {"connection_id":109624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:37:28] local.INFO: Processing buffer {"connection_id":109624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:37:28] local.INFO: IMEI packet received {"connection_id":109624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":109624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:37:29] local.INFO: TCP Data received {"connection_id":109624,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d997a0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d997a0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:37:29] local.INFO: Processing buffer {"connection_id":109624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d997a0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:37:29] local.INFO: Packet analysis {"connection_id":109624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d9"} 
[2026-06-21 16:37:29] local.INFO: Extracted packet for processing {"connection_id":109624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d9"} 
[2026-06-21 16:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202186496001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782039812000,"timestamp_ms":1782039812000,"timestamp_seconds":1782039812,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d997a0"} 
[2026-06-21 16:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 16:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202186496001,"66":12374,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202186496001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:37:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202186496001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":109624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:37:29] local.INFO: GPS data processed {"connection_id":109624,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:37:29] local.INFO: Acknowledgment sent {"connection_id":109624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:37:29] local.INFO: TCP Data received {"connection_id":109006,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:37:29] local.INFO: Processing buffer {"connection_id":109006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:37:29] local.INFO: IMEI packet received {"connection_id":109006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":109006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:37:35] local.INFO: TCP Data received {"connection_id":109006,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:37:35] local.INFO: Processing buffer {"connection_id":109006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:37:35] local.INFO: IMEI packet received {"connection_id":109006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":109006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:37:35] local.INFO: TCP Data received {"connection_id":109006,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:37:35] local.INFO: Processing buffer {"connection_id":109006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:37:35] local.INFO: Packet analysis {"connection_id":109006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:37:35] local.INFO: Extracted packet for processing {"connection_id":109006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:37:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":109006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:37:35] local.INFO: GPS data processed {"connection_id":109006,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:37:35] local.INFO: Acknowledgment sent {"connection_id":109006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:38:00] local.INFO: TCP Data received {"connection_id":109624,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9d9e9a8012d196880071fee50003f011e29..."} 
[2026-06-21 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9d9e9a8012d196880071fee50003f011e29..."} 
[2026-06-21 16:38:00] local.INFO: Processing buffer {"connection_id":109624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9d9e9a8012d196880071fee50003f011e29..."} 
[2026-06-21 16:38:00] local.INFO: Packet analysis {"connection_id":109624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9d9"} 
[2026-06-21 16:38:00] local.INFO: Extracted packet for processing {"connection_id":109624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9d9"} 
[2026-06-21 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202191872001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039833000,"timestamp_ms":1782039833000,"timestamp_seconds":1782039833,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9d9e9a8"} 
[2026-06-21 16:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202191872001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202191872001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:38:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202191872001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":109624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:38:00] local.INFO: GPS data processed {"connection_id":109624,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:38:00] local.INFO: Acknowledgment sent {"connection_id":109624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:38:07] local.INFO: TCP Data received {"connection_id":109006,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:07] local.INFO: Processing buffer {"connection_id":109006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:07] local.INFO: Packet analysis {"connection_id":109006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:07] local.INFO: Extracted packet for processing {"connection_id":109006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":109006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:38:07] local.INFO: GPS data processed {"connection_id":109006,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:38:07] local.INFO: Acknowledgment sent {"connection_id":109006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:38:21] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:21] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:21] local.INFO: IMEI packet received {"connection_id":110589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":110589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:38:22] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:22] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:22] local.INFO: IMEI packet received {"connection_id":110589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":110589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:38:28] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:28] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:38:28] local.INFO: IMEI packet received {"connection_id":110589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":110589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:38:28] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da3bb0012d196880071fee50003f011e29..."} 
[2026-06-21 16:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da3bb0012d196880071fee50003f011e29..."} 
[2026-06-21 16:38:28] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da3bb0012d196880071fee50003f011e29..."} 
[2026-06-21 16:38:28] local.INFO: Packet analysis {"connection_id":110589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:28] local.INFO: Extracted packet for processing {"connection_id":110589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202197248001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039854000,"timestamp_ms":1782039854000,"timestamp_seconds":1782039854,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da3bb0"} 
[2026-06-21 16:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202197248001,"66":12406,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202197248001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202197248001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":110589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:38:28] local.INFO: GPS data processed {"connection_id":110589,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:38:28] local.INFO: Acknowledgment sent {"connection_id":110589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:38:35] local.INFO: TCP Data received {"connection_id":108840,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:38:35] local.INFO: Processing buffer {"connection_id":108840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:38:35] local.INFO: IMEI packet received {"connection_id":108840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":108840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:38:40] local.INFO: TCP Data received {"connection_id":108840,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:38:40] local.INFO: Processing buffer {"connection_id":108840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:38:40] local.INFO: IMEI packet received {"connection_id":108840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":108840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:38:40] local.INFO: TCP Data received {"connection_id":108840,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:40] local.INFO: Processing buffer {"connection_id":108840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:40] local.INFO: Packet analysis {"connection_id":108840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:40] local.INFO: Extracted packet for processing {"connection_id":108840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":108840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:38:40] local.INFO: GPS data processed {"connection_id":108840,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:38:40] local.INFO: Acknowledgment sent {"connection_id":108840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:38:45] local.INFO: TCP Data received {"connection_id":108840,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:45] local.INFO: Processing buffer {"connection_id":108840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:38:45] local.INFO: Packet analysis {"connection_id":108840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:45] local.INFO: Extracted packet for processing {"connection_id":108840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:38:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":108840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:38:45] local.INFO: GPS data processed {"connection_id":108840,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:38:45] local.INFO: Acknowledgment sent {"connection_id":108840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:39:00] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da8db8012d196880071fee50003f011e27..."} 
[2026-06-21 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da8db8012d196880071fee50003f011e27..."} 
[2026-06-21 16:39:00] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da8db8012d196880071fee50003f011e27..."} 
[2026-06-21 16:39:00] local.INFO: Packet analysis {"connection_id":110589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:39:00] local.INFO: Extracted packet for processing {"connection_id":110589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202202624001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039875000,"timestamp_ms":1782039875000,"timestamp_seconds":1782039875,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da8db8"} 
[2026-06-21 16:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202202624001,"66":12385,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202202624001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:39:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202202624001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":110589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:39:00] local.INFO: GPS data processed {"connection_id":110589,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:39:00] local.INFO: Acknowledgment sent {"connection_id":110589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:39:22] local.INFO: TCP Data received {"connection_id":109007,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:22] local.INFO: Processing buffer {"connection_id":109007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:22] local.INFO: IMEI packet received {"connection_id":109007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":109007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:39:25] local.INFO: TCP Data received {"connection_id":109007,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:25] local.INFO: Processing buffer {"connection_id":109007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:25] local.INFO: IMEI packet received {"connection_id":109007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":109007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:39:28] local.INFO: TCP Data received {"connection_id":109007,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:28] local.INFO: Processing buffer {"connection_id":109007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:39:28] local.INFO: IMEI packet received {"connection_id":109007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":109007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:39:28] local.INFO: TCP Data received {"connection_id":109007,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9dadfc0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9dadfc0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:39:28] local.INFO: Processing buffer {"connection_id":109007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9dadfc0012d196880071fee50003f011e2a..."} 
[2026-06-21 16:39:28] local.INFO: Packet analysis {"connection_id":109007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:39:28] local.INFO: Extracted packet for processing {"connection_id":109007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208000001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782039896000,"timestamp_ms":1782039896000,"timestamp_seconds":1782039896,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9dadfc0"} 
[2026-06-21 16:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 16:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208000001,"66":12385,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208000001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208000001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":109007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:39:28] local.INFO: GPS data processed {"connection_id":109007,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:39:28] local.INFO: Acknowledgment sent {"connection_id":109007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:39:30] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:39:30] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:39:30] local.INFO: IMEI packet received {"connection_id":109008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":109008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:39:34] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:39:34] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:39:34] local.INFO: IMEI packet received {"connection_id":109008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":109008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:39:35] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:39:35] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:39:35] local.INFO: Packet analysis {"connection_id":109008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:39:35] local.INFO: Extracted packet for processing {"connection_id":109008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:39:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":109008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:39:35] local.INFO: GPS data processed {"connection_id":109008,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:39:35] local.INFO: Acknowledgment sent {"connection_id":109008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:40:00] local.INFO: TCP Data received {"connection_id":109007,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9db31c8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9db31c8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:40:00] local.INFO: Processing buffer {"connection_id":109007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9db31c8012d196880071fee50003f011e2a..."} 
[2026-06-21 16:40:00] local.INFO: Packet analysis {"connection_id":109007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9db"} 
[2026-06-21 16:40:00] local.INFO: Extracted packet for processing {"connection_id":109007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9db"} 
[2026-06-21 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202213376001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782039917000,"timestamp_ms":1782039917000,"timestamp_seconds":1782039917,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9db31c8"} 
[2026-06-21 16:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 16:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202213376001,"66":12385,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202213376001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:40:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202213376001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":109007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:40:00] local.INFO: GPS data processed {"connection_id":109007,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:40:00] local.INFO: Acknowledgment sent {"connection_id":109007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:40:07] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:40:07] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9da9970012d34c58006aa3f50001800671f..."} 
[2026-06-21 16:40:07] local.INFO: Packet analysis {"connection_id":109008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:40:07] local.INFO: Extracted packet for processing {"connection_id":109008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9da"} 
[2026-06-21 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":24,"angle":103,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202131712001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782039878000,"timestamp_ms":1782039878000,"timestamp_seconds":1782039878,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9da9970"} 
[2026-06-21 16:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202131712001,"66":25473,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202131712001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202131712001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":109008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:40:07] local.INFO: GPS data processed {"connection_id":109008,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:40:07] local.INFO: Acknowledgment sent {"connection_id":109008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:40:28] local.INFO: TCP Data received {"connection_id":110590,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:40:28] local.INFO: Processing buffer {"connection_id":110590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:40:28] local.INFO: IMEI packet received {"connection_id":110590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":110590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:40:28] local.INFO: TCP Data received {"connection_id":110590,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9deb820012d196880071fee50003f011e2c..."} 
[2026-06-21 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9deb820012d196880071fee50003f011e2c..."} 
[2026-06-21 16:40:28] local.INFO: Processing buffer {"connection_id":110590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9deb820012d196880071fee50003f011e2c..."} 
[2026-06-21 16:40:28] local.INFO: Packet analysis {"connection_id":110590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9de"} 
[2026-06-21 16:40:28] local.INFO: Extracted packet for processing {"connection_id":110590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9de"} 
[2026-06-21 16:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202272512001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040148000,"timestamp_ms":1782040148000,"timestamp_seconds":1782040148,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9deb820"} 
[2026-06-21 16:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-21 16:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202272512001,"66":12363,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202272512001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202272512001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":110590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:40:29] local.INFO: GPS data processed {"connection_id":110590,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:40:29] local.INFO: Acknowledgment sent {"connection_id":110590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:40:29] local.INFO: TCP Data received {"connection_id":108842,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:40:29] local.INFO: Processing buffer {"connection_id":108842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:40:29] local.INFO: IMEI packet received {"connection_id":108842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":108842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:40:34] local.INFO: TCP Data received {"connection_id":108842,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:40:34] local.INFO: Processing buffer {"connection_id":108842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:40:34] local.INFO: IMEI packet received {"connection_id":108842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":108842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:40:35] local.INFO: TCP Data received {"connection_id":108842,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:40:35] local.INFO: Processing buffer {"connection_id":108842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:40:35] local.INFO: Packet analysis {"connection_id":108842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:40:35] local.INFO: Extracted packet for processing {"connection_id":108842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:40:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":108842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:40:35] local.INFO: GPS data processed {"connection_id":108842,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:40:35] local.INFO: Acknowledgment sent {"connection_id":108842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:41:00] local.INFO: TCP Data received {"connection_id":110590,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df0a28012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df0a28012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:00] local.INFO: Processing buffer {"connection_id":110590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df0a28012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:00] local.INFO: Packet analysis {"connection_id":110590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:00] local.INFO: Extracted packet for processing {"connection_id":110590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202277888001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782040169000,"timestamp_ms":1782040169000,"timestamp_seconds":1782040169,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df0a28"} 
[2026-06-21 16:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202277888001,"66":12374,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202277888001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:41:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202277888001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":110590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:41:00] local.INFO: GPS data processed {"connection_id":110590,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:41:00] local.INFO: Acknowledgment sent {"connection_id":110590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:41:07] local.INFO: TCP Data received {"connection_id":108842,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:07] local.INFO: Processing buffer {"connection_id":108842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:07] local.INFO: Packet analysis {"connection_id":108842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:07] local.INFO: Extracted packet for processing {"connection_id":108842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:41:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":108842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:41:07] local.INFO: GPS data processed {"connection_id":108842,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:41:07] local.INFO: Acknowledgment sent {"connection_id":108842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:41:23] local.INFO: TCP Data received {"connection_id":109628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:41:23] local.INFO: Processing buffer {"connection_id":109628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:41:23] local.INFO: IMEI packet received {"connection_id":109628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":109628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:41:28] local.INFO: TCP Data received {"connection_id":109628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:41:28] local.INFO: Processing buffer {"connection_id":109628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:41:28] local.INFO: IMEI packet received {"connection_id":109628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":109628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:41:28] local.INFO: TCP Data received {"connection_id":109628,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df5c30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df5c30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:28] local.INFO: Processing buffer {"connection_id":109628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df5c30012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:28] local.INFO: Packet analysis {"connection_id":109628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:28] local.INFO: Extracted packet for processing {"connection_id":109628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202283264001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040190000,"timestamp_ms":1782040190000,"timestamp_seconds":1782040190,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df5c30"} 
[2026-06-21 16:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202283264001,"66":12374,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202283264001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202283264001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":109628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:41:28] local.INFO: GPS data processed {"connection_id":109628,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:41:28] local.INFO: Acknowledgment sent {"connection_id":109628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:41:31] local.INFO: TCP Data received {"connection_id":109628,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9dfae38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9dfae38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:31] local.INFO: Processing buffer {"connection_id":109628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9dfae38012d196880071fee50003f011e2c..."} 
[2026-06-21 16:41:31] local.INFO: Packet analysis {"connection_id":109628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:31] local.INFO: Extracted packet for processing {"connection_id":109628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202288640001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782040211000,"timestamp_ms":1782040211000,"timestamp_seconds":1782040211,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9dfae38"} 
[2026-06-21 16:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202288640001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202288640001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:41:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202288640001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":109628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:41:32] local.INFO: GPS data processed {"connection_id":109628,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:41:32] local.INFO: Acknowledgment sent {"connection_id":109628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:41:35] local.INFO: TCP Data received {"connection_id":108843,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:41:35] local.INFO: Processing buffer {"connection_id":108843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:41:35] local.INFO: IMEI packet received {"connection_id":108843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":108843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:41:40] local.INFO: TCP Data received {"connection_id":108843,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:41:40] local.INFO: Processing buffer {"connection_id":108843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:41:40] local.INFO: IMEI packet received {"connection_id":108843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":108843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:41:40] local.INFO: TCP Data received {"connection_id":108843,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:40] local.INFO: Processing buffer {"connection_id":108843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:40] local.INFO: Packet analysis {"connection_id":108843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:40] local.INFO: Extracted packet for processing {"connection_id":108843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":108843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:41:40] local.INFO: GPS data processed {"connection_id":108843,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:41:40] local.INFO: Acknowledgment sent {"connection_id":108843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:41:45] local.INFO: TCP Data received {"connection_id":108843,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:45] local.INFO: Processing buffer {"connection_id":108843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:41:45] local.INFO: Packet analysis {"connection_id":108843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:45] local.INFO: Extracted packet for processing {"connection_id":108843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:41:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":108843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:41:45] local.INFO: GPS data processed {"connection_id":108843,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:41:45] local.INFO: Acknowledgment sent {"connection_id":108843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:42:03] local.INFO: TCP Data received {"connection_id":109628,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e00040012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e00040012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:03] local.INFO: Processing buffer {"connection_id":109628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e00040012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:03] local.INFO: Packet analysis {"connection_id":109628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:42:03] local.INFO: Extracted packet for processing {"connection_id":109628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202294016001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782040232000,"timestamp_ms":1782040232000,"timestamp_seconds":1782040232,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e00040"} 
[2026-06-21 16:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202294016001,"66":12319,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202294016001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:42:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202294016001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":109628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:42:03] local.INFO: GPS data processed {"connection_id":109628,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:42:03] local.INFO: Acknowledgment sent {"connection_id":109628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:42:23] local.INFO: TCP Data received {"connection_id":109009,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:42:23] local.INFO: Processing buffer {"connection_id":109009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:42:23] local.INFO: IMEI packet received {"connection_id":109009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":109009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:42:28] local.INFO: TCP Data received {"connection_id":109009,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:42:28] local.INFO: Processing buffer {"connection_id":109009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:42:28] local.INFO: IMEI packet received {"connection_id":109009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":109009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:42:28] local.INFO: TCP Data received {"connection_id":109009,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e05248012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e05248012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:28] local.INFO: Processing buffer {"connection_id":109009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e05248012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:28] local.INFO: Packet analysis {"connection_id":109009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:42:28] local.INFO: Extracted packet for processing {"connection_id":109009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202299392001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040253000,"timestamp_ms":1782040253000,"timestamp_seconds":1782040253,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e05248"} 
[2026-06-21 16:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 16:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202299392001,"66":12287,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202299392001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202299392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":109009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:42:29] local.INFO: GPS data processed {"connection_id":109009,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:42:29] local.INFO: Acknowledgment sent {"connection_id":109009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:42:30] local.INFO: TCP Data received {"connection_id":109629,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:42:30] local.INFO: Processing buffer {"connection_id":109629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:42:30] local.INFO: IMEI packet received {"connection_id":109629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":109629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:42:35] local.INFO: TCP Data received {"connection_id":109629,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:42:35] local.INFO: Processing buffer {"connection_id":109629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:42:35] local.INFO: IMEI packet received {"connection_id":109629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":109629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:42:35] local.INFO: TCP Data received {"connection_id":109629,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:42:35] local.INFO: Processing buffer {"connection_id":109629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:42:35] local.INFO: Packet analysis {"connection_id":109629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:42:35] local.INFO: Extracted packet for processing {"connection_id":109629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:42:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":109629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:42:35] local.INFO: GPS data processed {"connection_id":109629,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:42:35] local.INFO: Acknowledgment sent {"connection_id":109629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:42:37] local.INFO: TCP Data received {"connection_id":108844,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:42:37] local.INFO: Processing buffer {"connection_id":108844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:42:37] local.INFO: IMEI packet received {"connection_id":108844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":108844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:42:59] local.INFO: TCP Data received {"connection_id":109009,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e0a450012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e0a450012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:59] local.INFO: Processing buffer {"connection_id":109009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e0a450012d196880071fee50003f011e2d..."} 
[2026-06-21 16:42:59] local.INFO: Packet analysis {"connection_id":109009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:42:59] local.INFO: Extracted packet for processing {"connection_id":109009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202304768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782040274000,"timestamp_ms":1782040274000,"timestamp_seconds":1782040274,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e0a450"} 
[2026-06-21 16:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 16:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202304768001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202304768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202304768001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":109009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:43:00] local.INFO: GPS data processed {"connection_id":109009,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:43:00] local.INFO: Acknowledgment sent {"connection_id":109009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:43:07] local.INFO: TCP Data received {"connection_id":109629,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:43:07] local.INFO: Processing buffer {"connection_id":109629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:43:07] local.INFO: Packet analysis {"connection_id":109629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:43:07] local.INFO: Extracted packet for processing {"connection_id":109629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:43:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":109629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:43:07] local.INFO: GPS data processed {"connection_id":109629,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:43:07] local.INFO: Acknowledgment sent {"connection_id":109629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:43:12] local.INFO: TCP Data received {"connection_id":108845,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:43:12] local.INFO: Processing buffer {"connection_id":108845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:43:12] local.INFO: IMEI packet received {"connection_id":108845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":108845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:43:23] local.INFO: TCP Data received {"connection_id":108846,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:43:23] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:43:23] local.INFO: IMEI packet received {"connection_id":108846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":108846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:43:28] local.INFO: TCP Data received {"connection_id":108846,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:43:28] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:43:28] local.INFO: IMEI packet received {"connection_id":108846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":108846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:43:28] local.INFO: TCP Data received {"connection_id":108846,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e0f658012d196880071fee50003f011e2d..."} 
[2026-06-21 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e0f658012d196880071fee50003f011e2d..."} 
[2026-06-21 16:43:28] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e0f658012d196880071fee50003f011e2d..."} 
[2026-06-21 16:43:28] local.INFO: Packet analysis {"connection_id":108846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:43:28] local.INFO: Extracted packet for processing {"connection_id":108846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e0"} 
[2026-06-21 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202310144001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040295000,"timestamp_ms":1782040295000,"timestamp_seconds":1782040295,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e0f658"} 
[2026-06-21 16:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202310144001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202310144001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202310144001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":108846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:43:29] local.INFO: GPS data processed {"connection_id":108846,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:43:29] local.INFO: Acknowledgment sent {"connection_id":108846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:43:29] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:43:29] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:43:29] local.INFO: IMEI packet received {"connection_id":108847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":108847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:43:35] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:43:35] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:43:35] local.INFO: IMEI packet received {"connection_id":108847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":108847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:43:36] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:43:36] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:43:36] local.INFO: Packet analysis {"connection_id":108847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:43:36] local.INFO: Extracted packet for processing {"connection_id":108847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:43:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":108847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:43:36] local.INFO: GPS data processed {"connection_id":108847,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:43:36] local.INFO: Acknowledgment sent {"connection_id":108847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:44:00] local.INFO: TCP Data received {"connection_id":108846,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e14860012d196880071fee50003f011e2d..."} 
[2026-06-21 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e14860012d196880071fee50003f011e2d..."} 
[2026-06-21 16:44:00] local.INFO: Processing buffer {"connection_id":108846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e14860012d196880071fee50003f011e2d..."} 
[2026-06-21 16:44:00] local.INFO: Packet analysis {"connection_id":108846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e1"} 
[2026-06-21 16:44:00] local.INFO: Extracted packet for processing {"connection_id":108846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e1"} 
[2026-06-21 16:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202315520001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782040316000,"timestamp_ms":1782040316000,"timestamp_seconds":1782040316,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e14860"} 
[2026-06-21 16:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202315520001,"66":12363,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202315520001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:44:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202315520001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":108846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:44:00] local.INFO: GPS data processed {"connection_id":108846,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:44:00] local.INFO: Acknowledgment sent {"connection_id":108846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:44:07] local.INFO: TCP Data received {"connection_id":108847,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:44:07] local.INFO: Processing buffer {"connection_id":108847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:44:07] local.INFO: Packet analysis {"connection_id":108847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:44:07] local.INFO: Extracted packet for processing {"connection_id":108847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":108847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:44:07] local.INFO: GPS data processed {"connection_id":108847,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:44:07] local.INFO: Acknowledgment sent {"connection_id":108847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:44:23] local.INFO: TCP Data received {"connection_id":109011,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:44:23] local.INFO: Processing buffer {"connection_id":109011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:44:23] local.INFO: IMEI packet received {"connection_id":109011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":109011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:44:28] local.INFO: TCP Data received {"connection_id":109011,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:44:28] local.INFO: Processing buffer {"connection_id":109011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:44:28] local.INFO: IMEI packet received {"connection_id":109011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":109011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:44:29] local.INFO: TCP Data received {"connection_id":109011,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e19a68012d196880071fee50003f011e2b..."} 
[2026-06-21 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e19a68012d196880071fee50003f011e2b..."} 
[2026-06-21 16:44:29] local.INFO: Processing buffer {"connection_id":109011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e19a68012d196880071fee50003f011e2b..."} 
[2026-06-21 16:44:29] local.INFO: Packet analysis {"connection_id":109011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e1"} 
[2026-06-21 16:44:29] local.INFO: Extracted packet for processing {"connection_id":109011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e1"} 
[2026-06-21 16:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202320896001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782040337000,"timestamp_ms":1782040337000,"timestamp_seconds":1782040337,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e19a68"} 
[2026-06-21 16:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202320896001,"66":12374,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202320896001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:44:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202320896001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":109011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:44:29] local.INFO: GPS data processed {"connection_id":109011,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:44:29] local.INFO: Acknowledgment sent {"connection_id":109011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:44:29] local.INFO: TCP Data received {"connection_id":109012,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:44:29] local.INFO: Processing buffer {"connection_id":109012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:44:29] local.INFO: IMEI packet received {"connection_id":109012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":109012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:44:34] local.INFO: TCP Data received {"connection_id":109012,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:44:34] local.INFO: Processing buffer {"connection_id":109012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:44:34] local.INFO: IMEI packet received {"connection_id":109012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":109012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:44:35] local.INFO: TCP Data received {"connection_id":109012,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:44:35] local.INFO: Processing buffer {"connection_id":109012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:44:35] local.INFO: Packet analysis {"connection_id":109012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:44:35] local.INFO: Extracted packet for processing {"connection_id":109012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":109012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:44:35] local.INFO: GPS data processed {"connection_id":109012,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:44:35] local.INFO: Acknowledgment sent {"connection_id":109012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:45:00] local.INFO: TCP Data received {"connection_id":109011,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e1ec70012d196880071fee50003f011e2c..."} 
[2026-06-21 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e1ec70012d196880071fee50003f011e2c..."} 
[2026-06-21 16:45:00] local.INFO: Processing buffer {"connection_id":109011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e1ec70012d196880071fee50003f011e2c..."} 
[2026-06-21 16:45:00] local.INFO: Packet analysis {"connection_id":109011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e1"} 
[2026-06-21 16:45:00] local.INFO: Extracted packet for processing {"connection_id":109011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e1"} 
[2026-06-21 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202326272001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782040358000,"timestamp_ms":1782040358000,"timestamp_seconds":1782040358,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e1ec70"} 
[2026-06-21 16:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 16:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202326272001,"66":12363,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202326272001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:45:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202326272001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":109011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:45:00] local.INFO: GPS data processed {"connection_id":109011,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:45:00] local.INFO: Acknowledgment sent {"connection_id":109011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:45:06] local.INFO: TCP Data received {"connection_id":109012,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:45:06] local.INFO: Processing buffer {"connection_id":109012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9df3138012d34c58006aa3f500013006721..."} 
[2026-06-21 16:45:06] local.INFO: Packet analysis {"connection_id":109012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:45:06] local.INFO: Extracted packet for processing {"connection_id":109012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9df"} 
[2026-06-21 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":19,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202208768001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782040179000,"timestamp_ms":1782040179000,"timestamp_seconds":1782040179,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9df3138"} 
[2026-06-21 16:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 16:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202208768001,"66":24995,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202208768001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202208768001,"power":24995,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":109012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:45:06] local.INFO: GPS data processed {"connection_id":109012,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:45:06] local.INFO: Acknowledgment sent {"connection_id":109012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:45:21] local.INFO: TCP Data received {"connection_id":110592,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:21] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:21] local.INFO: IMEI packet received {"connection_id":110592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":110592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:45:22] local.INFO: TCP Data received {"connection_id":110592,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:22] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:22] local.INFO: IMEI packet received {"connection_id":110592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":110592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:45:28] local.INFO: TCP Data received {"connection_id":110592,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:28] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:45:28] local.INFO: IMEI packet received {"connection_id":110592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":110592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:45:28] local.INFO: TCP Data received {"connection_id":110592,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e23e78012d196880071fee50003f011e2a..."} 
[2026-06-21 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e23e78012d196880071fee50003f011e2a..."} 
[2026-06-21 16:45:28] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e23e78012d196880071fee50003f011e2a..."} 
[2026-06-21 16:45:28] local.INFO: Packet analysis {"connection_id":110592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e2"} 
[2026-06-21 16:45:28] local.INFO: Extracted packet for processing {"connection_id":110592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e2"} 
[2026-06-21 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202331648001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040379000,"timestamp_ms":1782040379000,"timestamp_seconds":1782040379,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e23e78"} 
[2026-06-21 16:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202331648001,"66":12287,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202331648001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202331648001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":110592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:45:29] local.INFO: GPS data processed {"connection_id":110592,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:45:29] local.INFO: Acknowledgment sent {"connection_id":110592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:45:29] local.INFO: TCP Data received {"connection_id":109630,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:45:29] local.INFO: Processing buffer {"connection_id":109630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:45:29] local.INFO: IMEI packet received {"connection_id":109630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":109630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:45:35] local.INFO: TCP Data received {"connection_id":109630,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:45:35] local.INFO: Processing buffer {"connection_id":109630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:45:35] local.INFO: IMEI packet received {"connection_id":109630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":109630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:45:37] local.INFO: TCP Data received {"connection_id":109630,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:45:37] local.INFO: Processing buffer {"connection_id":109630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:45:37] local.INFO: Packet analysis {"connection_id":109630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:45:37] local.INFO: Extracted packet for processing {"connection_id":109630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:45: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-06-21 16:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:45:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":109630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:45:37] local.INFO: GPS data processed {"connection_id":109630,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:45:37] local.INFO: Acknowledgment sent {"connection_id":109630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:46:00] local.INFO: TCP Data received {"connection_id":110592,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e29080012d196880071fee50003f011e2d..."} 
[2026-06-21 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e29080012d196880071fee50003f011e2d..."} 
[2026-06-21 16:46:00] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e29080012d196880071fee50003f011e2d..."} 
[2026-06-21 16:46:00] local.INFO: Packet analysis {"connection_id":110592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e2"} 
[2026-06-21 16:46:00] local.INFO: Extracted packet for processing {"connection_id":110592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e2"} 
[2026-06-21 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202337024001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782040400000,"timestamp_ms":1782040400000,"timestamp_seconds":1782040400,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e29080"} 
[2026-06-21 16:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 16:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202337024001,"66":11993,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202337024001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:46:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202337024001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":110592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:46:00] local.INFO: GPS data processed {"connection_id":110592,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:46:00] local.INFO: Acknowledgment sent {"connection_id":110592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:46:08] local.INFO: TCP Data received {"connection_id":109630,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:46:08] local.INFO: Processing buffer {"connection_id":109630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:46:08] local.INFO: Packet analysis {"connection_id":109630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:46:08] local.INFO: Extracted packet for processing {"connection_id":109630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:46:08] 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-06-21 16:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":109630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:46:08] local.INFO: GPS data processed {"connection_id":109630,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:46:08] local.INFO: Acknowledgment sent {"connection_id":109630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:46:22] local.INFO: TCP Data received {"connection_id":109013,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:22] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:22] local.INFO: IMEI packet received {"connection_id":109013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":109013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:46:25] local.INFO: TCP Data received {"connection_id":109013,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:25] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:25] local.INFO: IMEI packet received {"connection_id":109013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":109013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:46:28] local.INFO: TCP Data received {"connection_id":109013,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:28] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:46:28] local.INFO: IMEI packet received {"connection_id":109013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":109013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:46:28] local.INFO: TCP Data received {"connection_id":109013,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e2e288012d196880071fee50003f011e2d..."} 
[2026-06-21 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e2e288012d196880071fee50003f011e2d..."} 
[2026-06-21 16:46:28] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e2e288012d196880071fee50003f011e2d..."} 
[2026-06-21 16:46:28] local.INFO: Packet analysis {"connection_id":109013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e2"} 
[2026-06-21 16:46:28] local.INFO: Extracted packet for processing {"connection_id":109013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e2"} 
[2026-06-21 16:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202342400001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040421000,"timestamp_ms":1782040421000,"timestamp_seconds":1782040421,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e2e288"} 
[2026-06-21 16:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-21 16:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202342400001,"66":12135,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202342400001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202342400001,"power":12135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":109013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:46:29] local.INFO: GPS data processed {"connection_id":109013,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:46:29] local.INFO: Acknowledgment sent {"connection_id":109013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:46:30] local.INFO: TCP Data received {"connection_id":108848,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:46:30] local.INFO: Processing buffer {"connection_id":108848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:46:30] local.INFO: IMEI packet received {"connection_id":108848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":108848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:46:35] local.INFO: TCP Data received {"connection_id":108848,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:46:35] local.INFO: Processing buffer {"connection_id":108848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:46:35] local.INFO: IMEI packet received {"connection_id":108848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":108848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:46:36] local.INFO: TCP Data received {"connection_id":108848,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:46:36] local.INFO: Processing buffer {"connection_id":108848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:46:36] local.INFO: Packet analysis {"connection_id":108848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:46:36] local.INFO: Extracted packet for processing {"connection_id":108848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:46:36] 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-06-21 16:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":108848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:46:36] local.INFO: GPS data processed {"connection_id":108848,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:46:36] local.INFO: Acknowledgment sent {"connection_id":108848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:47:00] local.INFO: TCP Data received {"connection_id":109013,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e33490012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e33490012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:00] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e33490012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:00] local.INFO: Packet analysis {"connection_id":109013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:00] local.INFO: Extracted packet for processing {"connection_id":109013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202347776001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782040442000,"timestamp_ms":1782040442000,"timestamp_seconds":1782040442,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e33490"} 
[2026-06-21 16:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-21 16:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202347776001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202347776001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:47:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202347776001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":109013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:47:00] local.INFO: GPS data processed {"connection_id":109013,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:47:00] local.INFO: Acknowledgment sent {"connection_id":109013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:47:07] local.INFO: TCP Data received {"connection_id":108848,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:47:07] local.INFO: Processing buffer {"connection_id":108848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:47:07] local.INFO: Packet analysis {"connection_id":108848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:07] local.INFO: Extracted packet for processing {"connection_id":108848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:47:07] 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-06-21 16:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":108848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:47:07] local.INFO: GPS data processed {"connection_id":108848,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:47:07] local.INFO: Acknowledgment sent {"connection_id":108848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:47:28] local.INFO: TCP Data received {"connection_id":109632,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:28] local.INFO: Processing buffer {"connection_id":109632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:28] local.INFO: IMEI packet received {"connection_id":109632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":109632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:47:28] local.INFO: TCP Data received {"connection_id":109632,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:28] local.INFO: Processing buffer {"connection_id":109632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:28] local.INFO: IMEI packet received {"connection_id":109632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":109632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:47:29] local.INFO: TCP Data received {"connection_id":109633,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:47:29] local.INFO: Processing buffer {"connection_id":109633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:47:29] local.INFO: IMEI packet received {"connection_id":109633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":109633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:47:33] local.INFO: TCP Data received {"connection_id":109632,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:33] local.INFO: Processing buffer {"connection_id":109632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:47:33] local.INFO: IMEI packet received {"connection_id":109632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":109632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:47:33] local.INFO: TCP Data received {"connection_id":109632,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e38698012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e38698012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:33] local.INFO: Processing buffer {"connection_id":109632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e38698012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:33] local.INFO: Packet analysis {"connection_id":109632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:33] local.INFO: Extracted packet for processing {"connection_id":109632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202353152001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782040463000,"timestamp_ms":1782040463000,"timestamp_seconds":1782040463,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e38698"} 
[2026-06-21 16:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202353152001,"66":12319,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202353152001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:47:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202353152001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":109632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:47:33] local.INFO: GPS data processed {"connection_id":109632,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:47:33] local.INFO: Acknowledgment sent {"connection_id":109632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:47:35] local.INFO: TCP Data received {"connection_id":109633,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:47:35] local.INFO: Processing buffer {"connection_id":109633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:47:35] local.INFO: IMEI packet received {"connection_id":109633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":109633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:47:36] local.INFO: TCP Data received {"connection_id":109633,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:47:36] local.INFO: Processing buffer {"connection_id":109633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:47:36] local.INFO: Packet analysis {"connection_id":109633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:36] local.INFO: Extracted packet for processing {"connection_id":109633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:47:36] 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-06-21 16:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:47:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":109633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:47:36] local.INFO: GPS data processed {"connection_id":109633,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:47:36] local.INFO: Acknowledgment sent {"connection_id":109633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:47:38] local.INFO: TCP Data received {"connection_id":109632,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3d8a0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3d8a0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:38] local.INFO: Processing buffer {"connection_id":109632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3d8a0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:47:38] local.INFO: Packet analysis {"connection_id":109632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:38] local.INFO: Extracted packet for processing {"connection_id":109632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202358528001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782040484000,"timestamp_ms":1782040484000,"timestamp_seconds":1782040484,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3d8a0"} 
[2026-06-21 16:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 16:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202358528001,"66":12004,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202358528001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202358528001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":109632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:47:38] local.INFO: GPS data processed {"connection_id":109632,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:47:38] local.INFO: Acknowledgment sent {"connection_id":109632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:48:07] local.INFO: TCP Data received {"connection_id":109633,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:48:07] local.INFO: Processing buffer {"connection_id":109633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:48:07] local.INFO: Packet analysis {"connection_id":109633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:48:07] local.INFO: Extracted packet for processing {"connection_id":109633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:48:07] 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-06-21 16:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":109633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:48:07] local.INFO: GPS data processed {"connection_id":109633,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:48:07] local.INFO: Acknowledgment sent {"connection_id":109633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:48:23] local.INFO: TCP Data received {"connection_id":108850,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:48:23] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:48:23] local.INFO: IMEI packet received {"connection_id":108850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":108850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:48:28] local.INFO: TCP Data received {"connection_id":108850,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:48:28] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:48:28] local.INFO: IMEI packet received {"connection_id":108850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":108850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:48:28] local.INFO: TCP Data received {"connection_id":108850,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e42aa8012d196880071fee50003f011e2b..."} 
[2026-06-21 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e42aa8012d196880071fee50003f011e2b..."} 
[2026-06-21 16:48:28] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e42aa8012d196880071fee50003f011e2b..."} 
[2026-06-21 16:48:28] local.INFO: Packet analysis {"connection_id":108850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e4"} 
[2026-06-21 16:48:28] local.INFO: Extracted packet for processing {"connection_id":108850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e4"} 
[2026-06-21 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202363904001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040505000,"timestamp_ms":1782040505000,"timestamp_seconds":1782040505,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e42aa8"} 
[2026-06-21 16:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 16:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202363904001,"66":12319,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202363904001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202363904001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":108850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:48:28] local.INFO: GPS data processed {"connection_id":108850,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:48:28] local.INFO: Acknowledgment sent {"connection_id":108850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:48:29] local.INFO: TCP Data received {"connection_id":109014,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:48:29] local.INFO: Processing buffer {"connection_id":109014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:48:29] local.INFO: IMEI packet received {"connection_id":109014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":109014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:48:31] local.INFO: TCP Data received {"connection_id":108850,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e47cb0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e47cb0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:48:31] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e47cb0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:48:31] local.INFO: Packet analysis {"connection_id":108850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e4"} 
[2026-06-21 16:48:31] local.INFO: Extracted packet for processing {"connection_id":108850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e4"} 
[2026-06-21 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202369280001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782040526000,"timestamp_ms":1782040526000,"timestamp_seconds":1782040526,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e47cb0"} 
[2026-06-21 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":108850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":108850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":108850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202369280001,"66":12319,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202369280001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:48:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202369280001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":108850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:48:31] local.INFO: GPS data processed {"connection_id":108850,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:48:31] local.INFO: Acknowledgment sent {"connection_id":108850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:48:35] local.INFO: TCP Data received {"connection_id":109014,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:48:35] local.INFO: Processing buffer {"connection_id":109014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:48:35] local.INFO: IMEI packet received {"connection_id":109014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":109014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:48:35] local.INFO: TCP Data received {"connection_id":109014,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:48:35] local.INFO: Processing buffer {"connection_id":109014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:48:35] local.INFO: Packet analysis {"connection_id":109014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:48:35] local.INFO: Extracted packet for processing {"connection_id":109014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:48:35] 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-06-21 16:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:48:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":109014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:48:35] local.INFO: GPS data processed {"connection_id":109014,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:48:35] local.INFO: Acknowledgment sent {"connection_id":109014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:48:37] local.INFO: TCP Data received {"connection_id":108849,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:48:37] local.INFO: Processing buffer {"connection_id":108849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:48:37] local.INFO: IMEI packet received {"connection_id":108849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":108849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:49:02] local.INFO: TCP Data received {"connection_id":108850,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e4ceb8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e4ceb8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:49:02] local.INFO: Processing buffer {"connection_id":108850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e4ceb8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:49:02] local.INFO: Packet analysis {"connection_id":108850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e4"} 
[2026-06-21 16:49:02] local.INFO: Extracted packet for processing {"connection_id":108850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e4"} 
[2026-06-21 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202374656001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782040547000,"timestamp_ms":1782040547000,"timestamp_seconds":1782040547,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e4ceb8"} 
[2026-06-21 16:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 16:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":108850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":108850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":108850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202374656001,"66":12004,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202374656001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:49:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:49:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202374656001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":108850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:49:02] local.INFO: GPS data processed {"connection_id":108850,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:49:02] local.INFO: Acknowledgment sent {"connection_id":108850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:49:07] local.INFO: TCP Data received {"connection_id":109014,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:07] local.INFO: Processing buffer {"connection_id":109014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:07] local.INFO: Packet analysis {"connection_id":109014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:49:07] local.INFO: Extracted packet for processing {"connection_id":109014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:49:07] 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-06-21 16:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":109014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:49:07] local.INFO: GPS data processed {"connection_id":109014,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:49:07] local.INFO: Acknowledgment sent {"connection_id":109014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:49:12] local.INFO: TCP Data received {"connection_id":109634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:49:12] local.INFO: Processing buffer {"connection_id":109634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:49:12] local.INFO: IMEI packet received {"connection_id":109634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":109634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:49:23] local.INFO: TCP Data received {"connection_id":108851,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:49:23] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:49:23] local.INFO: IMEI packet received {"connection_id":108851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":108851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:49:28] local.INFO: TCP Data received {"connection_id":108851,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:49:28] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:49:28] local.INFO: IMEI packet received {"connection_id":108851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":108851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:49:28] local.INFO: TCP Data received {"connection_id":108851,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e520c0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e520c0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:49:28] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e520c0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:49:28] local.INFO: Packet analysis {"connection_id":108851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e5"} 
[2026-06-21 16:49:28] local.INFO: Extracted packet for processing {"connection_id":108851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e5"} 
[2026-06-21 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202380032001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040568000,"timestamp_ms":1782040568000,"timestamp_seconds":1782040568,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e520c0"} 
[2026-06-21 16:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-21 16:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202380032001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202380032001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:49:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202380032001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":108851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:49:29] local.INFO: GPS data processed {"connection_id":108851,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:49:29] local.INFO: Acknowledgment sent {"connection_id":108851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:49:35] local.INFO: TCP Data received {"connection_id":110594,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:49:35] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:49:35] local.INFO: IMEI packet received {"connection_id":110594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":110594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:49:40] local.INFO: TCP Data received {"connection_id":110594,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:49:40] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:49:40] local.INFO: IMEI packet received {"connection_id":110594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":110594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:49:41] local.INFO: TCP Data received {"connection_id":110594,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:41] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:41] local.INFO: Packet analysis {"connection_id":110594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:49:41] local.INFO: Extracted packet for processing {"connection_id":110594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 16:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:49:41] 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-06-21 16:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:49:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":110594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:49:41] local.INFO: GPS data processed {"connection_id":110594,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:49:41] local.INFO: Acknowledgment sent {"connection_id":110594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:49:45] local.INFO: TCP Data received {"connection_id":110594,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:45] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e3c900012d34c58006aa3f500011006722..."} 
[2026-06-21 16:49:45] local.INFO: Packet analysis {"connection_id":110594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:49:45] local.INFO: Extracted packet for processing {"connection_id":110594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e3"} 
[2026-06-21 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":17,"angle":103,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 16:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202285824001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782040480000,"timestamp_ms":1782040480000,"timestamp_seconds":1782040480,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e3c900"} 
[2026-06-21 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-06-21 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:49:45] 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-06-21 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-06-21 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-06-21 16:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202285824001,"66":25462,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202285824001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:49:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202285824001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":110594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:49:45] local.INFO: GPS data processed {"connection_id":110594,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:49:45] local.INFO: Acknowledgment sent {"connection_id":110594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:50:00] local.INFO: TCP Data received {"connection_id":108851,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e572c8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e572c8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:50:00] local.INFO: Processing buffer {"connection_id":108851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e572c8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:50:00] local.INFO: Packet analysis {"connection_id":108851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e5"} 
[2026-06-21 16:50:00] local.INFO: Extracted packet for processing {"connection_id":108851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e5"} 
[2026-06-21 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202385408001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782040589000,"timestamp_ms":1782040589000,"timestamp_seconds":1782040589,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e572c8"} 
[2026-06-21 16:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202385408001,"66":12363,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202385408001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:50:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202385408001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":108851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:50:00] local.INFO: GPS data processed {"connection_id":108851,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:50:00] local.INFO: Acknowledgment sent {"connection_id":108851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:50:23] local.INFO: TCP Data received {"connection_id":108853,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:50:23] local.INFO: Processing buffer {"connection_id":108853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:50:23] local.INFO: IMEI packet received {"connection_id":108853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":108853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:50:28] local.INFO: TCP Data received {"connection_id":108853,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:50:28] local.INFO: Processing buffer {"connection_id":108853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:50:28] local.INFO: IMEI packet received {"connection_id":108853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":108853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:50:28] local.INFO: TCP Data received {"connection_id":108853,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e5c4d0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e5c4d0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:50:28] local.INFO: Processing buffer {"connection_id":108853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e5c4d0012d196880071fee50003f011e2b..."} 
[2026-06-21 16:50:28] local.INFO: Packet analysis {"connection_id":108853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e5"} 
[2026-06-21 16:50:28] local.INFO: Extracted packet for processing {"connection_id":108853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e5"} 
[2026-06-21 16:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202390784001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040610000,"timestamp_ms":1782040610000,"timestamp_seconds":1782040610,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e5c4d0"} 
[2026-06-21 16:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202390784001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202390784001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202390784001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":108853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:50:28] local.INFO: GPS data processed {"connection_id":108853,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:50:28] local.INFO: Acknowledgment sent {"connection_id":108853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:50:30] local.INFO: TCP Data received {"connection_id":109635,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:50:30] local.INFO: Processing buffer {"connection_id":109635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:50:30] local.INFO: IMEI packet received {"connection_id":109635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":109635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:50:35] local.INFO: TCP Data received {"connection_id":109635,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:50:35] local.INFO: Processing buffer {"connection_id":109635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:50:35] local.INFO: IMEI packet received {"connection_id":109635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":109635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:50:36] local.INFO: TCP Data received {"connection_id":109635,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:50:36] local.INFO: Processing buffer {"connection_id":109635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:50:36] local.INFO: Packet analysis {"connection_id":109635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:50:36] local.INFO: Extracted packet for processing {"connection_id":109635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:50:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":109635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:50:36] local.INFO: GPS data processed {"connection_id":109635,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:50:36] local.INFO: Acknowledgment sent {"connection_id":109635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:50:59] local.INFO: TCP Data received {"connection_id":108853,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e616d8012d196880071fee50003f011e2b..."} 
[2026-06-21 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e616d8012d196880071fee50003f011e2b..."} 
[2026-06-21 16:50:59] local.INFO: Processing buffer {"connection_id":108853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e616d8012d196880071fee50003f011e2b..."} 
[2026-06-21 16:50:59] local.INFO: Packet analysis {"connection_id":108853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e6"} 
[2026-06-21 16:50:59] local.INFO: Extracted packet for processing {"connection_id":108853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e6"} 
[2026-06-21 16:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202396160001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782040631000,"timestamp_ms":1782040631000,"timestamp_seconds":1782040631,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e616d8"} 
[2026-06-21 16:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202396160001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202396160001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202396160001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":108853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:50:59] local.INFO: GPS data processed {"connection_id":108853,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:50:59] local.INFO: Acknowledgment sent {"connection_id":108853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:51:08] local.INFO: TCP Data received {"connection_id":109635,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:51:08] local.INFO: Processing buffer {"connection_id":109635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:51:08] local.INFO: Packet analysis {"connection_id":109635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:51:08] local.INFO: Extracted packet for processing {"connection_id":109635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:51:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":109635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:51:08] local.INFO: GPS data processed {"connection_id":109635,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:51:08] local.INFO: Acknowledgment sent {"connection_id":109635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:51:23] local.INFO: TCP Data received {"connection_id":109015,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:51:23] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:51:23] local.INFO: IMEI packet received {"connection_id":109015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":109015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:51:28] local.INFO: TCP Data received {"connection_id":109015,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:51:28] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:51:28] local.INFO: IMEI packet received {"connection_id":109015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":109015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:51:29] local.INFO: TCP Data received {"connection_id":109015,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e668e0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e668e0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:51:29] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e668e0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:51:29] local.INFO: Packet analysis {"connection_id":109015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e6"} 
[2026-06-21 16:51:29] local.INFO: Extracted packet for processing {"connection_id":109015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e6"} 
[2026-06-21 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202401536001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782040652000,"timestamp_ms":1782040652000,"timestamp_seconds":1782040652,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e668e0"} 
[2026-06-21 16:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202401536001,"66":12287,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202401536001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:51:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202401536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":109015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:51:29] local.INFO: GPS data processed {"connection_id":109015,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:51:29] local.INFO: Acknowledgment sent {"connection_id":109015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:51:29] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:51:29] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:51:29] local.INFO: IMEI packet received {"connection_id":110595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":110595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:51:34] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:51:34] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:51:34] local.INFO: IMEI packet received {"connection_id":110595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":110595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:51:36] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:51:36] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:51:36] local.INFO: Packet analysis {"connection_id":110595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:51:36] local.INFO: Extracted packet for processing {"connection_id":110595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:51:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":110595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:51:36] local.INFO: GPS data processed {"connection_id":110595,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:51:36] local.INFO: Acknowledgment sent {"connection_id":110595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:52:00] local.INFO: TCP Data received {"connection_id":109015,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e6bae8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e6bae8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:00] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e6bae8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:00] local.INFO: Packet analysis {"connection_id":109015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e6"} 
[2026-06-21 16:52:00] local.INFO: Extracted packet for processing {"connection_id":109015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e6"} 
[2026-06-21 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202406912001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782040673000,"timestamp_ms":1782040673000,"timestamp_seconds":1782040673,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e6bae8"} 
[2026-06-21 16:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 16:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202406912001,"66":12287,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202406912001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:52:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202406912001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":109015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:52:00] local.INFO: GPS data processed {"connection_id":109015,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:52:00] local.INFO: Acknowledgment sent {"connection_id":109015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:52:08] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:08] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:08] local.INFO: Packet analysis {"connection_id":110595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:52:08] local.INFO: Extracted packet for processing {"connection_id":110595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:52:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":110595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:52:08] local.INFO: GPS data processed {"connection_id":110595,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:52:08] local.INFO: Acknowledgment sent {"connection_id":110595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:52:21] local.INFO: TCP Data received {"connection_id":109017,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:21] local.INFO: Processing buffer {"connection_id":109017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:21] local.INFO: IMEI packet received {"connection_id":109017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":109017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:52:22] local.INFO: TCP Data received {"connection_id":109017,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:22] local.INFO: Processing buffer {"connection_id":109017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:22] local.INFO: IMEI packet received {"connection_id":109017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":109017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:52:28] local.INFO: TCP Data received {"connection_id":109017,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:28] local.INFO: Processing buffer {"connection_id":109017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:52:28] local.INFO: IMEI packet received {"connection_id":109017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":109017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:52:28] local.INFO: TCP Data received {"connection_id":109017,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e70cf0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e70cf0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:28] local.INFO: Processing buffer {"connection_id":109017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e70cf0012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:28] local.INFO: Packet analysis {"connection_id":109017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e7"} 
[2026-06-21 16:52:28] local.INFO: Extracted packet for processing {"connection_id":109017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e7"} 
[2026-06-21 16:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202412288001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040694000,"timestamp_ms":1782040694000,"timestamp_seconds":1782040694,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e70cf0"} 
[2026-06-21 16:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 16:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202412288001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202412288001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202412288001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":109017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:52:28] local.INFO: GPS data processed {"connection_id":109017,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:52:28] local.INFO: Acknowledgment sent {"connection_id":109017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:52:35] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:52:35] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:52:35] local.INFO: IMEI packet received {"connection_id":109018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":109018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:52:39] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:52:39] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:52:39] local.INFO: IMEI packet received {"connection_id":109018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":109018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:52:41] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:41] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:41] local.INFO: Packet analysis {"connection_id":109018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:52:41] local.INFO: Extracted packet for processing {"connection_id":109018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:52:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":109018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:52:41] local.INFO: GPS data processed {"connection_id":109018,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:52:41] local.INFO: Acknowledgment sent {"connection_id":109018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:52:45] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:45] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:52:45] local.INFO: Packet analysis {"connection_id":109018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:52:45] local.INFO: Extracted packet for processing {"connection_id":109018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16: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-06-21 16:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:52:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:52:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":109018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:52:45] local.INFO: GPS data processed {"connection_id":109018,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:52:45] local.INFO: Acknowledgment sent {"connection_id":109018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:52:59] local.INFO: TCP Data received {"connection_id":109017,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e75ef8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e75ef8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:59] local.INFO: Processing buffer {"connection_id":109017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e75ef8012d196880071fee50003f011e2c..."} 
[2026-06-21 16:52:59] local.INFO: Packet analysis {"connection_id":109017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e7"} 
[2026-06-21 16:52:59] local.INFO: Extracted packet for processing {"connection_id":109017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e7"} 
[2026-06-21 16:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202417664001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782040715000,"timestamp_ms":1782040715000,"timestamp_seconds":1782040715,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e75ef8"} 
[2026-06-21 16:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202417664001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202417664001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202417664001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":109017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:53:00] local.INFO: GPS data processed {"connection_id":109017,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:53:00] local.INFO: Acknowledgment sent {"connection_id":109017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:53:22] local.INFO: TCP Data received {"connection_id":110596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:22] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:22] local.INFO: IMEI packet received {"connection_id":110596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":110596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:53:25] local.INFO: TCP Data received {"connection_id":110596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:25] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:25] local.INFO: IMEI packet received {"connection_id":110596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":110596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:53:28] local.INFO: TCP Data received {"connection_id":110596,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:28] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:53:28] local.INFO: IMEI packet received {"connection_id":110596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":110596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:53:28] local.INFO: TCP Data received {"connection_id":110596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e7b100012d196880071fee50003f011e2b..."} 
[2026-06-21 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e7b100012d196880071fee50003f011e2b..."} 
[2026-06-21 16:53:28] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e7b100012d196880071fee50003f011e2b..."} 
[2026-06-21 16:53:28] local.INFO: Packet analysis {"connection_id":110596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e7"} 
[2026-06-21 16:53:28] local.INFO: Extracted packet for processing {"connection_id":110596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e7"} 
[2026-06-21 16:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533136,"longitude_deg":75.6639872,"latitude_deg":11.9533136,"altitude":63,"angle":286,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202423040001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687740524724224,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782040736000,"timestamp_ms":1782040736000,"timestamp_seconds":1782040736,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e7b100"} 
[2026-06-21 16:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 16:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202423040001,"66":12341,"102":206,"83":41984,"24":0,"16":3687740524724224,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202423040001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687740524724224,"km_value":3687740524724.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202423040001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":110596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:53:28] local.INFO: GPS data processed {"connection_id":110596,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:53:28] local.INFO: Acknowledgment sent {"connection_id":110596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:53:29] local.INFO: TCP Data received {"connection_id":108856,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:53:29] local.INFO: Processing buffer {"connection_id":108856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:53:29] local.INFO: IMEI packet received {"connection_id":108856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":108856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:53:35] local.INFO: TCP Data received {"connection_id":108856,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:53:35] local.INFO: Processing buffer {"connection_id":108856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:53:35] local.INFO: IMEI packet received {"connection_id":108856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":108856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:53:36] local.INFO: TCP Data received {"connection_id":108856,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:53:36] local.INFO: Processing buffer {"connection_id":108856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:53:36] local.INFO: Packet analysis {"connection_id":108856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:53:36] local.INFO: Extracted packet for processing {"connection_id":108856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":108856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:53:36] local.INFO: GPS data processed {"connection_id":108856,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:53:36] local.INFO: Acknowledgment sent {"connection_id":108856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:53:59] local.INFO: TCP Data received {"connection_id":110596,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9eb8190012d1966c0071fee50003d01102b..."} 
[2026-06-21 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9eb8190012d1966c0071fee50003d01102b..."} 
[2026-06-21 16:53:59] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9eb8190012d1966c0071fee50003d01102b..."} 
[2026-06-21 16:53:59] local.INFO: Packet analysis {"connection_id":110596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9eb"} 
[2026-06-21 16:53:59] local.INFO: Extracted packet for processing {"connection_id":110596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9eb"} 
[2026-06-21 16:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533136,"longitude_deg":75.6639424,"latitude_deg":11.9533136,"altitude":61,"angle":272,"satellites":43,"speed":5,"hex_longitude":"2d1966c0","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-06-21 16:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202487552001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3687761999560704,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614944768,"note":"Value kept but may cause issues"} 
[2026-06-21 16:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782040986000,"timestamp_ms":1782040986000,"timestamp_seconds":1782040986,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9eb8190"} 
[2026-06-21 16:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-21 16:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202487552001,"66":13993,"102":206,"83":41984,"24":5,"16":3687761999560704,"45":1830854016614944768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202487552001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:53:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3687761999560704,"km_value":3687761999560.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614944768,"description":"Unknown IO ID 45"} 
[2026-06-21 16:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202487552001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830854016614944768}} 
[2026-06-21 16:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":110596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:54:00] local.INFO: GPS data processed {"connection_id":110596,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:54:00] local.INFO: Acknowledgment sent {"connection_id":110596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:54:08] local.INFO: TCP Data received {"connection_id":108856,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:54:08] local.INFO: Processing buffer {"connection_id":108856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:54:08] local.INFO: Packet analysis {"connection_id":108856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:54:08] local.INFO: Extracted packet for processing {"connection_id":108856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:54:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":108856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:54:08] local.INFO: GPS data processed {"connection_id":108856,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:54:08] local.INFO: Acknowledgment sent {"connection_id":108856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:54:30] local.INFO: TCP Data received {"connection_id":109019,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:54:30] local.INFO: Processing buffer {"connection_id":109019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:54:30] local.INFO: IMEI packet received {"connection_id":109019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":109019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:54:32] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:54:32] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:54:32] local.INFO: IMEI packet received {"connection_id":110597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":110597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:54:35] local.INFO: TCP Data received {"connection_id":109019,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:54:35] local.INFO: Processing buffer {"connection_id":109019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:54:35] local.INFO: IMEI packet received {"connection_id":109019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":109019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:54:36] local.INFO: TCP Data received {"connection_id":109019,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:54:36] local.INFO: Processing buffer {"connection_id":109019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:54:36] local.INFO: Packet analysis {"connection_id":109019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:54:36] local.INFO: Extracted packet for processing {"connection_id":109019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:54:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":109019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:54:36] local.INFO: GPS data processed {"connection_id":109019,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:54:36] local.INFO: Acknowledgment sent {"connection_id":109019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:54:37] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:54:37] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:54:37] local.INFO: IMEI packet received {"connection_id":110597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":110597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:54:37] local.INFO: TCP Data received {"connection_id":109636,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:54:37] local.INFO: Processing buffer {"connection_id":109636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:54:37] local.INFO: IMEI packet received {"connection_id":109636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":109636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:54:38] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ec19e8012d1958c007200b80004000462b..."} 
[2026-06-21 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ec19e8012d1958c007200b80004000462b..."} 
[2026-06-21 16:54:38] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ec19e8012d1958c007200b80004000462b..."} 
[2026-06-21 16:54:38] local.INFO: Packet analysis {"connection_id":110597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:54:38] local.INFO: Extracted packet for processing {"connection_id":110597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756635840,"raw_latitude":119540608,"longitude_deg":75.663584,"latitude_deg":11.9540608,"altitude":64,"angle":70,"satellites":43,"speed":9,"hex_longitude":"2d1958c0","hex_latitude":"07200b80","is_valid_coordinates":true} 
[2026-06-21 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202501888001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3688380474851328,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825787467036035072,"note":"Value kept but may cause issues"} 
[2026-06-21 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782041025000,"timestamp_ms":1782041025000,"timestamp_seconds":1782041025,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ec19e8"} 
[2026-06-21 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-21 16:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202501888001,"66":14157,"102":206,"83":41984,"24":9,"16":3688380474851328,"45":1825787467036035072},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202501888001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3688380474851328,"km_value":3688380474851.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825787467036035072,"description":"Unknown IO ID 45"} 
[2026-06-21 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202501888001,"power":14157,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1825787467036035072}} 
[2026-06-21 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":110597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:54:38] local.INFO: GPS data processed {"connection_id":110597,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:54:38] local.INFO: Acknowledgment sent {"connection_id":110597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:55:07] local.INFO: TCP Data received {"connection_id":109019,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:55:07] local.INFO: Processing buffer {"connection_id":109019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9e860c8012d34c58006aa3f500012006724..."} 
[2026-06-21 16:55:07] local.INFO: Packet analysis {"connection_id":109019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:55:07] local.INFO: Extracted packet for processing {"connection_id":109019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9e8"} 
[2026-06-21 16:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":18,"angle":103,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202362880001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782040781000,"timestamp_ms":1782040781000,"timestamp_seconds":1782040781,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9e860c8"} 
[2026-06-21 16:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 16:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202362880001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202362880001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:55:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202362880001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":109019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:55:07] local.INFO: GPS data processed {"connection_id":109019,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:55:07] local.INFO: Acknowledgment sent {"connection_id":109019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:55:17] local.INFO: TCP Data received {"connection_id":109637,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:55:17] local.INFO: Processing buffer {"connection_id":109637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 16:55:17] local.INFO: IMEI packet received {"connection_id":109637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 16:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":109637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:55:22] local.INFO: TCP Data received {"connection_id":108857,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:55:22] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:55:22] local.INFO: IMEI packet received {"connection_id":108857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":108857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:55:28] local.INFO: TCP Data received {"connection_id":108857,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:55:28] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:55:28] local.INFO: IMEI packet received {"connection_id":108857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":108857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:55:29] local.INFO: TCP Data received {"connection_id":108857,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecba10012d196b8007203590002d002529..."} 
[2026-06-21 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecba10012d196b8007203590002d002529..."} 
[2026-06-21 16:55:29] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecba10012d196b8007203590002d002529..."} 
[2026-06-21 16:55:29] local.INFO: Packet analysis {"connection_id":108857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:55:29] local.INFO: Extracted packet for processing {"connection_id":108857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119551376,"longitude_deg":75.664064,"latitude_deg":11.9551376,"altitude":45,"angle":37,"satellites":41,"speed":9,"hex_longitude":"2d196b80","hex_latitude":"07203590","is_valid_coordinates":true} 
[2026-06-21 16:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202512640001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689046194782208,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335317161984,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782041066000,"timestamp_ms":1782041066000,"timestamp_seconds":1782041066,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecba10"} 
[2026-06-21 16:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-21 16:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202512640001,"66":14243,"103":206,"83":41984,"24":9,"16":3689046194782208,"45":1831487335317161984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202512640001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:55:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689046194782208,"km_value":3689046194782.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335317161984,"description":"Unknown IO ID 45"} 
[2026-06-21 16:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202512640001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1831487335317161984}} 
[2026-06-21 16:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":108857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:55:29] local.INFO: GPS data processed {"connection_id":108857,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:55:29] local.INFO: Acknowledgment sent {"connection_id":108857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:55:29] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:55:29] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:55:29] local.INFO: IMEI packet received {"connection_id":108858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":108858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:55:34] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:55:34] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:55:34] local.INFO: IMEI packet received {"connection_id":108858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":108858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:55:36] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:55:36] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:55:36] local.INFO: Packet analysis {"connection_id":108858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:55:36] local.INFO: Extracted packet for processing {"connection_id":108858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:55:36] 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-06-21 16:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:55:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":108858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:55:36] local.INFO: GPS data processed {"connection_id":108858,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:55:36] local.INFO: Acknowledgment sent {"connection_id":108858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:55:59] local.INFO: TCP Data received {"connection_id":108857,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecbdf8012d196c0007203690002c001529..."} 
[2026-06-21 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecbdf8012d196c0007203690002c001529..."} 
[2026-06-21 16:55:59] local.INFO: Processing buffer {"connection_id":108857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecbdf8012d196c0007203690002c001529..."} 
[2026-06-21 16:55:59] local.INFO: Packet analysis {"connection_id":108857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:55:59] local.INFO: Extracted packet for processing {"connection_id":108857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119551632,"longitude_deg":75.6640768,"latitude_deg":11.9551632,"altitude":44,"angle":21,"satellites":41,"speed":11,"hex_longitude":"2d196c00","hex_latitude":"07203690","is_valid_coordinates":true} 
[2026-06-21 16:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202512896001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689063374651392,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441549746176,"note":"Value kept but may cause issues"} 
[2026-06-21 16:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041067000,"timestamp_ms":1782041067000,"timestamp_seconds":1782041067,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecbdf8"} 
[2026-06-21 16:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202512896001,"66":14243,"103":206,"83":41984,"24":11,"16":3689063374651392,"45":1831698441549746176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202512896001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:55:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689063374651392,"km_value":3689063374651.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441549746176,"description":"Unknown IO ID 45"} 
[2026-06-21 16:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202512896001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1831698441549746176}} 
[2026-06-21 16:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":108857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:55:59] local.INFO: GPS data processed {"connection_id":108857,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:55:59] local.INFO: Acknowledgment sent {"connection_id":108857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:56:07] local.INFO: TCP Data received {"connection_id":108858,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:07] local.INFO: Processing buffer {"connection_id":108858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:07] local.INFO: Packet analysis {"connection_id":108858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:07] local.INFO: Extracted packet for processing {"connection_id":108858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:56:07] 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-06-21 16:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:56:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":108858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:56:07] local.INFO: GPS data processed {"connection_id":108858,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:56:07] local.INFO: Acknowledgment sent {"connection_id":108858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:56:22] local.INFO: TCP Data received {"connection_id":109021,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:56:22] local.INFO: Processing buffer {"connection_id":109021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:56:22] local.INFO: IMEI packet received {"connection_id":109021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":109021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:56:28] local.INFO: TCP Data received {"connection_id":109021,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:56:28] local.INFO: Processing buffer {"connection_id":109021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:56:28] local.INFO: IMEI packet received {"connection_id":109021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":109021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:56:29] local.INFO: TCP Data received {"connection_id":109021,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecc1e0012d196c40072037c0002c000829..."} 
[2026-06-21 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecc1e0012d196c40072037c0002c000829..."} 
[2026-06-21 16:56:29] local.INFO: Processing buffer {"connection_id":109021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecc1e0012d196c40072037c0002c000829..."} 
[2026-06-21 16:56:29] local.INFO: Packet analysis {"connection_id":109021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:29] local.INFO: Extracted packet for processing {"connection_id":109021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119551936,"longitude_deg":75.6640832,"latitude_deg":11.9551936,"altitude":44,"angle":8,"satellites":41,"speed":11,"hex_longitude":"2d196c40","hex_latitude":"072037c0","is_valid_coordinates":true} 
[2026-06-21 16:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202513152001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689076259553280,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179038167040,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782041068000,"timestamp_ms":1782041068000,"timestamp_seconds":1782041068,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecc1e0"} 
[2026-06-21 16:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-21 16:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202513152001,"66":14189,"103":206,"83":41984,"24":11,"16":3689076259553280,"45":1831839179038167040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202513152001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:56:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689076259553280,"km_value":3689076259553.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179038167040,"description":"Unknown IO ID 45"} 
[2026-06-21 16:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202513152001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1831839179038167040}} 
[2026-06-21 16:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":109021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:56:29] local.INFO: GPS data processed {"connection_id":109021,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:56:29] local.INFO: Acknowledgment sent {"connection_id":109021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:56:34] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:56:34] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:56:34] local.INFO: IMEI packet received {"connection_id":110598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":110598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:56:39] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:56:39] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:56:39] local.INFO: IMEI packet received {"connection_id":110598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":110598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:56:41] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:41] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:41] local.INFO: Packet analysis {"connection_id":110598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:41] local.INFO: Extracted packet for processing {"connection_id":110598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:56:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":110598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:56:41] local.INFO: GPS data processed {"connection_id":110598,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:56:41] local.INFO: Acknowledgment sent {"connection_id":110598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:56:45] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:45] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:56:45] local.INFO: Packet analysis {"connection_id":110598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:45] local.INFO: Extracted packet for processing {"connection_id":110598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:56:45] 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-06-21 16: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-06-21 16:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:56:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:56:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":110598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:56:45] local.INFO: GPS data processed {"connection_id":110598,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:56:45] local.INFO: Acknowledgment sent {"connection_id":110598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:57:00] local.INFO: TCP Data received {"connection_id":109021,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ece120012d196dc007204850002801642a..."} 
[2026-06-21 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ece120012d196dc007204850002801642a..."} 
[2026-06-21 16:57:00] local.INFO: Processing buffer {"connection_id":109021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ece120012d196dc007204850002801642a..."} 
[2026-06-21 16:57:00] local.INFO: Packet analysis {"connection_id":109021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:57:00] local.INFO: Extracted packet for processing {"connection_id":109021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119556176,"longitude_deg":75.6641216,"latitude_deg":11.9556176,"altitude":40,"angle":356,"satellites":42,"speed":23,"hex_longitude":"2d196dc0","hex_latitude":"07204850","is_valid_coordinates":true} 
[2026-06-21 16:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202513408001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689282417983488,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547782422528,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782041076000,"timestamp_ms":1782041076000,"timestamp_seconds":1782041076,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ece120"} 
[2026-06-21 16:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-21 16:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202513408001,"66":11656,"103":206,"83":41984,"24":23,"16":3689282417983488,"45":1831909547782422528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202513408001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:57:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689282417983488,"km_value":3689282417983.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547782422528,"description":"Unknown IO ID 45"} 
[2026-06-21 16:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202513408001,"power":11656,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1831909547782422528}} 
[2026-06-21 16:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":109021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:57:00] local.INFO: GPS data processed {"connection_id":109021,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:57:00] local.INFO: Acknowledgment sent {"connection_id":109021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:57:22] local.INFO: TCP Data received {"connection_id":108859,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:57:22] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:57:22] local.INFO: IMEI packet received {"connection_id":108859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":108859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:57:28] local.INFO: TCP Data received {"connection_id":108859,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:57:28] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:57:28] local.INFO: IMEI packet received {"connection_id":108859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":108859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:57:28] local.INFO: TCP Data received {"connection_id":108859,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ed3328012d196c0007206610002901592a..."} 
[2026-06-21 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ed3328012d196c0007206610002901592a..."} 
[2026-06-21 16:57:28] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ed3328012d196c0007206610002901592a..."} 
[2026-06-21 16:57:28] local.INFO: Packet analysis {"connection_id":108859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:57:28] local.INFO: Extracted packet for processing {"connection_id":108859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119563792,"longitude_deg":75.6640768,"latitude_deg":11.9563792,"altitude":41,"angle":345,"satellites":42,"speed":7,"hex_longitude":"2d196c00","hex_latitude":"07206610","is_valid_coordinates":true} 
[2026-06-21 16:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202515456001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689656080138240,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760248573952,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782041097000,"timestamp_ms":1782041097000,"timestamp_seconds":1782041097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ed3328"} 
[2026-06-21 16:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-21 16:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202515456001,"66":13243,"103":206,"83":41984,"24":7,"16":3689656080138240,"45":1832331760248573952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202515456001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:57:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689656080138240,"km_value":3689656080138.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760248573952,"description":"Unknown IO ID 45"} 
[2026-06-21 16:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202515456001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1832331760248573952}} 
[2026-06-21 16:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":108859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:57:29] local.INFO: GPS data processed {"connection_id":108859,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:57:29] local.INFO: Acknowledgment sent {"connection_id":108859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:57:29] local.INFO: TCP Data received {"connection_id":110599,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:57:29] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:57:29] local.INFO: IMEI packet received {"connection_id":110599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":110599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:57:34] local.INFO: TCP Data received {"connection_id":110599,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:57:34] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:57:34] local.INFO: IMEI packet received {"connection_id":110599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":110599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:57:36] local.INFO: TCP Data received {"connection_id":110599,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:57:36] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:57:36] local.INFO: Packet analysis {"connection_id":110599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:57:36] local.INFO: Extracted packet for processing {"connection_id":110599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:57:36] 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-06-21 16:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:57:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":110599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:57:36] local.INFO: GPS data processed {"connection_id":110599,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:57:36] local.INFO: Acknowledgment sent {"connection_id":110599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:57:59] local.INFO: TCP Data received {"connection_id":108859,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ed3328012d196c0007206610002901592a..."} 
[2026-06-21 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ed3328012d196c0007206610002901592a..."} 
[2026-06-21 16:57:59] local.INFO: Processing buffer {"connection_id":108859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ed3328012d196c0007206610002901592a..."} 
[2026-06-21 16:57:59] local.INFO: Packet analysis {"connection_id":108859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:57:59] local.INFO: Extracted packet for processing {"connection_id":108859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119563792,"longitude_deg":75.6640768,"latitude_deg":11.9563792,"altitude":41,"angle":345,"satellites":42,"speed":7,"hex_longitude":"2d196c00","hex_latitude":"07206610","is_valid_coordinates":true} 
[2026-06-21 16:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202520832001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689656080138240,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179041280000,"note":"Value kept but may cause issues"} 
[2026-06-21 16:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041097000,"timestamp_ms":1782041097000,"timestamp_seconds":1782041097,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ed3328"} 
[2026-06-21 16:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-21 16:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202520832001,"66":13243,"103":206,"83":41984,"24":7,"16":3689656080138240,"45":1831839179041280000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202520832001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:57:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689656080138240,"km_value":3689656080138.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179041280000,"description":"Unknown IO ID 45"} 
[2026-06-21 16:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202520832001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1831839179041280000}} 
[2026-06-21 16:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":108859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:58:00] local.INFO: GPS data processed {"connection_id":108859,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:58:00] local.INFO: Acknowledgment sent {"connection_id":108859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:58:07] local.INFO: TCP Data received {"connection_id":110599,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:58:07] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:58:07] local.INFO: Packet analysis {"connection_id":110599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:58:07] local.INFO: Extracted packet for processing {"connection_id":110599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:58:07] 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-06-21 16: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-06-21 16:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":110599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:58:07] local.INFO: GPS data processed {"connection_id":110599,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:58:07] local.INFO: Acknowledgment sent {"connection_id":110599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:58:24] local.INFO: TCP Data received {"connection_id":109023,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:24] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:24] local.INFO: IMEI packet received {"connection_id":109023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":109023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:58:28] local.INFO: TCP Data received {"connection_id":109023,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:28] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:28] local.INFO: IMEI packet received {"connection_id":109023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":109023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:58:30] local.INFO: TCP Data received {"connection_id":110600,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:58:30] local.INFO: Processing buffer {"connection_id":110600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:58:30] local.INFO: IMEI packet received {"connection_id":110600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":110600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:58:33] local.INFO: TCP Data received {"connection_id":109023,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:33] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:58:33] local.INFO: IMEI packet received {"connection_id":109023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":109023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:58:33] local.INFO: TCP Data received {"connection_id":109023,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ed3af8012d196b80072067c80029014c2a..."} 
[2026-06-21 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ed3af8012d196b80072067c80029014c2a..."} 
[2026-06-21 16:58:33] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ed3af8012d196b80072067c80029014c2a..."} 
[2026-06-21 16:58:33] local.INFO: Packet analysis {"connection_id":109023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:58:33] local.INFO: Extracted packet for processing {"connection_id":109023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119564232,"longitude_deg":75.664064,"latitude_deg":11.9564232,"altitude":41,"angle":332,"satellites":42,"speed":10,"hex_longitude":"2d196b80","hex_latitude":"072067c8","is_valid_coordinates":true} 
[2026-06-21 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202520832001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689677554974720,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179041280000,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782041099000,"timestamp_ms":1782041099000,"timestamp_seconds":1782041099,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ed3af8"} 
[2026-06-21 16:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-21 16:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202520832001,"66":13156,"103":206,"83":41984,"24":10,"16":3689677554974720,"45":1831839179041280000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202520832001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:58:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689677554974720,"km_value":3689677554974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179041280000,"description":"Unknown IO ID 45"} 
[2026-06-21 16:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202520832001,"power":13156,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1831839179041280000}} 
[2026-06-21 16:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":109023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:58:34] local.INFO: GPS data processed {"connection_id":109023,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:58:34] local.INFO: Acknowledgment sent {"connection_id":109023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:58:34] local.INFO: TCP Data received {"connection_id":110600,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:58:34] local.INFO: Processing buffer {"connection_id":110600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:58:34] local.INFO: IMEI packet received {"connection_id":110600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":110600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:58:36] local.INFO: TCP Data received {"connection_id":110600,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:58:36] local.INFO: Processing buffer {"connection_id":110600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:58:36] local.INFO: Packet analysis {"connection_id":110600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:58:36] local.INFO: Extracted packet for processing {"connection_id":110600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:58:36] 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-06-21 16:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:58:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":110600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:58:36] local.INFO: GPS data processed {"connection_id":110600,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:58:36] local.INFO: Acknowledgment sent {"connection_id":110600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:58:38] local.INFO: TCP Data received {"connection_id":109023,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ed8d00012d19624007207960002c01422a..."} 
[2026-06-21 16:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ed8d00012d19624007207960002c01422a..."} 
[2026-06-21 16:58:38] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ed8d00012d19624007207960002c01422a..."} 
[2026-06-21 16:58:38] local.INFO: Packet analysis {"connection_id":109023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:58:38] local.INFO: Extracted packet for processing {"connection_id":109023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ed"} 
[2026-06-21 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756638272,"raw_latitude":119568736,"longitude_deg":75.6638272,"latitude_deg":11.9568736,"altitude":44,"angle":322,"satellites":42,"speed":3,"hex_longitude":"2d196240","hex_latitude":"07207960","is_valid_coordinates":true} 
[2026-06-21 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202521344001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3689926663077888,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441553037312,"note":"Value kept but may cause issues"} 
[2026-06-21 16:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782041120000,"timestamp_ms":1782041120000,"timestamp_seconds":1782041120,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ed8d00"} 
[2026-06-21 16:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-21 16:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 16:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 16:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 16:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 16:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202521344001,"66":12917,"103":206,"83":41984,"24":3,"16":3689926663077888,"45":1831698441553037312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 16:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 16:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202521344001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 16:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3689926663077888,"km_value":3689926663077.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441553037312,"description":"Unknown IO ID 45"} 
[2026-06-21 16:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202521344001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1831698441553037312}} 
[2026-06-21 16:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":109023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:58:38] local.INFO: GPS data processed {"connection_id":109023,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:58:38] local.INFO: Acknowledgment sent {"connection_id":109023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:59:07] local.INFO: TCP Data received {"connection_id":110600,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:59:07] local.INFO: Processing buffer {"connection_id":110600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:59:07] local.INFO: Packet analysis {"connection_id":110600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:59:07] local.INFO: Extracted packet for processing {"connection_id":110600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16: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-06-21 16:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:59:07] 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-06-21 16: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-06-21 16:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":110600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:59:07] local.INFO: GPS data processed {"connection_id":110600,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:59:07] local.INFO: Acknowledgment sent {"connection_id":110600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 16:59:19] local.INFO: TCP Data received {"connection_id":109024,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:59:19] local.INFO: Processing buffer {"connection_id":109024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:59:19] local.INFO: IMEI packet received {"connection_id":109024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 16:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":109024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:59:22] local.INFO: TCP Data received {"connection_id":109024,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:59:22] local.INFO: Processing buffer {"connection_id":109024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 16:59:22] local.INFO: IMEI packet received {"connection_id":109024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":109024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:59:23] local.INFO: TCP Data received {"connection_id":109024,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-21 16:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109024,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-21 16:59:23] local.INFO: Processing buffer {"connection_id":109024,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-21 16:59:23] local.INFO: IMEI packet received {"connection_id":109024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 16:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":109024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:59:29] local.INFO: TCP Data received {"connection_id":110601,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:59:29] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:59:29] local.INFO: IMEI packet received {"connection_id":110601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 16:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":110601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 16:59:34] local.INFO: TCP Data received {"connection_id":110601,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:59:34] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 16:59:34] local.INFO: IMEI packet received {"connection_id":110601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 16:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":110601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 16:59:36] local.INFO: TCP Data received {"connection_id":110601,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:59:36] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 16:59:36] local.INFO: Packet analysis {"connection_id":110601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:59:36] local.INFO: Extracted packet for processing {"connection_id":110601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 16:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 16:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 16:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 16:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 16:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 16:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 16:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 16:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 16:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 16: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 16:59:36] 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-06-21 16:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 16:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 16:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 16:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 16:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 16:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 16:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 16:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 16:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 16:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 16:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 16:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 16:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 16:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 16:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 16:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 16:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 16:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":110601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 16:59:36] local.INFO: GPS data processed {"connection_id":110601,"processed":1,"errors":0,"total":1} 
[2026-06-21 16:59:36] local.INFO: Acknowledgment sent {"connection_id":110601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:00:07] local.INFO: TCP Data received {"connection_id":110601,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 17:00:07] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ecf890012d34c58006aa3f500014006721..."} 
[2026-06-21 17:00:07] local.INFO: Packet analysis {"connection_id":110601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 17:00:07] local.INFO: Extracted packet for processing {"connection_id":110601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ec"} 
[2026-06-21 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":20,"angle":103,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202439936001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041082000,"timestamp_ms":1782041082000,"timestamp_seconds":1782041082,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ecf890"} 
[2026-06-21 17:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:00:07] 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-06-21 17:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202439936001,"66":25451,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202439936001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202439936001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":110601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:00:07] local.INFO: GPS data processed {"connection_id":110601,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:00:07] local.INFO: Acknowledgment sent {"connection_id":110601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:00:29] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:00:29] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:00:29] local.INFO: IMEI packet received {"connection_id":110603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":110603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:00:34] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:00:34] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:00:34] local.INFO: IMEI packet received {"connection_id":110603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":110603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:00:37] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:00:37] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:00:37] local.INFO: Packet analysis {"connection_id":110603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:00:37] local.INFO: Extracted packet for processing {"connection_id":110603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:00:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":110603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:00:37] local.INFO: GPS data processed {"connection_id":110603,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:00:37] local.INFO: Acknowledgment sent {"connection_id":110603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:00:47] local.INFO: TCP Data received {"connection_id":110602,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:00:47] local.INFO: Processing buffer {"connection_id":110602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:00:47] local.INFO: IMEI packet received {"connection_id":110602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":110602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:01:08] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:01:08] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:01:08] local.INFO: Packet analysis {"connection_id":110603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:01:08] local.INFO: Extracted packet for processing {"connection_id":110603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:01:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":110603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:01:08] local.INFO: GPS data processed {"connection_id":110603,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:01:08] local.INFO: Acknowledgment sent {"connection_id":110603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:01:17] local.INFO: TCP Data received {"connection_id":109640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:01:17] local.INFO: Processing buffer {"connection_id":109640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:01:17] local.INFO: IMEI packet received {"connection_id":109640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":109640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:01:30] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:01:30] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:01:30] local.INFO: IMEI packet received {"connection_id":110604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:01:34] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:01:34] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:01:34] local.INFO: IMEI packet received {"connection_id":110604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":110604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:01:36] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:01:36] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:01:36] local.INFO: Packet analysis {"connection_id":110604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:01:36] local.INFO: Extracted packet for processing {"connection_id":110604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":110604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:01:36] local.INFO: GPS data processed {"connection_id":110604,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:01:36] local.INFO: Acknowledgment sent {"connection_id":110604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:02:08] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:02:08] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:02:08] local.INFO: Packet analysis {"connection_id":110604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:02:08] local.INFO: Extracted packet for processing {"connection_id":110604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:02:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:02:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":110604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:02:08] local.INFO: GPS data processed {"connection_id":110604,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:02:08] local.INFO: Acknowledgment sent {"connection_id":110604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:02:29] local.INFO: TCP Data received {"connection_id":109027,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:02:29] local.INFO: Processing buffer {"connection_id":109027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:02:29] local.INFO: IMEI packet received {"connection_id":109027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":109027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:02:34] local.INFO: TCP Data received {"connection_id":109027,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:02:34] local.INFO: Processing buffer {"connection_id":109027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:02:34] local.INFO: IMEI packet received {"connection_id":109027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":109027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:02:36] local.INFO: TCP Data received {"connection_id":109027,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:02:36] local.INFO: Processing buffer {"connection_id":109027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:02:36] local.INFO: Packet analysis {"connection_id":109027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:02:36] local.INFO: Extracted packet for processing {"connection_id":109027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:02:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":109027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:02:36] local.INFO: GPS data processed {"connection_id":109027,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:02:36] local.INFO: Acknowledgment sent {"connection_id":109027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:03:07] local.INFO: TCP Data received {"connection_id":109027,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:03:07] local.INFO: Processing buffer {"connection_id":109027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:03:07] local.INFO: Packet analysis {"connection_id":109027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:03:07] local.INFO: Extracted packet for processing {"connection_id":109027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:03:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":109027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:03:07] local.INFO: GPS data processed {"connection_id":109027,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:03:07] local.INFO: Acknowledgment sent {"connection_id":109027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:03:29] local.INFO: TCP Data received {"connection_id":109641,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:03:29] local.INFO: Processing buffer {"connection_id":109641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:03:29] local.INFO: IMEI packet received {"connection_id":109641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":109641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:03:34] local.INFO: TCP Data received {"connection_id":109641,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:03:34] local.INFO: Processing buffer {"connection_id":109641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:03:34] local.INFO: IMEI packet received {"connection_id":109641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":109641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:03:35] local.INFO: TCP Data received {"connection_id":109641,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:03:35] local.INFO: Processing buffer {"connection_id":109641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:03:35] local.INFO: Packet analysis {"connection_id":109641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:03:35] local.INFO: Extracted packet for processing {"connection_id":109641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:03:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":109641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:03:35] local.INFO: GPS data processed {"connection_id":109641,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:03:35] local.INFO: Acknowledgment sent {"connection_id":109641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:04:08] local.INFO: TCP Data received {"connection_id":109641,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:04:08] local.INFO: Processing buffer {"connection_id":109641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:04:08] local.INFO: Packet analysis {"connection_id":109641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:04:08] local.INFO: Extracted packet for processing {"connection_id":109641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:04:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":109641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:04:08] local.INFO: GPS data processed {"connection_id":109641,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:04:08] local.INFO: Acknowledgment sent {"connection_id":109641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:04:28] local.INFO: TCP Data received {"connection_id":108863,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:04:28] local.INFO: Processing buffer {"connection_id":108863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:04:28] local.INFO: IMEI packet received {"connection_id":108863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":108863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:04:29] local.INFO: TCP Data received {"connection_id":108863,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f397e0012d183e8007219288004f012328..."} 
[2026-06-21 17:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f397e0012d183e8007219288004f012328..."} 
[2026-06-21 17:04:29] local.INFO: Processing buffer {"connection_id":108863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f397e0012d183e8007219288004f012328..."} 
[2026-06-21 17:04:29] local.INFO: Packet analysis {"connection_id":108863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f3"} 
[2026-06-21 17:04:29] local.INFO: Extracted packet for processing {"connection_id":108863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f3"} 
[2026-06-21 17:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756563584,"raw_latitude":119640712,"longitude_deg":75.6563584,"latitude_deg":11.9640712,"altitude":79,"angle":291,"satellites":40,"speed":26,"hex_longitude":"2d183e80","hex_latitude":"07219288","is_valid_coordinates":true} 
[2026-06-21 17:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202625024001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3695664739385344,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756544622789875712,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782041516000,"timestamp_ms":1782041516000,"timestamp_seconds":1782041516,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f397e0"} 
[2026-06-21 17:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-21 17:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202625024001,"66":14135,"105":206,"83":41984,"24":26,"16":3695664739385344,"45":1756544622789875712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202625024001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:04:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3695664739385344,"km_value":3695664739385.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756544622789875712,"description":"Unknown IO ID 45"} 
[2026-06-21 17:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202625024001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1756544622789875712}} 
[2026-06-21 17:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":108863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:04:29] local.INFO: GPS data processed {"connection_id":108863,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:04:29] local.INFO: Acknowledgment sent {"connection_id":108863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:04:29] local.INFO: TCP Data received {"connection_id":109642,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:04:29] local.INFO: Processing buffer {"connection_id":109642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:04:29] local.INFO: IMEI packet received {"connection_id":109642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":109642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:04:34] local.INFO: TCP Data received {"connection_id":109642,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:04:34] local.INFO: Processing buffer {"connection_id":109642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:04:34] local.INFO: IMEI packet received {"connection_id":109642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":109642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:04:35] local.INFO: TCP Data received {"connection_id":109642,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:04:35] local.INFO: Processing buffer {"connection_id":109642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:04:35] local.INFO: Packet analysis {"connection_id":109642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:04:35] local.INFO: Extracted packet for processing {"connection_id":109642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:04:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":109642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:04:35] local.INFO: GPS data processed {"connection_id":109642,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:04:35] local.INFO: Acknowledgment sent {"connection_id":109642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:04:59] local.INFO: TCP Data received {"connection_id":108863,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f3b720012d182c4007219ad8004d012f29..."} 
[2026-06-21 17:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f3b720012d182c4007219ad8004d012f29..."} 
[2026-06-21 17:04:59] local.INFO: Processing buffer {"connection_id":108863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f3b720012d182c4007219ad8004d012f29..."} 
[2026-06-21 17:04:59] local.INFO: Packet analysis {"connection_id":108863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f3"} 
[2026-06-21 17:04:59] local.INFO: Extracted packet for processing {"connection_id":108863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f3"} 
[2026-06-21 17:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119642840,"longitude_deg":75.6558912,"latitude_deg":11.964284,"altitude":77,"angle":303,"satellites":41,"speed":23,"hex_longitude":"2d182c40","hex_latitude":"07219ad8","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202628096001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3695909552521216,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746974473582708736,"note":"Value kept but may cause issues"} 
[2026-06-21 17:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041524000,"timestamp_ms":1782041524000,"timestamp_seconds":1782041524,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f3b720"} 
[2026-06-21 17:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-21 17:04: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-06-21 17: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-06-21 17:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202628096001,"66":14428,"105":206,"83":41984,"24":23,"16":3695909552521216,"45":1746974473582708736},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202628096001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:04:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3695909552521216,"km_value":3695909552521.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746974473582708736,"description":"Unknown IO ID 45"} 
[2026-06-21 17:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202628096001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1746974473582708736}} 
[2026-06-21 17:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":108863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:04:59] local.INFO: GPS data processed {"connection_id":108863,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:04:59] local.INFO: Acknowledgment sent {"connection_id":108863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:05:07] local.INFO: TCP Data received {"connection_id":109642,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:05:07] local.INFO: Processing buffer {"connection_id":109642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f19058012d34c58006aa3f50000b006726..."} 
[2026-06-21 17:05:07] local.INFO: Packet analysis {"connection_id":109642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:05:07] local.INFO: Extracted packet for processing {"connection_id":109642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f1"} 
[2026-06-21 17:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":11,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202516992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041383000,"timestamp_ms":1782041383000,"timestamp_seconds":1782041383,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f19058"} 
[2026-06-21 17:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-21 17:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202516992001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202516992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202516992001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":109642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:05:07] local.INFO: GPS data processed {"connection_id":109642,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:05:07] local.INFO: Acknowledgment sent {"connection_id":109642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:05:28] local.INFO: TCP Data received {"connection_id":110608,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:05:28] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:05:28] local.INFO: IMEI packet received {"connection_id":110608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":110608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:05:33] local.INFO: TCP Data received {"connection_id":110608,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:05:33] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:05:33] local.INFO: IMEI packet received {"connection_id":110608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":110608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:05:33] local.INFO: TCP Data received {"connection_id":110608,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f40928012d181d000721a680004c013427..."} 
[2026-06-21 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f40928012d181d000721a680004c013427..."} 
[2026-06-21 17:05:33] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f40928012d181d000721a680004c013427..."} 
[2026-06-21 17:05:33] local.INFO: Packet analysis {"connection_id":110608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f4"} 
[2026-06-21 17:05:33] local.INFO: Extracted packet for processing {"connection_id":110608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f4"} 
[2026-06-21 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645824,"longitude_deg":75.6555008,"latitude_deg":11.9645824,"altitude":76,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721a680","is_valid_coordinates":true} 
[2026-06-21 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202630144001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696145775722496,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258284032,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782041545000,"timestamp_ms":1782041545000,"timestamp_seconds":1782041545,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f40928"} 
[2026-06-21 17:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 17:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202630144001,"66":13624,"105":206,"83":41984,"24":0,"16":3696145775722496,"45":1741837555258284032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202630144001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696145775722496,"km_value":3696145775722.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258284032,"description":"Unknown IO ID 45"} 
[2026-06-21 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202630144001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741837555258284032}} 
[2026-06-21 17:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":110608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:05:33] local.INFO: GPS data processed {"connection_id":110608,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:05:33] local.INFO: Acknowledgment sent {"connection_id":110608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:05:34] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:05:34] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:05:34] local.INFO: IMEI packet received {"connection_id":110609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":110609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:05:38] local.INFO: TCP Data received {"connection_id":110608,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f45360012d181c800721a7b8004c016029..."} 
[2026-06-21 17:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f45360012d181c800721a7b8004c016029..."} 
[2026-06-21 17:05:38] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f45360012d181c800721a7b8004c016029..."} 
[2026-06-21 17:05:38] local.INFO: Packet analysis {"connection_id":110608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f4"} 
[2026-06-21 17:05:38] local.INFO: Extracted packet for processing {"connection_id":110608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f4"} 
[2026-06-21 17:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646136,"longitude_deg":75.655488,"latitude_deg":11.9646136,"altitude":76,"angle":352,"satellites":41,"speed":6,"hex_longitude":"2d181c80","hex_latitude":"0721a7b8","is_valid_coordinates":true} 
[2026-06-21 17:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202635520001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696162955591680,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864210432,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782041564000,"timestamp_ms":1782041564000,"timestamp_seconds":1782041564,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f45360"} 
[2026-06-21 17:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-21 17:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202635520001,"66":14341,"105":206,"83":41984,"24":6,"16":3696162955591680,"45":1737545061864210432},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202635520001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:05:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696162955591680,"km_value":3696162955591.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864210432,"description":"Unknown IO ID 45"} 
[2026-06-21 17:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202635520001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737545061864210432}} 
[2026-06-21 17:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":110608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:05:38] local.INFO: GPS data processed {"connection_id":110608,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:05:38] local.INFO: Acknowledgment sent {"connection_id":110608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:05:40] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:05:40] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:05:40] local.INFO: IMEI packet received {"connection_id":110609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":110609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:05:45] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:05:45] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:05:45] local.INFO: Packet analysis {"connection_id":110609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:05:45] local.INFO: Extracted packet for processing {"connection_id":110609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 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-06-21 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:05:45] 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-06-21 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-06-21 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-06-21 17:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:05:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:05:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":110609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:05:45] local.INFO: GPS data processed {"connection_id":110609,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:05:45] local.INFO: Acknowledgment sent {"connection_id":110609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:05:46] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:05:46] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:05:46] local.INFO: Packet analysis {"connection_id":110609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:05:46] local.INFO: Extracted packet for processing {"connection_id":110609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:05:46] 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-06-21 17:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:05:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":110609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:05:46] local.INFO: GPS data processed {"connection_id":110609,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:05:46] local.INFO: Acknowledgment sent {"connection_id":110609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:06:23] local.INFO: TCP Data received {"connection_id":109643,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:06:23] local.INFO: Processing buffer {"connection_id":109643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:06:23] local.INFO: IMEI packet received {"connection_id":109643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":109643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:06:26] local.INFO: TCP Data received {"connection_id":109643,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:06:26] local.INFO: Processing buffer {"connection_id":109643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:06:26] local.INFO: IMEI packet received {"connection_id":109643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":109643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:06:26] local.INFO: TCP Data received {"connection_id":109643,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f67a28012d1824800721b898004c01262b..."} 
[2026-06-21 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f67a28012d1824800721b898004c01262b..."} 
[2026-06-21 17:06:26] local.INFO: Processing buffer {"connection_id":109643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f67a28012d1824800721b898004c01262b..."} 
[2026-06-21 17:06:26] local.INFO: Packet analysis {"connection_id":109643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:06:26] local.INFO: Extracted packet for processing {"connection_id":109643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782041705000,"timestamp_ms":1782041705000,"timestamp_seconds":1782041705,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f67a28"} 
[2026-06-21 17:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":35,"data_length":795,"current_offset":136} 
[2026-06-21 17:06: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-06-21 17:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":109643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":109643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":109643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":13059,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:06:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:06:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":109643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:06:27] local.INFO: GPS data processed {"connection_id":109643,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:06:27] local.INFO: Acknowledgment sent {"connection_id":109643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:06:29] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:06:29] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:06:29] local.INFO: IMEI packet received {"connection_id":109029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":109029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:06:34] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:06:34] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:06:34] local.INFO: IMEI packet received {"connection_id":109029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":109029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:06:36] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:06:36] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:06:36] local.INFO: Packet analysis {"connection_id":109029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:06:36] local.INFO: Extracted packet for processing {"connection_id":109029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:06:36] 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-06-21 17:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:06:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":109029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:06:36] local.INFO: GPS data processed {"connection_id":109029,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:06:36] local.INFO: Acknowledgment sent {"connection_id":109029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:06:42] local.INFO: TCP Data received {"connection_id":109028,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:06:42] local.INFO: Processing buffer {"connection_id":109028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:06:42] local.INFO: IMEI packet received {"connection_id":109028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":109028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:06:58] local.INFO: TCP Data received {"connection_id":109643,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f6d018012d1824800721b898004c01262b..."} 
[2026-06-21 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f6d018012d1824800721b898004c01262b..."} 
[2026-06-21 17:06:58] local.INFO: Processing buffer {"connection_id":109643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f6d018012d1824800721b898004c01262b..."} 
[2026-06-21 17:06:58] local.INFO: Packet analysis {"connection_id":109643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:06:58] local.INFO: Extracted packet for processing {"connection_id":109643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202676480001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782041727000,"timestamp_ms":1782041727000,"timestamp_seconds":1782041727,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f6d018"} 
[2026-06-21 17:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937450,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709958,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3096969292,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3925119456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4113952769,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3875589482,"note":"Value kept but may cause issues"} 
[2026-06-21 17:06:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,33,158,40,45,128,184,76,43,10,66,218,135,1,240,79,227,233,4,113,205,36,42,239,51,2,13,7,6],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 17:06:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476700587984683008,"timestamp_seconds":5476700587984683.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202676480001,"66":13037,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202676480001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:06:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202676480001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":109643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:06:58] local.INFO: GPS data processed {"connection_id":109643,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:06:58] local.INFO: Acknowledgment sent {"connection_id":109643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:07:08] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:07:08] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:07:08] local.INFO: Packet analysis {"connection_id":109029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:07:08] local.INFO: Extracted packet for processing {"connection_id":109029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:07:08] 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-06-21 17:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":109029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:07:08] local.INFO: GPS data processed {"connection_id":109029,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:07:08] local.INFO: Acknowledgment sent {"connection_id":109029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:07:12] local.INFO: TCP Data received {"connection_id":109644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:07:12] local.INFO: Processing buffer {"connection_id":109644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:07:12] local.INFO: IMEI packet received {"connection_id":109644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":109644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:07:23] local.INFO: TCP Data received {"connection_id":108864,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:07:23] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:07:23] local.INFO: IMEI packet received {"connection_id":108864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":108864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:07:28] local.INFO: TCP Data received {"connection_id":108864,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:07:28] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:07:28] local.INFO: IMEI packet received {"connection_id":108864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":108864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:07:28] local.INFO: TCP Data received {"connection_id":108864,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f72220012d1824800721b898004c01262b..."} 
[2026-06-21 17:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f72220012d1824800721b898004c01262b..."} 
[2026-06-21 17:07:28] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f72220012d1824800721b898004c01262b..."} 
[2026-06-21 17:07:28] local.INFO: Packet analysis {"connection_id":108864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f7"} 
[2026-06-21 17:07:28] local.INFO: Extracted packet for processing {"connection_id":108864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f7"} 
[2026-06-21 17:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202682112001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782041748000,"timestamp_ms":1782041748000,"timestamp_seconds":1782041748,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f72220"} 
[2026-06-21 17:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-21 17:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202682112001,"66":13004,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202682112001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:07:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202682112001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":108864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:07:29] local.INFO: GPS data processed {"connection_id":108864,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:07:29] local.INFO: Acknowledgment sent {"connection_id":108864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:07:29] local.INFO: TCP Data received {"connection_id":110610,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:07:29] local.INFO: Processing buffer {"connection_id":110610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:07:29] local.INFO: IMEI packet received {"connection_id":110610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":110610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:07:34] local.INFO: TCP Data received {"connection_id":110610,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:07:34] local.INFO: Processing buffer {"connection_id":110610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:07:34] local.INFO: IMEI packet received {"connection_id":110610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":110610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:07:36] local.INFO: TCP Data received {"connection_id":110610,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:07:36] local.INFO: Processing buffer {"connection_id":110610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:07:36] local.INFO: Packet analysis {"connection_id":110610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:07:36] local.INFO: Extracted packet for processing {"connection_id":110610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:07:36] 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-06-21 17:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:07:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":110610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:07:36] local.INFO: GPS data processed {"connection_id":110610,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:07:36] local.INFO: Acknowledgment sent {"connection_id":110610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:07:59] local.INFO: TCP Data received {"connection_id":108864,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f77428012d1824800721b898004c01262b..."} 
[2026-06-21 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f77428012d1824800721b898004c01262b..."} 
[2026-06-21 17:07:59] local.INFO: Processing buffer {"connection_id":108864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f77428012d1824800721b898004c01262b..."} 
[2026-06-21 17:07:59] local.INFO: Packet analysis {"connection_id":108864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f7"} 
[2026-06-21 17:07:59] local.INFO: Extracted packet for processing {"connection_id":108864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f7"} 
[2026-06-21 17:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202687488001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041769000,"timestamp_ms":1782041769000,"timestamp_seconds":1782041769,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f77428"} 
[2026-06-21 17:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-21 17:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202687488001,"66":12993,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202687488001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:07:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202687488001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":108864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:08:00] local.INFO: GPS data processed {"connection_id":108864,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:08:00] local.INFO: Acknowledgment sent {"connection_id":108864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:08:07] local.INFO: TCP Data received {"connection_id":110610,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:08:07] local.INFO: Processing buffer {"connection_id":110610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:08:07] local.INFO: Packet analysis {"connection_id":110610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:08:07] local.INFO: Extracted packet for processing {"connection_id":110610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:08:07] 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-06-21 17:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":110610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:08:07] local.INFO: GPS data processed {"connection_id":110610,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:08:07] local.INFO: Acknowledgment sent {"connection_id":110610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:08:23] local.INFO: TCP Data received {"connection_id":109030,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:08:23] local.INFO: Processing buffer {"connection_id":109030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:08:23] local.INFO: IMEI packet received {"connection_id":109030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":109030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:08:28] local.INFO: TCP Data received {"connection_id":109030,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:08:28] local.INFO: Processing buffer {"connection_id":109030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:08:28] local.INFO: IMEI packet received {"connection_id":109030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":109030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:08:28] local.INFO: TCP Data received {"connection_id":109030,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f7c630012d1824800721b898004c01262a..."} 
[2026-06-21 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f7c630012d1824800721b898004c01262a..."} 
[2026-06-21 17:08:28] local.INFO: Processing buffer {"connection_id":109030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f7c630012d1824800721b898004c01262a..."} 
[2026-06-21 17:08:28] local.INFO: Packet analysis {"connection_id":109030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f7"} 
[2026-06-21 17:08:28] local.INFO: Extracted packet for processing {"connection_id":109030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f7"} 
[2026-06-21 17:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202692864001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782041790000,"timestamp_ms":1782041790000,"timestamp_seconds":1782041790,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f7c630"} 
[2026-06-21 17:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-21 17:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202692864001,"66":12961,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202692864001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:08:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202692864001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":109030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:08:29] local.INFO: GPS data processed {"connection_id":109030,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:08:29] local.INFO: Acknowledgment sent {"connection_id":109030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:08:29] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:08:29] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:08:29] local.INFO: IMEI packet received {"connection_id":108866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":108866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:08:34] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:08:34] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:08:34] local.INFO: IMEI packet received {"connection_id":108866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":108866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:08:36] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:08:36] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:08:36] local.INFO: Packet analysis {"connection_id":108866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:08:36] local.INFO: Extracted packet for processing {"connection_id":108866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:08:36] 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-06-21 17:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:08:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":108866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:08:36] local.INFO: GPS data processed {"connection_id":108866,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:08:36] local.INFO: Acknowledgment sent {"connection_id":108866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:08:59] local.INFO: TCP Data received {"connection_id":109030,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f81838012d1824800721b898004c012629..."} 
[2026-06-21 17:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f81838012d1824800721b898004c012629..."} 
[2026-06-21 17:08:59] local.INFO: Processing buffer {"connection_id":109030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f81838012d1824800721b898004c012629..."} 
[2026-06-21 17:08:59] local.INFO: Packet analysis {"connection_id":109030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f8"} 
[2026-06-21 17:08:59] local.INFO: Extracted packet for processing {"connection_id":109030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f8"} 
[2026-06-21 17:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202698240001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041811000,"timestamp_ms":1782041811000,"timestamp_seconds":1782041811,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f81838"} 
[2026-06-21 17:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-21 17:08: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-06-21 17: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-06-21 17:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202698240001,"66":12950,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202698240001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:08:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202698240001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":109030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:08:59] local.INFO: GPS data processed {"connection_id":109030,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:08:59] local.INFO: Acknowledgment sent {"connection_id":109030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:09:07] local.INFO: TCP Data received {"connection_id":108866,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:09:07] local.INFO: Processing buffer {"connection_id":108866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:09:07] local.INFO: Packet analysis {"connection_id":108866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:09:07] local.INFO: Extracted packet for processing {"connection_id":108866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:09:07] 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-06-21 17:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":108866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:09:07] local.INFO: GPS data processed {"connection_id":108866,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:09:07] local.INFO: Acknowledgment sent {"connection_id":108866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:09:23] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:09:23] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:09:23] local.INFO: IMEI packet received {"connection_id":110611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":110611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:09:28] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:09:28] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:09:28] local.INFO: IMEI packet received {"connection_id":110611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":110611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:09:28] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f86a40012d1824800721b898004c01262a..."} 
[2026-06-21 17:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f86a40012d1824800721b898004c01262a..."} 
[2026-06-21 17:09:28] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f86a40012d1824800721b898004c01262a..."} 
[2026-06-21 17:09:28] local.INFO: Packet analysis {"connection_id":110611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f8"} 
[2026-06-21 17:09:28] local.INFO: Extracted packet for processing {"connection_id":110611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f8"} 
[2026-06-21 17:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202703616001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782041832000,"timestamp_ms":1782041832000,"timestamp_seconds":1782041832,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f86a40"} 
[2026-06-21 17:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-21 17:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202703616001,"66":12939,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202703616001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:09:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202703616001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":110611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:09:28] local.INFO: GPS data processed {"connection_id":110611,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:09:28] local.INFO: Acknowledgment sent {"connection_id":110611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:09:29] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:09:29] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:09:29] local.INFO: IMEI packet received {"connection_id":110612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":110612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:09:35] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:09:35] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:09:35] local.INFO: IMEI packet received {"connection_id":110612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":110612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:09:36] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:09:36] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:09:36] local.INFO: Packet analysis {"connection_id":110612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:09:36] local.INFO: Extracted packet for processing {"connection_id":110612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:09:36] 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-06-21 17:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:09:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":110612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:09:36] local.INFO: GPS data processed {"connection_id":110612,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:09:36] local.INFO: Acknowledgment sent {"connection_id":110612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:09:59] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f8bc48012d1824800721b898004c01262b..."} 
[2026-06-21 17:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f8bc48012d1824800721b898004c01262b..."} 
[2026-06-21 17:09:59] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f8bc48012d1824800721b898004c01262b..."} 
[2026-06-21 17:09:59] local.INFO: Packet analysis {"connection_id":110611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f8"} 
[2026-06-21 17:09:59] local.INFO: Extracted packet for processing {"connection_id":110611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f8"} 
[2026-06-21 17:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202708992001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041853000,"timestamp_ms":1782041853000,"timestamp_seconds":1782041853,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f8bc48"} 
[2026-06-21 17:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-21 17:09: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-06-21 17:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202708992001,"66":12885,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202708992001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:09:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202708992001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":110611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:09:59] local.INFO: GPS data processed {"connection_id":110611,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:09:59] local.INFO: Acknowledgment sent {"connection_id":110611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:10:08] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:10:08] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f62820012d34c58006aa3f500007006727..."} 
[2026-06-21 17:10:08] local.INFO: Packet analysis {"connection_id":110612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:10:08] local.INFO: Extracted packet for processing {"connection_id":110612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f6"} 
[2026-06-21 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":7,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202594048001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782041684000,"timestamp_ms":1782041684000,"timestamp_seconds":1782041684,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f62820"} 
[2026-06-21 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:10:08] 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-06-21 17: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-06-21 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202594048001,"66":25430,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202594048001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202594048001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":110612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:10:08] local.INFO: GPS data processed {"connection_id":110612,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:10:08] local.INFO: Acknowledgment sent {"connection_id":110612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:10:23] local.INFO: TCP Data received {"connection_id":108868,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:10:23] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:10:23] local.INFO: IMEI packet received {"connection_id":108868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":108868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:10:28] local.INFO: TCP Data received {"connection_id":108868,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:10:28] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:10:28] local.INFO: IMEI packet received {"connection_id":108868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":108868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:10:28] local.INFO: TCP Data received {"connection_id":108868,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f90e50012d1824800721b898004c01262a..."} 
[2026-06-21 17:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f90e50012d1824800721b898004c01262a..."} 
[2026-06-21 17:10:28] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f90e50012d1824800721b898004c01262a..."} 
[2026-06-21 17:10:28] local.INFO: Packet analysis {"connection_id":108868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f9"} 
[2026-06-21 17:10:28] local.INFO: Extracted packet for processing {"connection_id":108868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f9"} 
[2026-06-21 17:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202714368001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782041874000,"timestamp_ms":1782041874000,"timestamp_seconds":1782041874,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f90e50"} 
[2026-06-21 17:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-21 17:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202714368001,"66":12863,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202714368001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:10:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202714368001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":108868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:10:28] local.INFO: GPS data processed {"connection_id":108868,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:10:28] local.INFO: Acknowledgment sent {"connection_id":108868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:10:35] local.INFO: TCP Data received {"connection_id":109031,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:10:35] local.INFO: Processing buffer {"connection_id":109031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:10:35] local.INFO: IMEI packet received {"connection_id":109031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":109031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:10:40] local.INFO: TCP Data received {"connection_id":109031,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:10:40] local.INFO: Processing buffer {"connection_id":109031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:10:40] local.INFO: IMEI packet received {"connection_id":109031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":109031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:10:40] local.INFO: TCP Data received {"connection_id":109031,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:10:40] local.INFO: Processing buffer {"connection_id":109031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:10:40] local.INFO: Packet analysis {"connection_id":109031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:10:40] local.INFO: Extracted packet for processing {"connection_id":109031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":109031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:10:40] local.INFO: GPS data processed {"connection_id":109031,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:10:40] local.INFO: Acknowledgment sent {"connection_id":109031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:10:45] local.INFO: TCP Data received {"connection_id":109031,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:10:45] local.INFO: Processing buffer {"connection_id":109031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:10:45] local.INFO: Packet analysis {"connection_id":109031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:10:45] local.INFO: Extracted packet for processing {"connection_id":109031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:10: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-06-21 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:10:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:10:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":109031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:10:45] local.INFO: GPS data processed {"connection_id":109031,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:10:45] local.INFO: Acknowledgment sent {"connection_id":109031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:10:59] local.INFO: TCP Data received {"connection_id":108868,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f96058012d1824800721b898004c01262a..."} 
[2026-06-21 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f96058012d1824800721b898004c01262a..."} 
[2026-06-21 17:10:59] local.INFO: Processing buffer {"connection_id":108868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f96058012d1824800721b898004c01262a..."} 
[2026-06-21 17:10:59] local.INFO: Packet analysis {"connection_id":108868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f9"} 
[2026-06-21 17:10:59] local.INFO: Extracted packet for processing {"connection_id":108868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f9"} 
[2026-06-21 17:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202719744001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041895000,"timestamp_ms":1782041895000,"timestamp_seconds":1782041895,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f96058"} 
[2026-06-21 17:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-21 17:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202719744001,"66":12841,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202719744001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:10:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202719744001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":108868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:10:59] local.INFO: GPS data processed {"connection_id":108868,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:10:59] local.INFO: Acknowledgment sent {"connection_id":108868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:11:23] local.INFO: TCP Data received {"connection_id":109032,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:11:23] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:11:23] local.INFO: IMEI packet received {"connection_id":109032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":109032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:11:28] local.INFO: TCP Data received {"connection_id":109032,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:11:28] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:11:28] local.INFO: IMEI packet received {"connection_id":109032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":109032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:11:28] local.INFO: TCP Data received {"connection_id":109032,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9f9b260012d1824800721b898004c01262a..."} 
[2026-06-21 17:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9f9b260012d1824800721b898004c01262a..."} 
[2026-06-21 17:11:28] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9f9b260012d1824800721b898004c01262a..."} 
[2026-06-21 17:11:28] local.INFO: Packet analysis {"connection_id":109032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9f9"} 
[2026-06-21 17:11:28] local.INFO: Extracted packet for processing {"connection_id":109032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9f9"} 
[2026-06-21 17:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202725120001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782041916000,"timestamp_ms":1782041916000,"timestamp_seconds":1782041916,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9f9b260"} 
[2026-06-21 17:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 17:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202725120001,"66":12819,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202725120001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:11:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202725120001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":109032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:11:28] local.INFO: GPS data processed {"connection_id":109032,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:11:28] local.INFO: Acknowledgment sent {"connection_id":109032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:11:29] local.INFO: TCP Data received {"connection_id":110614,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:11:29] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:11:29] local.INFO: IMEI packet received {"connection_id":110614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":110614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:11:35] local.INFO: TCP Data received {"connection_id":110614,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:11:35] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:11:35] local.INFO: IMEI packet received {"connection_id":110614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":110614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:11:36] local.INFO: TCP Data received {"connection_id":110614,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:11:36] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:11:36] local.INFO: Packet analysis {"connection_id":110614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:11:36] local.INFO: Extracted packet for processing {"connection_id":110614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:11:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":110614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:11:36] local.INFO: GPS data processed {"connection_id":110614,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:11:36] local.INFO: Acknowledgment sent {"connection_id":110614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:11:59] local.INFO: TCP Data received {"connection_id":109032,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fa0468012d1824800721b898004c012629..."} 
[2026-06-21 17:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fa0468012d1824800721b898004c012629..."} 
[2026-06-21 17:11:59] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fa0468012d1824800721b898004c012629..."} 
[2026-06-21 17:11:59] local.INFO: Packet analysis {"connection_id":109032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:11:59] local.INFO: Extracted packet for processing {"connection_id":109032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":41,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202730496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041937000,"timestamp_ms":1782041937000,"timestamp_seconds":1782041937,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fa0468"} 
[2026-06-21 17:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3096969292,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3925329456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503656030863360,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-615823263526280064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4684007499555471616,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":21393361671815168,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182118040469760,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245576691265965,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429859126008948267,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195061504,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84750513035747768,"note":"Value kept but may cause issues"} 
[2026-06-21 17:11:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,33,158,96,45,128,184,76,42,10,66,14,188,1,240,85,227,233,4,113,205,36,152,41,239,50,2,13,7,164,69,32],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-06-21 17:11:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476700583689715712,"timestamp_seconds":5476700583689716.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202730496001,"66":12798,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202730496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:11:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202730496001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":109032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:11:59] local.INFO: GPS data processed {"connection_id":109032,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:11:59] local.INFO: Acknowledgment sent {"connection_id":109032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:12:08] local.INFO: TCP Data received {"connection_id":110614,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:12:08] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:12:08] local.INFO: Packet analysis {"connection_id":110614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:08] local.INFO: Extracted packet for processing {"connection_id":110614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:12:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":110614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:12:08] local.INFO: GPS data processed {"connection_id":110614,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:12:08] local.INFO: Acknowledgment sent {"connection_id":110614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:12:22] local.INFO: TCP Data received {"connection_id":109033,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:22] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:22] local.INFO: IMEI packet received {"connection_id":109033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":109033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:12:23] local.INFO: TCP Data received {"connection_id":109033,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:23] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:23] local.INFO: IMEI packet received {"connection_id":109033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":109033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:12:27] local.INFO: TCP Data received {"connection_id":110615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:12:27] local.INFO: Processing buffer {"connection_id":110615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:12:27] local.INFO: IMEI packet received {"connection_id":110615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":110615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:12:28] local.INFO: TCP Data received {"connection_id":109033,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:28] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:12:28] local.INFO: IMEI packet received {"connection_id":109033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":109033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:12:28] local.INFO: TCP Data received {"connection_id":109033,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fa5670012d1824800721b898004c01262a..."} 
[2026-06-21 17:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fa5670012d1824800721b898004c01262a..."} 
[2026-06-21 17:12:28] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fa5670012d1824800721b898004c01262a..."} 
[2026-06-21 17:12:28] local.INFO: Packet analysis {"connection_id":109033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:28] local.INFO: Extracted packet for processing {"connection_id":109033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202735872001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782041958000,"timestamp_ms":1782041958000,"timestamp_seconds":1782041958,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fa5670"} 
[2026-06-21 17:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 17:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202735872001,"66":12722,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202735872001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:12:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202735872001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":109033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:12:28] local.INFO: GPS data processed {"connection_id":109033,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:12:28] local.INFO: Acknowledgment sent {"connection_id":109033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:12:29] local.INFO: TCP Data received {"connection_id":108870,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:12:29] local.INFO: Processing buffer {"connection_id":108870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:12:29] local.INFO: IMEI packet received {"connection_id":108870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":108870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:12:34] local.INFO: TCP Data received {"connection_id":108870,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:12:34] local.INFO: Processing buffer {"connection_id":108870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:12:34] local.INFO: IMEI packet received {"connection_id":108870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":108870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:12:36] local.INFO: TCP Data received {"connection_id":108870,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:12:36] local.INFO: Processing buffer {"connection_id":108870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:12:36] local.INFO: Packet analysis {"connection_id":108870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:36] local.INFO: Extracted packet for processing {"connection_id":108870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":108870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:12:36] local.INFO: GPS data processed {"connection_id":108870,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:12:36] local.INFO: Acknowledgment sent {"connection_id":108870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:12:59] local.INFO: TCP Data received {"connection_id":109033,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9faa878012d1824800721b898004c01262b..."} 
[2026-06-21 17:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9faa878012d1824800721b898004c01262b..."} 
[2026-06-21 17:12:59] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9faa878012d1824800721b898004c01262b..."} 
[2026-06-21 17:12:59] local.INFO: Packet analysis {"connection_id":109033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:59] local.INFO: Extracted packet for processing {"connection_id":109033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202741248001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782041979000,"timestamp_ms":1782041979000,"timestamp_seconds":1782041979,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9faa878"} 
[2026-06-21 17:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 17:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202741248001,"66":12776,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202741248001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:12:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202741248001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":109033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:13:00] local.INFO: GPS data processed {"connection_id":109033,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:13:00] local.INFO: Acknowledgment sent {"connection_id":109033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:13:07] local.INFO: TCP Data received {"connection_id":108870,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:13:07] local.INFO: Processing buffer {"connection_id":108870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:13:07] local.INFO: Packet analysis {"connection_id":108870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:13:07] local.INFO: Extracted packet for processing {"connection_id":108870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":108870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:13:07] local.INFO: GPS data processed {"connection_id":108870,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:13:07] local.INFO: Acknowledgment sent {"connection_id":108870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:13:12] local.INFO: TCP Data received {"connection_id":110616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:13:12] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:13:12] local.INFO: IMEI packet received {"connection_id":110616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":110616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:13:22] local.INFO: TCP Data received {"connection_id":109034,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:22] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:22] local.INFO: IMEI packet received {"connection_id":109034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":109034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:13:25] local.INFO: TCP Data received {"connection_id":109034,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:25] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:25] local.INFO: IMEI packet received {"connection_id":109034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":109034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:13:28] local.INFO: TCP Data received {"connection_id":109034,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:28] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:13:28] local.INFO: IMEI packet received {"connection_id":109034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":109034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:13:28] local.INFO: TCP Data received {"connection_id":109034,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fafa80012d1824800721b898004c01262a..."} 
[2026-06-21 17:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fafa80012d1824800721b898004c01262a..."} 
[2026-06-21 17:13:28] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fafa80012d1824800721b898004c01262a..."} 
[2026-06-21 17:13:28] local.INFO: Packet analysis {"connection_id":109034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:13:28] local.INFO: Extracted packet for processing {"connection_id":109034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202746624001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042000000,"timestamp_ms":1782042000000,"timestamp_seconds":1782042000,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fafa80"} 
[2026-06-21 17:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-21 17:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202746624001,"66":12765,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202746624001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:13:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202746624001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":109034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:13:29] local.INFO: GPS data processed {"connection_id":109034,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:13:29] local.INFO: Acknowledgment sent {"connection_id":109034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:13:29] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:13:29] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:13:29] local.INFO: IMEI packet received {"connection_id":108871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":108871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:13:34] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:13:34] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:13:34] local.INFO: IMEI packet received {"connection_id":108871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":108871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:13:38] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:13:38] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:13:38] local.INFO: Packet analysis {"connection_id":108871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:13:38] local.INFO: Extracted packet for processing {"connection_id":108871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":108871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:13:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":108871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:13:38] local.INFO: GPS data processed {"connection_id":108871,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:13:38] local.INFO: Acknowledgment sent {"connection_id":108871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:13:59] local.INFO: TCP Data received {"connection_id":109034,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fb4c88012d1824800721b898004c01262a..."} 
[2026-06-21 17:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fb4c88012d1824800721b898004c01262a..."} 
[2026-06-21 17:13:59] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fb4c88012d1824800721b898004c01262a..."} 
[2026-06-21 17:13:59] local.INFO: Packet analysis {"connection_id":109034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fb"} 
[2026-06-21 17:13:59] local.INFO: Extracted packet for processing {"connection_id":109034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fb"} 
[2026-06-21 17:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202752000001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042021000,"timestamp_ms":1782042021000,"timestamp_seconds":1782042021,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fb4c88"} 
[2026-06-21 17:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-21 17:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202752000001,"66":12765,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202752000001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:13:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202752000001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":109034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:14:00] local.INFO: GPS data processed {"connection_id":109034,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:14:00] local.INFO: Acknowledgment sent {"connection_id":109034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:14:09] local.INFO: TCP Data received {"connection_id":108871,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:09] local.INFO: Processing buffer {"connection_id":108871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:09] local.INFO: Packet analysis {"connection_id":108871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:14:09] local.INFO: Extracted packet for processing {"connection_id":108871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":108871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:14:09] local.INFO: GPS data processed {"connection_id":108871,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:14:09] local.INFO: Acknowledgment sent {"connection_id":108871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:14:22] local.INFO: TCP Data received {"connection_id":109037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:14:22] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:14:22] local.INFO: IMEI packet received {"connection_id":109037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":109037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:14:28] local.INFO: TCP Data received {"connection_id":109037,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:14:28] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:14:28] local.INFO: IMEI packet received {"connection_id":109037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":109037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:14:28] local.INFO: TCP Data received {"connection_id":109037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fb9e90012d1824800721b898004c01262b..."} 
[2026-06-21 17:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fb9e90012d1824800721b898004c01262b..."} 
[2026-06-21 17:14:28] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fb9e90012d1824800721b898004c01262b..."} 
[2026-06-21 17:14:28] local.INFO: Packet analysis {"connection_id":109037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fb"} 
[2026-06-21 17:14:28] local.INFO: Extracted packet for processing {"connection_id":109037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fb"} 
[2026-06-21 17:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202757376001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042042000,"timestamp_ms":1782042042000,"timestamp_seconds":1782042042,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fb9e90"} 
[2026-06-21 17:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-21 17:14: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-06-21 17:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202757376001,"66":12722,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202757376001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:14:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202757376001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":109037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:14:29] local.INFO: GPS data processed {"connection_id":109037,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:14:29] local.INFO: Acknowledgment sent {"connection_id":109037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:14:34] local.INFO: TCP Data received {"connection_id":109645,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:14:34] local.INFO: Processing buffer {"connection_id":109645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:14:34] local.INFO: IMEI packet received {"connection_id":109645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":109645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:14:39] local.INFO: TCP Data received {"connection_id":109645,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:14:39] local.INFO: Processing buffer {"connection_id":109645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:14:39] local.INFO: IMEI packet received {"connection_id":109645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":109645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:14:41] local.INFO: TCP Data received {"connection_id":109645,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:41] local.INFO: Processing buffer {"connection_id":109645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:41] local.INFO: Packet analysis {"connection_id":109645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:14:41] local.INFO: Extracted packet for processing {"connection_id":109645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 17:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":109645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:14:41] local.INFO: GPS data processed {"connection_id":109645,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:14:41] local.INFO: Acknowledgment sent {"connection_id":109645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:14:45] local.INFO: TCP Data received {"connection_id":109645,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:45] local.INFO: Processing buffer {"connection_id":109645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fabfe8012d34c58006aa3f50000f006727..."} 
[2026-06-21 17:14:45] local.INFO: Packet analysis {"connection_id":109645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:14:45] local.INFO: Extracted packet for processing {"connection_id":109645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fa"} 
[2026-06-21 17:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":15,"angle":103,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202671104001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782041985000,"timestamp_ms":1782041985000,"timestamp_seconds":1782041985,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fabfe8"} 
[2026-06-21 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-06-21 17:14: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-06-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-21 17:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202671104001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202671104001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:14:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:14:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202671104001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":109645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:14:45] local.INFO: GPS data processed {"connection_id":109645,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:14:45] local.INFO: Acknowledgment sent {"connection_id":109645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:15:00] local.INFO: TCP Data received {"connection_id":109037,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fbf098012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fbf098012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:00] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fbf098012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:00] local.INFO: Packet analysis {"connection_id":109037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fb"} 
[2026-06-21 17:15:00] local.INFO: Extracted packet for processing {"connection_id":109037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fb"} 
[2026-06-21 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202762752001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782042063000,"timestamp_ms":1782042063000,"timestamp_seconds":1782042063,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fbf098"} 
[2026-06-21 17:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 17:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202762752001,"66":12722,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202762752001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:15:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202762752001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":109037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:15:00] local.INFO: GPS data processed {"connection_id":109037,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:15:00] local.INFO: Acknowledgment sent {"connection_id":109037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:15:28] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:15:28] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:15:28] local.INFO: IMEI packet received {"connection_id":110617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":110617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:15:30] local.INFO: TCP Data received {"connection_id":108872,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:15:30] local.INFO: Processing buffer {"connection_id":108872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:15:30] local.INFO: IMEI packet received {"connection_id":108872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":108872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:15:31] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:15:31] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:15:31] local.INFO: IMEI packet received {"connection_id":110617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":110617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:15:32] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fc42a0012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fc42a0012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:32] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fc42a0012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:32] local.INFO: Packet analysis {"connection_id":110617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:15:32] local.INFO: Extracted packet for processing {"connection_id":110617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202768128001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782042084000,"timestamp_ms":1782042084000,"timestamp_seconds":1782042084,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fc42a0"} 
[2026-06-21 17:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 17:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202768128001,"66":12645,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202768128001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:15:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202768128001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":110617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:15:32] local.INFO: GPS data processed {"connection_id":110617,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:15:32] local.INFO: Acknowledgment sent {"connection_id":110617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:15:33] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fc94a8012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fc94a8012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:33] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fc94a8012d1824800721b898004c01262b..."} 
[2026-06-21 17:15:33] local.INFO: Packet analysis {"connection_id":110617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:15:33] local.INFO: Extracted packet for processing {"connection_id":110617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650456,"longitude_deg":75.6556928,"latitude_deg":11.9650456,"altitude":76,"angle":294,"satellites":43,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-06-21 17:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202773504001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696459308335104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782042105000,"timestamp_ms":1782042105000,"timestamp_seconds":1782042105,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fc94a8"} 
[2026-06-21 17:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-21 17:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202773504001,"66":12689,"105":206,"83":41984,"24":0,"16":3696459308335104,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202773504001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:15:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696459308335104,"km_value":3696459308335.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202773504001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":110617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:15:33] local.INFO: GPS data processed {"connection_id":110617,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:15:33] local.INFO: Acknowledgment sent {"connection_id":110617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:15:34] local.INFO: TCP Data received {"connection_id":108872,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:15:34] local.INFO: Processing buffer {"connection_id":108872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:15:34] local.INFO: IMEI packet received {"connection_id":108872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":108872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:15:36] local.INFO: TCP Data received {"connection_id":108872,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:15:36] local.INFO: Processing buffer {"connection_id":108872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:15:36] local.INFO: Packet analysis {"connection_id":108872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:15:36] local.INFO: Extracted packet for processing {"connection_id":108872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:15:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":108872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:15:36] local.INFO: GPS data processed {"connection_id":108872,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:15:36] local.INFO: Acknowledgment sent {"connection_id":108872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:16:04] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fcdaf8012d1822800721b598004c00cb2b..."} 
[2026-06-21 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fcdaf8012d1822800721b598004c00cb2b..."} 
[2026-06-21 17:16:04] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fcdaf8012d1822800721b598004c00cb2b..."} 
[2026-06-21 17:16:04] local.INFO: Packet analysis {"connection_id":110617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:16:04] local.INFO: Extracted packet for processing {"connection_id":110617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649688,"longitude_deg":75.6556416,"latitude_deg":11.9649688,"altitude":76,"angle":203,"satellites":43,"speed":1,"hex_longitude":"2d182280","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-06-21 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202778880001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696506552975360,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190726144,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782042123000,"timestamp_ms":1782042123000,"timestamp_seconds":1782042123,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fcdaf8"} 
[2026-06-21 17:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-21 17:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202778880001,"66":12689,"105":206,"83":41984,"24":1,"16":3696506552975360,"45":1739656124190726144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202778880001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:16:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696506552975360,"km_value":3696506552975.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190726144,"description":"Unknown IO ID 45"} 
[2026-06-21 17:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202778880001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739656124190726144}} 
[2026-06-21 17:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:16:04] local.INFO: GPS data processed {"connection_id":110617,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:16:04] local.INFO: Acknowledgment sent {"connection_id":110617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:16:08] local.INFO: TCP Data received {"connection_id":108872,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:16:08] local.INFO: Processing buffer {"connection_id":108872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:16:08] local.INFO: Packet analysis {"connection_id":108872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:16:08] local.INFO: Extracted packet for processing {"connection_id":108872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":108872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:16:08] local.INFO: GPS data processed {"connection_id":108872,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:16:08] local.INFO: Acknowledgment sent {"connection_id":108872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:16:22] local.INFO: TCP Data received {"connection_id":110618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:16:22] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:16:22] local.INFO: IMEI packet received {"connection_id":110618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":110618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:16:28] local.INFO: TCP Data received {"connection_id":110618,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:16:28] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:16:28] local.INFO: IMEI packet received {"connection_id":110618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":110618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:16:28] local.INFO: TCP Data received {"connection_id":110618,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fce2c8012d1822400721b548004c00d82a..."} 
[2026-06-21 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fce2c8012d1822400721b548004c00d82a..."} 
[2026-06-21 17:16:28] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fce2c8012d1822400721b548004c00d82a..."} 
[2026-06-21 17:16:28] local.INFO: Packet analysis {"connection_id":110618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:16:28] local.INFO: Extracted packet for processing {"connection_id":110618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fc"} 
[2026-06-21 17:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649608,"longitude_deg":75.6556352,"latitude_deg":11.9649608,"altitude":76,"angle":216,"satellites":42,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-06-21 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202783488001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696510847942656,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237108224,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042125000,"timestamp_ms":1782042125000,"timestamp_seconds":1782042125,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fce2c8"} 
[2026-06-21 17:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-21 17:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202783488001,"66":12689,"105":206,"83":41984,"24":1,"16":3696510847942656,"45":1739093174237108224},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202783488001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:16:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696510847942656,"km_value":3696510847942.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237108224,"description":"Unknown IO ID 45"} 
[2026-06-21 17:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202783488001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739093174237108224}} 
[2026-06-21 17:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":110618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:16:28] local.INFO: GPS data processed {"connection_id":110618,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:16:28] local.INFO: Acknowledgment sent {"connection_id":110618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:16:29] local.INFO: TCP Data received {"connection_id":109647,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:16:29] local.INFO: Processing buffer {"connection_id":109647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:16:29] local.INFO: IMEI packet received {"connection_id":109647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":109647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:16:34] local.INFO: TCP Data received {"connection_id":109647,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:16:34] local.INFO: Processing buffer {"connection_id":109647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:16:34] local.INFO: IMEI packet received {"connection_id":109647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":109647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:16:36] local.INFO: TCP Data received {"connection_id":109647,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:16:36] local.INFO: Processing buffer {"connection_id":109647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:16:36] local.INFO: Packet analysis {"connection_id":109647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:16:36] local.INFO: Extracted packet for processing {"connection_id":109647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:16:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":109647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:16:36] local.INFO: GPS data processed {"connection_id":109647,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:16:36] local.INFO: Acknowledgment sent {"connection_id":109647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:16:59] local.INFO: TCP Data received {"connection_id":110618,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fd34d0012d1821c00721b4e0004d00d92b..."} 
[2026-06-21 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fd34d0012d1821c00721b4e0004d00d92b..."} 
[2026-06-21 17:16:59] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fd34d0012d1821c00721b4e0004d00d92b..."} 
[2026-06-21 17:16:59] local.INFO: Packet analysis {"connection_id":110618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fd"} 
[2026-06-21 17:16:59] local.INFO: Extracted packet for processing {"connection_id":110618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fd"} 
[2026-06-21 17:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202784000001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492910080,"note":"Value kept but may cause issues"} 
[2026-06-21 17:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042146000,"timestamp_ms":1782042146000,"timestamp_seconds":1782042146,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fd34d0"} 
[2026-06-21 17:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-21 17:16: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-06-21 17:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202784000001,"66":12689,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1739022805492910080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202784000001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:16:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492910080,"description":"Unknown IO ID 45"} 
[2026-06-21 17:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202784000001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492910080}} 
[2026-06-21 17:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":110618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:17:00] local.INFO: GPS data processed {"connection_id":110618,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:17:00] local.INFO: Acknowledgment sent {"connection_id":110618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:17:07] local.INFO: TCP Data received {"connection_id":109647,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:07] local.INFO: Processing buffer {"connection_id":109647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:07] local.INFO: Packet analysis {"connection_id":109647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:17:07] local.INFO: Extracted packet for processing {"connection_id":109647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":109647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:17:07] local.INFO: GPS data processed {"connection_id":109647,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:17:07] local.INFO: Acknowledgment sent {"connection_id":109647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:17:22] local.INFO: TCP Data received {"connection_id":109648,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:17:22] local.INFO: Processing buffer {"connection_id":109648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:17:22] local.INFO: IMEI packet received {"connection_id":109648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":109648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:17:28] local.INFO: TCP Data received {"connection_id":109648,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:17:28] local.INFO: Processing buffer {"connection_id":109648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:17:28] local.INFO: IMEI packet received {"connection_id":109648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":109648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:17:28] local.INFO: TCP Data received {"connection_id":109648,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9fd86d8012d1821c00721b4e0004d00d92b..."} 
[2026-06-21 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9fd86d8012d1821c00721b4e0004d00d92b..."} 
[2026-06-21 17:17:28] local.INFO: Processing buffer {"connection_id":109648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9fd86d8012d1821c00721b4e0004d00d92b..."} 
[2026-06-21 17:17:28] local.INFO: Packet analysis {"connection_id":109648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9fd"} 
[2026-06-21 17:17:28] local.INFO: Extracted packet for processing {"connection_id":109648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9fd"} 
[2026-06-21 17:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202789376001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042167000,"timestamp_ms":1782042167000,"timestamp_seconds":1782042167,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9fd86d8"} 
[2026-06-21 17:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-21 17:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202789376001,"66":12667,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202789376001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:17:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202789376001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":109648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:17:28] local.INFO: GPS data processed {"connection_id":109648,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:17:28] local.INFO: Acknowledgment sent {"connection_id":109648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:17:34] local.INFO: TCP Data received {"connection_id":109649,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:17:34] local.INFO: Processing buffer {"connection_id":109649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:17:34] local.INFO: IMEI packet received {"connection_id":109649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":109649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:17:39] local.INFO: TCP Data received {"connection_id":109649,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:17:39] local.INFO: Processing buffer {"connection_id":109649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:17:39] local.INFO: IMEI packet received {"connection_id":109649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":109649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:17:41] local.INFO: TCP Data received {"connection_id":109649,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:41] local.INFO: Processing buffer {"connection_id":109649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:41] local.INFO: Packet analysis {"connection_id":109649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:17:41] local.INFO: Extracted packet for processing {"connection_id":109649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:17:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:17:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":109649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:17:41] local.INFO: GPS data processed {"connection_id":109649,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:17:41] local.INFO: Acknowledgment sent {"connection_id":109649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:17:45] local.INFO: TCP Data received {"connection_id":109649,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:45] local.INFO: Processing buffer {"connection_id":109649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:17:45] local.INFO: Packet analysis {"connection_id":109649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:17:45] local.INFO: Extracted packet for processing {"connection_id":109649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 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-06-21 17:17: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-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:17:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:17:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":109649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:17:45] local.INFO: GPS data processed {"connection_id":109649,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:17:45] local.INFO: Acknowledgment sent {"connection_id":109649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:17:59] local.INFO: TCP Data received {"connection_id":109648,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea010d30012d1821c00721b4e0004d00d92a..."} 
[2026-06-21 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea010d30012d1821c00721b4e0004d00d92a..."} 
[2026-06-21 17:17:59] local.INFO: Processing buffer {"connection_id":109648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea010d30012d1821c00721b4e0004d00d92a..."} 
[2026-06-21 17:17:59] local.INFO: Packet analysis {"connection_id":109648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea01"} 
[2026-06-21 17:17:59] local.INFO: Extracted packet for processing {"connection_id":109648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea01"} 
[2026-06-21 17:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202848512001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042398000,"timestamp_ms":1782042398000,"timestamp_seconds":1782042398,"priority":1,"record_length":96,"hex_timestamp":"0000019eea010d30"} 
[2026-06-21 17:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-21 17:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202848512001,"66":12558,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202848512001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:17:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202848512001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":109648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:17:59] local.INFO: GPS data processed {"connection_id":109648,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:17:59] local.INFO: Acknowledgment sent {"connection_id":109648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:18:22] local.INFO: TCP Data received {"connection_id":109040,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:18:22] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:18:22] local.INFO: IMEI packet received {"connection_id":109040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":109040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:18:28] local.INFO: TCP Data received {"connection_id":109040,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:18:28] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:18:28] local.INFO: IMEI packet received {"connection_id":109040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":109040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:18:28] local.INFO: TCP Data received {"connection_id":109040,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea015f38012d1821c00721b4e0004d00d92a..."} 
[2026-06-21 17:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea015f38012d1821c00721b4e0004d00d92a..."} 
[2026-06-21 17:18:28] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea015f38012d1821c00721b4e0004d00d92a..."} 
[2026-06-21 17:18:28] local.INFO: Packet analysis {"connection_id":109040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea01"} 
[2026-06-21 17:18:28] local.INFO: Extracted packet for processing {"connection_id":109040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea01"} 
[2026-06-21 17:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202853888001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042419000,"timestamp_ms":1782042419000,"timestamp_seconds":1782042419,"priority":1,"record_length":96,"hex_timestamp":"0000019eea015f38"} 
[2026-06-21 17:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3925810456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899808,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4290848769,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,33,158,187,45,192,180,77,43,10,66,23,1,240,58,227,233,4,113,205,111,224,239,49,2,13,7,106,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 17:18:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548673515332304896,"timestamp_seconds":5548673515332305.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202853888001,"66":12558,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202853888001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:18:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202853888001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":109040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:18:28] local.INFO: GPS data processed {"connection_id":109040,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:18:28] local.INFO: Acknowledgment sent {"connection_id":109040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:18:30] local.INFO: TCP Data received {"connection_id":108874,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:18:30] local.INFO: Processing buffer {"connection_id":108874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:18:30] local.INFO: IMEI packet received {"connection_id":108874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":108874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:18:34] local.INFO: TCP Data received {"connection_id":108874,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:18:34] local.INFO: Processing buffer {"connection_id":108874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:18:34] local.INFO: IMEI packet received {"connection_id":108874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":108874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:18:36] local.INFO: TCP Data received {"connection_id":108874,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:18:36] local.INFO: Processing buffer {"connection_id":108874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:18:36] local.INFO: Packet analysis {"connection_id":108874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:18:36] local.INFO: Extracted packet for processing {"connection_id":108874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:18:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":108874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:18:36] local.INFO: GPS data processed {"connection_id":108874,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:18:36] local.INFO: Acknowledgment sent {"connection_id":108874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:18:37] local.INFO: TCP Data received {"connection_id":109039,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:18:37] local.INFO: Processing buffer {"connection_id":109039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:18:37] local.INFO: IMEI packet received {"connection_id":109039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":109039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:19:00] local.INFO: TCP Data received {"connection_id":109040,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea01b140012d1821c00721b4e0004d00d928..."} 
[2026-06-21 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea01b140012d1821c00721b4e0004d00d928..."} 
[2026-06-21 17:19:00] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea01b140012d1821c00721b4e0004d00d928..."} 
[2026-06-21 17:19:00] local.INFO: Packet analysis {"connection_id":109040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea01"} 
[2026-06-21 17:19:00] local.INFO: Extracted packet for processing {"connection_id":109040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea01"} 
[2026-06-21 17:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202859264001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782042440000,"timestamp_ms":1782042440000,"timestamp_seconds":1782042440,"priority":1,"record_length":96,"hex_timestamp":"0000019eea01b140"} 
[2026-06-21 17:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:19: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-06-21 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3925831456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899808,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,33,158,13,45,192,180,77,42,10,66,187,43,1,240,36,227,234,4,113,205,193,224,239,49,2,7,106,65,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 17:19:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548673515332304896,"timestamp_seconds":5548673515332305.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202859264001,"66":12548,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202859264001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:19:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202859264001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":109040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:19:00] local.INFO: GPS data processed {"connection_id":109040,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:19:00] local.INFO: Acknowledgment sent {"connection_id":109040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:19:07] local.INFO: TCP Data received {"connection_id":108874,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:19:07] local.INFO: Processing buffer {"connection_id":108874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:19:07] local.INFO: Packet analysis {"connection_id":108874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:19:07] local.INFO: Extracted packet for processing {"connection_id":108874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":108874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:19:07] local.INFO: GPS data processed {"connection_id":108874,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:19:07] local.INFO: Acknowledgment sent {"connection_id":108874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:19:12] local.INFO: TCP Data received {"connection_id":109041,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:19:12] local.INFO: Processing buffer {"connection_id":109041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:19:12] local.INFO: IMEI packet received {"connection_id":109041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":109041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:19:21] local.INFO: TCP Data received {"connection_id":109042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:21] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:21] local.INFO: IMEI packet received {"connection_id":109042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":109042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:19:22] local.INFO: TCP Data received {"connection_id":109042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:22] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:22] local.INFO: IMEI packet received {"connection_id":109042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":109042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:19:28] local.INFO: TCP Data received {"connection_id":109042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:28] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:19:28] local.INFO: IMEI packet received {"connection_id":109042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":109042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:19:28] local.INFO: TCP Data received {"connection_id":109042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea020348012d1821c00721b4e0004d00d929..."} 
[2026-06-21 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea020348012d1821c00721b4e0004d00d929..."} 
[2026-06-21 17:19:28] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea020348012d1821c00721b4e0004d00d929..."} 
[2026-06-21 17:19:28] local.INFO: Packet analysis {"connection_id":109042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:19:28] local.INFO: Extracted packet for processing {"connection_id":109042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202864640001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042461000,"timestamp_ms":1782042461000,"timestamp_seconds":1782042461,"priority":1,"record_length":96,"hex_timestamp":"0000019eea020348"} 
[2026-06-21 17:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3925852456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 17:19:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:28] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,33,158,95,45,192,180,77,42,10,66,13,187,1,240,36,227,234,4,113,205,23,224,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 17:19:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548673506742370304,"timestamp_seconds":5548673506742370.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202864640001,"66":12548,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202864640001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:19:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202864640001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":109042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:19:28] local.INFO: GPS data processed {"connection_id":109042,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:19:28] local.INFO: Acknowledgment sent {"connection_id":109042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:19:29] local.INFO: TCP Data received {"connection_id":110619,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:19:29] local.INFO: Processing buffer {"connection_id":110619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:19:29] local.INFO: IMEI packet received {"connection_id":110619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":110619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:19:34] local.INFO: TCP Data received {"connection_id":110619,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:19:34] local.INFO: Processing buffer {"connection_id":110619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:19:34] local.INFO: IMEI packet received {"connection_id":110619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":110619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:19:36] local.INFO: TCP Data received {"connection_id":110619,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:19:36] local.INFO: Processing buffer {"connection_id":110619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:19:36] local.INFO: Packet analysis {"connection_id":110619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:19:36] local.INFO: Extracted packet for processing {"connection_id":110619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:19:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":110619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:19:36] local.INFO: GPS data processed {"connection_id":110619,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:19:36] local.INFO: Acknowledgment sent {"connection_id":110619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:19:59] local.INFO: TCP Data received {"connection_id":109042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea025550012d1821c00721b4e0004d00d925..."} 
[2026-06-21 17:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea025550012d1821c00721b4e0004d00d925..."} 
[2026-06-21 17:19:59] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea025550012d1821c00721b4e0004d00d925..."} 
[2026-06-21 17:19:59] local.INFO: Packet analysis {"connection_id":109042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:19:59] local.INFO: Extracted packet for processing {"connection_id":109042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202870016001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042482000,"timestamp_ms":1782042482000,"timestamp_seconds":1782042482,"priority":1,"record_length":96,"hex_timestamp":"0000019eea025550"} 
[2026-06-21 17:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3925874456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 17:19:59] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:19:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,33,158,177,45,192,180,77,40,10,66,95,42,13,1,240,14,227,234,4,113,205,224,43,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 17:19:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548673511037337600,"timestamp_seconds":5548673511037338.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202870016001,"66":12537,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202870016001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:19:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202870016001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":109042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:19:59] local.INFO: GPS data processed {"connection_id":109042,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:19:59] local.INFO: Acknowledgment sent {"connection_id":109042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:20:07] local.INFO: TCP Data received {"connection_id":110619,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:20:07] local.INFO: Processing buffer {"connection_id":110619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ee9ff57b0012d34c58006aa3f500008006729..."} 
[2026-06-21 17:20:07] local.INFO: Packet analysis {"connection_id":110619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:20:07] local.INFO: Extracted packet for processing {"connection_id":110619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ee9ff"} 
[2026-06-21 17:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":8,"angle":103,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202748160001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782042286000,"timestamp_ms":1782042286000,"timestamp_seconds":1782042286,"priority":1,"record_length":96,"hex_timestamp":"0000019ee9ff57b0"} 
[2026-06-21 17:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202748160001,"66":25419,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202748160001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:20:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202748160001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":110619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:20:07] local.INFO: GPS data processed {"connection_id":110619,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:20:07] local.INFO: Acknowledgment sent {"connection_id":110619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:20:22] local.INFO: TCP Data received {"connection_id":109043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:22] local.INFO: Processing buffer {"connection_id":109043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:22] local.INFO: IMEI packet received {"connection_id":109043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":109043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:20:25] local.INFO: TCP Data received {"connection_id":109043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:25] local.INFO: Processing buffer {"connection_id":109043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:25] local.INFO: IMEI packet received {"connection_id":109043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":109043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:20:28] local.INFO: TCP Data received {"connection_id":109043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:28] local.INFO: Processing buffer {"connection_id":109043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:20:28] local.INFO: IMEI packet received {"connection_id":109043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":109043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:20:28] local.INFO: TCP Data received {"connection_id":109043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea02a758012d1821c00721b4e0004d00d926..."} 
[2026-06-21 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea02a758012d1821c00721b4e0004d00d926..."} 
[2026-06-21 17:20:28] local.INFO: Processing buffer {"connection_id":109043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea02a758012d1821c00721b4e0004d00d926..."} 
[2026-06-21 17:20:28] local.INFO: Packet analysis {"connection_id":109043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:20:28] local.INFO: Extracted packet for processing {"connection_id":109043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202875392001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042503000,"timestamp_ms":1782042503000,"timestamp_seconds":1782042503,"priority":1,"record_length":96,"hex_timestamp":"0000019eea02a758"} 
[2026-06-21 17:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-21 17:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202875392001,"66":12548,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202875392001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:20:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202875392001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":109043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:20:28] local.INFO: GPS data processed {"connection_id":109043,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:20:28] local.INFO: Acknowledgment sent {"connection_id":109043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:20:29] local.INFO: TCP Data received {"connection_id":109044,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:20:29] local.INFO: Processing buffer {"connection_id":109044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:20:29] local.INFO: IMEI packet received {"connection_id":109044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":109044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:20:34] local.INFO: TCP Data received {"connection_id":109044,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:20:34] local.INFO: Processing buffer {"connection_id":109044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:20:34] local.INFO: IMEI packet received {"connection_id":109044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":109044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:20:35] local.INFO: TCP Data received {"connection_id":109044,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:20:35] local.INFO: Processing buffer {"connection_id":109044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:20:35] local.INFO: Packet analysis {"connection_id":109044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:20:35] local.INFO: Extracted packet for processing {"connection_id":109044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:20:35] 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-06-21 17:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":109044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:20:35] local.INFO: GPS data processed {"connection_id":109044,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:20:35] local.INFO: Acknowledgment sent {"connection_id":109044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:20:59] local.INFO: TCP Data received {"connection_id":109043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea02f960012d1821c00721b4e0004d00d927..."} 
[2026-06-21 17:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea02f960012d1821c00721b4e0004d00d927..."} 
[2026-06-21 17:20:59] local.INFO: Processing buffer {"connection_id":109043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea02f960012d1821c00721b4e0004d00d927..."} 
[2026-06-21 17:20:59] local.INFO: Packet analysis {"connection_id":109043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:20:59] local.INFO: Extracted packet for processing {"connection_id":109043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea02"} 
[2026-06-21 17:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649504,"longitude_deg":75.6556224,"latitude_deg":11.9649504,"altitude":77,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b4e0","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202880768001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696519437877248,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004528128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042524000,"timestamp_ms":1782042524000,"timestamp_seconds":1782042524,"priority":1,"record_length":96,"hex_timestamp":"0000019eea02f960"} 
[2026-06-21 17:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3925916456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-21 17:20:59] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:20:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,33,158,85,45,192,180,77,37,10,66,3,41,177,1,240,4,227,234,113,205,13,224,42,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-21 17:20:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548673498152435712,"timestamp_seconds":5548673498152436.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202880768001,"66":12504,"105":206,"83":41984,"24":0,"16":3696519437877248,"45":1738882068004528128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202880768001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:20:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696519437877248,"km_value":3696519437877.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004528128,"description":"Unknown IO ID 45"} 
[2026-06-21 17:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202880768001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004528128}} 
[2026-06-21 17:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":109043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:21:00] local.INFO: GPS data processed {"connection_id":109043,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:21:00] local.INFO: Acknowledgment sent {"connection_id":109043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:21:07] local.INFO: TCP Data received {"connection_id":109044,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:07] local.INFO: Processing buffer {"connection_id":109044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:07] local.INFO: Packet analysis {"connection_id":109044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:21:07] local.INFO: Extracted packet for processing {"connection_id":109044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:21:07] 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-06-21 17:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":109044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:21:07] local.INFO: GPS data processed {"connection_id":109044,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:21:07] local.INFO: Acknowledgment sent {"connection_id":109044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:21:22] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:21:22] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:21:22] local.INFO: IMEI packet received {"connection_id":110620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":110620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:21:28] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:21:28] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:21:28] local.INFO: IMEI packet received {"connection_id":110620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":110620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:21:28] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea04b2c8012d181f400721a748004d006827..."} 
[2026-06-21 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea04b2c8012d181f400721a748004d006827..."} 
[2026-06-21 17:21:28] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea04b2c8012d181f400721a748004d006827..."} 
[2026-06-21 17:21:28] local.INFO: Packet analysis {"connection_id":110620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:21:28] local.INFO: Extracted packet for processing {"connection_id":110620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646024,"longitude_deg":75.6555584,"latitude_deg":11.9646024,"altitude":77,"angle":104,"satellites":39,"speed":7,"hex_longitude":"2d181f40","hex_latitude":"0721a748","is_valid_coordinates":true} 
[2026-06-21 17:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202914816001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696721301340160,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329344000,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042637000,"timestamp_ms":1782042637000,"timestamp_seconds":1782042637,"priority":1,"record_length":96,"hex_timestamp":"0000019eea04b2c8"} 
[2026-06-21 17:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-21 17:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202914816001,"66":14189,"105":206,"83":41984,"24":7,"16":3696721301340160,"45":1737967274329344000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202914816001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:21:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696721301340160,"km_value":3696721301340.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329344000,"description":"Unknown IO ID 45"} 
[2026-06-21 17:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202914816001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737967274329344000}} 
[2026-06-21 17:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":110620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:21:28] local.INFO: GPS data processed {"connection_id":110620,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:21:28] local.INFO: Acknowledgment sent {"connection_id":110620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:21:34] local.INFO: TCP Data received {"connection_id":108875,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:21:34] local.INFO: Processing buffer {"connection_id":108875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:21:34] local.INFO: IMEI packet received {"connection_id":108875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":108875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:21:39] local.INFO: TCP Data received {"connection_id":108875,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:21:39] local.INFO: Processing buffer {"connection_id":108875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:21:39] local.INFO: IMEI packet received {"connection_id":108875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":108875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:21:41] local.INFO: TCP Data received {"connection_id":108875,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:41] local.INFO: Processing buffer {"connection_id":108875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:41] local.INFO: Packet analysis {"connection_id":108875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:21:41] local.INFO: Extracted packet for processing {"connection_id":108875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:21:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:21:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":108875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:21:41] local.INFO: GPS data processed {"connection_id":108875,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:21:41] local.INFO: Acknowledgment sent {"connection_id":108875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:21:45] local.INFO: TCP Data received {"connection_id":108875,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:45] local.INFO: Processing buffer {"connection_id":108875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:21:45] local.INFO: Packet analysis {"connection_id":108875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:21:45] local.INFO: Extracted packet for processing {"connection_id":108875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 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-06-21 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:21:45] 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-06-21 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-06-21 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-06-21 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:21:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":108875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:21:45] local.INFO: GPS data processed {"connection_id":108875,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:21:45] local.INFO: Acknowledgment sent {"connection_id":108875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:21:59] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea04ba98012d1821000721a6c0004d007728..."} 
[2026-06-21 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea04ba98012d1821000721a6c0004d007728..."} 
[2026-06-21 17:21:59] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea04ba98012d1821000721a6c0004d007728..."} 
[2026-06-21 17:21:59] local.INFO: Packet analysis {"connection_id":110620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:21:59] local.INFO: Extracted packet for processing {"connection_id":110620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119645888,"longitude_deg":75.6556032,"latitude_deg":11.9645888,"altitude":77,"angle":119,"satellites":40,"speed":11,"hex_longitude":"2d182100","hex_latitude":"0721a6c0","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202915072001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696742776176640,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561860608,"note":"Value kept but may cause issues"} 
[2026-06-21 17:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042639000,"timestamp_ms":1782042639000,"timestamp_seconds":1782042639,"priority":1,"record_length":96,"hex_timestamp":"0000019eea04ba98"} 
[2026-06-21 17:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-21 17:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202915072001,"66":14189,"105":206,"83":41984,"24":11,"16":3696742776176640,"45":1738178380561860608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202915072001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:21:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696742776176640,"km_value":3696742776176.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561860608,"description":"Unknown IO ID 45"} 
[2026-06-21 17:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202915072001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738178380561860608}} 
[2026-06-21 17:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":110620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:21:59] local.INFO: GPS data processed {"connection_id":110620,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:21:59] local.INFO: Acknowledgment sent {"connection_id":110620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:22:23] local.INFO: TCP Data received {"connection_id":110622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: IMEI packet received {"connection_id":110622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":110622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:22:23] local.INFO: TCP Data received {"connection_id":110622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: IMEI packet received {"connection_id":110622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":110622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:22:23] local.INFO: TCP Data received {"connection_id":110622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:23] local.INFO: IMEI packet received {"connection_id":110622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":110622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:22:25] local.INFO: TCP Data received {"connection_id":110622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:25] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:22:25] local.INFO: IMEI packet received {"connection_id":110622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":110622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:22:26] local.INFO: TCP Data received {"connection_id":110622,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea04be80012d1821c00721a608004d008528..."} 
[2026-06-21 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea04be80012d1821c00721a608004d008528..."} 
[2026-06-21 17:22:26] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea04be80012d1821c00721a608004d008528..."} 
[2026-06-21 17:22:26] local.INFO: Packet analysis {"connection_id":110622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:22:26] local.INFO: Extracted packet for processing {"connection_id":110622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119645704,"longitude_deg":75.6556224,"latitude_deg":11.9645704,"altitude":77,"angle":133,"satellites":40,"speed":12,"hex_longitude":"2d1821c0","hex_latitude":"0721a608","is_valid_coordinates":true} 
[2026-06-21 17:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202915584001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696755661078528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771069440,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782042640000,"timestamp_ms":1782042640000,"timestamp_seconds":1782042640,"priority":1,"record_length":96,"hex_timestamp":"0000019eea04be80"} 
[2026-06-21 17:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-21 17:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":110622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":110622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":110622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202915584001,"66":14233,"105":206,"83":41984,"24":12,"16":3696755661078528,"45":1738670961771069440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202915584001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:22:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696755661078528,"km_value":3696755661078.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771069440,"description":"Unknown IO ID 45"} 
[2026-06-21 17:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202915584001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1738670961771069440}} 
[2026-06-21 17:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":110622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:22:26] local.INFO: GPS data processed {"connection_id":110622,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:22:26] local.INFO: Acknowledgment sent {"connection_id":110622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:22:28] local.INFO: TCP Data received {"connection_id":110622,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea04ed60012d1823800721a350004c009227..."} 
[2026-06-21 17:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea04ed60012d1823800721a350004c009227..."} 
[2026-06-21 17:22:28] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea04ed60012d1823800721a350004c009227..."} 
[2026-06-21 17:22:28] local.INFO: Packet analysis {"connection_id":110622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:22:28] local.INFO: Extracted packet for processing {"connection_id":110622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea04"} 
[2026-06-21 17:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119645008,"longitude_deg":75.6556672,"latitude_deg":11.9645008,"altitude":76,"angle":146,"satellites":39,"speed":4,"hex_longitude":"2d182380","hex_latitude":"0721a350","is_valid_coordinates":true} 
[2026-06-21 17:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202915840001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3696798610751488,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003555328,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042652000,"timestamp_ms":1782042652000,"timestamp_seconds":1782042652,"priority":1,"record_length":96,"hex_timestamp":"0000019eea04ed60"} 
[2026-06-21 17:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-21 17:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202915840001,"66":14211,"105":206,"83":41984,"24":4,"16":3696798610751488,"45":1738882068003555328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-21 17:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202915840001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:22:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3696798610751488,"km_value":3696798610751.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003555328,"description":"Unknown IO ID 45"} 
[2026-06-21 17:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202915840001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738882068003555328}} 
[2026-06-21 17:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":110622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:22:28] local.INFO: GPS data processed {"connection_id":110622,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:22:28] local.INFO: Acknowledgment sent {"connection_id":110622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:22:29] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:22:29] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:22:29] local.INFO: IMEI packet received {"connection_id":108876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":108876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:22:34] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:22:34] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:22:34] local.INFO: IMEI packet received {"connection_id":108876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":108876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:22:36] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:22:36] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:22:36] local.INFO: Packet analysis {"connection_id":108876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:22:36] local.INFO: Extracted packet for processing {"connection_id":108876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:22:36] 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-06-21 17:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":108876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:22:36] local.INFO: GPS data processed {"connection_id":108876,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:22:36] local.INFO: Acknowledgment sent {"connection_id":108876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:22:59] local.INFO: TCP Data received {"connection_id":110622,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0621f8012d18d24007212890003d00a329..."} 
[2026-06-21 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0621f8012d18d24007212890003d00a329..."} 
[2026-06-21 17:22:59] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0621f8012d18d24007212890003d00a329..."} 
[2026-06-21 17:22:59] local.INFO: Packet analysis {"connection_id":110622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea06"} 
[2026-06-21 17:22:59] local.INFO: Extracted packet for processing {"connection_id":110622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea06"} 
[2026-06-21 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613584,"longitude_deg":75.6601408,"latitude_deg":11.9613584,"altitude":61,"angle":163,"satellites":41,"speed":32,"hex_longitude":"2d18d240","hex_latitude":"07212890","is_valid_coordinates":true} 
[2026-06-21 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202937856001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3699654764003328,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601572012032,"note":"Value kept but may cause issues"} 
[2026-06-21 17:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042731000,"timestamp_ms":1782042731000,"timestamp_seconds":1782042731,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0621f8"} 
[2026-06-21 17:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-21 17:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202937856001,"66":14048,"103":206,"83":41984,"24":32,"16":3699654764003328,"45":1786310601572012032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 17:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202937856001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:22:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 17:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3699654764003328,"km_value":3699654764003.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601572012032,"description":"Unknown IO ID 45"} 
[2026-06-21 17:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202937856001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1786310601572012032}} 
[2026-06-21 17:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":110622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:22:59] local.INFO: GPS data processed {"connection_id":110622,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:22:59] local.INFO: Acknowledgment sent {"connection_id":110622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:23:07] local.INFO: TCP Data received {"connection_id":108876,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:23:07] local.INFO: Processing buffer {"connection_id":108876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:23:07] local.INFO: Packet analysis {"connection_id":108876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:23:07] local.INFO: Extracted packet for processing {"connection_id":108876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:23:07] 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-06-21 17:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":108876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:23:07] local.INFO: GPS data processed {"connection_id":108876,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:23:07] local.INFO: Acknowledgment sent {"connection_id":108876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:23:22] local.INFO: TCP Data received {"connection_id":108877,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:23:22] local.INFO: Processing buffer {"connection_id":108877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:23:22] local.INFO: IMEI packet received {"connection_id":108877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":108877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:23:26] local.INFO: TCP Data received {"connection_id":108877,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:23:26] local.INFO: Processing buffer {"connection_id":108877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:23:26] local.INFO: IMEI packet received {"connection_id":108877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":108877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:23:26] local.INFO: TCP Data received {"connection_id":108877,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0629c8012d18d2c007212228003c00b129..."} 
[2026-06-21 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0629c8012d18d2c007212228003c00b129..."} 
[2026-06-21 17:23:26] local.INFO: Processing buffer {"connection_id":108877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0629c8012d18d2c007212228003c00b129..."} 
[2026-06-21 17:23:26] local.INFO: Packet analysis {"connection_id":108877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea06"} 
[2026-06-21 17:23:26] local.INFO: Extracted packet for processing {"connection_id":108877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea06"} 
[2026-06-21 17:23:26] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119611944,"longitude_deg":75.6601536,"latitude_deg":11.9611944,"altitude":60,"angle":177,"satellites":41,"speed":34,"hex_longitude":"2d18d2c0","hex_latitude":"07212228","is_valid_coordinates":true} 
[2026-06-21 17:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202939136001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3699736368381952,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384763392,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782042733000,"timestamp_ms":1782042733000,"timestamp_seconds":1782042733,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0629c8"} 
[2026-06-21 17:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-21 17:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":108877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":108877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":108877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202939136001,"66":13972,"103":206,"83":41984,"24":34,"16":3699736368381952,"45":1788562401384763392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 17:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202939136001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:23:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 17:23:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3699736368381952,"km_value":3699736368381.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384763392,"description":"Unknown IO ID 45"} 
[2026-06-21 17:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202939136001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788562401384763392}} 
[2026-06-21 17:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":108877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:23:27] local.INFO: GPS data processed {"connection_id":108877,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:23:27] local.INFO: Acknowledgment sent {"connection_id":108877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:23:29] local.INFO: TCP Data received {"connection_id":109652,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:23:29] local.INFO: Processing buffer {"connection_id":109652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:23:29] local.INFO: IMEI packet received {"connection_id":109652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":109652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:23:34] local.INFO: TCP Data received {"connection_id":109652,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:23:34] local.INFO: Processing buffer {"connection_id":109652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:23:34] local.INFO: IMEI packet received {"connection_id":109652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":109652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:23:36] local.INFO: TCP Data received {"connection_id":109652,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:23:36] local.INFO: Processing buffer {"connection_id":109652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:23:36] local.INFO: Packet analysis {"connection_id":109652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:23:36] local.INFO: Extracted packet for processing {"connection_id":109652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 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-06-21 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:23:36] 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-06-21 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-06-21 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-06-21 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:23:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":109652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:23:36] local.INFO: GPS data processed {"connection_id":109652,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:23:36] local.INFO: Acknowledgment sent {"connection_id":109652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:23:57] local.INFO: TCP Data received {"connection_id":108877,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea070c58012d195b400720a8a8002c00bb26..."} 
[2026-06-21 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea070c58012d195b400720a8a8002c00bb26..."} 
[2026-06-21 17:23:57] local.INFO: Processing buffer {"connection_id":108877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea070c58012d195b400720a8a8002c00bb26..."} 
[2026-06-21 17:23:57] local.INFO: Packet analysis {"connection_id":108877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea07"} 
[2026-06-21 17:23:57] local.INFO: Extracted packet for processing {"connection_id":108877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea07"} 
[2026-06-21 17:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756636480,"raw_latitude":119580840,"longitude_deg":75.663648,"latitude_deg":11.958084,"altitude":44,"angle":187,"satellites":38,"speed":10,"hex_longitude":"2d195b40","hex_latitude":"0720a8a8","is_valid_coordinates":true} 
[2026-06-21 17:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202954240001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3702180204773376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827124473185794048,"note":"Value kept but may cause issues"} 
[2026-06-21 17:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782042791000,"timestamp_ms":1782042791000,"timestamp_seconds":1782042791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea070c58"} 
[2026-06-21 17:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 17:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":108877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":108877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":108877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202954240001,"66":14211,"103":206,"83":41984,"24":10,"16":3702180204773376,"45":1827124473185794048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 17:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202954240001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:23:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 17:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3702180204773376,"km_value":3702180204773.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827124473185794048,"description":"Unknown IO ID 45"} 
[2026-06-21 17:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202954240001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1827124473185794048}} 
[2026-06-21 17:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":108877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:23:57] local.INFO: GPS data processed {"connection_id":108877,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:23:57] local.INFO: Acknowledgment sent {"connection_id":108877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:24:07] local.INFO: TCP Data received {"connection_id":109652,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:24:07] local.INFO: Processing buffer {"connection_id":109652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:24:07] local.INFO: Packet analysis {"connection_id":109652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:24:07] local.INFO: Extracted packet for processing {"connection_id":109652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:24:07] 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-06-21 17:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:24:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":109652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:24:07] local.INFO: GPS data processed {"connection_id":109652,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:24:07] local.INFO: Acknowledgment sent {"connection_id":109652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:24:23] local.INFO: TCP Data received {"connection_id":109046,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:23] local.INFO: Processing buffer {"connection_id":109046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:23] local.INFO: IMEI packet received {"connection_id":109046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":109046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:24:23] local.INFO: TCP Data received {"connection_id":109046,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:23] local.INFO: Processing buffer {"connection_id":109046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:23] local.INFO: IMEI packet received {"connection_id":109046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":109046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:24:28] local.INFO: TCP Data received {"connection_id":109046,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:28] local.INFO: Processing buffer {"connection_id":109046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:24:28] local.INFO: IMEI packet received {"connection_id":109046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":109046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:24:28] local.INFO: TCP Data received {"connection_id":109046,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0727b0012d1959c00720a0e8002b00d624..."} 
[2026-06-21 17:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0727b0012d1959c00720a0e8002b00d624..."} 
[2026-06-21 17:24:28] local.INFO: Processing buffer {"connection_id":109046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0727b0012d1959c00720a0e8002b00d624..."} 
[2026-06-21 17:24:28] local.INFO: Packet analysis {"connection_id":109046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea07"} 
[2026-06-21 17:24:28] local.INFO: Extracted packet for processing {"connection_id":109046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea07"} 
[2026-06-21 17:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756636096,"raw_latitude":119578856,"longitude_deg":75.6636096,"latitude_deg":11.9578856,"altitude":43,"angle":214,"satellites":36,"speed":12,"hex_longitude":"2d1959c0","hex_latitude":"0720a0e8","is_valid_coordinates":true} 
[2026-06-21 17:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202954496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3702278989021184,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827124473185740800,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782042798000,"timestamp_ms":1782042798000,"timestamp_seconds":1782042798,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0727b0"} 
[2026-06-21 17:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 17:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202954496001,"66":14298,"103":206,"83":41984,"24":12,"16":3702278989021184,"45":1827124473185740800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 17:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202954496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:24:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 17:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3702278989021184,"km_value":3702278989021.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827124473185740800,"description":"Unknown IO ID 45"} 
[2026-06-21 17:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202954496001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1827124473185740800}} 
[2026-06-21 17:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":109046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:24:28] local.INFO: GPS data processed {"connection_id":109046,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:24:28] local.INFO: Acknowledgment sent {"connection_id":109046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:24:29] local.INFO: TCP Data received {"connection_id":109047,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:24:29] local.INFO: Processing buffer {"connection_id":109047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:24:29] local.INFO: IMEI packet received {"connection_id":109047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":109047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:24:34] local.INFO: TCP Data received {"connection_id":109047,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:24:34] local.INFO: Processing buffer {"connection_id":109047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:24:34] local.INFO: IMEI packet received {"connection_id":109047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":109047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:24:37] local.INFO: TCP Data received {"connection_id":109047,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:24:37] local.INFO: Processing buffer {"connection_id":109047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:24:37] local.INFO: Packet analysis {"connection_id":109047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:24:37] local.INFO: Extracted packet for processing {"connection_id":109047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:24: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-06-21 17:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:24:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":109047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:24:37] local.INFO: GPS data processed {"connection_id":109047,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:24:37] local.INFO: Acknowledgment sent {"connection_id":109047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:24:47] local.INFO: TCP Data received {"connection_id":108878,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:24:47] local.INFO: Processing buffer {"connection_id":108878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:24:47] local.INFO: IMEI packet received {"connection_id":108878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":108878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:24:59] local.INFO: TCP Data received {"connection_id":109046,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea080658012d196c00072062d0002400c129..."} 
[2026-06-21 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea080658012d196c00072062d0002400c129..."} 
[2026-06-21 17:24:59] local.INFO: Processing buffer {"connection_id":109046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea080658012d196c00072062d0002400c129..."} 
[2026-06-21 17:24:59] local.INFO: Packet analysis {"connection_id":109046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:24:59] local.INFO: Extracted packet for processing {"connection_id":109046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119562960,"longitude_deg":75.6640768,"latitude_deg":11.956296,"altitude":36,"angle":193,"satellites":41,"speed":14,"hex_longitude":"2d196c00","hex_latitude":"072062d0","is_valid_coordinates":true} 
[2026-06-21 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202970112001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3703236766728192,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179041247232,"note":"Value kept but may cause issues"} 
[2026-06-21 17:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782042855000,"timestamp_ms":1782042855000,"timestamp_seconds":1782042855,"priority":1,"record_length":96,"hex_timestamp":"0000019eea080658"} 
[2026-06-21 17:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-21 17:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202970112001,"66":13276,"103":206,"83":41984,"24":14,"16":3703236766728192,"45":1831839179041247232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-21 17:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202970112001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:24:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-21 17:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3703236766728192,"km_value":3703236766728.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179041247232,"description":"Unknown IO ID 45"} 
[2026-06-21 17:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202970112001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1831839179041247232}} 
[2026-06-21 17:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":109046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:24:59] local.INFO: GPS data processed {"connection_id":109046,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:24:59] local.INFO: Acknowledgment sent {"connection_id":109046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:25:08] local.INFO: TCP Data received {"connection_id":109047,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:25:08] local.INFO: Processing buffer {"connection_id":109047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea03ef78012d34c58006aa3f500009006725..."} 
[2026-06-21 17:25:08] local.INFO: Packet analysis {"connection_id":109047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:25:08] local.INFO: Extracted packet for processing {"connection_id":109047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea03"} 
[2026-06-21 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820624,"longitude_deg":75.8433152,"latitude_deg":11.1820624,"altitude":9,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-21 17:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202825216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782042587000,"timestamp_ms":1782042587000,"timestamp_seconds":1782042587,"priority":1,"record_length":96,"hex_timestamp":"0000019eea03ef78"} 
[2026-06-21 17:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-21 17:25:08] 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-06-21 17:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202825216001,"66":25441,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202825216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:25:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202825216001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":109047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:25:08] local.INFO: GPS data processed {"connection_id":109047,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:25:08] local.INFO: Acknowledgment sent {"connection_id":109047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:25:17] local.INFO: TCP Data received {"connection_id":109653,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:25:17] local.INFO: Processing buffer {"connection_id":109653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:25:17] local.INFO: IMEI packet received {"connection_id":109653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":109653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:25:21] local.INFO: TCP Data received {"connection_id":109048,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:21] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:21] local.INFO: IMEI packet received {"connection_id":109048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":109048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:25:22] local.INFO: TCP Data received {"connection_id":109048,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:22] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:22] local.INFO: IMEI packet received {"connection_id":109048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":109048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:25:23] local.INFO: TCP Data received {"connection_id":109048,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:23] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:23] local.INFO: IMEI packet received {"connection_id":109048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":109048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:25:23] local.INFO: TCP Data received {"connection_id":109048,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:23] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:25:23] local.INFO: IMEI packet received {"connection_id":109048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":109048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:25:29] local.INFO: TCP Data received {"connection_id":108879,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:25:29] local.INFO: Processing buffer {"connection_id":108879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:25:29] local.INFO: IMEI packet received {"connection_id":108879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":108879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:25:34] local.INFO: TCP Data received {"connection_id":108879,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:25:34] local.INFO: Processing buffer {"connection_id":108879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:25:34] local.INFO: IMEI packet received {"connection_id":108879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":108879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:25:36] local.INFO: TCP Data received {"connection_id":108879,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:25:36] local.INFO: Processing buffer {"connection_id":108879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:25:36] local.INFO: Packet analysis {"connection_id":108879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:25:36] local.INFO: Extracted packet for processing {"connection_id":108879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 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-06-21 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:25:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":108879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:25:36] local.INFO: GPS data processed {"connection_id":108879,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:25:36] local.INFO: Acknowledgment sent {"connection_id":108879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:26:07] local.INFO: TCP Data received {"connection_id":108879,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:26:07] local.INFO: Processing buffer {"connection_id":108879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:26:07] local.INFO: Packet analysis {"connection_id":108879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:26:07] local.INFO: Extracted packet for processing {"connection_id":108879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 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-06-21 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":108879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:26:07] local.INFO: GPS data processed {"connection_id":108879,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:26:07] local.INFO: Acknowledgment sent {"connection_id":108879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:26:30] local.INFO: TCP Data received {"connection_id":108880,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:26:30] local.INFO: Processing buffer {"connection_id":108880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:26:30] local.INFO: IMEI packet received {"connection_id":108880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":108880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:26:35] local.INFO: TCP Data received {"connection_id":108880,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:26:35] local.INFO: Processing buffer {"connection_id":108880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:26:35] local.INFO: IMEI packet received {"connection_id":108880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":108880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:26:36] local.INFO: TCP Data received {"connection_id":108880,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:26:36] local.INFO: Processing buffer {"connection_id":108880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:26:36] local.INFO: Packet analysis {"connection_id":108880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:26:36] local.INFO: Extracted packet for processing {"connection_id":108880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:26:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":108880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:26:36] local.INFO: GPS data processed {"connection_id":108880,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:26:36] local.INFO: Acknowledgment sent {"connection_id":108880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:27:08] local.INFO: TCP Data received {"connection_id":108880,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:27:08] local.INFO: Processing buffer {"connection_id":108880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:27:08] local.INFO: Packet analysis {"connection_id":108880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:27:08] local.INFO: Extracted packet for processing {"connection_id":108880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 17:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:27:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":108880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:27:08] local.INFO: GPS data processed {"connection_id":108880,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:27:08] local.INFO: Acknowledgment sent {"connection_id":108880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:27:29] local.INFO: TCP Data received {"connection_id":108881,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:27:29] local.INFO: Processing buffer {"connection_id":108881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:27:29] local.INFO: IMEI packet received {"connection_id":108881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":108881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:27:34] local.INFO: TCP Data received {"connection_id":108881,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:27:34] local.INFO: Processing buffer {"connection_id":108881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:27:34] local.INFO: IMEI packet received {"connection_id":108881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":108881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:27:35] local.INFO: TCP Data received {"connection_id":108881,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:27:35] local.INFO: Processing buffer {"connection_id":108881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:27:35] local.INFO: Packet analysis {"connection_id":108881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:27:35] local.INFO: Extracted packet for processing {"connection_id":108881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":108881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:27:35] local.INFO: GPS data processed {"connection_id":108881,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:27:35] local.INFO: Acknowledgment sent {"connection_id":108881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:28:06] local.INFO: TCP Data received {"connection_id":108881,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:28:06] local.INFO: Processing buffer {"connection_id":108881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:28:06] local.INFO: Packet analysis {"connection_id":108881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:28:06] local.INFO: Extracted packet for processing {"connection_id":108881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":108881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":108881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":108881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":108881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:28:06] local.INFO: GPS data processed {"connection_id":108881,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:28:06] local.INFO: Acknowledgment sent {"connection_id":108881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:28:29] local.INFO: TCP Data received {"connection_id":109051,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:28:29] local.INFO: Processing buffer {"connection_id":109051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:28:29] local.INFO: IMEI packet received {"connection_id":109051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":109051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:28:34] local.INFO: TCP Data received {"connection_id":109051,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:28:34] local.INFO: Processing buffer {"connection_id":109051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:28:34] local.INFO: IMEI packet received {"connection_id":109051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":109051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:28:35] local.INFO: TCP Data received {"connection_id":109051,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:28:35] local.INFO: Processing buffer {"connection_id":109051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:28:35] local.INFO: Packet analysis {"connection_id":109051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:28:35] local.INFO: Extracted packet for processing {"connection_id":109051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 17:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:28:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:28:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":109051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:28:35] local.INFO: GPS data processed {"connection_id":109051,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:28:35] local.INFO: Acknowledgment sent {"connection_id":109051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:29:08] local.INFO: TCP Data received {"connection_id":109051,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:08] local.INFO: Processing buffer {"connection_id":109051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:08] local.INFO: Packet analysis {"connection_id":109051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:29:08] local.INFO: Extracted packet for processing {"connection_id":109051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 17:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:29:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":109051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:29:08] local.INFO: GPS data processed {"connection_id":109051,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:29:08] local.INFO: Acknowledgment sent {"connection_id":109051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:29:34] local.INFO: TCP Data received {"connection_id":109657,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:29:34] local.INFO: Processing buffer {"connection_id":109657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:29:34] local.INFO: IMEI packet received {"connection_id":109657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":109657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:29:40] local.INFO: TCP Data received {"connection_id":109657,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:29:40] local.INFO: Processing buffer {"connection_id":109657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:29:40] local.INFO: IMEI packet received {"connection_id":109657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":109657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:29:41] local.INFO: TCP Data received {"connection_id":109657,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:41] local.INFO: Processing buffer {"connection_id":109657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:41] local.INFO: Packet analysis {"connection_id":109657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:29:41] local.INFO: Extracted packet for processing {"connection_id":109657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 17:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":109657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:29:41] local.INFO: GPS data processed {"connection_id":109657,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:29:41] local.INFO: Acknowledgment sent {"connection_id":109657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:29:45] local.INFO: TCP Data received {"connection_id":109657,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:45] local.INFO: Processing buffer {"connection_id":109657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea088740012d34c54006aa3f800007007228..."} 
[2026-06-21 17:29:45] local.INFO: Packet analysis {"connection_id":109657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:29:45] local.INFO: Extracted packet for processing {"connection_id":109657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea08"} 
[2026-06-21 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202902272001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498686976,"note":"Value kept but may cause issues"} 
[2026-06-21 17:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782042888000,"timestamp_ms":1782042888000,"timestamp_seconds":1782042888,"priority":1,"record_length":96,"hex_timestamp":"0000019eea088740"} 
[2026-06-21 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-06-21 17:29: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-06-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-21 17:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202902272001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802586226498686976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 17:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202902272001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:29:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 17:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498686976,"description":"Unknown IO ID 45"} 
[2026-06-21 17:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202902272001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226498686976}} 
[2026-06-21 17:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":109657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:29:45] local.INFO: GPS data processed {"connection_id":109657,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:29:45] local.INFO: Acknowledgment sent {"connection_id":109657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:30:27] local.INFO: TCP Data received {"connection_id":109052,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:27] local.INFO: Processing buffer {"connection_id":109052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:27] local.INFO: IMEI packet received {"connection_id":109052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":109052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:30:27] local.INFO: TCP Data received {"connection_id":109659,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:30:27] local.INFO: Processing buffer {"connection_id":109659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:30:27] local.INFO: IMEI packet received {"connection_id":109659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":109659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:30:28] local.INFO: TCP Data received {"connection_id":109659,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0a67b8012d192880071ffe700032004f25..."} 
[2026-06-21 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0a67b8012d192880071ffe700032004f25..."} 
[2026-06-21 17:30:28] local.INFO: Processing buffer {"connection_id":109659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0a67b8012d192880071ffe700032004f25..."} 
[2026-06-21 17:30:28] local.INFO: Packet analysis {"connection_id":109659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:30:28] local.INFO: Extracted packet for processing {"connection_id":109659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756623488,"raw_latitude":119537264,"longitude_deg":75.6623488,"latitude_deg":11.9537264,"altitude":50,"angle":79,"satellites":37,"speed":4,"hex_longitude":"2d192880","hex_latitude":"071ffe70","is_valid_coordinates":true} 
[2026-06-21 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203010560001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705375660441600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511873982464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043011000,"timestamp_ms":1782043011000,"timestamp_seconds":1782043011,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0a67b8"} 
[2026-06-21 17:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-21 17:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203010560001,"66":13254,"102":206,"83":41984,"24":4,"16":3705375660441600,"45":1812628511873982464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203010560001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705375660441600,"km_value":3705375660441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511873982464,"description":"Unknown IO ID 45"} 
[2026-06-21 17:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203010560001,"power":13254,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1812628511873982464}} 
[2026-06-21 17:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":109659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:30:28] local.INFO: GPS data processed {"connection_id":109659,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:30:28] local.INFO: Acknowledgment sent {"connection_id":109659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:30:29] local.INFO: TCP Data received {"connection_id":109052,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:29] local.INFO: Processing buffer {"connection_id":109052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:29] local.INFO: IMEI packet received {"connection_id":109052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":109052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:30:34] local.INFO: TCP Data received {"connection_id":109052,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:34] local.INFO: Processing buffer {"connection_id":109052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:30:34] local.INFO: IMEI packet received {"connection_id":109052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":109052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:30:35] local.INFO: TCP Data received {"connection_id":109052,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:30:35] local.INFO: Processing buffer {"connection_id":109052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:30:35] local.INFO: Packet analysis {"connection_id":109052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:30:35] local.INFO: Extracted packet for processing {"connection_id":109052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30: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-06-21 17:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:30:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":109052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:30:35] local.INFO: GPS data processed {"connection_id":109052,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:30:35] local.INFO: Acknowledgment sent {"connection_id":109052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:30:37] local.INFO: TCP Data received {"connection_id":109658,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:30:37] local.INFO: Processing buffer {"connection_id":109658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:30:37] local.INFO: IMEI packet received {"connection_id":109658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":109658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:30:59] local.INFO: TCP Data received {"connection_id":109659,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0a6ba0012d192900071ffe680032006425..."} 
[2026-06-21 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0a6ba0012d192900071ffe680032006425..."} 
[2026-06-21 17:30:59] local.INFO: Processing buffer {"connection_id":109659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0a6ba0012d192900071ffe680032006425..."} 
[2026-06-21 17:30:59] local.INFO: Packet analysis {"connection_id":109659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:30:59] local.INFO: Extracted packet for processing {"connection_id":109659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756623616,"raw_latitude":119537256,"longitude_deg":75.6623616,"latitude_deg":11.9537256,"altitude":50,"angle":100,"satellites":37,"speed":6,"hex_longitude":"2d192900","hex_latitude":"071ffe68","is_valid_coordinates":true} 
[2026-06-21 17:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203010816001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705379955408896,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812839618106519552,"note":"Value kept but may cause issues"} 
[2026-06-21 17:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043012000,"timestamp_ms":1782043012000,"timestamp_seconds":1782043012,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0a6ba0"} 
[2026-06-21 17:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-21 17:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203010816001,"66":12939,"102":206,"83":41984,"24":6,"16":3705379955408896,"45":1812839618106519552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203010816001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705379955408896,"km_value":3705379955408.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812839618106519552,"description":"Unknown IO ID 45"} 
[2026-06-21 17:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203010816001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1812839618106519552}} 
[2026-06-21 17:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":109659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:30:59] local.INFO: GPS data processed {"connection_id":109659,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:30:59] local.INFO: Acknowledgment sent {"connection_id":109659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:31:07] local.INFO: TCP Data received {"connection_id":109052,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:31:07] local.INFO: Processing buffer {"connection_id":109052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:31:07] local.INFO: Packet analysis {"connection_id":109052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:31:07] local.INFO: Extracted packet for processing {"connection_id":109052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:07] 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-06-21 17:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:31:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":109052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:31:07] local.INFO: GPS data processed {"connection_id":109052,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:31:07] local.INFO: Acknowledgment sent {"connection_id":109052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:31:12] local.INFO: TCP Data received {"connection_id":109660,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:31:12] local.INFO: Processing buffer {"connection_id":109660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:31:12] local.INFO: IMEI packet received {"connection_id":109660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":109660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:31:23] local.INFO: TCP Data received {"connection_id":109661,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:31:23] local.INFO: Processing buffer {"connection_id":109661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:31:23] local.INFO: IMEI packet received {"connection_id":109661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":109661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:31:27] local.INFO: TCP Data received {"connection_id":109661,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:31:27] local.INFO: Processing buffer {"connection_id":109661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:31:27] local.INFO: IMEI packet received {"connection_id":109661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":109661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:31:28] local.INFO: TCP Data received {"connection_id":109661,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0aa638012d193a80071ffb000037005727..."} 
[2026-06-21 17:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0aa638012d193a80071ffb000037005727..."} 
[2026-06-21 17:31:28] local.INFO: Processing buffer {"connection_id":109661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0aa638012d193a80071ffb000037005727..."} 
[2026-06-21 17:31:28] local.INFO: Packet analysis {"connection_id":109661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:31:28] local.INFO: Extracted packet for processing {"connection_id":109661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756628096,"raw_latitude":119536384,"longitude_deg":75.6628096,"latitude_deg":11.9536384,"altitude":55,"angle":87,"satellites":39,"speed":10,"hex_longitude":"2d193a80","hex_latitude":"071ffb00","is_valid_coordinates":true} 
[2026-06-21 17:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203011072001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705598998740992,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812980355594872832,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043027000,"timestamp_ms":1782043027000,"timestamp_seconds":1782043027,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0aa638"} 
[2026-06-21 17:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-21 17:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203011072001,"66":13243,"102":206,"83":41984,"24":10,"16":3705598998740992,"45":1812980355594872832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203011072001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705598998740992,"km_value":3705598998740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812980355594872832,"description":"Unknown IO ID 45"} 
[2026-06-21 17:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203011072001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1812980355594872832}} 
[2026-06-21 17:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":109661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:31:28] local.INFO: GPS data processed {"connection_id":109661,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:31:28] local.INFO: Acknowledgment sent {"connection_id":109661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:31:29] local.INFO: TCP Data received {"connection_id":108882,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:31:29] local.INFO: Processing buffer {"connection_id":108882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:31:29] local.INFO: IMEI packet received {"connection_id":108882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":108882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:31:34] local.INFO: TCP Data received {"connection_id":108882,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:31:34] local.INFO: Processing buffer {"connection_id":108882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:31:34] local.INFO: IMEI packet received {"connection_id":108882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":108882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:31:36] local.INFO: TCP Data received {"connection_id":108882,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:31:36] local.INFO: Processing buffer {"connection_id":108882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:31:36] local.INFO: Packet analysis {"connection_id":108882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:31:36] local.INFO: Extracted packet for processing {"connection_id":108882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31: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-06-21 17:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":108882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:31:36] local.INFO: GPS data processed {"connection_id":108882,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:31:36] local.INFO: Acknowledgment sent {"connection_id":108882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:31:59] local.INFO: TCP Data received {"connection_id":109661,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0af840012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0af840012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:31:59] local.INFO: Processing buffer {"connection_id":109661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0af840012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:31:59] local.INFO: Packet analysis {"connection_id":109661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:31:59] local.INFO: Extracted packet for processing {"connection_id":109661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0a"} 
[2026-06-21 17:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203014912001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817906167687086080,"note":"Value kept but may cause issues"} 
[2026-06-21 17:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043048000,"timestamp_ms":1782043048000,"timestamp_seconds":1782043048,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0af840"} 
[2026-06-21 17:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-21 17:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203014912001,"66":13243,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1817906167687086080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203014912001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:31:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817906167687086080,"description":"Unknown IO ID 45"} 
[2026-06-21 17:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203014912001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1817906167687086080}} 
[2026-06-21 17:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":109661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:31:59] local.INFO: GPS data processed {"connection_id":109661,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:31:59] local.INFO: Acknowledgment sent {"connection_id":109661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:32:07] local.INFO: TCP Data received {"connection_id":108882,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:32:07] local.INFO: Processing buffer {"connection_id":108882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:32:07] local.INFO: Packet analysis {"connection_id":108882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:32:07] local.INFO: Extracted packet for processing {"connection_id":108882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:07] 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-06-21 17:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:32:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":108882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:32:07] local.INFO: GPS data processed {"connection_id":108882,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:32:07] local.INFO: Acknowledgment sent {"connection_id":108882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:32:23] local.INFO: TCP Data received {"connection_id":109662,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:32:23] local.INFO: Processing buffer {"connection_id":109662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:32:23] local.INFO: IMEI packet received {"connection_id":109662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":109662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:32:27] local.INFO: TCP Data received {"connection_id":109662,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:32:27] local.INFO: Processing buffer {"connection_id":109662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:32:27] local.INFO: IMEI packet received {"connection_id":109662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":109662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:32:28] local.INFO: TCP Data received {"connection_id":109662,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0b4a48012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0b4a48012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:32:28] local.INFO: Processing buffer {"connection_id":109662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0b4a48012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:32:28] local.INFO: Packet analysis {"connection_id":109662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0b"} 
[2026-06-21 17:32:28] local.INFO: Extracted packet for processing {"connection_id":109662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0b"} 
[2026-06-21 17:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203020288001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043069000,"timestamp_ms":1782043069000,"timestamp_seconds":1782043069,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0b4a48"} 
[2026-06-21 17:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-21 17:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203020288001,"66":13156,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203020288001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203020288001,"power":13156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":109662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:32:28] local.INFO: GPS data processed {"connection_id":109662,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:32:28] local.INFO: Acknowledgment sent {"connection_id":109662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:32:29] local.INFO: TCP Data received {"connection_id":108883,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:32:29] local.INFO: Processing buffer {"connection_id":108883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:32:29] local.INFO: IMEI packet received {"connection_id":108883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":108883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:32:34] local.INFO: TCP Data received {"connection_id":108883,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:32:34] local.INFO: Processing buffer {"connection_id":108883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:32:34] local.INFO: IMEI packet received {"connection_id":108883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":108883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:32:36] local.INFO: TCP Data received {"connection_id":108883,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:32:36] local.INFO: Processing buffer {"connection_id":108883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:32:36] local.INFO: Packet analysis {"connection_id":108883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:32:36] local.INFO: Extracted packet for processing {"connection_id":108883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":108883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:32:36] local.INFO: GPS data processed {"connection_id":108883,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:32:36] local.INFO: Acknowledgment sent {"connection_id":108883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:32:59] local.INFO: TCP Data received {"connection_id":109662,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0b9c50012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0b9c50012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:32:59] local.INFO: Processing buffer {"connection_id":109662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0b9c50012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:32:59] local.INFO: Packet analysis {"connection_id":109662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0b"} 
[2026-06-21 17:32:59] local.INFO: Extracted packet for processing {"connection_id":109662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0b"} 
[2026-06-21 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203025664001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043090000,"timestamp_ms":1782043090000,"timestamp_seconds":1782043090,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0b9c50"} 
[2026-06-21 17:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-21 17:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203025664001,"66":13102,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203025664001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203025664001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":109662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:32:59] local.INFO: GPS data processed {"connection_id":109662,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:32:59] local.INFO: Acknowledgment sent {"connection_id":109662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:33:07] local.INFO: TCP Data received {"connection_id":108883,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:07] local.INFO: Processing buffer {"connection_id":108883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:07] local.INFO: Packet analysis {"connection_id":108883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:33:07] local.INFO: Extracted packet for processing {"connection_id":108883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:07] 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-06-21 17:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:33:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":108883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:33:07] local.INFO: GPS data processed {"connection_id":108883,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:33:07] local.INFO: Acknowledgment sent {"connection_id":108883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:33:22] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:33:22] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:33:22] local.INFO: IMEI packet received {"connection_id":110626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":110626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:33:27] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:33:27] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:33:27] local.INFO: IMEI packet received {"connection_id":110626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":110626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:33:28] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0f22a8012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0f22a8012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:33:28] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0f22a8012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:33:28] local.INFO: Packet analysis {"connection_id":110626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0f"} 
[2026-06-21 17:33:28] local.INFO: Extracted packet for processing {"connection_id":110626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0f"} 
[2026-06-21 17:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203084800001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043321000,"timestamp_ms":1782043321000,"timestamp_seconds":1782043321,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0f22a8"} 
[2026-06-21 17:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-21 17:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203084800001,"66":12841,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203084800001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203084800001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":110626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:33:28] local.INFO: GPS data processed {"connection_id":110626,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:33:28] local.INFO: Acknowledgment sent {"connection_id":110626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:33:34] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:33:34] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:33:34] local.INFO: IMEI packet received {"connection_id":109054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":109054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:33:40] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:33:40] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:33:40] local.INFO: IMEI packet received {"connection_id":109054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":109054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:33:42] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:42] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:42] local.INFO: Packet analysis {"connection_id":109054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:33:42] local.INFO: Extracted packet for processing {"connection_id":109054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33: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-06-21 17:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":109054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:33:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":109054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:33:42] local.INFO: GPS data processed {"connection_id":109054,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:33:42] local.INFO: Acknowledgment sent {"connection_id":109054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:33:45] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:45] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:33:45] local.INFO: Packet analysis {"connection_id":109054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:33:45] local.INFO: Extracted packet for processing {"connection_id":109054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:45] 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-06-21 17:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 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-06-21 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:33:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:33:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":109054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:33:45] local.INFO: GPS data processed {"connection_id":109054,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:33:45] local.INFO: Acknowledgment sent {"connection_id":109054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:33:59] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0f74b0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0f74b0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:33:59] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0f74b0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:33:59] local.INFO: Packet analysis {"connection_id":110626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0f"} 
[2026-06-21 17:33:59] local.INFO: Extracted packet for processing {"connection_id":110626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0f"} 
[2026-06-21 17:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203090176001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043342000,"timestamp_ms":1782043342000,"timestamp_seconds":1782043342,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0f74b0"} 
[2026-06-21 17:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-21 17:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203090176001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203090176001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203090176001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":110626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:33:59] local.INFO: GPS data processed {"connection_id":110626,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:33:59] local.INFO: Acknowledgment sent {"connection_id":110626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:34:22] local.INFO: TCP Data received {"connection_id":109055,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:22] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:22] local.INFO: IMEI packet received {"connection_id":109055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":109055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:34:23] local.INFO: TCP Data received {"connection_id":109055,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:23] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:23] local.INFO: IMEI packet received {"connection_id":109055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":109055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:34:27] local.INFO: TCP Data received {"connection_id":109055,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:27] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:34:27] local.INFO: IMEI packet received {"connection_id":109055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":109055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:34:28] local.INFO: TCP Data received {"connection_id":109055,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0fc2d0012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0fc2d0012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:34:28] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0fc2d0012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:34:28] local.INFO: Packet analysis {"connection_id":109055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0f"} 
[2026-06-21 17:34:28] local.INFO: Extracted packet for processing {"connection_id":109055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0f"} 
[2026-06-21 17:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203095552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043362000,"timestamp_ms":1782043362000,"timestamp_seconds":1782043362,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0fc2d0"} 
[2026-06-21 17:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203095552001,"66":12819,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203095552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203095552001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":109055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:34:28] local.INFO: GPS data processed {"connection_id":109055,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:34:28] local.INFO: Acknowledgment sent {"connection_id":109055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:34:29] local.INFO: TCP Data received {"connection_id":109663,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:34:29] local.INFO: Processing buffer {"connection_id":109663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:34:29] local.INFO: IMEI packet received {"connection_id":109663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":109663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:34:34] local.INFO: TCP Data received {"connection_id":109663,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:34:34] local.INFO: Processing buffer {"connection_id":109663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:34:34] local.INFO: IMEI packet received {"connection_id":109663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":109663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:34:35] local.INFO: TCP Data received {"connection_id":109663,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:34:35] local.INFO: Processing buffer {"connection_id":109663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:34:35] local.INFO: Packet analysis {"connection_id":109663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:34:35] local.INFO: Extracted packet for processing {"connection_id":109663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34: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-06-21 17:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:34:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:34:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":109663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:34:35] local.INFO: GPS data processed {"connection_id":109663,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:34:35] local.INFO: Acknowledgment sent {"connection_id":109663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:34:59] local.INFO: TCP Data received {"connection_id":109055,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1018c0012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1018c0012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:34:59] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1018c0012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:34:59] local.INFO: Packet analysis {"connection_id":109055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea10"} 
[2026-06-21 17:34:59] local.INFO: Extracted packet for processing {"connection_id":109055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea10"} 
[2026-06-21 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203100672001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043384000,"timestamp_ms":1782043384000,"timestamp_seconds":1782043384,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1018c0"} 
[2026-06-21 17:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3926776456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503656170782720,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":234,"raw_value":975170061865663744,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4214227002,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4900180281669255424,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":16325879948902400,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182135220338944,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051029262765,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304488411861372191,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84751717774073851,"note":"Value kept but may cause issues"} 
[2026-06-21 17:34:59] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,42,158,116,45,251,58,37,10,66,34,36,208,1,240,63,227,234,31,4,113,205,44,61,48,239,50,2,13,7,164,64,69,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-06-21 17:34:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179425271213981696,"timestamp_seconds":4179425271213981.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203100672001,"66":12798,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203100672001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203100672001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":109055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:34:59] local.INFO: GPS data processed {"connection_id":109055,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:34:59] local.INFO: Acknowledgment sent {"connection_id":109055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:35:07] local.INFO: TCP Data received {"connection_id":109663,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:35:07] local.INFO: Processing buffer {"connection_id":109663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea0d1f08012d34c54006aa3f80000a007224..."} 
[2026-06-21 17:35:07] local.INFO: Packet analysis {"connection_id":109663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:35:07] local.INFO: Extracted packet for processing {"connection_id":109663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea0d"} 
[2026-06-21 17:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456202979328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:07] 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-06-21 17:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043189000,"timestamp_ms":1782043189000,"timestamp_seconds":1782043189,"priority":1,"record_length":96,"hex_timestamp":"0000019eea0d1f08"} 
[2026-06-21 17:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456202979328001,"66":24343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456202979328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:35:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456202979328001,"power":24343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":109663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:35:07] local.INFO: GPS data processed {"connection_id":109663,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:35:07] local.INFO: Acknowledgment sent {"connection_id":109663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:35:27] local.INFO: TCP Data received {"connection_id":110628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:27] local.INFO: Processing buffer {"connection_id":110628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:27] local.INFO: IMEI packet received {"connection_id":110628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":110628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:35:27] local.INFO: TCP Data received {"connection_id":110628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:27] local.INFO: Processing buffer {"connection_id":110628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:27] local.INFO: IMEI packet received {"connection_id":110628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":110628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:35:28] local.INFO: TCP Data received {"connection_id":108886,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:28] local.INFO: Processing buffer {"connection_id":108886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:28] local.INFO: IMEI packet received {"connection_id":108886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":108886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:35:29] local.INFO: TCP Data received {"connection_id":108886,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:29] local.INFO: Processing buffer {"connection_id":108886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:29] local.INFO: IMEI packet received {"connection_id":108886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":108886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:35:33] local.INFO: TCP Data received {"connection_id":110628,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:33] local.INFO: Processing buffer {"connection_id":110628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:35:33] local.INFO: IMEI packet received {"connection_id":110628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":110628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:35:33] local.INFO: TCP Data received {"connection_id":110628,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1066e0012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1066e0012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:35:33] local.INFO: Processing buffer {"connection_id":110628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1066e0012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:35:33] local.INFO: Packet analysis {"connection_id":110628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea10"} 
[2026-06-21 17:35:33] local.INFO: Extracted packet for processing {"connection_id":110628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea10"} 
[2026-06-21 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203106304001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782043404000,"timestamp_ms":1782043404000,"timestamp_seconds":1782043404,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1066e0"} 
[2026-06-21 17:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 17:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203106304001,"66":12798,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203106304001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:35:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203106304001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":110628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:35:34] local.INFO: GPS data processed {"connection_id":110628,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:35:34] local.INFO: Acknowledgment sent {"connection_id":110628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:35:34] local.INFO: TCP Data received {"connection_id":108886,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:34] local.INFO: Processing buffer {"connection_id":108886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:35:34] local.INFO: IMEI packet received {"connection_id":108886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":108886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:35:36] local.INFO: TCP Data received {"connection_id":108886,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:35:36] local.INFO: Processing buffer {"connection_id":108886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:35:36] local.INFO: Packet analysis {"connection_id":108886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:35:36] local.INFO: Extracted packet for processing {"connection_id":108886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:35: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-06-21 17:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":108886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:35:36] local.INFO: GPS data processed {"connection_id":108886,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:35:36] local.INFO: Acknowledgment sent {"connection_id":108886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:36:05] local.INFO: TCP Data received {"connection_id":110628,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea10b8e8012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea10b8e8012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:36:05] local.INFO: Processing buffer {"connection_id":110628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea10b8e8012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:36:05] local.INFO: Packet analysis {"connection_id":110628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea10"} 
[2026-06-21 17:36:05] local.INFO: Extracted packet for processing {"connection_id":110628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea10"} 
[2026-06-21 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":34,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203111424001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782043425000,"timestamp_ms":1782043425000,"timestamp_seconds":1782043425,"priority":1,"record_length":96,"hex_timestamp":"0000019eea10b8e8"} 
[2026-06-21 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-06-21 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 17:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203111424001,"66":12776,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203111424001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:36:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203111424001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":110628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:36:05] local.INFO: GPS data processed {"connection_id":110628,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:36:05] local.INFO: Acknowledgment sent {"connection_id":110628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:36:07] local.INFO: TCP Data received {"connection_id":108886,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:07] local.INFO: Processing buffer {"connection_id":108886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:07] local.INFO: Packet analysis {"connection_id":108886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:07] local.INFO: Extracted packet for processing {"connection_id":108886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:07] 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-06-21 17:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":108886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:36:07] local.INFO: GPS data processed {"connection_id":108886,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:36:07] local.INFO: Acknowledgment sent {"connection_id":108886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:36:23] local.INFO: TCP Data received {"connection_id":108887,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:36:23] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:36:23] local.INFO: IMEI packet received {"connection_id":108887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":108887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:36:27] local.INFO: TCP Data received {"connection_id":108887,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:36:27] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:36:27] local.INFO: IMEI packet received {"connection_id":108887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":108887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:36:28] local.INFO: TCP Data received {"connection_id":108887,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea110af0012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea110af0012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:36:28] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea110af0012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:36:28] local.INFO: Packet analysis {"connection_id":108887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:28] local.INFO: Extracted packet for processing {"connection_id":108887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":34,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203116800001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043446000,"timestamp_ms":1782043446000,"timestamp_seconds":1782043446,"priority":1,"record_length":96,"hex_timestamp":"0000019eea110af0"} 
[2026-06-21 17:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-21 17:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203116800001,"66":12776,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203116800001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203116800001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":108887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:36:28] local.INFO: GPS data processed {"connection_id":108887,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:36:28] local.INFO: Acknowledgment sent {"connection_id":108887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:36:34] local.INFO: TCP Data received {"connection_id":109056,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:36:34] local.INFO: Processing buffer {"connection_id":109056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:36:34] local.INFO: IMEI packet received {"connection_id":109056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":109056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:36:37] local.INFO: TCP Data received {"connection_id":110629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:36:37] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:36:37] local.INFO: IMEI packet received {"connection_id":110629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":110629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:36:39] local.INFO: TCP Data received {"connection_id":109056,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:36:39] local.INFO: Processing buffer {"connection_id":109056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:36:39] local.INFO: IMEI packet received {"connection_id":109056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":109056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:36:42] local.INFO: TCP Data received {"connection_id":109056,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:42] local.INFO: Processing buffer {"connection_id":109056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:42] local.INFO: Packet analysis {"connection_id":109056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:42] local.INFO: Extracted packet for processing {"connection_id":109056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36: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-06-21 17:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":109056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":109056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":109056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":109056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:36:42] local.INFO: GPS data processed {"connection_id":109056,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:36:42] local.INFO: Acknowledgment sent {"connection_id":109056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:36:45] local.INFO: TCP Data received {"connection_id":109056,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:45] local.INFO: Processing buffer {"connection_id":109056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:36:45] local.INFO: Packet analysis {"connection_id":109056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:45] local.INFO: Extracted packet for processing {"connection_id":109056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:45] 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-06-21 17:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 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-06-21 17:36: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-06-21 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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:36:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":109056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:36:45] local.INFO: GPS data processed {"connection_id":109056,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:36:45] local.INFO: Acknowledgment sent {"connection_id":109056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:36:59] local.INFO: TCP Data received {"connection_id":108887,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea115cf8012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea115cf8012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:36:59] local.INFO: Processing buffer {"connection_id":108887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea115cf8012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:36:59] local.INFO: Packet analysis {"connection_id":108887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:59] local.INFO: Extracted packet for processing {"connection_id":108887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203122176001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043467000,"timestamp_ms":1782043467000,"timestamp_seconds":1782043467,"priority":1,"record_length":96,"hex_timestamp":"0000019eea115cf8"} 
[2026-06-21 17:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-21 17:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203122176001,"66":12743,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203122176001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203122176001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":108887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:36:59] local.INFO: GPS data processed {"connection_id":108887,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:36:59] local.INFO: Acknowledgment sent {"connection_id":108887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:37:12] local.INFO: TCP Data received {"connection_id":110630,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:37:12] local.INFO: Processing buffer {"connection_id":110630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:37:12] local.INFO: IMEI packet received {"connection_id":110630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":110630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:37:23] local.INFO: TCP Data received {"connection_id":109664,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:37:23] local.INFO: Processing buffer {"connection_id":109664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:37:23] local.INFO: IMEI packet received {"connection_id":109664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":109664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:37:27] local.INFO: TCP Data received {"connection_id":109664,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:37:27] local.INFO: Processing buffer {"connection_id":109664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:37:27] local.INFO: IMEI packet received {"connection_id":109664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":109664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:37:28] local.INFO: TCP Data received {"connection_id":109664,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11af00012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11af00012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:37:28] local.INFO: Processing buffer {"connection_id":109664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11af00012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:37:28] local.INFO: Packet analysis {"connection_id":109664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:37:28] local.INFO: Extracted packet for processing {"connection_id":109664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203127552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043488000,"timestamp_ms":1782043488000,"timestamp_seconds":1782043488,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11af00"} 
[2026-06-21 17:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-21 17:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203127552001,"66":12711,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203127552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203127552001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":109664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:37:28] local.INFO: GPS data processed {"connection_id":109664,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:37:28] local.INFO: Acknowledgment sent {"connection_id":109664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:37:29] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:37:29] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:37:29] local.INFO: IMEI packet received {"connection_id":109057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":109057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:37:34] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:37:34] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:37:34] local.INFO: IMEI packet received {"connection_id":109057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":109057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:37:36] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:37:36] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:37:36] local.INFO: Packet analysis {"connection_id":109057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:37:36] local.INFO: Extracted packet for processing {"connection_id":109057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37: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-06-21 17:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:37:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":109057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:37:36] local.INFO: GPS data processed {"connection_id":109057,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:37:36] local.INFO: Acknowledgment sent {"connection_id":109057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:37:59] local.INFO: TCP Data received {"connection_id":109664,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1204f0012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1204f0012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:37:59] local.INFO: Processing buffer {"connection_id":109664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1204f0012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:37:59] local.INFO: Packet analysis {"connection_id":109664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:37:59] local.INFO: Extracted packet for processing {"connection_id":109664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203132928001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043510000,"timestamp_ms":1782043510000,"timestamp_seconds":1782043510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1204f0"} 
[2026-06-21 17:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-21 17:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203132928001,"66":12689,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203132928001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203132928001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":109664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:37:59] local.INFO: GPS data processed {"connection_id":109664,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:37:59] local.INFO: Acknowledgment sent {"connection_id":109664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:38:07] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:38:07] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:38:07] local.INFO: Packet analysis {"connection_id":109057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:38:07] local.INFO: Extracted packet for processing {"connection_id":109057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:07] 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-06-21 17:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:38:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":109057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:38:07] local.INFO: GPS data processed {"connection_id":109057,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:38:07] local.INFO: Acknowledgment sent {"connection_id":109057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:38:23] local.INFO: TCP Data received {"connection_id":108889,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:38:23] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:38:23] local.INFO: IMEI packet received {"connection_id":108889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":108889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:38:27] local.INFO: TCP Data received {"connection_id":108889,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:38:27] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:38:27] local.INFO: IMEI packet received {"connection_id":108889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":108889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:38:28] local.INFO: TCP Data received {"connection_id":108889,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1256f8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1256f8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:38:28] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1256f8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:38:28] local.INFO: Packet analysis {"connection_id":108889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:38:28] local.INFO: Extracted packet for processing {"connection_id":108889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203138560001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043531000,"timestamp_ms":1782043531000,"timestamp_seconds":1782043531,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1256f8"} 
[2026-06-21 17:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-21 17:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203138560001,"66":12667,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203138560001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203138560001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":108889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:38:28] local.INFO: GPS data processed {"connection_id":108889,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:38:28] local.INFO: Acknowledgment sent {"connection_id":108889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:38:29] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:38:29] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:38:29] local.INFO: IMEI packet received {"connection_id":108890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":108890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:38:34] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:38:34] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:38:34] local.INFO: IMEI packet received {"connection_id":108890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":108890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:38:36] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:38:36] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:38:36] local.INFO: Packet analysis {"connection_id":108890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:38:36] local.INFO: Extracted packet for processing {"connection_id":108890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38: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-06-21 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:38:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":108890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:38:36] local.INFO: GPS data processed {"connection_id":108890,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:38:36] local.INFO: Acknowledgment sent {"connection_id":108890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:38:59] local.INFO: TCP Data received {"connection_id":108889,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea12a900012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea12a900012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:38:59] local.INFO: Processing buffer {"connection_id":108889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea12a900012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:38:59] local.INFO: Packet analysis {"connection_id":108889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:38:59] local.INFO: Extracted packet for processing {"connection_id":108889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203143936001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043552000,"timestamp_ms":1782043552000,"timestamp_seconds":1782043552,"priority":1,"record_length":96,"hex_timestamp":"0000019eea12a900"} 
[2026-06-21 17:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 17:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203143936001,"66":12613,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203143936001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203143936001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":108889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:38:59] local.INFO: GPS data processed {"connection_id":108889,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:38:59] local.INFO: Acknowledgment sent {"connection_id":108889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:39:07] local.INFO: TCP Data received {"connection_id":108890,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:39:07] local.INFO: Processing buffer {"connection_id":108890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:39:07] local.INFO: Packet analysis {"connection_id":108890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:39:07] local.INFO: Extracted packet for processing {"connection_id":108890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:07] 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-06-21 17:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:39:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":108890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:39:07] local.INFO: GPS data processed {"connection_id":108890,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:39:07] local.INFO: Acknowledgment sent {"connection_id":108890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:39:22] local.INFO: TCP Data received {"connection_id":110631,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:39:22] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:39:22] local.INFO: IMEI packet received {"connection_id":110631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":110631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:39:27] local.INFO: TCP Data received {"connection_id":110631,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:39:27] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:39:27] local.INFO: IMEI packet received {"connection_id":110631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":110631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:39:28] local.INFO: TCP Data received {"connection_id":110631,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea12fb08012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea12fb08012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:39:28] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea12fb08012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:39:28] local.INFO: Packet analysis {"connection_id":110631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:39:28] local.INFO: Extracted packet for processing {"connection_id":110631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea12"} 
[2026-06-21 17:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203149312001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043573000,"timestamp_ms":1782043573000,"timestamp_seconds":1782043573,"priority":1,"record_length":96,"hex_timestamp":"0000019eea12fb08"} 
[2026-06-21 17:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-21 17:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203149312001,"66":12667,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203149312001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203149312001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":110631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:39:28] local.INFO: GPS data processed {"connection_id":110631,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:39:28] local.INFO: Acknowledgment sent {"connection_id":110631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:39:29] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:39:29] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:39:29] local.INFO: IMEI packet received {"connection_id":110632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":110632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:39:34] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:39:34] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:39:34] local.INFO: IMEI packet received {"connection_id":110632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":110632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:39:35] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:39:35] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:39:35] local.INFO: Packet analysis {"connection_id":110632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:39:35] local.INFO: Extracted packet for processing {"connection_id":110632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39: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-06-21 17:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:39:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":110632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:39:35] local.INFO: GPS data processed {"connection_id":110632,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:39:35] local.INFO: Acknowledgment sent {"connection_id":110632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:39:59] local.INFO: TCP Data received {"connection_id":110631,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea134d10012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea134d10012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:39:59] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea134d10012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:39:59] local.INFO: Packet analysis {"connection_id":110631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea13"} 
[2026-06-21 17:39:59] local.INFO: Extracted packet for processing {"connection_id":110631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea13"} 
[2026-06-21 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203154688001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043594000,"timestamp_ms":1782043594000,"timestamp_seconds":1782043594,"priority":1,"record_length":96,"hex_timestamp":"0000019eea134d10"} 
[2026-06-21 17:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 17:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203154688001,"66":12667,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203154688001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203154688001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":110631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:39:59] local.INFO: GPS data processed {"connection_id":110631,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:39:59] local.INFO: Acknowledgment sent {"connection_id":110631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:40:07] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:40:07] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea11b6d0012d34c54006aa3f800008007224..."} 
[2026-06-21 17:40:07] local.INFO: Packet analysis {"connection_id":110632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:40:07] local.INFO: Extracted packet for processing {"connection_id":110632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea11"} 
[2026-06-21 17:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203056384001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:07] 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-06-21 17:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043490000,"timestamp_ms":1782043490000,"timestamp_seconds":1782043490,"priority":1,"record_length":96,"hex_timestamp":"0000019eea11b6d0"} 
[2026-06-21 17:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-06-21 17:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203056384001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203056384001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:40:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203056384001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":110632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:40:07] local.INFO: GPS data processed {"connection_id":110632,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:40:07] local.INFO: Acknowledgment sent {"connection_id":110632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:40:22] local.INFO: TCP Data received {"connection_id":109666,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:40:22] local.INFO: Processing buffer {"connection_id":109666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:40:22] local.INFO: IMEI packet received {"connection_id":109666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":109666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:40:27] local.INFO: TCP Data received {"connection_id":109666,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:40:27] local.INFO: Processing buffer {"connection_id":109666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:40:27] local.INFO: IMEI packet received {"connection_id":109666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":109666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:40:28] local.INFO: TCP Data received {"connection_id":109666,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea139f18012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea139f18012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:40:28] local.INFO: Processing buffer {"connection_id":109666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea139f18012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:40:28] local.INFO: Packet analysis {"connection_id":109666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea13"} 
[2026-06-21 17:40:28] local.INFO: Extracted packet for processing {"connection_id":109666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea13"} 
[2026-06-21 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203160064001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043615000,"timestamp_ms":1782043615000,"timestamp_seconds":1782043615,"priority":1,"record_length":96,"hex_timestamp":"0000019eea139f18"} 
[2026-06-21 17:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 17:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203160064001,"66":12667,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203160064001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203160064001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":109666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:40:28] local.INFO: GPS data processed {"connection_id":109666,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:40:28] local.INFO: Acknowledgment sent {"connection_id":109666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:40:34] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:40:34] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:40:34] local.INFO: IMEI packet received {"connection_id":108891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":108891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:40:39] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:40:39] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:40:39] local.INFO: IMEI packet received {"connection_id":108891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":108891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:40:44] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:40:44] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:40:44] local.INFO: Packet analysis {"connection_id":108891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:40:44] local.INFO: Extracted packet for processing {"connection_id":108891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:44] 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-06-21 17:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 17:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":108891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:40:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:40:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":108891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:40:44] local.INFO: GPS data processed {"connection_id":108891,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:40:44] local.INFO: Acknowledgment sent {"connection_id":108891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:40:45] local.INFO: TCP Data received {"connection_id":108891,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:40:45] local.INFO: Processing buffer {"connection_id":108891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:40:45] local.INFO: Packet analysis {"connection_id":108891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:40:45] local.INFO: Extracted packet for processing {"connection_id":108891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:45] 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-06-21 17:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 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-06-21 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:40:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":108891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:40:45] local.INFO: GPS data processed {"connection_id":108891,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:40:45] local.INFO: Acknowledgment sent {"connection_id":108891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:40:59] local.INFO: TCP Data received {"connection_id":109666,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea13f120012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea13f120012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:40:59] local.INFO: Processing buffer {"connection_id":109666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea13f120012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:40:59] local.INFO: Packet analysis {"connection_id":109666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea13"} 
[2026-06-21 17:40:59] local.INFO: Extracted packet for processing {"connection_id":109666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea13"} 
[2026-06-21 17:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203165440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043636000,"timestamp_ms":1782043636000,"timestamp_seconds":1782043636,"priority":1,"record_length":96,"hex_timestamp":"0000019eea13f120"} 
[2026-06-21 17:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-21 17:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203165440001,"66":12645,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203165440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203165440001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":109666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:40:59] local.INFO: GPS data processed {"connection_id":109666,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:40:59] local.INFO: Acknowledgment sent {"connection_id":109666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:41:23] local.INFO: TCP Data received {"connection_id":109059,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:23] local.INFO: Processing buffer {"connection_id":109059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:23] local.INFO: IMEI packet received {"connection_id":109059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":109059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:41:27] local.INFO: TCP Data received {"connection_id":109059,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:27] local.INFO: Processing buffer {"connection_id":109059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:27] local.INFO: IMEI packet received {"connection_id":109059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":109059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:41:29] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:41:29] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:41:29] local.INFO: IMEI packet received {"connection_id":110633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":110633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:41:33] local.INFO: TCP Data received {"connection_id":109059,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:33] local.INFO: Processing buffer {"connection_id":109059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:41:33] local.INFO: IMEI packet received {"connection_id":109059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":109059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:41:33] local.INFO: TCP Data received {"connection_id":109059,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea143f40012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea143f40012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:41:33] local.INFO: Processing buffer {"connection_id":109059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea143f40012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:41:33] local.INFO: Packet analysis {"connection_id":109059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea14"} 
[2026-06-21 17:41:33] local.INFO: Extracted packet for processing {"connection_id":109059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea14"} 
[2026-06-21 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203170816001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782043656000,"timestamp_ms":1782043656000,"timestamp_seconds":1782043656,"priority":1,"record_length":96,"hex_timestamp":"0000019eea143f40"} 
[2026-06-21 17:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-21 17:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203170816001,"66":12613,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203170816001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203170816001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":109059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:41:33] local.INFO: GPS data processed {"connection_id":109059,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:41:33] local.INFO: Acknowledgment sent {"connection_id":109059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:41:34] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:41:34] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:41:34] local.INFO: IMEI packet received {"connection_id":110633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":110633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:41:36] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:41:36] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:41:36] local.INFO: Packet analysis {"connection_id":110633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:41:36] local.INFO: Extracted packet for processing {"connection_id":110633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 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-06-21 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":110633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:41:36] local.INFO: GPS data processed {"connection_id":110633,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:41:36] local.INFO: Acknowledgment sent {"connection_id":110633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:41:38] local.INFO: TCP Data received {"connection_id":109059,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea149148012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea149148012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:41:38] local.INFO: Processing buffer {"connection_id":109059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea149148012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:41:38] local.INFO: Packet analysis {"connection_id":109059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea14"} 
[2026-06-21 17:41:38] local.INFO: Extracted packet for processing {"connection_id":109059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea14"} 
[2026-06-21 17:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203175936001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782043677000,"timestamp_ms":1782043677000,"timestamp_seconds":1782043677,"priority":1,"record_length":96,"hex_timestamp":"0000019eea149148"} 
[2026-06-21 17:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-21 17:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203175936001,"66":12613,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203175936001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:41:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203175936001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":109059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:41:38] local.INFO: GPS data processed {"connection_id":109059,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:41:38] local.INFO: Acknowledgment sent {"connection_id":109059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:42:07] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:42:07] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:42:07] local.INFO: Packet analysis {"connection_id":110633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:42:07] local.INFO: Extracted packet for processing {"connection_id":110633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:07] 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-06-21 17:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 17:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:42:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":110633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:42:07] local.INFO: GPS data processed {"connection_id":110633,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:42:07] local.INFO: Acknowledgment sent {"connection_id":110633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:42:23] local.INFO: TCP Data received {"connection_id":110635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:42:23] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:42:23] local.INFO: IMEI packet received {"connection_id":110635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":110635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:42:27] local.INFO: TCP Data received {"connection_id":110635,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:42:27] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:42:27] local.INFO: IMEI packet received {"connection_id":110635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":110635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:42:27] local.INFO: TCP Data received {"connection_id":110635,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea14e350012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea14e350012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:42:27] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea14e350012d193d00071ffb30003a004d24..."} 
[2026-06-21 17:42:27] local.INFO: Packet analysis {"connection_id":110635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea14"} 
[2026-06-21 17:42:27] local.INFO: Extracted packet for processing {"connection_id":110635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea14"} 
[2026-06-21 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":36,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203181312001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782043698000,"timestamp_ms":1782043698000,"timestamp_seconds":1782043698,"priority":1,"record_length":96,"hex_timestamp":"0000019eea14e350"} 
[2026-06-21 17:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-21 17:42: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-06-21 17:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":110635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":110635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":110635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203181312001,"66":12591,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203181312001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:42:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203181312001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":110635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:42:27] local.INFO: GPS data processed {"connection_id":110635,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:42:27] local.INFO: Acknowledgment sent {"connection_id":110635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:42:29] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:42:29] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:42:29] local.INFO: IMEI packet received {"connection_id":108893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":108893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:42:32] local.INFO: TCP Data received {"connection_id":110634,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:42:32] local.INFO: Processing buffer {"connection_id":110634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:42:32] local.INFO: IMEI packet received {"connection_id":110634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":110634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:42:34] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:42:34] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:42:34] local.INFO: IMEI packet received {"connection_id":108893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":108893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:42:35] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:42:35] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:42:35] local.INFO: Packet analysis {"connection_id":108893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:42:35] local.INFO: Extracted packet for processing {"connection_id":108893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42: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-06-21 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 17:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:42:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":108893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:42:35] local.INFO: GPS data processed {"connection_id":108893,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:42:35] local.INFO: Acknowledgment sent {"connection_id":108893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:42:59] local.INFO: TCP Data received {"connection_id":110635,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea153558012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea153558012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:42:59] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea153558012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:42:59] local.INFO: Packet analysis {"connection_id":110635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea15"} 
[2026-06-21 17:42:59] local.INFO: Extracted packet for processing {"connection_id":110635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea15"} 
[2026-06-21 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203186688001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043719000,"timestamp_ms":1782043719000,"timestamp_seconds":1782043719,"priority":1,"record_length":96,"hex_timestamp":"0000019eea153558"} 
[2026-06-21 17:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-21 17:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203186688001,"66":12591,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203186688001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203186688001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":110635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:42:59] local.INFO: GPS data processed {"connection_id":110635,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:42:59] local.INFO: Acknowledgment sent {"connection_id":110635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:43:07] local.INFO: TCP Data received {"connection_id":108893,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:43:07] local.INFO: Processing buffer {"connection_id":108893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:43:07] local.INFO: Packet analysis {"connection_id":108893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:43:07] local.INFO: Extracted packet for processing {"connection_id":108893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:07] 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-06-21 17:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 17:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":108893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:43:07] local.INFO: GPS data processed {"connection_id":108893,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:43:07] local.INFO: Acknowledgment sent {"connection_id":108893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:43:17] local.INFO: TCP Data received {"connection_id":109667,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:43:17] local.INFO: Processing buffer {"connection_id":109667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:43:17] local.INFO: IMEI packet received {"connection_id":109667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":109667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:43:23] local.INFO: TCP Data received {"connection_id":109060,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:43:23] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:43:23] local.INFO: IMEI packet received {"connection_id":109060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":109060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:43:27] local.INFO: TCP Data received {"connection_id":109060,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:43:27] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:43:27] local.INFO: IMEI packet received {"connection_id":109060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":109060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:43:28] local.INFO: TCP Data received {"connection_id":109060,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea158760012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea158760012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:43:28] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea158760012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:43:28] local.INFO: Packet analysis {"connection_id":109060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea15"} 
[2026-06-21 17:43:28] local.INFO: Extracted packet for processing {"connection_id":109060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea15"} 
[2026-06-21 17:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203192064001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043740000,"timestamp_ms":1782043740000,"timestamp_seconds":1782043740,"priority":1,"record_length":96,"hex_timestamp":"0000019eea158760"} 
[2026-06-21 17:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-21 17:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203192064001,"66":12591,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203192064001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203192064001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":109060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:43:28] local.INFO: GPS data processed {"connection_id":109060,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:43:28] local.INFO: Acknowledgment sent {"connection_id":109060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:43:29] local.INFO: TCP Data received {"connection_id":109668,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:43:29] local.INFO: Processing buffer {"connection_id":109668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:43:29] local.INFO: IMEI packet received {"connection_id":109668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":109668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:43:34] local.INFO: TCP Data received {"connection_id":109668,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:43:34] local.INFO: Processing buffer {"connection_id":109668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:43:34] local.INFO: IMEI packet received {"connection_id":109668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":109668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:43:35] local.INFO: TCP Data received {"connection_id":109668,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:43:35] local.INFO: Processing buffer {"connection_id":109668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:43:35] local.INFO: Packet analysis {"connection_id":109668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:43:35] local.INFO: Extracted packet for processing {"connection_id":109668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43: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-06-21 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 17:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:43:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":109668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:43:35] local.INFO: GPS data processed {"connection_id":109668,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:43:35] local.INFO: Acknowledgment sent {"connection_id":109668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:43:59] local.INFO: TCP Data received {"connection_id":109060,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea15d968012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea15d968012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:43:59] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea15d968012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:43:59] local.INFO: Packet analysis {"connection_id":109060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea15"} 
[2026-06-21 17:43:59] local.INFO: Extracted packet for processing {"connection_id":109060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea15"} 
[2026-06-21 17:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203197440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782043761000,"timestamp_ms":1782043761000,"timestamp_seconds":1782043761,"priority":1,"record_length":96,"hex_timestamp":"0000019eea15d968"} 
[2026-06-21 17:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:43: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-06-21 17:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-21 17:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203197440001,"66":12558,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203197440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:43:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203197440001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":109060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:43:59] local.INFO: GPS data processed {"connection_id":109060,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:43:59] local.INFO: Acknowledgment sent {"connection_id":109060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:44:08] local.INFO: TCP Data received {"connection_id":109668,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:44:08] local.INFO: Processing buffer {"connection_id":109668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:44:08] local.INFO: Packet analysis {"connection_id":109668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:44:08] local.INFO: Extracted packet for processing {"connection_id":109668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:08] 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-06-21 17:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 17:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":109668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:44:08] local.INFO: GPS data processed {"connection_id":109668,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:44:08] local.INFO: Acknowledgment sent {"connection_id":109668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:44:23] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:44:23] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:44:23] local.INFO: IMEI packet received {"connection_id":110636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":110636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:44:27] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:44:27] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:44:27] local.INFO: IMEI packet received {"connection_id":110636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":110636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:44:28] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea162b70012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea162b70012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:44:28] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea162b70012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:44:28] local.INFO: Packet analysis {"connection_id":110636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:44:28] local.INFO: Extracted packet for processing {"connection_id":110636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203202816001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782043782000,"timestamp_ms":1782043782000,"timestamp_seconds":1782043782,"priority":1,"record_length":96,"hex_timestamp":"0000019eea162b70"} 
[2026-06-21 17:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3927175456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249695676453354288,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4214227002,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,42,158,135,45,251,58,38,10,66,53,37,227,1,240,47,234,31,4,113,205,63,61,48,36,239,49,2,13,7,120,69,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-21 17:44:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179425275508948992,"timestamp_seconds":4179425275508949.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203202816001,"66":12580,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203202816001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203202816001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":110636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:44:28] local.INFO: GPS data processed {"connection_id":110636,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:44:28] local.INFO: Acknowledgment sent {"connection_id":110636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:44:29] local.INFO: TCP Data received {"connection_id":108894,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:44:29] local.INFO: Processing buffer {"connection_id":108894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:44:29] local.INFO: IMEI packet received {"connection_id":108894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":108894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:44:34] local.INFO: TCP Data received {"connection_id":108894,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:44:34] local.INFO: Processing buffer {"connection_id":108894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:44:34] local.INFO: IMEI packet received {"connection_id":108894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":108894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:44:36] local.INFO: TCP Data received {"connection_id":108894,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:44:36] local.INFO: Processing buffer {"connection_id":108894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:44:36] local.INFO: Packet analysis {"connection_id":108894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:44:36] local.INFO: Extracted packet for processing {"connection_id":108894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44: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-06-21 17:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 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-06-21 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:44:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":108894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:44:36] local.INFO: GPS data processed {"connection_id":108894,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:44:36] local.INFO: Acknowledgment sent {"connection_id":108894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:44:59] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea19b1c8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea19b1c8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:44:59] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea19b1c8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:44:59] local.INFO: Packet analysis {"connection_id":110636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea19"} 
[2026-06-21 17:44:59] local.INFO: Extracted packet for processing {"connection_id":110636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea19"} 
[2026-06-21 17:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203261952001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044013000,"timestamp_ms":1782044013000,"timestamp_seconds":1782044013,"priority":1,"record_length":96,"hex_timestamp":"0000019eea19b1c8"} 
[2026-06-21 17:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:44: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-06-21 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203261952001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203261952001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:44:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203261952001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":110636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:44:59] local.INFO: GPS data processed {"connection_id":110636,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:44:59] local.INFO: Acknowledgment sent {"connection_id":110636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:45:07] local.INFO: TCP Data received {"connection_id":108894,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:45:07] local.INFO: Processing buffer {"connection_id":108894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea164e98012d34c54006aa3f80000e007225..."} 
[2026-06-21 17:45:07] local.INFO: Packet analysis {"connection_id":108894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:45:07] local.INFO: Extracted packet for processing {"connection_id":108894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea16"} 
[2026-06-21 17:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203133440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:07] 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-06-21 17:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782043791000,"timestamp_ms":1782043791000,"timestamp_seconds":1782043791,"priority":1,"record_length":96,"hex_timestamp":"0000019eea164e98"} 
[2026-06-21 17:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203133440001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203133440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203133440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":108894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:45:07] local.INFO: GPS data processed {"connection_id":108894,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:45:07] local.INFO: Acknowledgment sent {"connection_id":108894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:45:23] local.INFO: TCP Data received {"connection_id":109670,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:45:23] local.INFO: Processing buffer {"connection_id":109670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:45:23] local.INFO: IMEI packet received {"connection_id":109670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":109670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:45:27] local.INFO: TCP Data received {"connection_id":109670,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:45:27] local.INFO: Processing buffer {"connection_id":109670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:45:27] local.INFO: IMEI packet received {"connection_id":109670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":109670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:45:28] local.INFO: TCP Data received {"connection_id":109670,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1a03d0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1a03d0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:45:28] local.INFO: Processing buffer {"connection_id":109670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1a03d0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:45:28] local.INFO: Packet analysis {"connection_id":109670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:28] local.INFO: Extracted packet for processing {"connection_id":109670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203267328001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044034000,"timestamp_ms":1782044034000,"timestamp_seconds":1782044034,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1a03d0"} 
[2026-06-21 17:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203267328001,"66":12526,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203267328001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203267328001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":109670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:45:28] local.INFO: GPS data processed {"connection_id":109670,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:45:28] local.INFO: Acknowledgment sent {"connection_id":109670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:45:30] local.INFO: TCP Data received {"connection_id":108895,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:30] local.INFO: Processing buffer {"connection_id":108895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:30] local.INFO: IMEI packet received {"connection_id":108895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":108895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:45:34] local.INFO: TCP Data received {"connection_id":108895,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:34] local.INFO: Processing buffer {"connection_id":108895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:34] local.INFO: IMEI packet received {"connection_id":108895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":108895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:45:39] local.INFO: TCP Data received {"connection_id":108895,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:39] local.INFO: Processing buffer {"connection_id":108895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:45:39] local.INFO: IMEI packet received {"connection_id":108895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":108895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:45:41] local.INFO: TCP Data received {"connection_id":108895,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:45:41] local.INFO: Processing buffer {"connection_id":108895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:45:41] local.INFO: Packet analysis {"connection_id":108895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:41] local.INFO: Extracted packet for processing {"connection_id":108895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:41] 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-06-21 17:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":108895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:45:41] local.INFO: GPS data processed {"connection_id":108895,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:45:41] local.INFO: Acknowledgment sent {"connection_id":108895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:45:46] local.INFO: TCP Data received {"connection_id":108895,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:45:46] local.INFO: Processing buffer {"connection_id":108895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:45:46] local.INFO: Packet analysis {"connection_id":108895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:46] local.INFO: Extracted packet for processing {"connection_id":108895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:46] 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-06-21 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":108895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:45:46] local.INFO: GPS data processed {"connection_id":108895,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:45:46] local.INFO: Acknowledgment sent {"connection_id":108895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:45:59] local.INFO: TCP Data received {"connection_id":109670,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1a55d8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1a55d8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:45:59] local.INFO: Processing buffer {"connection_id":109670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1a55d8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:45:59] local.INFO: Packet analysis {"connection_id":109670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:59] local.INFO: Extracted packet for processing {"connection_id":109670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203272704001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044055000,"timestamp_ms":1782044055000,"timestamp_seconds":1782044055,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1a55d8"} 
[2026-06-21 17:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:45: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-06-21 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 17:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203272704001,"66":12526,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203272704001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203272704001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":109670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:45:59] local.INFO: GPS data processed {"connection_id":109670,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:45:59] local.INFO: Acknowledgment sent {"connection_id":109670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:46:22] local.INFO: TCP Data received {"connection_id":108897,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:46:22] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:46:22] local.INFO: IMEI packet received {"connection_id":108897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":108897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:46:27] local.INFO: TCP Data received {"connection_id":108897,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:46:27] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:46:27] local.INFO: IMEI packet received {"connection_id":108897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":108897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:46:28] local.INFO: TCP Data received {"connection_id":108897,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1aa7e0012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1aa7e0012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:46:28] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1aa7e0012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:46:28] local.INFO: Packet analysis {"connection_id":108897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:46:28] local.INFO: Extracted packet for processing {"connection_id":108897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203278080001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044076000,"timestamp_ms":1782044076000,"timestamp_seconds":1782044076,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1aa7e0"} 
[2026-06-21 17:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-21 17:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203278080001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203278080001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203278080001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":108897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:46:28] local.INFO: GPS data processed {"connection_id":108897,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:46:28] local.INFO: Acknowledgment sent {"connection_id":108897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:46:29] local.INFO: TCP Data received {"connection_id":109671,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:46:29] local.INFO: Processing buffer {"connection_id":109671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:46:29] local.INFO: IMEI packet received {"connection_id":109671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":109671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:46:34] local.INFO: TCP Data received {"connection_id":109671,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:46:34] local.INFO: Processing buffer {"connection_id":109671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:46:34] local.INFO: IMEI packet received {"connection_id":109671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":109671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:46:36] local.INFO: TCP Data received {"connection_id":109671,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:46:36] local.INFO: Processing buffer {"connection_id":109671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:46:36] local.INFO: Packet analysis {"connection_id":109671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:46:36] local.INFO: Extracted packet for processing {"connection_id":109671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 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-06-21 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":109671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:46:36] local.INFO: GPS data processed {"connection_id":109671,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:46:36] local.INFO: Acknowledgment sent {"connection_id":109671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:46:59] local.INFO: TCP Data received {"connection_id":108897,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1af9e8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1af9e8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:46:59] local.INFO: Processing buffer {"connection_id":108897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1af9e8012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:46:59] local.INFO: Packet analysis {"connection_id":108897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:46:59] local.INFO: Extracted packet for processing {"connection_id":108897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203283456001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044097000,"timestamp_ms":1782044097000,"timestamp_seconds":1782044097,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1af9e8"} 
[2026-06-21 17:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:46: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-06-21 17:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203283456001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203283456001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203283456001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":108897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:46:59] local.INFO: GPS data processed {"connection_id":108897,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:46:59] local.INFO: Acknowledgment sent {"connection_id":108897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:47:08] local.INFO: TCP Data received {"connection_id":109671,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:08] local.INFO: Processing buffer {"connection_id":109671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:08] local.INFO: Packet analysis {"connection_id":109671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:47:08] local.INFO: Extracted packet for processing {"connection_id":109671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:08] 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-06-21 17:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":109671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:47:08] local.INFO: GPS data processed {"connection_id":109671,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:47:08] local.INFO: Acknowledgment sent {"connection_id":109671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:47:22] local.INFO: TCP Data received {"connection_id":109063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:47:22] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:47:22] local.INFO: IMEI packet received {"connection_id":109063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":109063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:47:27] local.INFO: TCP Data received {"connection_id":109063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:47:27] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:47:27] local.INFO: IMEI packet received {"connection_id":109063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":109063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:47:28] local.INFO: TCP Data received {"connection_id":109063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1b4fd8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1b4fd8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:47:28] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1b4fd8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:47:28] local.INFO: Packet analysis {"connection_id":109063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1b"} 
[2026-06-21 17:47:28] local.INFO: Extracted packet for processing {"connection_id":109063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1b"} 
[2026-06-21 17:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203288832001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044119000,"timestamp_ms":1782044119000,"timestamp_seconds":1782044119,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1b4fd8"} 
[2026-06-21 17:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203288832001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203288832001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203288832001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":109063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:47:28] local.INFO: GPS data processed {"connection_id":109063,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:47:28] local.INFO: Acknowledgment sent {"connection_id":109063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:47:34] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:47:34] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:47:34] local.INFO: IMEI packet received {"connection_id":108898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":108898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:47:39] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:47:39] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:47:39] local.INFO: IMEI packet received {"connection_id":108898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":108898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:47:41] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:41] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:41] local.INFO: Packet analysis {"connection_id":108898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:47:41] local.INFO: Extracted packet for processing {"connection_id":108898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:41] 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-06-21 17:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:47:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":108898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:47:41] local.INFO: GPS data processed {"connection_id":108898,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:47:41] local.INFO: Acknowledgment sent {"connection_id":108898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:47:45] local.INFO: TCP Data received {"connection_id":108898,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:45] local.INFO: Processing buffer {"connection_id":108898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:47:45] local.INFO: Packet analysis {"connection_id":108898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:47:45] local.INFO: Extracted packet for processing {"connection_id":108898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:45] 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-06-21 17:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:47: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-06-21 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:47:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":108898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:47:45] local.INFO: GPS data processed {"connection_id":108898,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:47:45] local.INFO: Acknowledgment sent {"connection_id":108898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:47:59] local.INFO: TCP Data received {"connection_id":109063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ba1e0012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ba1e0012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:47:59] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ba1e0012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:47:59] local.INFO: Packet analysis {"connection_id":109063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1b"} 
[2026-06-21 17:47:59] local.INFO: Extracted packet for processing {"connection_id":109063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1b"} 
[2026-06-21 17:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":34,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044140000,"timestamp_ms":1782044140000,"timestamp_seconds":1782044140,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ba1e0"} 
[2026-06-21 17:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:47: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-06-21 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203294464001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203294464001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":109063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:47:59] local.INFO: GPS data processed {"connection_id":109063,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:47:59] local.INFO: Acknowledgment sent {"connection_id":109063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:48:23] local.INFO: TCP Data received {"connection_id":108900,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:23] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:23] local.INFO: IMEI packet received {"connection_id":108900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":108900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:48:27] local.INFO: TCP Data received {"connection_id":108900,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:27] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:27] local.INFO: IMEI packet received {"connection_id":108900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":108900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:48:30] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:48:30] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:48:30] local.INFO: IMEI packet received {"connection_id":108901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":108901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:48:33] local.INFO: TCP Data received {"connection_id":108900,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:33] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:48:33] local.INFO: IMEI packet received {"connection_id":108900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":108900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:48:33] local.INFO: TCP Data received {"connection_id":108900,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1bf3e8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1bf3e8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:48:33] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1bf3e8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:48:33] local.INFO: Packet analysis {"connection_id":108900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1b"} 
[2026-06-21 17:48:33] local.INFO: Extracted packet for processing {"connection_id":108900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1b"} 
[2026-06-21 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203299840001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782044161000,"timestamp_ms":1782044161000,"timestamp_seconds":1782044161,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1bf3e8"} 
[2026-06-21 17:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203299840001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203299840001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:48:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203299840001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":108900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:48:33] local.INFO: GPS data processed {"connection_id":108900,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:48:33] local.INFO: Acknowledgment sent {"connection_id":108900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:48:34] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:48:34] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:48:34] local.INFO: IMEI packet received {"connection_id":108901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":108901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:48:37] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:48:37] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:48:37] local.INFO: Packet analysis {"connection_id":108901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:48:37] local.INFO: Extracted packet for processing {"connection_id":108901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:37] 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-06-21 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 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-06-21 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:48:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":108901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:48:37] local.INFO: GPS data processed {"connection_id":108901,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:48:37] local.INFO: Acknowledgment sent {"connection_id":108901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:48:38] local.INFO: TCP Data received {"connection_id":108900,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1c45f0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1c45f0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:48:38] local.INFO: Processing buffer {"connection_id":108900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1c45f0012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:48:38] local.INFO: Packet analysis {"connection_id":108900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1c"} 
[2026-06-21 17:48:38] local.INFO: Extracted packet for processing {"connection_id":108900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1c"} 
[2026-06-21 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203305216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782044182000,"timestamp_ms":1782044182000,"timestamp_seconds":1782044182,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1c45f0"} 
[2026-06-21 17:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":108900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":108900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":108900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203305216001,"66":12461,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203305216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:48:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203305216001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":108900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:48:38] local.INFO: GPS data processed {"connection_id":108900,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:48:38] local.INFO: Acknowledgment sent {"connection_id":108900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:48:42] local.INFO: TCP Data received {"connection_id":108899,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:48:42] local.INFO: Processing buffer {"connection_id":108899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:48:42] local.INFO: IMEI packet received {"connection_id":108899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":108899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:49:09] local.INFO: TCP Data received {"connection_id":108901,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:49:09] local.INFO: Processing buffer {"connection_id":108901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:49:09] local.INFO: Packet analysis {"connection_id":108901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:49:09] local.INFO: Extracted packet for processing {"connection_id":108901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49: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-06-21 17:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":108901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:49:09] local.INFO: GPS data processed {"connection_id":108901,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:49:09] local.INFO: Acknowledgment sent {"connection_id":108901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:49:12] local.INFO: TCP Data received {"connection_id":110637,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:49:12] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:49:12] local.INFO: IMEI packet received {"connection_id":110637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":110637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:49:23] local.INFO: TCP Data received {"connection_id":109672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:49:23] local.INFO: Processing buffer {"connection_id":109672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:49:23] local.INFO: IMEI packet received {"connection_id":109672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":109672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:49:27] local.INFO: TCP Data received {"connection_id":109672,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:49:27] local.INFO: Processing buffer {"connection_id":109672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:49:27] local.INFO: IMEI packet received {"connection_id":109672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":109672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:49:27] local.INFO: TCP Data received {"connection_id":109672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1c97f8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1c97f8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:49:27] local.INFO: Processing buffer {"connection_id":109672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1c97f8012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:49:27] local.INFO: Packet analysis {"connection_id":109672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1c"} 
[2026-06-21 17:49:27] local.INFO: Extracted packet for processing {"connection_id":109672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1c"} 
[2026-06-21 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203310592001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782044203000,"timestamp_ms":1782044203000,"timestamp_seconds":1782044203,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1c97f8"} 
[2026-06-21 17:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 17:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":109672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":109672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":109672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203310592001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203310592001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203310592001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":109672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:49:27] local.INFO: GPS data processed {"connection_id":109672,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:49:27] local.INFO: Acknowledgment sent {"connection_id":109672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:49:29] local.INFO: TCP Data received {"connection_id":109673,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:49:29] local.INFO: Processing buffer {"connection_id":109673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:49:29] local.INFO: IMEI packet received {"connection_id":109673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":109673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:49:34] local.INFO: TCP Data received {"connection_id":109673,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:49:34] local.INFO: Processing buffer {"connection_id":109673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:49:34] local.INFO: IMEI packet received {"connection_id":109673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":109673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:49:37] local.INFO: TCP Data received {"connection_id":109673,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:49:37] local.INFO: Processing buffer {"connection_id":109673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:49:37] local.INFO: Packet analysis {"connection_id":109673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:49:37] local.INFO: Extracted packet for processing {"connection_id":109673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:37] 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-06-21 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:49:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":109673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:49:37] local.INFO: GPS data processed {"connection_id":109673,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:49:37] local.INFO: Acknowledgment sent {"connection_id":109673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:49:58] local.INFO: TCP Data received {"connection_id":109672,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ce618012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ce618012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:49:58] local.INFO: Processing buffer {"connection_id":109672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ce618012d193d00071ffb30003a004d25..."} 
[2026-06-21 17:49:58] local.INFO: Packet analysis {"connection_id":109672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1c"} 
[2026-06-21 17:49:58] local.INFO: Extracted packet for processing {"connection_id":109672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1c"} 
[2026-06-21 17:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":37,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203315968001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782044223000,"timestamp_ms":1782044223000,"timestamp_seconds":1782044223,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ce618"} 
[2026-06-21 17:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":109672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":109672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":109672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203315968001,"66":12504,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203315968001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:49:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203315968001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":109672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:49:59] local.INFO: GPS data processed {"connection_id":109672,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:49:59] local.INFO: Acknowledgment sent {"connection_id":109672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:50:08] local.INFO: TCP Data received {"connection_id":109673,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:50:08] local.INFO: Processing buffer {"connection_id":109673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ae660012d34c54006aa3f80000f007225..."} 
[2026-06-21 17:50:08] local.INFO: Packet analysis {"connection_id":109673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:50:08] local.INFO: Extracted packet for processing {"connection_id":109673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1a"} 
[2026-06-21 17:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203210496001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:08] 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-06-21 17:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782044092000,"timestamp_ms":1782044092000,"timestamp_seconds":1782044092,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ae660"} 
[2026-06-21 17:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 17:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203210496001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203210496001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:50:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203210496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":109673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:50:08] local.INFO: GPS data processed {"connection_id":109673,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:50:08] local.INFO: Acknowledgment sent {"connection_id":109673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:50:23] local.INFO: TCP Data received {"connection_id":108902,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:50:23] local.INFO: Processing buffer {"connection_id":108902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:50:23] local.INFO: IMEI packet received {"connection_id":108902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":108902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:50:27] local.INFO: TCP Data received {"connection_id":108902,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:50:27] local.INFO: Processing buffer {"connection_id":108902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:50:27] local.INFO: IMEI packet received {"connection_id":108902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":108902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:50:28] local.INFO: TCP Data received {"connection_id":108902,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1d3820012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1d3820012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:50:28] local.INFO: Processing buffer {"connection_id":108902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1d3820012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:50:28] local.INFO: Packet analysis {"connection_id":108902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1d"} 
[2026-06-21 17:50:28] local.INFO: Extracted packet for processing {"connection_id":108902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1d"} 
[2026-06-21 17:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203321088001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044244000,"timestamp_ms":1782044244000,"timestamp_seconds":1782044244,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1d3820"} 
[2026-06-21 17:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-21 17:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203321088001,"66":12461,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203321088001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203321088001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":108902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:50:28] local.INFO: GPS data processed {"connection_id":108902,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:50:28] local.INFO: Acknowledgment sent {"connection_id":108902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:50:29] local.INFO: TCP Data received {"connection_id":109674,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:29] local.INFO: Processing buffer {"connection_id":109674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:29] local.INFO: IMEI packet received {"connection_id":109674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":109674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:50:31] local.INFO: TCP Data received {"connection_id":109674,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:31] local.INFO: Processing buffer {"connection_id":109674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:31] local.INFO: IMEI packet received {"connection_id":109674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":109674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:50:35] local.INFO: TCP Data received {"connection_id":109674,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:35] local.INFO: Processing buffer {"connection_id":109674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:50:35] local.INFO: IMEI packet received {"connection_id":109674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":109674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:50:37] local.INFO: TCP Data received {"connection_id":109674,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:50:37] local.INFO: Processing buffer {"connection_id":109674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:50:37] local.INFO: Packet analysis {"connection_id":109674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:50:37] local.INFO: Extracted packet for processing {"connection_id":109674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:37] 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-06-21 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:50:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":109674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:50:37] local.INFO: GPS data processed {"connection_id":109674,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:50:37] local.INFO: Acknowledgment sent {"connection_id":109674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:50:59] local.INFO: TCP Data received {"connection_id":108902,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1d8a28012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1d8a28012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:50:59] local.INFO: Processing buffer {"connection_id":108902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1d8a28012d193d00071ffb30003a004d22..."} 
[2026-06-21 17:50:59] local.INFO: Packet analysis {"connection_id":108902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1d"} 
[2026-06-21 17:50:59] local.INFO: Extracted packet for processing {"connection_id":108902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1d"} 
[2026-06-21 17:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":34,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203326464001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044265000,"timestamp_ms":1782044265000,"timestamp_seconds":1782044265,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1d8a28"} 
[2026-06-21 17:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:50: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-06-21 17:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 17:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203326464001,"66":12461,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203326464001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203326464001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":108902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:50:59] local.INFO: GPS data processed {"connection_id":108902,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:50:59] local.INFO: Acknowledgment sent {"connection_id":108902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:51:08] local.INFO: TCP Data received {"connection_id":109674,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:51:08] local.INFO: Processing buffer {"connection_id":109674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:51:08] local.INFO: Packet analysis {"connection_id":109674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:51:08] local.INFO: Extracted packet for processing {"connection_id":109674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:08] 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-06-21 17:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":109674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:51:08] local.INFO: GPS data processed {"connection_id":109674,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:51:08] local.INFO: Acknowledgment sent {"connection_id":109674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:51:23] local.INFO: TCP Data received {"connection_id":109064,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:51:23] local.INFO: Processing buffer {"connection_id":109064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:51:23] local.INFO: IMEI packet received {"connection_id":109064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":109064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:51:27] local.INFO: TCP Data received {"connection_id":109064,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:51:27] local.INFO: Processing buffer {"connection_id":109064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:51:27] local.INFO: IMEI packet received {"connection_id":109064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":109064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:51:28] local.INFO: TCP Data received {"connection_id":109064,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1ddc30012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1ddc30012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:51:28] local.INFO: Processing buffer {"connection_id":109064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1ddc30012d193d00071ffb30003a004d26..."} 
[2026-06-21 17:51:28] local.INFO: Packet analysis {"connection_id":109064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1d"} 
[2026-06-21 17:51:28] local.INFO: Extracted packet for processing {"connection_id":109064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1d"} 
[2026-06-21 17:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":38,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203331840001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044286000,"timestamp_ms":1782044286000,"timestamp_seconds":1782044286,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1ddc30"} 
[2026-06-21 17:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 17:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203331840001,"66":12461,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203331840001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203331840001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":109064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:51:28] local.INFO: GPS data processed {"connection_id":109064,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:51:28] local.INFO: Acknowledgment sent {"connection_id":109064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:51:29] local.INFO: TCP Data received {"connection_id":109065,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:51:29] local.INFO: Processing buffer {"connection_id":109065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:51:29] local.INFO: IMEI packet received {"connection_id":109065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":109065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:51:34] local.INFO: TCP Data received {"connection_id":109065,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:51:34] local.INFO: Processing buffer {"connection_id":109065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:51:34] local.INFO: IMEI packet received {"connection_id":109065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":109065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:51:35] local.INFO: TCP Data received {"connection_id":109065,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:51:35] local.INFO: Processing buffer {"connection_id":109065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:51:35] local.INFO: Packet analysis {"connection_id":109065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:51:35] local.INFO: Extracted packet for processing {"connection_id":109065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:51:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:51:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":109065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:51:35] local.INFO: GPS data processed {"connection_id":109065,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:51:35] local.INFO: Acknowledgment sent {"connection_id":109065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:51:59] local.INFO: TCP Data received {"connection_id":109064,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1e2e38012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1e2e38012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:51:59] local.INFO: Processing buffer {"connection_id":109064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1e2e38012d193d00071ffb30003a004d23..."} 
[2026-06-21 17:51:59] local.INFO: Packet analysis {"connection_id":109064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1e"} 
[2026-06-21 17:51:59] local.INFO: Extracted packet for processing {"connection_id":109064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1e"} 
[2026-06-21 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536432,"longitude_deg":75.6628736,"latitude_deg":11.9536432,"altitude":58,"angle":77,"satellites":35,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-06-21 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203337216001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705629063512064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128875008,"note":"Value kept but may cause issues"} 
[2026-06-21 17:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044307000,"timestamp_ms":1782044307000,"timestamp_seconds":1782044307,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1e2e38"} 
[2026-06-21 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:51: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-06-21 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-21 17:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203337216001,"66":12461,"102":206,"83":41984,"24":0,"16":3705629063512064,"45":1818609855128875008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203337216001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705629063512064,"km_value":3705629063512.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128875008,"description":"Unknown IO ID 45"} 
[2026-06-21 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203337216001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855128875008}} 
[2026-06-21 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":109064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:51:59] local.INFO: GPS data processed {"connection_id":109064,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:51:59] local.INFO: Acknowledgment sent {"connection_id":109064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:52:07] local.INFO: TCP Data received {"connection_id":109065,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:52:07] local.INFO: Processing buffer {"connection_id":109065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:52:07] local.INFO: Packet analysis {"connection_id":109065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:52:07] local.INFO: Extracted packet for processing {"connection_id":109065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:07] 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-06-21 17:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:52:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":109065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:52:07] local.INFO: GPS data processed {"connection_id":109065,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:52:07] local.INFO: Acknowledgment sent {"connection_id":109065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:52:22] local.INFO: TCP Data received {"connection_id":109067,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:52:22] local.INFO: Processing buffer {"connection_id":109067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:52:22] local.INFO: IMEI packet received {"connection_id":109067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":109067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:52:28] local.INFO: TCP Data received {"connection_id":109067,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:52:28] local.INFO: Processing buffer {"connection_id":109067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:52:28] local.INFO: IMEI packet received {"connection_id":109067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":109067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:52:28] local.INFO: TCP Data received {"connection_id":109067,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea20fcf8012d194d40071ffb60003c007b27..."} 
[2026-06-21 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea20fcf8012d194d40071ffb60003c007b27..."} 
[2026-06-21 17:52:28] local.INFO: Processing buffer {"connection_id":109067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea20fcf8012d194d40071ffb60003c007b27..."} 
[2026-06-21 17:52:28] local.INFO: Packet analysis {"connection_id":109067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea20"} 
[2026-06-21 17:52:28] local.INFO: Extracted packet for processing {"connection_id":109067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea20"} 
[2026-06-21 17:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756632896,"raw_latitude":119536480,"longitude_deg":75.6632896,"latitude_deg":11.953648,"altitude":60,"angle":123,"satellites":39,"speed":10,"hex_longitude":"2d194d40","hex_latitude":"071ffb60","is_valid_coordinates":true} 
[2026-06-21 17:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203389440001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705843811876864,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822972717267941376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044491000,"timestamp_ms":1782044491000,"timestamp_seconds":1782044491,"priority":1,"record_length":96,"hex_timestamp":"0000019eea20fcf8"} 
[2026-06-21 17:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-21 17:52:28] 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-06-21 17:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203389440001,"66":12798,"102":206,"83":41984,"24":10,"16":3705843811876864,"45":1822972717267941376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203389440001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705843811876864,"km_value":3705843811876.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822972717267941376,"description":"Unknown IO ID 45"} 
[2026-06-21 17:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203389440001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1822972717267941376}} 
[2026-06-21 17:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":109067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:52:28] local.INFO: GPS data processed {"connection_id":109067,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:52:28] local.INFO: Acknowledgment sent {"connection_id":109067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:52:29] local.INFO: TCP Data received {"connection_id":108904,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:52:29] local.INFO: Processing buffer {"connection_id":108904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:52:29] local.INFO: IMEI packet received {"connection_id":108904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":108904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:52:34] local.INFO: TCP Data received {"connection_id":108904,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:52:34] local.INFO: Processing buffer {"connection_id":108904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:52:34] local.INFO: IMEI packet received {"connection_id":108904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":108904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:52:36] local.INFO: TCP Data received {"connection_id":108904,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:52:36] local.INFO: Processing buffer {"connection_id":108904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:52:36] local.INFO: Packet analysis {"connection_id":108904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:52:36] local.INFO: Extracted packet for processing {"connection_id":108904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 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-06-21 17:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:52:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":108904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:52:36] local.INFO: GPS data processed {"connection_id":108904,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:52:36] local.INFO: Acknowledgment sent {"connection_id":108904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:53:00] local.INFO: TCP Data received {"connection_id":109067,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2100e0012d194e00071ffaa8003c009227..."} 
[2026-06-21 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2100e0012d194e00071ffaa8003c009227..."} 
[2026-06-21 17:53:00] local.INFO: Processing buffer {"connection_id":109067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2100e0012d194e00071ffaa8003c009227..."} 
[2026-06-21 17:53:00] local.INFO: Packet analysis {"connection_id":109067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:53:00] local.INFO: Extracted packet for processing {"connection_id":109067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119536296,"longitude_deg":75.6633088,"latitude_deg":11.9536296,"altitude":60,"angle":146,"satellites":39,"speed":8,"hex_longitude":"2d194e00","hex_latitude":"071ffaa8","is_valid_coordinates":true} 
[2026-06-21 17:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203389696001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705856696778752,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823500435456,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782044492000,"timestamp_ms":1782044492000,"timestamp_seconds":1782044492,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2100e0"} 
[2026-06-21 17:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 17:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203389696001,"66":12798,"102":206,"83":41984,"24":8,"16":3705856696778752,"45":1823183823500435456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203389696001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:53:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705856696778752,"km_value":3705856696778.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823500435456,"description":"Unknown IO ID 45"} 
[2026-06-21 17:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203389696001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1823183823500435456}} 
[2026-06-21 17:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":109067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:53:00] local.INFO: GPS data processed {"connection_id":109067,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:53:00] local.INFO: Acknowledgment sent {"connection_id":109067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:53:09] local.INFO: TCP Data received {"connection_id":108904,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:53:09] local.INFO: Processing buffer {"connection_id":108904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:53:09] local.INFO: Packet analysis {"connection_id":108904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:53:09] local.INFO: Extracted packet for processing {"connection_id":108904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53: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-06-21 17:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:53:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":108904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:53:09] local.INFO: GPS data processed {"connection_id":108904,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:53:09] local.INFO: Acknowledgment sent {"connection_id":108904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:53:22] local.INFO: TCP Data received {"connection_id":109068,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:53:22] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:53:22] local.INFO: IMEI packet received {"connection_id":109068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":109068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:53:28] local.INFO: TCP Data received {"connection_id":109068,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:53:28] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:53:28] local.INFO: IMEI packet received {"connection_id":109068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":109068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:53:28] local.INFO: TCP Data received {"connection_id":109068,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2104c8012d194e40071ff9c0003c00a127..."} 
[2026-06-21 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2104c8012d194e40071ff9c0003c00a127..."} 
[2026-06-21 17:53:28] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2104c8012d194e40071ff9c0003c00a127..."} 
[2026-06-21 17:53:28] local.INFO: Packet analysis {"connection_id":109068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:53:28] local.INFO: Extracted packet for processing {"connection_id":109068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119536064,"longitude_deg":75.6633152,"latitude_deg":11.9536064,"altitude":60,"angle":161,"satellites":39,"speed":11,"hex_longitude":"2d194e40","hex_latitude":"071ff9c0","is_valid_coordinates":true} 
[2026-06-21 17:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203389952001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705865286713344,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929732921344,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044493000,"timestamp_ms":1782044493000,"timestamp_seconds":1782044493,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2104c8"} 
[2026-06-21 17:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-21 17:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203389952001,"66":12863,"102":206,"83":41984,"24":11,"16":3705865286713344,"45":1823394929732921344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203389952001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705865286713344,"km_value":3705865286713.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929732921344,"description":"Unknown IO ID 45"} 
[2026-06-21 17:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203389952001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1823394929732921344}} 
[2026-06-21 17:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":109068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:53:28] local.INFO: GPS data processed {"connection_id":109068,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:53:28] local.INFO: Acknowledgment sent {"connection_id":109068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:53:29] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:53:29] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:53:29] local.INFO: IMEI packet received {"connection_id":109069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":109069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:53:34] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:53:34] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:53:34] local.INFO: IMEI packet received {"connection_id":109069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":109069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:53:37] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:53:37] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:53:37] local.INFO: Packet analysis {"connection_id":109069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:53:37] local.INFO: Extracted packet for processing {"connection_id":109069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:37] 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-06-21 17:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:53:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":109069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:53:37] local.INFO: GPS data processed {"connection_id":109069,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:53:37] local.INFO: Acknowledgment sent {"connection_id":109069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:53:59] local.INFO: TCP Data received {"connection_id":109068,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea210c98012d194f80071ff758003c009427..."} 
[2026-06-21 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea210c98012d194f80071ff758003c009427..."} 
[2026-06-21 17:53:59] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea210c98012d194f80071ff758003c009427..."} 
[2026-06-21 17:53:59] local.INFO: Packet analysis {"connection_id":109068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:53:59] local.INFO: Extracted packet for processing {"connection_id":109068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756633472,"raw_latitude":119535448,"longitude_deg":75.6633472,"latitude_deg":11.9535448,"altitude":60,"angle":148,"satellites":39,"speed":14,"hex_longitude":"2d194f80","hex_latitude":"071ff758","is_valid_coordinates":true} 
[2026-06-21 17:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203390208001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705899646451712,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298477039616,"note":"Value kept but may cause issues"} 
[2026-06-21 17:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044495000,"timestamp_ms":1782044495000,"timestamp_seconds":1782044495,"priority":1,"record_length":96,"hex_timestamp":"0000019eea210c98"} 
[2026-06-21 17:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-21 17:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203390208001,"66":12885,"102":206,"83":41984,"24":14,"16":3705899646451712,"45":1823465298477039616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203390208001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:53:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705899646451712,"km_value":3705899646451.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298477039616,"description":"Unknown IO ID 45"} 
[2026-06-21 17:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203390208001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823465298477039616}} 
[2026-06-21 17:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":109068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:54:00] local.INFO: GPS data processed {"connection_id":109068,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:54:00] local.INFO: Acknowledgment sent {"connection_id":109068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:54:09] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:54:09] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:54:09] local.INFO: Packet analysis {"connection_id":109069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:54:09] local.INFO: Extracted packet for processing {"connection_id":109069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54: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-06-21 17:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:54:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":109069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:54:09] local.INFO: GPS data processed {"connection_id":109069,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:54:09] local.INFO: Acknowledgment sent {"connection_id":109069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:54:28] local.INFO: TCP Data received {"connection_id":110639,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:54:28] local.INFO: Processing buffer {"connection_id":110639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:54:28] local.INFO: IMEI packet received {"connection_id":110639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":110639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:54:29] local.INFO: TCP Data received {"connection_id":109071,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:54:29] local.INFO: Processing buffer {"connection_id":109071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:54:29] local.INFO: IMEI packet received {"connection_id":109071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":109071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:54:33] local.INFO: TCP Data received {"connection_id":110639,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:54:33] local.INFO: Processing buffer {"connection_id":110639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:54:33] local.INFO: IMEI packet received {"connection_id":110639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":110639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:54:33] local.INFO: TCP Data received {"connection_id":110639,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea211080012d195040071ff640003c008826..."} 
[2026-06-21 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea211080012d195040071ff640003c008826..."} 
[2026-06-21 17:54:33] local.INFO: Processing buffer {"connection_id":110639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea211080012d195040071ff640003c008826..."} 
[2026-06-21 17:54:33] local.INFO: Packet analysis {"connection_id":110639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:54:33] local.INFO: Extracted packet for processing {"connection_id":110639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119535168,"longitude_deg":75.6633664,"latitude_deg":11.9535168,"altitude":60,"angle":136,"satellites":38,"speed":14,"hex_longitude":"2d195040","hex_latitude":"071ff640","is_valid_coordinates":true} 
[2026-06-21 17:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203390720001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705916826320896,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142197770240,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782044496000,"timestamp_ms":1782044496000,"timestamp_seconds":1782044496,"priority":1,"record_length":96,"hex_timestamp":"0000019eea211080"} 
[2026-06-21 17:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-21 17:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203390720001,"66":12885,"102":206,"83":41984,"24":14,"16":3705916826320896,"45":1823817142197770240},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203390720001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705916826320896,"km_value":3705916826320.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142197770240,"description":"Unknown IO ID 45"} 
[2026-06-21 17:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203390720001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823817142197770240}} 
[2026-06-21 17:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":110639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:54:33] local.INFO: GPS data processed {"connection_id":110639,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:54:33] local.INFO: Acknowledgment sent {"connection_id":110639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:54:34] local.INFO: TCP Data received {"connection_id":109071,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:54:34] local.INFO: Processing buffer {"connection_id":109071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:54:34] local.INFO: IMEI packet received {"connection_id":109071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":109071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:54:36] local.INFO: TCP Data received {"connection_id":109071,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:54:36] local.INFO: Processing buffer {"connection_id":109071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:54:36] local.INFO: Packet analysis {"connection_id":109071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:54:36] local.INFO: Extracted packet for processing {"connection_id":109071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":109071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:54:36] local.INFO: GPS data processed {"connection_id":109071,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:54:36] local.INFO: Acknowledgment sent {"connection_id":109071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:54:37] local.INFO: TCP Data received {"connection_id":109070,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:54:37] local.INFO: Processing buffer {"connection_id":109070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:54:37] local.INFO: IMEI packet received {"connection_id":109070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":109070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:54:37] local.INFO: TCP Data received {"connection_id":110639,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea211850012d195280071ff4a8003b007327..."} 
[2026-06-21 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea211850012d195280071ff4a8003b007327..."} 
[2026-06-21 17:54:37] local.INFO: Processing buffer {"connection_id":110639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea211850012d195280071ff4a8003b007327..."} 
[2026-06-21 17:54:37] local.INFO: Packet analysis {"connection_id":110639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:54:37] local.INFO: Extracted packet for processing {"connection_id":110639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119534760,"longitude_deg":75.663424,"latitude_deg":11.953476,"altitude":59,"angle":115,"satellites":39,"speed":14,"hex_longitude":"2d195280","hex_latitude":"071ff4a8","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203390976001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705951186059264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248430231552,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782044498000,"timestamp_ms":1782044498000,"timestamp_seconds":1782044498,"priority":1,"record_length":96,"hex_timestamp":"0000019eea211850"} 
[2026-06-21 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-21 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203390976001,"66":12722,"102":206,"83":41984,"24":14,"16":3705951186059264,"45":1824028248430231552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203390976001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705951186059264,"km_value":3705951186059.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248430231552,"description":"Unknown IO ID 45"} 
[2026-06-21 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203390976001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1824028248430231552}} 
[2026-06-21 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":110639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:54:38] local.INFO: GPS data processed {"connection_id":110639,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:54:38] local.INFO: Acknowledgment sent {"connection_id":110639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:54:43] local.INFO: TCP Data received {"connection_id":110639,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:54:43] local.INFO: Processing buffer {"connection_id":110639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:54:43] local.INFO: Packet analysis {"connection_id":110639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:54:43] local.INFO: Extracted packet for processing {"connection_id":110639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119534232,"longitude_deg":75.6635456,"latitude_deg":11.9534232,"altitude":58,"angle":107,"satellites":38,"speed":17,"hex_longitude":"2d195740","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-06-21 17:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203391488001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567127726080,"note":"Value kept but may cause issues"} 
[2026-06-21 17:54: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-06-21 17:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782044501000,"timestamp_ms":1782044501000,"timestamp_seconds":1782044501,"priority":1,"record_length":96,"hex_timestamp":"0000019eea212408"} 
[2026-06-21 17:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 17:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-21 17:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":110639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":110639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":110639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203391488001,"66":4894,"102":206,"83":41984,"24":17,"16":3705989840764928,"45":1824661567127726080},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203391488001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:54:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:54:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567127726080,"description":"Unknown IO ID 45"} 
[2026-06-21 17:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203391488001,"power":4894,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1824661567127726080}} 
[2026-06-21 17:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":110639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:54:43] local.INFO: GPS data processed {"connection_id":110639,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:54:43] local.INFO: Acknowledgment sent {"connection_id":110639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:55:08] local.INFO: TCP Data received {"connection_id":109071,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:55:08] local.INFO: Processing buffer {"connection_id":109071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea1f7e28012d34c54006aa3f80000e007222..."} 
[2026-06-21 17:55:08] local.INFO: Packet analysis {"connection_id":109071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:55:08] local.INFO: Extracted packet for processing {"connection_id":109071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea1f"} 
[2026-06-21 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203287552001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:08] 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-06-21 17:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782044393000,"timestamp_ms":1782044393000,"timestamp_seconds":1782044393,"priority":1,"record_length":96,"hex_timestamp":"0000019eea1f7e28"} 
[2026-06-21 17:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 17:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203287552001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203287552001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203287552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":109071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:55:08] local.INFO: GPS data processed {"connection_id":109071,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:55:08] local.INFO: Acknowledgment sent {"connection_id":109071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:55:12] local.INFO: TCP Data received {"connection_id":109072,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:55:12] local.INFO: Processing buffer {"connection_id":109072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 17:55:12] local.INFO: IMEI packet received {"connection_id":109072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 17:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":109072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:55:23] local.INFO: TCP Data received {"connection_id":109073,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:55:23] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:55:23] local.INFO: IMEI packet received {"connection_id":109073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":109073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:55:28] local.INFO: TCP Data received {"connection_id":109073,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:55:28] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:55:28] local.INFO: IMEI packet received {"connection_id":109073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":109073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:55:28] local.INFO: TCP Data received {"connection_id":109073,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:55:28] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:55:28] local.INFO: Packet analysis {"connection_id":109073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:55:28] local.INFO: Extracted packet for processing {"connection_id":109073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119534232,"longitude_deg":75.6635456,"latitude_deg":11.9534232,"altitude":58,"angle":107,"satellites":38,"speed":17,"hex_longitude":"2d195740","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-06-21 17:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044501000,"timestamp_ms":1782044501000,"timestamp_seconds":1782044501,"priority":1,"record_length":96,"hex_timestamp":"0000019eea212408"} 
[2026-06-21 17:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729394351571792128,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":16384,"corrected_to":0} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-385057510432561408,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845887728,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":63051687992885255,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408436738,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3058507096937988096,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":76,"raw_value":-9221366544959783936,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2810258262107097600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.WARNING: Large IO value detected {"io_id":28,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,42,158,45,128,244,59,39,10,66,64,246,60,38,12,1,240,85,227,234,31,4,63,33,8,120,71,206,13,76,109,28],"length":569,"final_offset":699,"validated_count":38,"validation_warnings":[{"io_id":246,"original":16384,"validated":0}]} 
[2026-06-21 17:55:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863919,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":4894,"102":206,"83":41984,"24":17,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":4894,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":109073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:55:28] local.INFO: GPS data processed {"connection_id":109073,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:55:28] local.INFO: Acknowledgment sent {"connection_id":109073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:55:32] local.INFO: TCP Data received {"connection_id":109073,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:55:32] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:55:32] local.INFO: Packet analysis {"connection_id":109073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:55:32] local.INFO: Extracted packet for processing {"connection_id":109073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119534232,"longitude_deg":75.6635456,"latitude_deg":11.9534232,"altitude":58,"angle":107,"satellites":38,"speed":17,"hex_longitude":"2d195740","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-06-21 17:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782044501000,"timestamp_ms":1782044501000,"timestamp_seconds":1782044501,"priority":1,"record_length":96,"hex_timestamp":"0000019eea212408"} 
[2026-06-21 17:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729393252060164352,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-450359705028450560,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":344526664703557639,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":11,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408305666,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059351521868120064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4613691507772242944,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2810257162595469824,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,244,59,39,1,240,85,227,234,31,4,33,11,120,71,206,13,77,123,254],"length":569,"final_offset":699,"validated_count":37,"validation_warnings":[]} 
[2026-06-21 17:55:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863711,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":4894,"102":206,"83":41984,"24":17,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:55:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":4894,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":109073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:55:33] local.INFO: GPS data processed {"connection_id":109073,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:55:33] local.INFO: Acknowledgment sent {"connection_id":109073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:55:33] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:33] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:33] local.INFO: IMEI packet received {"connection_id":110640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":110640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:55:34] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:34] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:34] local.INFO: IMEI packet received {"connection_id":110640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":110640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:55:39] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:39] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:55:39] local.INFO: IMEI packet received {"connection_id":110640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":110640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:55:41] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:55:41] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:55:41] local.INFO: Packet analysis {"connection_id":110640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:55:41] local.INFO: Extracted packet for processing {"connection_id":110640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:41] 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-06-21 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:55:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:55:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":110640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:55:41] local.INFO: GPS data processed {"connection_id":110640,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:55:41] local.INFO: Acknowledgment sent {"connection_id":110640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:55:45] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:55:45] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:55:45] local.INFO: Packet analysis {"connection_id":110640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:55:45] local.INFO: Extracted packet for processing {"connection_id":110640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:55:45] 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-06-21 17:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 17:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:55:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":110640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:55:45] local.INFO: GPS data processed {"connection_id":110640,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:55:45] local.INFO: Acknowledgment sent {"connection_id":110640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:56:04] local.INFO: TCP Data received {"connection_id":109073,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:04] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:04] local.INFO: Packet analysis {"connection_id":109073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:56:04] local.INFO: Extracted packet for processing {"connection_id":109073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119534232,"longitude_deg":75.6635456,"latitude_deg":11.9534232,"altitude":58,"angle":107,"satellites":38,"speed":17,"hex_longitude":"2d195740","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-06-21 17:56: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-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782044501000,"timestamp_ms":1782044501000,"timestamp_seconds":1782044501,"priority":1,"record_length":96,"hex_timestamp":"0000019eea212408"} 
[2026-06-21 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-06-21 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729393252060164352,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-450359705028450560,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":344526664703557639,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":11,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408305666,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059351521868120064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4613691507772242944,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2810257162595469824,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,244,59,39,1,240,85,227,234,31,4,33,11,120,71,206,13,77,123,254],"length":569,"final_offset":699,"validated_count":37,"validation_warnings":[]} 
[2026-06-21 17:56:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863711,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 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-06-21 17:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":4894,"102":206,"83":41984,"24":17,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:56:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":4894,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":109073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:56:04] local.INFO: GPS data processed {"connection_id":109073,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:56:04] local.INFO: Acknowledgment sent {"connection_id":109073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:56:23] local.INFO: TCP Data received {"connection_id":109074,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:56:23] local.INFO: Processing buffer {"connection_id":109074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:56:23] local.INFO: IMEI packet received {"connection_id":109074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":109074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:56:28] local.INFO: TCP Data received {"connection_id":109074,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:56:28] local.INFO: Processing buffer {"connection_id":109074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:56:28] local.INFO: IMEI packet received {"connection_id":109074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":109074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:56:28] local.INFO: TCP Data received {"connection_id":109074,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:28] local.INFO: Processing buffer {"connection_id":109074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:28] local.INFO: Packet analysis {"connection_id":109074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:56:28] local.INFO: Extracted packet for processing {"connection_id":109074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119534232,"longitude_deg":75.6635456,"latitude_deg":11.9534232,"altitude":58,"angle":107,"satellites":38,"speed":17,"hex_longitude":"2d195740","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-06-21 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044501000,"timestamp_ms":1782044501000,"timestamp_seconds":1782044501,"priority":1,"record_length":96,"hex_timestamp":"0000019eea212408"} 
[2026-06-21 17:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729393252060164352,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-450359705028450560,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":344526664703557639,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":11,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408305666,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059351521868120064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4613691507772242944,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2810257162595469824,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,244,59,39,1,240,85,227,234,31,4,33,11,120,71,206,13,77,123,254],"length":569,"final_offset":699,"validated_count":37,"validation_warnings":[]} 
[2026-06-21 17:56:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863711,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":4894,"102":206,"83":41984,"24":17,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:56:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":4894,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":109074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:56:28] local.INFO: GPS data processed {"connection_id":109074,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:56:28] local.INFO: Acknowledgment sent {"connection_id":109074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:56:29] local.INFO: TCP Data received {"connection_id":109676,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:56:29] local.INFO: Processing buffer {"connection_id":109676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:56:29] local.INFO: IMEI packet received {"connection_id":109676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":109676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:56:34] local.INFO: TCP Data received {"connection_id":109676,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:56:34] local.INFO: Processing buffer {"connection_id":109676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:56:34] local.INFO: IMEI packet received {"connection_id":109676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":109676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:56:36] local.INFO: TCP Data received {"connection_id":109676,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:56:36] local.INFO: Processing buffer {"connection_id":109676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:56:36] local.INFO: Packet analysis {"connection_id":109676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:56:36] local.INFO: Extracted packet for processing {"connection_id":109676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56: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-06-21 17:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 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-06-21 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:56:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":109676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:56:36] local.INFO: GPS data processed {"connection_id":109676,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:56:36] local.INFO: Acknowledgment sent {"connection_id":109676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:56:59] local.INFO: TCP Data received {"connection_id":109074,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:59] local.INFO: Processing buffer {"connection_id":109074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea212408012d195740071ff298003a006b26..."} 
[2026-06-21 17:56:59] local.INFO: Packet analysis {"connection_id":109074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:56:59] local.INFO: Extracted packet for processing {"connection_id":109074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea21"} 
[2026-06-21 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119534232,"longitude_deg":75.6635456,"latitude_deg":11.9534232,"altitude":58,"angle":107,"satellites":38,"speed":17,"hex_longitude":"2d195740","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-06-21 17:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044501000,"timestamp_ms":1782044501000,"timestamp_seconds":1782044501,"priority":1,"record_length":96,"hex_timestamp":"0000019eea212408"} 
[2026-06-21 17:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729393252060164352,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-450359705028450560,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":344526664703557639,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":11,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408305666,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059351521868120064,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4613691507772242944,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2810257162595469824,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:56:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,244,59,39,1,240,85,227,234,31,4,33,11,120,71,206,13,77,123,254],"length":569,"final_offset":699,"validated_count":37,"validation_warnings":[]} 
[2026-06-21 17:56:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863711,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":4894,"102":206,"83":41984,"24":17,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":4894,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":109074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:56:59] local.INFO: GPS data processed {"connection_id":109074,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:56:59] local.INFO: Acknowledgment sent {"connection_id":109074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:57:08] local.INFO: TCP Data received {"connection_id":109676,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:57:08] local.INFO: Processing buffer {"connection_id":109676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:57:08] local.INFO: Packet analysis {"connection_id":109676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:57:08] local.INFO: Extracted packet for processing {"connection_id":109676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:08] 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-06-21 17:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 17:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17: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-06-21 17:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":109676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:57:08] local.INFO: GPS data processed {"connection_id":109676,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:57:08] local.INFO: Acknowledgment sent {"connection_id":109676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:57:22] local.INFO: TCP Data received {"connection_id":110641,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:22] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:22] local.INFO: IMEI packet received {"connection_id":110641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":110641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:57:23] local.INFO: TCP Data received {"connection_id":110641,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:23] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:23] local.INFO: IMEI packet received {"connection_id":110641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":110641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:57:28] local.INFO: TCP Data received {"connection_id":110641,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:28] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:57:28] local.INFO: IMEI packet received {"connection_id":110641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":110641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:57:28] local.INFO: TCP Data received {"connection_id":110641,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:57:28] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:57:28] local.INFO: Packet analysis {"connection_id":110641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:57:28] local.INFO: Extracted packet for processing {"connection_id":110641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 17:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 17:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 17:57:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":110641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:57:28] local.INFO: GPS data processed {"connection_id":110641,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:57:28] local.INFO: Acknowledgment sent {"connection_id":110641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:57:29] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:57:29] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:57:29] local.INFO: IMEI packet received {"connection_id":110642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":110642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:57:34] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:57:34] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:57:34] local.INFO: IMEI packet received {"connection_id":110642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":110642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:57:36] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:57:36] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:57:36] local.INFO: Packet analysis {"connection_id":110642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:57:36] local.INFO: Extracted packet for processing {"connection_id":110642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 17:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":110642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:57:36] local.INFO: GPS data processed {"connection_id":110642,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:57:36] local.INFO: Acknowledgment sent {"connection_id":110642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:57:59] local.INFO: TCP Data received {"connection_id":110641,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:57:59] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:57:59] local.INFO: Packet analysis {"connection_id":110641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:57:59] local.INFO: Extracted packet for processing {"connection_id":110641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 17:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 17:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:57:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 17:57:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:57:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":110641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:57:59] local.INFO: GPS data processed {"connection_id":110641,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:57:59] local.INFO: Acknowledgment sent {"connection_id":110641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:58:08] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:08] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:08] local.INFO: Packet analysis {"connection_id":110642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:58:08] local.INFO: Extracted packet for processing {"connection_id":110642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:08] 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-06-21 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 17:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":110642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:58:08] local.INFO: GPS data processed {"connection_id":110642,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:58:08] local.INFO: Acknowledgment sent {"connection_id":110642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:58:22] local.INFO: TCP Data received {"connection_id":109677,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:58:22] local.INFO: Processing buffer {"connection_id":109677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:58:22] local.INFO: IMEI packet received {"connection_id":109677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":109677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:58:27] local.INFO: TCP Data received {"connection_id":109677,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:58:27] local.INFO: Processing buffer {"connection_id":109677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:58:27] local.INFO: IMEI packet received {"connection_id":109677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":109677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:58:28] local.INFO: TCP Data received {"connection_id":109677,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:58:28] local.INFO: Processing buffer {"connection_id":109677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:58:28] local.INFO: Packet analysis {"connection_id":109677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:58:28] local.INFO: Extracted packet for processing {"connection_id":109677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 17:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 17:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 17:58:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":109677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:58:28] local.INFO: GPS data processed {"connection_id":109677,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:58:28] local.INFO: Acknowledgment sent {"connection_id":109677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:58:34] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:58:34] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:58:34] local.INFO: IMEI packet received {"connection_id":110643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":110643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:58:40] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:58:40] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:58:40] local.INFO: IMEI packet received {"connection_id":110643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":110643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:58:41] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:41] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:41] local.INFO: Packet analysis {"connection_id":110643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:58:41] local.INFO: Extracted packet for processing {"connection_id":110643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:41] 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-06-21 17:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 17:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:58:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:58:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":110643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:58:41] local.INFO: GPS data processed {"connection_id":110643,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:58:41] local.INFO: Acknowledgment sent {"connection_id":110643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:58:46] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:46] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:58:46] local.INFO: Packet analysis {"connection_id":110643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:58:46] local.INFO: Extracted packet for processing {"connection_id":110643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 17:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:46] 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-06-21 17:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 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-06-21 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 17:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:58:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:58:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":110643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:58:46] local.INFO: GPS data processed {"connection_id":110643,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:58:46] local.INFO: Acknowledgment sent {"connection_id":110643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:58:59] local.INFO: TCP Data received {"connection_id":109677,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:58:59] local.INFO: Processing buffer {"connection_id":109677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:58:59] local.INFO: Packet analysis {"connection_id":109677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:58:59] local.INFO: Extracted packet for processing {"connection_id":109677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 17:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 17:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:58:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 17:58:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":109677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:58:59] local.INFO: GPS data processed {"connection_id":109677,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:58:59] local.INFO: Acknowledgment sent {"connection_id":109677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:59:22] local.INFO: TCP Data received {"connection_id":109076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:59:22] local.INFO: Processing buffer {"connection_id":109076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:59:22] local.INFO: IMEI packet received {"connection_id":109076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 17:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":109076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:59:27] local.INFO: TCP Data received {"connection_id":109076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:59:27] local.INFO: Processing buffer {"connection_id":109076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 17:59:27] local.INFO: IMEI packet received {"connection_id":109076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 17:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":109076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:59:28] local.INFO: TCP Data received {"connection_id":109076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:59:28] local.INFO: Processing buffer {"connection_id":109076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:59:28] local.INFO: Packet analysis {"connection_id":109076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:59:28] local.INFO: Extracted packet for processing {"connection_id":109076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 17:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 17:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 17:59:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":109076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:59:28] local.INFO: GPS data processed {"connection_id":109076,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:59:28] local.INFO: Acknowledgment sent {"connection_id":109076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:59:29] local.INFO: TCP Data received {"connection_id":110645,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:59:29] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:59:29] local.INFO: IMEI packet received {"connection_id":110645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":110645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 17:59:34] local.INFO: TCP Data received {"connection_id":110645,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:59:34] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 17:59:34] local.INFO: IMEI packet received {"connection_id":110645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 17:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":110645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 17:59:36] local.INFO: TCP Data received {"connection_id":110645,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:59:36] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 17:59:36] local.INFO: Packet analysis {"connection_id":110645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:59:36] local.INFO: Extracted packet for processing {"connection_id":110645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 17:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 17:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 17:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 17: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-06-21 17:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 17:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 17:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 17:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 17:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 17:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 17:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 17:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 17:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 17:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 17:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:59:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 17:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 17:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 17:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 17:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":110645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:59:36] local.INFO: GPS data processed {"connection_id":110645,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:59:36] local.INFO: Acknowledgment sent {"connection_id":110645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 17:59:59] local.INFO: TCP Data received {"connection_id":109076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:59:59] local.INFO: Processing buffer {"connection_id":109076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 17:59:59] local.INFO: Packet analysis {"connection_id":109076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:59:59] local.INFO: Extracted packet for processing {"connection_id":109076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 17:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 17: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-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 17:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 17:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 17:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 17: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":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 17:59:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 17:59:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 17:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 17:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 17:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 17:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 17:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 17:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 17:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 17:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 17:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 17:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 17:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 17:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 17:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 17:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 17:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 17:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 17:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":109076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 17:59:59] local.INFO: GPS data processed {"connection_id":109076,"processed":1,"errors":0,"total":1} 
[2026-06-21 17:59:59] local.INFO: Acknowledgment sent {"connection_id":109076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:00:07] local.INFO: TCP Data received {"connection_id":110645,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 18:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 18:00:07] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2415f0012d34c54006aa3f80000c007222..."} 
[2026-06-21 18:00:07] local.INFO: Packet analysis {"connection_id":110645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 18:00:07] local.INFO: Extracted packet for processing {"connection_id":110645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea24"} 
[2026-06-21 18:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203364608001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:07] 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-06-21 18:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782044694000,"timestamp_ms":1782044694000,"timestamp_seconds":1782044694,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2415f0"} 
[2026-06-21 18:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203364608001,"66":25321,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203364608001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:00:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203364608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":110645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:00:07] local.INFO: GPS data processed {"connection_id":110645,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:00:07] local.INFO: Acknowledgment sent {"connection_id":110645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:00:27] local.INFO: TCP Data received {"connection_id":108907,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:00:27] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:00:27] local.INFO: IMEI packet received {"connection_id":108907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":108907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:00:29] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:00:29] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:00:29] local.INFO: IMEI packet received {"connection_id":108908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":108908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:00:32] local.INFO: TCP Data received {"connection_id":108907,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:00:32] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:00:32] local.INFO: IMEI packet received {"connection_id":108907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":108907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:00:33] local.INFO: TCP Data received {"connection_id":108907,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:00:33] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:00:33] local.INFO: Packet analysis {"connection_id":108907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:00:33] local.INFO: Extracted packet for processing {"connection_id":108907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 18:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 18:00:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 18:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:00:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 18:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 18:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":108907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:00:33] local.INFO: GPS data processed {"connection_id":108907,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:00:33] local.INFO: Acknowledgment sent {"connection_id":108907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:00:34] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:00:34] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:00:34] local.INFO: IMEI packet received {"connection_id":108908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":108908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:00:35] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:00:35] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:00:35] local.INFO: Packet analysis {"connection_id":108908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:00:35] local.INFO: Extracted packet for processing {"connection_id":108908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:00: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-06-21 18:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:00:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":108908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:00:35] local.INFO: GPS data processed {"connection_id":108908,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:00:35] local.INFO: Acknowledgment sent {"connection_id":108908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:00:42] local.INFO: TCP Data received {"connection_id":109678,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:00:42] local.INFO: Processing buffer {"connection_id":109678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:00:42] local.INFO: IMEI packet received {"connection_id":109678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":109678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:01:04] local.INFO: TCP Data received {"connection_id":108907,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:04] local.INFO: Processing buffer {"connection_id":108907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:04] local.INFO: Packet analysis {"connection_id":108907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:01:04] local.INFO: Extracted packet for processing {"connection_id":108907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 18:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 18:01:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 18:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:01:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 18:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 18:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":108907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:01:04] local.INFO: GPS data processed {"connection_id":108907,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:01:04] local.INFO: Acknowledgment sent {"connection_id":108907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:01:07] local.INFO: TCP Data received {"connection_id":108908,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:07] local.INFO: Processing buffer {"connection_id":108908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:07] local.INFO: Packet analysis {"connection_id":108908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:01:07] local.INFO: Extracted packet for processing {"connection_id":108908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:07] 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-06-21 18:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:01:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":108908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:01:07] local.INFO: GPS data processed {"connection_id":108908,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:01:07] local.INFO: Acknowledgment sent {"connection_id":108908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:01:12] local.INFO: TCP Data received {"connection_id":110646,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:01:12] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:01:12] local.INFO: IMEI packet received {"connection_id":110646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":110646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:01:22] local.INFO: TCP Data received {"connection_id":109077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:01:22] local.INFO: Processing buffer {"connection_id":109077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:01:22] local.INFO: IMEI packet received {"connection_id":109077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":109077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:01:27] local.INFO: TCP Data received {"connection_id":109077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:01:27] local.INFO: Processing buffer {"connection_id":109077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:01:27] local.INFO: IMEI packet received {"connection_id":109077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":109077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:01:28] local.INFO: TCP Data received {"connection_id":109077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:28] local.INFO: Processing buffer {"connection_id":109077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:28] local.INFO: Packet analysis {"connection_id":109077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:01:28] local.INFO: Extracted packet for processing {"connection_id":109077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 18:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 18:01:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 18:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:01:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 18:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 18:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":109077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:01:28] local.INFO: GPS data processed {"connection_id":109077,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:01:28] local.INFO: Acknowledgment sent {"connection_id":109077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:01:34] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:01:34] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:01:34] local.INFO: IMEI packet received {"connection_id":109078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":109078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:01:39] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:01:39] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:01:39] local.INFO: IMEI packet received {"connection_id":109078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":109078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:01:40] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:40] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:40] local.INFO: Packet analysis {"connection_id":109078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:01:40] local.INFO: Extracted packet for processing {"connection_id":109078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01: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-06-21 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":109078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:01:41] local.INFO: GPS data processed {"connection_id":109078,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:01:41] local.INFO: Acknowledgment sent {"connection_id":109078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:01:45] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:45] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:01:45] local.INFO: Packet analysis {"connection_id":109078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:01:45] local.INFO: Extracted packet for processing {"connection_id":109078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:45] 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-06-21 18:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 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-06-21 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:01:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":109078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:01:45] local.INFO: GPS data processed {"connection_id":109078,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:01:45] local.INFO: Acknowledgment sent {"connection_id":109078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:01:59] local.INFO: TCP Data received {"connection_id":109077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:59] local.INFO: Processing buffer {"connection_id":109077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea25c788012d196400071ff0600039006e29..."} 
[2026-06-21 18:01:59] local.INFO: Packet analysis {"connection_id":109077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:01:59] local.INFO: Extracted packet for processing {"connection_id":109077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea25"} 
[2026-06-21 18:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203392256001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266966528,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782044805000,"timestamp_ms":1782044805000,"timestamp_seconds":1782044805,"priority":1,"record_length":96,"hex_timestamp":"0000019eea25c788"} 
[2026-06-21 18:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":19,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1729391053036908800,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-623748290683066624,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845953264,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":907476618124951559,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":14,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408502274,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3059914471821541376,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2005486257847296,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2810254963572214272,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-06-21 18:01:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,42,158,36,45,64,242,58,38,10,66,128,1,240,178,227,234,31,4,85,33,14,120,71,206,13,78,146,254],"length":569,"final_offset":699,"validated_count":35,"validation_warnings":[]} 
[2026-06-21 18:01:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179458265153863746,"timestamp_seconds":4179458265153863.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 18:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203392256001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1825998573266966528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203392256001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266966528,"description":"Unknown IO ID 45"} 
[2026-06-21 18:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203392256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266966528}} 
[2026-06-21 18:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":109077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:02:00] local.INFO: GPS data processed {"connection_id":109077,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:02:00] local.INFO: Acknowledgment sent {"connection_id":109077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:02:23] local.INFO: TCP Data received {"connection_id":109679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:23] local.INFO: Processing buffer {"connection_id":109679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:23] local.INFO: IMEI packet received {"connection_id":109679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":109679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:02:24] local.INFO: TCP Data received {"connection_id":109679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:24] local.INFO: Processing buffer {"connection_id":109679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:24] local.INFO: IMEI packet received {"connection_id":109679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":109679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:02:28] local.INFO: TCP Data received {"connection_id":109679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:28] local.INFO: Processing buffer {"connection_id":109679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:02:28] local.INFO: IMEI packet received {"connection_id":109679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":109679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:02:28] local.INFO: TCP Data received {"connection_id":109679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:02:28] local.INFO: Processing buffer {"connection_id":109679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:02:28] local.INFO: Packet analysis {"connection_id":109679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:02:28] local.INFO: Extracted packet for processing {"connection_id":109679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:02:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":109679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:02:28] local.INFO: GPS data processed {"connection_id":109679,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:02:28] local.INFO: Acknowledgment sent {"connection_id":109679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:02:29] local.INFO: TCP Data received {"connection_id":109680,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:02:29] local.INFO: Processing buffer {"connection_id":109680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:02:29] local.INFO: IMEI packet received {"connection_id":109680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":109680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:02:34] local.INFO: TCP Data received {"connection_id":109680,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:02:34] local.INFO: Processing buffer {"connection_id":109680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:02:34] local.INFO: IMEI packet received {"connection_id":109680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":109680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:02:36] local.INFO: TCP Data received {"connection_id":109680,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:02:36] local.INFO: Processing buffer {"connection_id":109680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:02:36] local.INFO: Packet analysis {"connection_id":109680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:02:36] local.INFO: Extracted packet for processing {"connection_id":109680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02: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-06-21 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:02:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":109680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:02:36] local.INFO: GPS data processed {"connection_id":109680,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:02:36] local.INFO: Acknowledgment sent {"connection_id":109680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:02:59] local.INFO: TCP Data received {"connection_id":109679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:02:59] local.INFO: Processing buffer {"connection_id":109679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:02:59] local.INFO: Packet analysis {"connection_id":109679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:02:59] local.INFO: Extracted packet for processing {"connection_id":109679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":109679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:03:00] local.INFO: GPS data processed {"connection_id":109679,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:03:00] local.INFO: Acknowledgment sent {"connection_id":109679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:03:07] local.INFO: TCP Data received {"connection_id":109680,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:03:07] local.INFO: Processing buffer {"connection_id":109680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:03:07] local.INFO: Packet analysis {"connection_id":109680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:03:07] local.INFO: Extracted packet for processing {"connection_id":109680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:07] 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-06-21 18:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:03:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":109680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:03:07] local.INFO: GPS data processed {"connection_id":109680,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:03:07] local.INFO: Acknowledgment sent {"connection_id":109680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:03:22] local.INFO: TCP Data received {"connection_id":110647,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:03:22] local.INFO: Processing buffer {"connection_id":110647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:03:22] local.INFO: IMEI packet received {"connection_id":110647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":110647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:03:28] local.INFO: TCP Data received {"connection_id":110647,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:03:28] local.INFO: Processing buffer {"connection_id":110647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:03:28] local.INFO: IMEI packet received {"connection_id":110647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":110647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:03:28] local.INFO: TCP Data received {"connection_id":110647,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:03:28] local.INFO: Processing buffer {"connection_id":110647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:03:28] local.INFO: Packet analysis {"connection_id":110647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:03:28] local.INFO: Extracted packet for processing {"connection_id":110647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:03:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":110647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:03:28] local.INFO: GPS data processed {"connection_id":110647,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:03:28] local.INFO: Acknowledgment sent {"connection_id":110647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:03:30] local.INFO: TCP Data received {"connection_id":109681,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:03:30] local.INFO: Processing buffer {"connection_id":109681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:03:30] local.INFO: IMEI packet received {"connection_id":109681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":109681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:03:34] local.INFO: TCP Data received {"connection_id":109681,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:03:34] local.INFO: Processing buffer {"connection_id":109681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:03:34] local.INFO: IMEI packet received {"connection_id":109681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":109681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:03:36] local.INFO: TCP Data received {"connection_id":109681,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:03:36] local.INFO: Processing buffer {"connection_id":109681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:03:36] local.INFO: Packet analysis {"connection_id":109681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:03:36] local.INFO: Extracted packet for processing {"connection_id":109681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03: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-06-21 18:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:03:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":109681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:03:36] local.INFO: GPS data processed {"connection_id":109681,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:03:36] local.INFO: Acknowledgment sent {"connection_id":109681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:03:59] local.INFO: TCP Data received {"connection_id":110647,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:03:59] local.INFO: Processing buffer {"connection_id":110647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:03:59] local.INFO: Packet analysis {"connection_id":110647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:03:59] local.INFO: Extracted packet for processing {"connection_id":110647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":110647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:03:59] local.INFO: GPS data processed {"connection_id":110647,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:03:59] local.INFO: Acknowledgment sent {"connection_id":110647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:04:08] local.INFO: TCP Data received {"connection_id":109681,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:04:08] local.INFO: Processing buffer {"connection_id":109681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:04:08] local.INFO: Packet analysis {"connection_id":109681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:04:08] local.INFO: Extracted packet for processing {"connection_id":109681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:08] 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-06-21 18:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:04:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":109681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:04:08] local.INFO: GPS data processed {"connection_id":109681,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:04:08] local.INFO: Acknowledgment sent {"connection_id":109681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:04:22] local.INFO: TCP Data received {"connection_id":109682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:04:22] local.INFO: Processing buffer {"connection_id":109682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:04:22] local.INFO: IMEI packet received {"connection_id":109682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":109682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:04:27] local.INFO: TCP Data received {"connection_id":109682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:04:27] local.INFO: Processing buffer {"connection_id":109682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:04:27] local.INFO: IMEI packet received {"connection_id":109682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":109682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:04:28] local.INFO: TCP Data received {"connection_id":109682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:04:28] local.INFO: Processing buffer {"connection_id":109682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:04:28] local.INFO: Packet analysis {"connection_id":109682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:04:28] local.INFO: Extracted packet for processing {"connection_id":109682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":109682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:04:28] local.INFO: GPS data processed {"connection_id":109682,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:04:28] local.INFO: Acknowledgment sent {"connection_id":109682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:04:29] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:04:29] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:04:29] local.INFO: IMEI packet received {"connection_id":109080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":109080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:04:34] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:04:34] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:04:34] local.INFO: IMEI packet received {"connection_id":109080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":109080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:04:36] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:04:36] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:04:36] local.INFO: Packet analysis {"connection_id":109080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:04:36] local.INFO: Extracted packet for processing {"connection_id":109080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04: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-06-21 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 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-06-21 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:04:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":109080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:04:36] local.INFO: GPS data processed {"connection_id":109080,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:04:36] local.INFO: Acknowledgment sent {"connection_id":109080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:04:59] local.INFO: TCP Data received {"connection_id":109682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:04:59] local.INFO: Processing buffer {"connection_id":109682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:04:59] local.INFO: Packet analysis {"connection_id":109682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:04:59] local.INFO: Extracted packet for processing {"connection_id":109682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:04:59] local.INFO: GPS data processed {"connection_id":109682,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:04:59] local.INFO: Acknowledgment sent {"connection_id":109682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:05:07] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:05:07] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea28adb8012d34c54006aa3f80000b007224..."} 
[2026-06-21 18:05:07] local.INFO: Packet analysis {"connection_id":109080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:05:07] local.INFO: Extracted packet for processing {"connection_id":109080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea28"} 
[2026-06-21 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203441664001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:07] 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-06-21 18:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782044995000,"timestamp_ms":1782044995000,"timestamp_seconds":1782044995,"priority":1,"record_length":96,"hex_timestamp":"0000019eea28adb8"} 
[2026-06-21 18:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 18:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203441664001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203441664001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203441664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":109080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:05:07] local.INFO: GPS data processed {"connection_id":109080,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:05:07] local.INFO: Acknowledgment sent {"connection_id":109080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:05:27] local.INFO: TCP Data received {"connection_id":109683,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:05:27] local.INFO: Processing buffer {"connection_id":109683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:05:27] local.INFO: IMEI packet received {"connection_id":109683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":109683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:05:29] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:05:29] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:05:29] local.INFO: IMEI packet received {"connection_id":109081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":109081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:05:32] local.INFO: TCP Data received {"connection_id":109683,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:05:32] local.INFO: Processing buffer {"connection_id":109683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:05:32] local.INFO: IMEI packet received {"connection_id":109683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":109683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:05:33] local.INFO: TCP Data received {"connection_id":109683,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:05:33] local.INFO: Processing buffer {"connection_id":109683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:05:33] local.INFO: Packet analysis {"connection_id":109683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:05:33] local.INFO: Extracted packet for processing {"connection_id":109683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:05:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":109683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:05:33] local.INFO: GPS data processed {"connection_id":109683,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:05:33] local.INFO: Acknowledgment sent {"connection_id":109683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:05:34] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:05:34] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:05:34] local.INFO: IMEI packet received {"connection_id":109081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":109081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:05:37] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:05:37] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:05:37] local.INFO: Packet analysis {"connection_id":109081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:05:37] local.INFO: Extracted packet for processing {"connection_id":109081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:05:37] 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-06-21 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":109081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:05:37] local.INFO: GPS data processed {"connection_id":109081,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:05:37] local.INFO: Acknowledgment sent {"connection_id":109081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:06:04] local.INFO: TCP Data received {"connection_id":109683,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:06:04] local.INFO: Processing buffer {"connection_id":109683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:06:04] local.INFO: Packet analysis {"connection_id":109683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:06:04] local.INFO: Extracted packet for processing {"connection_id":109683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:06:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":109683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:06:05] local.INFO: GPS data processed {"connection_id":109683,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:06:05] local.INFO: Acknowledgment sent {"connection_id":109683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:06:09] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:06:10] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:06:10] local.INFO: Packet analysis {"connection_id":109081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:06:10] local.INFO: Extracted packet for processing {"connection_id":109081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:10] 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-06-21 18:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:06:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":109081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:06:10] local.INFO: GPS data processed {"connection_id":109081,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:06:10] local.INFO: Acknowledgment sent {"connection_id":109081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:06:23] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:06:23] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:06:23] local.INFO: IMEI packet received {"connection_id":110648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":110648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:06:28] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:06:28] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:06:28] local.INFO: IMEI packet received {"connection_id":110648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":110648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:06:28] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:06:28] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:06:28] local.INFO: Packet analysis {"connection_id":110648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:06:28] local.INFO: Extracted packet for processing {"connection_id":110648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":110648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:06:28] local.INFO: GPS data processed {"connection_id":110648,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:06:28] local.INFO: Acknowledgment sent {"connection_id":110648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:06:30] local.INFO: TCP Data received {"connection_id":109083,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:06:30] local.INFO: Processing buffer {"connection_id":109083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:06:30] local.INFO: IMEI packet received {"connection_id":109083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":109083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:06:34] local.INFO: TCP Data received {"connection_id":109083,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:06:34] local.INFO: Processing buffer {"connection_id":109083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:06:34] local.INFO: IMEI packet received {"connection_id":109083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":109083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:06:36] local.INFO: TCP Data received {"connection_id":109083,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:06:36] local.INFO: Processing buffer {"connection_id":109083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:06:36] local.INFO: Packet analysis {"connection_id":109083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:06:36] local.INFO: Extracted packet for processing {"connection_id":109083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:06: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-06-21 18:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:06:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":109083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:06:36] local.INFO: GPS data processed {"connection_id":109083,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:06:36] local.INFO: Acknowledgment sent {"connection_id":109083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:06:43] local.INFO: TCP Data received {"connection_id":109082,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:06:43] local.INFO: Processing buffer {"connection_id":109082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:06:43] local.INFO: IMEI packet received {"connection_id":109082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":109082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:07:00] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:07:00] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2a5f50012d196400071ff0600039006e2a..."} 
[2026-06-21 18:07:00] local.INFO: Packet analysis {"connection_id":110648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:07:00] local.INFO: Extracted packet for processing {"connection_id":110648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2a"} 
[2026-06-21 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203470080001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782045106000,"timestamp_ms":1782045106000,"timestamp_seconds":1782045106,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2a5f50"} 
[2026-06-21 18:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203470080001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203470080001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:07:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203470080001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":110648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:07:00] local.INFO: GPS data processed {"connection_id":110648,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:07:00] local.INFO: Acknowledgment sent {"connection_id":110648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:07:09] local.INFO: TCP Data received {"connection_id":109083,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:07:09] local.INFO: Processing buffer {"connection_id":109083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:07:09] local.INFO: Packet analysis {"connection_id":109083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:07:09] local.INFO: Extracted packet for processing {"connection_id":109083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07: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-06-21 18:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:07:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":109083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:07:09] local.INFO: GPS data processed {"connection_id":109083,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:07:09] local.INFO: Acknowledgment sent {"connection_id":109083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:07:12] local.INFO: TCP Data received {"connection_id":109084,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:07:12] local.INFO: Processing buffer {"connection_id":109084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:07:12] local.INFO: IMEI packet received {"connection_id":109084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":109084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:07:23] local.INFO: TCP Data received {"connection_id":108912,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:23] local.INFO: Processing buffer {"connection_id":108912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:23] local.INFO: IMEI packet received {"connection_id":108912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":108912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:07:26] local.INFO: TCP Data received {"connection_id":108912,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:26] local.INFO: Processing buffer {"connection_id":108912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:26] local.INFO: IMEI packet received {"connection_id":108912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":108912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:07:27] local.INFO: TCP Data received {"connection_id":108912,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:27] local.INFO: Processing buffer {"connection_id":108912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:07:27] local.INFO: IMEI packet received {"connection_id":108912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":108912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:07:28] local.INFO: TCP Data received {"connection_id":108912,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:07:28] local.INFO: Processing buffer {"connection_id":108912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:07:28] local.INFO: Packet analysis {"connection_id":108912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:07:28] local.INFO: Extracted packet for processing {"connection_id":108912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":108912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:07:28] local.INFO: GPS data processed {"connection_id":108912,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:07:28] local.INFO: Acknowledgment sent {"connection_id":108912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:07:29] local.INFO: TCP Data received {"connection_id":109684,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:07:29] local.INFO: Processing buffer {"connection_id":109684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:07:29] local.INFO: IMEI packet received {"connection_id":109684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":109684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:07:33] local.INFO: TCP Data received {"connection_id":108912,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:07:33] local.INFO: Processing buffer {"connection_id":108912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:07:33] local.INFO: Packet analysis {"connection_id":108912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:07:33] local.INFO: Extracted packet for processing {"connection_id":108912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:07:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":108912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:07:33] local.INFO: GPS data processed {"connection_id":108912,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:07:33] local.INFO: Acknowledgment sent {"connection_id":108912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:07:34] local.INFO: TCP Data received {"connection_id":109684,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:07:34] local.INFO: Processing buffer {"connection_id":109684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:07:34] local.INFO: IMEI packet received {"connection_id":109684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":109684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:07:37] local.INFO: TCP Data received {"connection_id":109684,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:07:37] local.INFO: Processing buffer {"connection_id":109684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:07:37] local.INFO: Packet analysis {"connection_id":109684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:07:37] local.INFO: Extracted packet for processing {"connection_id":109684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:07:37] 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-06-21 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 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-06-21 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:07:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":109684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:07:37] local.INFO: GPS data processed {"connection_id":109684,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:07:37] local.INFO: Acknowledgment sent {"connection_id":109684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:08:04] local.INFO: TCP Data received {"connection_id":108912,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:04] local.INFO: Processing buffer {"connection_id":108912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:04] local.INFO: Packet analysis {"connection_id":108912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:08:04] local.INFO: Extracted packet for processing {"connection_id":108912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:08:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":108912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:08:04] local.INFO: GPS data processed {"connection_id":108912,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:08:04] local.INFO: Acknowledgment sent {"connection_id":108912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:08:09] local.INFO: TCP Data received {"connection_id":109684,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:08:09] local.INFO: Processing buffer {"connection_id":109684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:08:09] local.INFO: Packet analysis {"connection_id":109684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:08:09] local.INFO: Extracted packet for processing {"connection_id":109684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08: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-06-21 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":109684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:08:09] local.INFO: GPS data processed {"connection_id":109684,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:08:09] local.INFO: Acknowledgment sent {"connection_id":109684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:08:22] local.INFO: TCP Data received {"connection_id":108914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:08:22] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:08:22] local.INFO: IMEI packet received {"connection_id":108914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":108914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:08:27] local.INFO: TCP Data received {"connection_id":108914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:08:27] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:08:27] local.INFO: IMEI packet received {"connection_id":108914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":108914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:08:28] local.INFO: TCP Data received {"connection_id":108914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:28] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:28] local.INFO: Packet analysis {"connection_id":108914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:08:28] local.INFO: Extracted packet for processing {"connection_id":108914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:08:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":108914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:08:28] local.INFO: GPS data processed {"connection_id":108914,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:08:28] local.INFO: Acknowledgment sent {"connection_id":108914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:08:29] local.INFO: TCP Data received {"connection_id":109085,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:08:29] local.INFO: Processing buffer {"connection_id":109085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:08:29] local.INFO: IMEI packet received {"connection_id":109085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":109085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:08:34] local.INFO: TCP Data received {"connection_id":109085,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:08:34] local.INFO: Processing buffer {"connection_id":109085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:08:34] local.INFO: IMEI packet received {"connection_id":109085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":109085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:08:36] local.INFO: TCP Data received {"connection_id":109085,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:08:36] local.INFO: Processing buffer {"connection_id":109085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:08:36] local.INFO: Packet analysis {"connection_id":109085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:08:36] local.INFO: Extracted packet for processing {"connection_id":109085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08: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-06-21 18:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":109085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:08:36] local.INFO: GPS data processed {"connection_id":109085,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:08:36] local.INFO: Acknowledgment sent {"connection_id":109085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:08:59] local.INFO: TCP Data received {"connection_id":108914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:59] local.INFO: Processing buffer {"connection_id":108914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:08:59] local.INFO: Packet analysis {"connection_id":108914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:08:59] local.INFO: Extracted packet for processing {"connection_id":108914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":108914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:08:59] local.INFO: GPS data processed {"connection_id":108914,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:08:59] local.INFO: Acknowledgment sent {"connection_id":108914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:09:22] local.INFO: TCP Data received {"connection_id":109086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:09:22] local.INFO: Processing buffer {"connection_id":109086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:09:22] local.INFO: IMEI packet received {"connection_id":109086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":109086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:09:23] local.INFO: TCP Data received {"connection_id":109085,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:09:23] local.INFO: Processing buffer {"connection_id":109085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:09:23] local.INFO: Packet analysis {"connection_id":109085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:09:23] local.INFO: Extracted packet for processing {"connection_id":109085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:09: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-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":109085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":109085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":109085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:09:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:09:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":109085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:09:23] local.INFO: GPS data processed {"connection_id":109085,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:09:23] local.INFO: Acknowledgment sent {"connection_id":109085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:09:27] local.INFO: TCP Data received {"connection_id":109086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:09:27] local.INFO: Processing buffer {"connection_id":109086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:09:27] local.INFO: IMEI packet received {"connection_id":109086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":109086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:09:28] local.INFO: TCP Data received {"connection_id":109086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:09:28] local.INFO: Processing buffer {"connection_id":109086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:09:28] local.INFO: Packet analysis {"connection_id":109086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:09:28] local.INFO: Extracted packet for processing {"connection_id":109086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:09:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":109086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:09:28] local.INFO: GPS data processed {"connection_id":109086,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:09:28] local.INFO: Acknowledgment sent {"connection_id":109086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:09:29] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:09:29] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:09:29] local.INFO: IMEI packet received {"connection_id":110649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":110649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:09:34] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:09:34] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:09:34] local.INFO: IMEI packet received {"connection_id":110649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":110649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:09:36] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:09:36] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:09:36] local.INFO: Packet analysis {"connection_id":110649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:09:36] local.INFO: Extracted packet for processing {"connection_id":110649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09: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-06-21 18:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:09:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":110649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:09:36] local.INFO: GPS data processed {"connection_id":110649,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:09:36] local.INFO: Acknowledgment sent {"connection_id":110649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:09:59] local.INFO: TCP Data received {"connection_id":109086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:09:59] local.INFO: Processing buffer {"connection_id":109086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:09:59] local.INFO: Packet analysis {"connection_id":109086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:09:59] local.INFO: Extracted packet for processing {"connection_id":109086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":109086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:10:00] local.INFO: GPS data processed {"connection_id":109086,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:10:00] local.INFO: Acknowledgment sent {"connection_id":109086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:10:09] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:10:09] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2d4580012d34c54006aa3f80000c007224..."} 
[2026-06-21 18:10:09] local.INFO: Packet analysis {"connection_id":110649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:10:09] local.INFO: Extracted packet for processing {"connection_id":110649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2d"} 
[2026-06-21 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203518720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10: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-06-21 18:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782045296000,"timestamp_ms":1782045296000,"timestamp_seconds":1782045296,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2d4580"} 
[2026-06-21 18:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203518720001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203518720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203518720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":110649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:10:09] local.INFO: GPS data processed {"connection_id":110649,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:10:09] local.INFO: Acknowledgment sent {"connection_id":110649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:10:27] local.INFO: TCP Data received {"connection_id":109685,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:10:27] local.INFO: Processing buffer {"connection_id":109685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:10:27] local.INFO: IMEI packet received {"connection_id":109685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":109685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:10:32] local.INFO: TCP Data received {"connection_id":109685,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:10:32] local.INFO: Processing buffer {"connection_id":109685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:10:32] local.INFO: IMEI packet received {"connection_id":109685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":109685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:10:33] local.INFO: TCP Data received {"connection_id":109685,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:10:33] local.INFO: Processing buffer {"connection_id":109685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:10:33] local.INFO: Packet analysis {"connection_id":109685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:10:33] local.INFO: Extracted packet for processing {"connection_id":109685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:10:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":109685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:10:33] local.INFO: GPS data processed {"connection_id":109685,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:10:33] local.INFO: Acknowledgment sent {"connection_id":109685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:10:35] local.INFO: TCP Data received {"connection_id":109686,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:10:35] local.INFO: Processing buffer {"connection_id":109686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:10:35] local.INFO: IMEI packet received {"connection_id":109686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":109686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:10:36] local.INFO: TCP Data received {"connection_id":109686,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:10:36] local.INFO: Processing buffer {"connection_id":109686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:10:36] local.INFO: IMEI packet received {"connection_id":109686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":109686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:10:37] local.INFO: TCP Data received {"connection_id":109686,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:10:37] local.INFO: Processing buffer {"connection_id":109686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:10:37] local.INFO: Packet analysis {"connection_id":109686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:10:37] local.INFO: Extracted packet for processing {"connection_id":109686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:37] 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-06-21 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:10:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":109686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:10:38] local.INFO: GPS data processed {"connection_id":109686,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:10:38] local.INFO: Acknowledgment sent {"connection_id":109686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:10:38] local.INFO: TCP Data received {"connection_id":109685,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:10:38] local.INFO: Processing buffer {"connection_id":109685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:10:38] local.INFO: Packet analysis {"connection_id":109685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:10:38] local.INFO: Extracted packet for processing {"connection_id":109685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":109685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:10:38] local.INFO: GPS data processed {"connection_id":109685,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:10:38] local.INFO: Acknowledgment sent {"connection_id":109685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:10:40] local.INFO: TCP Data received {"connection_id":109686,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:10:40] local.INFO: Processing buffer {"connection_id":109686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:10:40] local.INFO: Packet analysis {"connection_id":109686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:10:40] local.INFO: Extracted packet for processing {"connection_id":109686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:10: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-06-21 18:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":109686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:10:40] local.INFO: GPS data processed {"connection_id":109686,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:10:40] local.INFO: Acknowledgment sent {"connection_id":109686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:11:12] local.INFO: TCP Data received {"connection_id":109686,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:11:12] local.INFO: Processing buffer {"connection_id":109686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:11:12] local.INFO: Packet analysis {"connection_id":109686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:11:12] local.INFO: Extracted packet for processing {"connection_id":109686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:12] 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-06-21 18:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:11:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":109686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:11:12] local.INFO: GPS data processed {"connection_id":109686,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:11:12] local.INFO: Acknowledgment sent {"connection_id":109686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:11:22] local.INFO: TCP Data received {"connection_id":108916,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:11:22] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:11:22] local.INFO: IMEI packet received {"connection_id":108916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":108916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:11:27] local.INFO: TCP Data received {"connection_id":108916,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:11:27] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:11:27] local.INFO: IMEI packet received {"connection_id":108916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":108916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:11:28] local.INFO: TCP Data received {"connection_id":108916,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:11:28] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:11:28] local.INFO: Packet analysis {"connection_id":108916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:11:28] local.INFO: Extracted packet for processing {"connection_id":108916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":108916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:11:29] local.INFO: GPS data processed {"connection_id":108916,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:11:29] local.INFO: Acknowledgment sent {"connection_id":108916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:11:29] local.INFO: TCP Data received {"connection_id":109687,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:11:29] local.INFO: Processing buffer {"connection_id":109687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:11:29] local.INFO: IMEI packet received {"connection_id":109687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":109687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:11:34] local.INFO: TCP Data received {"connection_id":109687,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:11:34] local.INFO: Processing buffer {"connection_id":109687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:11:34] local.INFO: IMEI packet received {"connection_id":109687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":109687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:11:36] local.INFO: TCP Data received {"connection_id":109687,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:11:36] local.INFO: Processing buffer {"connection_id":109687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:11:36] local.INFO: Packet analysis {"connection_id":109687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:11:36] local.INFO: Extracted packet for processing {"connection_id":109687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:11: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-06-21 18:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:11:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":109687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:11:36] local.INFO: GPS data processed {"connection_id":109687,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:11:36] local.INFO: Acknowledgment sent {"connection_id":109687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:12:00] local.INFO: TCP Data received {"connection_id":108916,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:12:00] local.INFO: Processing buffer {"connection_id":108916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea2ef718012d196400071ff0600039006e29..."} 
[2026-06-21 18:12:00] local.INFO: Packet analysis {"connection_id":108916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:12:00] local.INFO: Extracted packet for processing {"connection_id":108916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea2e"} 
[2026-06-21 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203547136001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782045407000,"timestamp_ms":1782045407000,"timestamp_seconds":1782045407,"priority":1,"record_length":96,"hex_timestamp":"0000019eea2ef718"} 
[2026-06-21 18:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203547136001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203547136001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:12:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203547136001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":108916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:12:00] local.INFO: GPS data processed {"connection_id":108916,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:12:00] local.INFO: Acknowledgment sent {"connection_id":108916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:12:08] local.INFO: TCP Data received {"connection_id":109687,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:12:08] local.INFO: Processing buffer {"connection_id":109687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:12:08] local.INFO: Packet analysis {"connection_id":109687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:12:08] local.INFO: Extracted packet for processing {"connection_id":109687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:08] 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-06-21 18:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:12:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":109687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:12:08] local.INFO: GPS data processed {"connection_id":109687,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:12:08] local.INFO: Acknowledgment sent {"connection_id":109687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:12:22] local.INFO: TCP Data received {"connection_id":108918,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:12:22] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:12:22] local.INFO: IMEI packet received {"connection_id":108918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":108918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:12:26] local.INFO: TCP Data received {"connection_id":108918,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:12:26] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:12:26] local.INFO: IMEI packet received {"connection_id":108918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":108918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:12:27] local.INFO: TCP Data received {"connection_id":108918,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:12:27] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:12:27] local.INFO: Packet analysis {"connection_id":108918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:12:27] local.INFO: Extracted packet for processing {"connection_id":108918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":108918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":108918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":108918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:12:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":108918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:12:27] local.INFO: GPS data processed {"connection_id":108918,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:12:27] local.INFO: Acknowledgment sent {"connection_id":108918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:12:29] local.INFO: TCP Data received {"connection_id":108919,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:12:29] local.INFO: Processing buffer {"connection_id":108919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:12:29] local.INFO: IMEI packet received {"connection_id":108919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":108919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:12:32] local.INFO: TCP Data received {"connection_id":108917,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:12:32] local.INFO: Processing buffer {"connection_id":108917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:12:32] local.INFO: IMEI packet received {"connection_id":108917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":108917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:12:34] local.INFO: TCP Data received {"connection_id":108919,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:12:34] local.INFO: Processing buffer {"connection_id":108919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:12:34] local.INFO: IMEI packet received {"connection_id":108919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":108919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:12:36] local.INFO: TCP Data received {"connection_id":108919,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:12:36] local.INFO: Processing buffer {"connection_id":108919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:12:36] local.INFO: Packet analysis {"connection_id":108919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:12:36] local.INFO: Extracted packet for processing {"connection_id":108919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12: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-06-21 18:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:12:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":108919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:12:36] local.INFO: GPS data processed {"connection_id":108919,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:12:36] local.INFO: Acknowledgment sent {"connection_id":108919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:12:59] local.INFO: TCP Data received {"connection_id":108918,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:12:59] local.INFO: Processing buffer {"connection_id":108918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:12:59] local.INFO: Packet analysis {"connection_id":108918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:12:59] local.INFO: Extracted packet for processing {"connection_id":108918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":108918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:12:59] local.INFO: GPS data processed {"connection_id":108918,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:12:59] local.INFO: Acknowledgment sent {"connection_id":108918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:13:07] local.INFO: TCP Data received {"connection_id":108919,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:13:07] local.INFO: Processing buffer {"connection_id":108919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:13:07] local.INFO: Packet analysis {"connection_id":108919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:13:07] local.INFO: Extracted packet for processing {"connection_id":108919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:07] 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-06-21 18:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:13:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":108919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:13:07] local.INFO: GPS data processed {"connection_id":108919,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:13:07] local.INFO: Acknowledgment sent {"connection_id":108919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:13:12] local.INFO: TCP Data received {"connection_id":110651,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:13:12] local.INFO: Processing buffer {"connection_id":110651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:13:12] local.INFO: IMEI packet received {"connection_id":110651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":110651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:13:22] local.INFO: TCP Data received {"connection_id":109688,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:13:22] local.INFO: Processing buffer {"connection_id":109688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:13:22] local.INFO: IMEI packet received {"connection_id":109688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":109688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:13:27] local.INFO: TCP Data received {"connection_id":109688,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:13:27] local.INFO: Processing buffer {"connection_id":109688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:13:27] local.INFO: IMEI packet received {"connection_id":109688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":109688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:13:28] local.INFO: TCP Data received {"connection_id":109688,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:13:28] local.INFO: Processing buffer {"connection_id":109688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:13:28] local.INFO: Packet analysis {"connection_id":109688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:13:28] local.INFO: Extracted packet for processing {"connection_id":109688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":109688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:13:28] local.INFO: GPS data processed {"connection_id":109688,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:13:28] local.INFO: Acknowledgment sent {"connection_id":109688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:13:29] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:13:29] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:13:29] local.INFO: IMEI packet received {"connection_id":109088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":109088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:13:34] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:13:34] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:13:34] local.INFO: IMEI packet received {"connection_id":109088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":109088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:13:36] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:13:36] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:13:36] local.INFO: Packet analysis {"connection_id":109088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:13:36] local.INFO: Extracted packet for processing {"connection_id":109088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13: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-06-21 18:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:13:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":109088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:13:36] local.INFO: GPS data processed {"connection_id":109088,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:13:36] local.INFO: Acknowledgment sent {"connection_id":109088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:13:59] local.INFO: TCP Data received {"connection_id":109688,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:13:59] local.INFO: Processing buffer {"connection_id":109688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:13:59] local.INFO: Packet analysis {"connection_id":109688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:13:59] local.INFO: Extracted packet for processing {"connection_id":109688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":109688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:13:59] local.INFO: GPS data processed {"connection_id":109688,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:13:59] local.INFO: Acknowledgment sent {"connection_id":109688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:14:08] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:08] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:08] local.INFO: Packet analysis {"connection_id":109088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:14:08] local.INFO: Extracted packet for processing {"connection_id":109088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:08] 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-06-21 18:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":109088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:14:08] local.INFO: GPS data processed {"connection_id":109088,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:14:08] local.INFO: Acknowledgment sent {"connection_id":109088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:14:22] local.INFO: TCP Data received {"connection_id":108920,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:14:22] local.INFO: Processing buffer {"connection_id":108920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:14:22] local.INFO: IMEI packet received {"connection_id":108920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":108920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:14:27] local.INFO: TCP Data received {"connection_id":108920,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:14:27] local.INFO: Processing buffer {"connection_id":108920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:14:27] local.INFO: IMEI packet received {"connection_id":108920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":108920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:14:28] local.INFO: TCP Data received {"connection_id":108920,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:14:28] local.INFO: Processing buffer {"connection_id":108920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:14:28] local.INFO: Packet analysis {"connection_id":108920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:14:28] local.INFO: Extracted packet for processing {"connection_id":108920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":108920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:14:28] local.INFO: GPS data processed {"connection_id":108920,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:14:28] local.INFO: Acknowledgment sent {"connection_id":108920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:14:34] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:14:34] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:14:34] local.INFO: IMEI packet received {"connection_id":110653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":110653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:14:39] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:14:39] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:14:39] local.INFO: IMEI packet received {"connection_id":110653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":110653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:14:41] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:41] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:41] local.INFO: Packet analysis {"connection_id":110653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:14:41] local.INFO: Extracted packet for processing {"connection_id":110653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:41] 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-06-21 18:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:14:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":110653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:14:41] local.INFO: GPS data processed {"connection_id":110653,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:14:41] local.INFO: Acknowledgment sent {"connection_id":110653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:14:46] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:46] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:14:46] local.INFO: Packet analysis {"connection_id":110653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:14:46] local.INFO: Extracted packet for processing {"connection_id":110653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:14:46] 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-06-21 18:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:14:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:14:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":110653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:14:46] local.INFO: GPS data processed {"connection_id":110653,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:14:46] local.INFO: Acknowledgment sent {"connection_id":110653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:15:00] local.INFO: TCP Data received {"connection_id":108920,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:00] local.INFO: Processing buffer {"connection_id":108920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:00] local.INFO: Packet analysis {"connection_id":108920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:15:00] local.INFO: Extracted packet for processing {"connection_id":108920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:15:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":108920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:15:00] local.INFO: GPS data processed {"connection_id":108920,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:15:00] local.INFO: Acknowledgment sent {"connection_id":108920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:15:27] local.INFO: TCP Data received {"connection_id":109089,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:15:27] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:15:27] local.INFO: IMEI packet received {"connection_id":109089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":109089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:15:29] local.INFO: TCP Data received {"connection_id":109090,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:15:29] local.INFO: Processing buffer {"connection_id":109090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:15:29] local.INFO: IMEI packet received {"connection_id":109090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":109090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:15:32] local.INFO: TCP Data received {"connection_id":109089,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:15:32] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:15:32] local.INFO: IMEI packet received {"connection_id":109089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":109089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:15:33] local.INFO: TCP Data received {"connection_id":109089,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:33] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:33] local.INFO: Packet analysis {"connection_id":109089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:15:33] local.INFO: Extracted packet for processing {"connection_id":109089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:15:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":109089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:15:33] local.INFO: GPS data processed {"connection_id":109089,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:15:33] local.INFO: Acknowledgment sent {"connection_id":109089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:15:34] local.INFO: TCP Data received {"connection_id":109090,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:15:34] local.INFO: Processing buffer {"connection_id":109090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:15:34] local.INFO: IMEI packet received {"connection_id":109090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":109090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:15:37] local.INFO: TCP Data received {"connection_id":109090,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:15:37] local.INFO: Processing buffer {"connection_id":109090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea31dd48012d34c54006aa3f80000d007224..."} 
[2026-06-21 18:15:37] local.INFO: Packet analysis {"connection_id":109090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:15:37] local.INFO: Extracted packet for processing {"connection_id":109090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea31"} 
[2026-06-21 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203595776001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:37] 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-06-21 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782045597000,"timestamp_ms":1782045597000,"timestamp_seconds":1782045597,"priority":1,"record_length":96,"hex_timestamp":"0000019eea31dd48"} 
[2026-06-21 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203595776001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203595776001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:15:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203595776001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":109090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:15:37] local.INFO: GPS data processed {"connection_id":109090,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:15:37] local.INFO: Acknowledgment sent {"connection_id":109090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:15:38] local.INFO: TCP Data received {"connection_id":109089,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:38] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:15:38] local.INFO: Packet analysis {"connection_id":109089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:15:38] local.INFO: Extracted packet for processing {"connection_id":109089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":109089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:15:38] local.INFO: GPS data processed {"connection_id":109089,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:15:38] local.INFO: Acknowledgment sent {"connection_id":109089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:16:08] local.INFO: TCP Data received {"connection_id":109090,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:16:08] local.INFO: Processing buffer {"connection_id":109090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:16:08] local.INFO: Packet analysis {"connection_id":109090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:16:08] local.INFO: Extracted packet for processing {"connection_id":109090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:08] 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-06-21 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":109090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:16:08] local.INFO: GPS data processed {"connection_id":109090,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:16:08] local.INFO: Acknowledgment sent {"connection_id":109090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:16:22] local.INFO: TCP Data received {"connection_id":109689,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:16:22] local.INFO: Processing buffer {"connection_id":109689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:16:22] local.INFO: IMEI packet received {"connection_id":109689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":109689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:16:27] local.INFO: TCP Data received {"connection_id":109689,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:16:27] local.INFO: Processing buffer {"connection_id":109689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:16:27] local.INFO: IMEI packet received {"connection_id":109689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":109689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:16:28] local.INFO: TCP Data received {"connection_id":109689,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:16:28] local.INFO: Processing buffer {"connection_id":109689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:16:28] local.INFO: Packet analysis {"connection_id":109689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:16:28] local.INFO: Extracted packet for processing {"connection_id":109689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":109689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:16:29] local.INFO: GPS data processed {"connection_id":109689,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:16:29] local.INFO: Acknowledgment sent {"connection_id":109689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:16:29] local.INFO: TCP Data received {"connection_id":109690,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:16:29] local.INFO: Processing buffer {"connection_id":109690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:16:29] local.INFO: IMEI packet received {"connection_id":109690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":109690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:16:34] local.INFO: TCP Data received {"connection_id":109690,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:16:34] local.INFO: Processing buffer {"connection_id":109690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:16:34] local.INFO: IMEI packet received {"connection_id":109690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":109690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:16:36] local.INFO: TCP Data received {"connection_id":109690,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:16:36] local.INFO: Processing buffer {"connection_id":109690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:16:36] local.INFO: Packet analysis {"connection_id":109690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:16:36] local.INFO: Extracted packet for processing {"connection_id":109690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:16: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-06-21 18:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 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-06-21 18:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":109690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:16:36] local.INFO: GPS data processed {"connection_id":109690,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:16:36] local.INFO: Acknowledgment sent {"connection_id":109690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:17:00] local.INFO: TCP Data received {"connection_id":109689,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:17:00] local.INFO: Processing buffer {"connection_id":109689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea338ee0012d196400071ff0600039006e2a..."} 
[2026-06-21 18:17:00] local.INFO: Packet analysis {"connection_id":109689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:17:00] local.INFO: Extracted packet for processing {"connection_id":109689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea33"} 
[2026-06-21 18:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":57,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203624192001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782045708000,"timestamp_ms":1782045708000,"timestamp_seconds":1782045708,"priority":1,"record_length":96,"hex_timestamp":"0000019eea338ee0"} 
[2026-06-21 18:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203624192001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203624192001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:17:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203624192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":109689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:17:00] local.INFO: GPS data processed {"connection_id":109689,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:17:00] local.INFO: Acknowledgment sent {"connection_id":109689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:17:08] local.INFO: TCP Data received {"connection_id":109690,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:08] local.INFO: Processing buffer {"connection_id":109690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:08] local.INFO: Packet analysis {"connection_id":109690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:17:08] local.INFO: Extracted packet for processing {"connection_id":109690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:08] 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-06-21 18:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":109690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:17:08] local.INFO: GPS data processed {"connection_id":109690,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:17:08] local.INFO: Acknowledgment sent {"connection_id":109690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:17:22] local.INFO: TCP Data received {"connection_id":109092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:17:22] local.INFO: Processing buffer {"connection_id":109092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:17:22] local.INFO: IMEI packet received {"connection_id":109092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":109092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:17:27] local.INFO: TCP Data received {"connection_id":109092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:17:27] local.INFO: Processing buffer {"connection_id":109092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:17:27] local.INFO: IMEI packet received {"connection_id":109092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":109092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:17:28] local.INFO: TCP Data received {"connection_id":109092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:17:28] local.INFO: Processing buffer {"connection_id":109092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:17:28] local.INFO: Packet analysis {"connection_id":109092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:17:28] local.INFO: Extracted packet for processing {"connection_id":109092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":109092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:17:28] local.INFO: GPS data processed {"connection_id":109092,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:17:28] local.INFO: Acknowledgment sent {"connection_id":109092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:17:34] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:17:34] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:17:34] local.INFO: IMEI packet received {"connection_id":110654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":110654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:17:39] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:17:39] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:17:39] local.INFO: IMEI packet received {"connection_id":110654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":110654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:17:41] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:41] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:41] local.INFO: Packet analysis {"connection_id":110654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:17:41] local.INFO: Extracted packet for processing {"connection_id":110654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:41] 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-06-21 18:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:17:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:17:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":110654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:17:41] local.INFO: GPS data processed {"connection_id":110654,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:17:41] local.INFO: Acknowledgment sent {"connection_id":110654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:17:46] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:46] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:17:46] local.INFO: Packet analysis {"connection_id":110654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:17:46] local.INFO: Extracted packet for processing {"connection_id":110654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:46] 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-06-21 18:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 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-06-21 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:17:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":110654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:17:46] local.INFO: GPS data processed {"connection_id":110654,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:17:46] local.INFO: Acknowledgment sent {"connection_id":110654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:17:59] local.INFO: TCP Data received {"connection_id":109092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:17:59] local.INFO: Processing buffer {"connection_id":109092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:17:59] local.INFO: Packet analysis {"connection_id":109092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:17:59] local.INFO: Extracted packet for processing {"connection_id":109092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":109092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:18:00] local.INFO: GPS data processed {"connection_id":109092,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:18:00] local.INFO: Acknowledgment sent {"connection_id":109092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:18:22] local.INFO: TCP Data received {"connection_id":109692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:18:22] local.INFO: Processing buffer {"connection_id":109692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:18:22] local.INFO: IMEI packet received {"connection_id":109692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":109692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:18:27] local.INFO: TCP Data received {"connection_id":109692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:18:27] local.INFO: Processing buffer {"connection_id":109692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:18:27] local.INFO: IMEI packet received {"connection_id":109692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":109692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:18:28] local.INFO: TCP Data received {"connection_id":109692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:18:28] local.INFO: Processing buffer {"connection_id":109692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:18:28] local.INFO: Packet analysis {"connection_id":109692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:18:28] local.INFO: Extracted packet for processing {"connection_id":109692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":109692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:18:28] local.INFO: GPS data processed {"connection_id":109692,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:18:28] local.INFO: Acknowledgment sent {"connection_id":109692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:18:29] local.INFO: TCP Data received {"connection_id":109693,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:18:29] local.INFO: Processing buffer {"connection_id":109693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:18:29] local.INFO: IMEI packet received {"connection_id":109693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":109693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:18:34] local.INFO: TCP Data received {"connection_id":109693,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:18:34] local.INFO: Processing buffer {"connection_id":109693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:18:34] local.INFO: IMEI packet received {"connection_id":109693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":109693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:18:37] local.INFO: TCP Data received {"connection_id":109693,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:18:37] local.INFO: Processing buffer {"connection_id":109693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:18:37] local.INFO: Packet analysis {"connection_id":109693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:18:37] local.INFO: Extracted packet for processing {"connection_id":109693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:37] 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-06-21 18:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:18:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":109693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:18:37] local.INFO: GPS data processed {"connection_id":109693,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:18:37] local.INFO: Acknowledgment sent {"connection_id":109693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:18:37] local.INFO: TCP Data received {"connection_id":109691,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:18:37] local.INFO: Processing buffer {"connection_id":109691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:18:37] local.INFO: IMEI packet received {"connection_id":109691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":109691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:18:41] local.INFO: TCP Data received {"connection_id":109693,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:18:41] local.INFO: Processing buffer {"connection_id":109693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:18:41] local.INFO: Packet analysis {"connection_id":109693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:18:41] local.INFO: Extracted packet for processing {"connection_id":109693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:41] 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-06-21 18:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:18:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":109693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:18:41] local.INFO: GPS data processed {"connection_id":109693,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:18:41] local.INFO: Acknowledgment sent {"connection_id":109693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:18:59] local.INFO: TCP Data received {"connection_id":109692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:18:59] local.INFO: Processing buffer {"connection_id":109692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:18:59] local.INFO: Packet analysis {"connection_id":109692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:18:59] local.INFO: Extracted packet for processing {"connection_id":109692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:18:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":109692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:18:59] local.INFO: GPS data processed {"connection_id":109692,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:18:59] local.INFO: Acknowledgment sent {"connection_id":109692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:19:12] local.INFO: TCP Data received {"connection_id":108923,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:19:12] local.INFO: Processing buffer {"connection_id":108923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:19:12] local.INFO: IMEI packet received {"connection_id":108923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":108923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:19:13] local.INFO: TCP Data received {"connection_id":109693,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:19:13] local.INFO: Processing buffer {"connection_id":109693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:19:13] local.INFO: Packet analysis {"connection_id":109693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:19:13] local.INFO: Extracted packet for processing {"connection_id":109693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:13] 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-06-21 18:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":109693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":109693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":109693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:19:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:19:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":109693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:19:13] local.INFO: GPS data processed {"connection_id":109693,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:19:13] local.INFO: Acknowledgment sent {"connection_id":109693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:19:27] local.INFO: TCP Data received {"connection_id":109694,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:19:27] local.INFO: Processing buffer {"connection_id":109694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:19:27] local.INFO: IMEI packet received {"connection_id":109694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":109694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:19:30] local.INFO: TCP Data received {"connection_id":109093,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:19:30] local.INFO: Processing buffer {"connection_id":109093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:19:30] local.INFO: IMEI packet received {"connection_id":109093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":109093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:19:32] local.INFO: TCP Data received {"connection_id":109694,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:19:32] local.INFO: Processing buffer {"connection_id":109694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:19:32] local.INFO: IMEI packet received {"connection_id":109694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":109694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:19:33] local.INFO: TCP Data received {"connection_id":109694,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:19:33] local.INFO: Processing buffer {"connection_id":109694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:19:33] local.INFO: Packet analysis {"connection_id":109694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:19:33] local.INFO: Extracted packet for processing {"connection_id":109694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":109694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:19:33] local.INFO: GPS data processed {"connection_id":109694,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:19:33] local.INFO: Acknowledgment sent {"connection_id":109694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:19:34] local.INFO: TCP Data received {"connection_id":109093,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:19:34] local.INFO: Processing buffer {"connection_id":109093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:19:34] local.INFO: IMEI packet received {"connection_id":109093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":109093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:19:36] local.INFO: TCP Data received {"connection_id":109093,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:19:36] local.INFO: Processing buffer {"connection_id":109093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:19:36] local.INFO: Packet analysis {"connection_id":109093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:19:36] local.INFO: Extracted packet for processing {"connection_id":109093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19: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-06-21 18:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:19:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":109093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:19:36] local.INFO: GPS data processed {"connection_id":109093,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:19:36] local.INFO: Acknowledgment sent {"connection_id":109093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:19:38] local.INFO: TCP Data received {"connection_id":109694,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:19:38] local.INFO: Processing buffer {"connection_id":109694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:19:38] local.INFO: Packet analysis {"connection_id":109694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:19:38] local.INFO: Extracted packet for processing {"connection_id":109694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":109694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:19:38] local.INFO: GPS data processed {"connection_id":109694,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:19:38] local.INFO: Acknowledgment sent {"connection_id":109694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:20:08] local.INFO: TCP Data received {"connection_id":109093,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:20:08] local.INFO: Processing buffer {"connection_id":109093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:20:08] local.INFO: Packet analysis {"connection_id":109093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:20:08] local.INFO: Extracted packet for processing {"connection_id":109093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:08] 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-06-21 18:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":109093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:20:08] local.INFO: GPS data processed {"connection_id":109093,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:20:08] local.INFO: Acknowledgment sent {"connection_id":109093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:20:22] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:20:22] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:20:22] local.INFO: IMEI packet received {"connection_id":110655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":110655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:20:27] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:20:27] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:20:27] local.INFO: IMEI packet received {"connection_id":110655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":110655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:20:28] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:20:28] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:20:28] local.INFO: Packet analysis {"connection_id":110655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:20:28] local.INFO: Extracted packet for processing {"connection_id":110655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":110655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:20:28] local.INFO: GPS data processed {"connection_id":110655,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:20:28] local.INFO: Acknowledgment sent {"connection_id":110655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:20:29] local.INFO: TCP Data received {"connection_id":109695,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:20:29] local.INFO: Processing buffer {"connection_id":109695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:20:29] local.INFO: IMEI packet received {"connection_id":109695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":109695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:20:34] local.INFO: TCP Data received {"connection_id":109695,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:20:34] local.INFO: Processing buffer {"connection_id":109695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:20:34] local.INFO: IMEI packet received {"connection_id":109695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":109695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:20:37] local.INFO: TCP Data received {"connection_id":109695,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:20:37] local.INFO: Processing buffer {"connection_id":109695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea367510012d34c54006aa3f800012007225..."} 
[2026-06-21 18:20:37] local.INFO: Packet analysis {"connection_id":109695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:20:37] local.INFO: Extracted packet for processing {"connection_id":109695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea36"} 
[2026-06-21 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203672832001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:37] 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-06-21 18:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782045898000,"timestamp_ms":1782045898000,"timestamp_seconds":1782045898,"priority":1,"record_length":96,"hex_timestamp":"0000019eea367510"} 
[2026-06-21 18:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203672832001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203672832001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203672832001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":109695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:20:37] local.INFO: GPS data processed {"connection_id":109695,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:20:37] local.INFO: Acknowledgment sent {"connection_id":109695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:20:59] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:20:59] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:20:59] local.INFO: Packet analysis {"connection_id":110655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:20:59] local.INFO: Extracted packet for processing {"connection_id":110655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":110655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:20:59] local.INFO: GPS data processed {"connection_id":110655,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:20:59] local.INFO: Acknowledgment sent {"connection_id":110655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:21:08] local.INFO: TCP Data received {"connection_id":109695,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:08] local.INFO: Processing buffer {"connection_id":109695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:08] local.INFO: Packet analysis {"connection_id":109695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:21:08] local.INFO: Extracted packet for processing {"connection_id":109695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:08] 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-06-21 18:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:21:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":109695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:21:08] local.INFO: GPS data processed {"connection_id":109695,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:21:08] local.INFO: Acknowledgment sent {"connection_id":109695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:21:22] local.INFO: TCP Data received {"connection_id":109697,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:21:22] local.INFO: Processing buffer {"connection_id":109697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:21:22] local.INFO: IMEI packet received {"connection_id":109697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":109697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:21:27] local.INFO: TCP Data received {"connection_id":109697,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:21:27] local.INFO: Processing buffer {"connection_id":109697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:21:27] local.INFO: IMEI packet received {"connection_id":109697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":109697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:21:28] local.INFO: TCP Data received {"connection_id":109697,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:21:28] local.INFO: Processing buffer {"connection_id":109697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:21:28] local.INFO: Packet analysis {"connection_id":109697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:21:28] local.INFO: Extracted packet for processing {"connection_id":109697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:21:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":109697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:21:28] local.INFO: GPS data processed {"connection_id":109697,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:21:28] local.INFO: Acknowledgment sent {"connection_id":109697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:21:34] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:21:34] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:21:34] local.INFO: IMEI packet received {"connection_id":108925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":108925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:21:39] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:21:39] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:21:39] local.INFO: IMEI packet received {"connection_id":108925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":108925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:21:42] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:42] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:42] local.INFO: Packet analysis {"connection_id":108925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:21:42] local.INFO: Extracted packet for processing {"connection_id":108925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21: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-06-21 18:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":108925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:21:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":108925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:21:42] local.INFO: GPS data processed {"connection_id":108925,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:21:42] local.INFO: Acknowledgment sent {"connection_id":108925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:21:45] local.INFO: TCP Data received {"connection_id":108925,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:45] local.INFO: Processing buffer {"connection_id":108925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:21:45] local.INFO: Packet analysis {"connection_id":108925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:21:45] local.INFO: Extracted packet for processing {"connection_id":108925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:45] 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-06-21 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 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-06-21 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:21:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":108925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:21:45] local.INFO: GPS data processed {"connection_id":108925,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:21:45] local.INFO: Acknowledgment sent {"connection_id":108925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:21:59] local.INFO: TCP Data received {"connection_id":109697,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:21:59] local.INFO: Processing buffer {"connection_id":109697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:21:59] local.INFO: Packet analysis {"connection_id":109697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:21:59] local.INFO: Extracted packet for processing {"connection_id":109697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:21:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":109697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:21:59] local.INFO: GPS data processed {"connection_id":109697,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:21:59] local.INFO: Acknowledgment sent {"connection_id":109697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:22:22] local.INFO: TCP Data received {"connection_id":109699,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:22:22] local.INFO: Processing buffer {"connection_id":109699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:22:22] local.INFO: IMEI packet received {"connection_id":109699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":109699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:22:27] local.INFO: TCP Data received {"connection_id":109699,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:22:27] local.INFO: Processing buffer {"connection_id":109699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:22:27] local.INFO: IMEI packet received {"connection_id":109699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":109699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:22:28] local.INFO: TCP Data received {"connection_id":109699,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:22:28] local.INFO: Processing buffer {"connection_id":109699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3826a8012d196400071ff0600043006e28..."} 
[2026-06-21 18:22:28] local.INFO: Packet analysis {"connection_id":109699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:22:28] local.INFO: Extracted packet for processing {"connection_id":109699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea38"} 
[2026-06-21 18:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203701248001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046009000,"timestamp_ms":1782046009000,"timestamp_seconds":1782046009,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3826a8"} 
[2026-06-21 18:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203701248001,"66":2177,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203701248001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203701248001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":109699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:22:28] local.INFO: GPS data processed {"connection_id":109699,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:22:28] local.INFO: Acknowledgment sent {"connection_id":109699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:22:29] local.INFO: TCP Data received {"connection_id":109094,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:22:29] local.INFO: Processing buffer {"connection_id":109094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:22:29] local.INFO: IMEI packet received {"connection_id":109094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":109094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:22:34] local.INFO: TCP Data received {"connection_id":109094,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:22:34] local.INFO: Processing buffer {"connection_id":109094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:22:34] local.INFO: IMEI packet received {"connection_id":109094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":109094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:22:36] local.INFO: TCP Data received {"connection_id":109094,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:22:36] local.INFO: Processing buffer {"connection_id":109094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:22:36] local.INFO: Packet analysis {"connection_id":109094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:22:36] local.INFO: Extracted packet for processing {"connection_id":109094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22: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-06-21 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 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-06-21 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:22:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":109094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:22:36] local.INFO: GPS data processed {"connection_id":109094,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:22:36] local.INFO: Acknowledgment sent {"connection_id":109094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:22:59] local.INFO: TCP Data received {"connection_id":109699,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:22:59] local.INFO: Processing buffer {"connection_id":109699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:22:59] local.INFO: Packet analysis {"connection_id":109699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:22:59] local.INFO: Extracted packet for processing {"connection_id":109699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:22: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-06-21 18:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":109699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:23:00] local.INFO: GPS data processed {"connection_id":109699,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:23:00] local.INFO: Acknowledgment sent {"connection_id":109699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:23:08] local.INFO: TCP Data received {"connection_id":109094,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:23:08] local.INFO: Processing buffer {"connection_id":109094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:23:08] local.INFO: Packet analysis {"connection_id":109094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:23:08] local.INFO: Extracted packet for processing {"connection_id":109094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:08] 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-06-21 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":109094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:23:08] local.INFO: GPS data processed {"connection_id":109094,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:23:08] local.INFO: Acknowledgment sent {"connection_id":109094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:23:27] local.INFO: TCP Data received {"connection_id":109700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:23:27] local.INFO: Processing buffer {"connection_id":109700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:23:27] local.INFO: IMEI packet received {"connection_id":109700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":109700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:23:29] local.INFO: TCP Data received {"connection_id":109701,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:23:29] local.INFO: Processing buffer {"connection_id":109701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:23:29] local.INFO: IMEI packet received {"connection_id":109701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":109701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:23:32] local.INFO: TCP Data received {"connection_id":109700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:23:32] local.INFO: Processing buffer {"connection_id":109700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:23:32] local.INFO: IMEI packet received {"connection_id":109700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":109700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:23:33] local.INFO: TCP Data received {"connection_id":109700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:23:33] local.INFO: Processing buffer {"connection_id":109700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:23:33] local.INFO: Packet analysis {"connection_id":109700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:23:33] local.INFO: Extracted packet for processing {"connection_id":109700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:23:33] 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-06-21 18:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:23:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":109700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:23:33] local.INFO: GPS data processed {"connection_id":109700,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:23:33] local.INFO: Acknowledgment sent {"connection_id":109700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:23:34] local.INFO: TCP Data received {"connection_id":109701,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:23:34] local.INFO: Processing buffer {"connection_id":109701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:23:34] local.INFO: IMEI packet received {"connection_id":109701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":109701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:23:36] local.INFO: TCP Data received {"connection_id":109701,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:23:36] local.INFO: Processing buffer {"connection_id":109701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:23:36] local.INFO: Packet analysis {"connection_id":109701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:23:36] local.INFO: Extracted packet for processing {"connection_id":109701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23: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-06-21 18:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:23:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":109701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:23:36] local.INFO: GPS data processed {"connection_id":109701,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:23:36] local.INFO: Acknowledgment sent {"connection_id":109701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:23:38] local.INFO: TCP Data received {"connection_id":109700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:23:38] local.INFO: Processing buffer {"connection_id":109700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:23:38] local.INFO: Packet analysis {"connection_id":109700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:23:38] local.INFO: Extracted packet for processing {"connection_id":109700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:23:38] 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-06-21 18:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:23:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":109700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:23:38] local.INFO: GPS data processed {"connection_id":109700,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:23:38] local.INFO: Acknowledgment sent {"connection_id":109700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:24:08] local.INFO: TCP Data received {"connection_id":109701,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:24:08] local.INFO: Processing buffer {"connection_id":109701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:24:08] local.INFO: Packet analysis {"connection_id":109701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:24:08] local.INFO: Extracted packet for processing {"connection_id":109701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:08] 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-06-21 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":109701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:24:08] local.INFO: GPS data processed {"connection_id":109701,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:24:08] local.INFO: Acknowledgment sent {"connection_id":109701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:24:22] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:24:22] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:24:22] local.INFO: IMEI packet received {"connection_id":110656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":110656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:24:27] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:24:27] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:24:27] local.INFO: IMEI packet received {"connection_id":110656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":110656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:24:28] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:24:28] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:24:28] local.INFO: Packet analysis {"connection_id":110656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:24:28] local.INFO: Extracted packet for processing {"connection_id":110656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:24: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-06-21 18:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":110656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:24:29] local.INFO: GPS data processed {"connection_id":110656,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:24:29] local.INFO: Acknowledgment sent {"connection_id":110656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:24:29] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:24:29] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:24:29] local.INFO: IMEI packet received {"connection_id":109096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":109096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:24:32] local.INFO: TCP Data received {"connection_id":108926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:24:32] local.INFO: Processing buffer {"connection_id":108926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:24:32] local.INFO: IMEI packet received {"connection_id":108926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":108926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:24:34] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:24:34] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:24:34] local.INFO: IMEI packet received {"connection_id":109096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":109096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:24:37] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:24:37] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:24:37] local.INFO: Packet analysis {"connection_id":109096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:24:37] local.INFO: Extracted packet for processing {"connection_id":109096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:24:37] 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-06-21 18:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:24:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":109096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:24:37] local.INFO: GPS data processed {"connection_id":109096,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:24:37] local.INFO: Acknowledgment sent {"connection_id":109096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:25:00] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:00] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:00] local.INFO: Packet analysis {"connection_id":110656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:25:00] local.INFO: Extracted packet for processing {"connection_id":110656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:25:00] 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-06-21 18:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:25:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":110656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:25:00] local.INFO: GPS data processed {"connection_id":110656,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:25:00] local.INFO: Acknowledgment sent {"connection_id":110656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:25:08] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:25:08] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:25:08] local.INFO: Packet analysis {"connection_id":109096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:25:08] local.INFO: Extracted packet for processing {"connection_id":109096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:08] 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-06-21 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":109096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:25:08] local.INFO: GPS data processed {"connection_id":109096,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:25:08] local.INFO: Acknowledgment sent {"connection_id":109096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:25:12] local.INFO: TCP Data received {"connection_id":109097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:25:12] local.INFO: Processing buffer {"connection_id":109097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:25:12] local.INFO: IMEI packet received {"connection_id":109097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":109097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:25:22] local.INFO: TCP Data received {"connection_id":109702,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:25:22] local.INFO: Processing buffer {"connection_id":109702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:25:22] local.INFO: IMEI packet received {"connection_id":109702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":109702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:25:27] local.INFO: TCP Data received {"connection_id":109702,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:25:27] local.INFO: Processing buffer {"connection_id":109702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:25:27] local.INFO: IMEI packet received {"connection_id":109702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":109702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:25:28] local.INFO: TCP Data received {"connection_id":109702,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:28] local.INFO: Processing buffer {"connection_id":109702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:28] local.INFO: Packet analysis {"connection_id":109702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:25:28] local.INFO: Extracted packet for processing {"connection_id":109702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:25: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-06-21 18: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":109702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:25:28] local.INFO: GPS data processed {"connection_id":109702,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:25:28] local.INFO: Acknowledgment sent {"connection_id":109702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:25:29] local.INFO: TCP Data received {"connection_id":109703,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:25:29] local.INFO: Processing buffer {"connection_id":109703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:25:29] local.INFO: IMEI packet received {"connection_id":109703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":109703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:25:34] local.INFO: TCP Data received {"connection_id":109703,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:25:34] local.INFO: Processing buffer {"connection_id":109703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:25:34] local.INFO: IMEI packet received {"connection_id":109703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":109703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:25:36] local.INFO: TCP Data received {"connection_id":109703,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:25:36] local.INFO: Processing buffer {"connection_id":109703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3b0cd8012d34c54006aa3f80001b007222..."} 
[2026-06-21 18:25:36] local.INFO: Packet analysis {"connection_id":109703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:25:36] local.INFO: Extracted packet for processing {"connection_id":109703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3b"} 
[2026-06-21 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203749888001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25: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-06-21 18:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782046199000,"timestamp_ms":1782046199000,"timestamp_seconds":1782046199,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3b0cd8"} 
[2026-06-21 18:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203749888001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203749888001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:25:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203749888001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":109703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:25:36] local.INFO: GPS data processed {"connection_id":109703,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:25:36] local.INFO: Acknowledgment sent {"connection_id":109703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:25:59] local.INFO: TCP Data received {"connection_id":109702,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:59] local.INFO: Processing buffer {"connection_id":109702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:25:59] local.INFO: Packet analysis {"connection_id":109702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:25:59] local.INFO: Extracted packet for processing {"connection_id":109702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:25: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-06-21 18:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":109702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:25:59] local.INFO: GPS data processed {"connection_id":109702,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:25:59] local.INFO: Acknowledgment sent {"connection_id":109702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:26:09] local.INFO: TCP Data received {"connection_id":109703,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:26:09] local.INFO: Processing buffer {"connection_id":109703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:26:09] local.INFO: Packet analysis {"connection_id":109703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:26:09] local.INFO: Extracted packet for processing {"connection_id":109703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26: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-06-21 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 18:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":109703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:26:09] local.INFO: GPS data processed {"connection_id":109703,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:26:09] local.INFO: Acknowledgment sent {"connection_id":109703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:26:22] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:26:22] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:26:22] local.INFO: IMEI packet received {"connection_id":110657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":110657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:26:27] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:26:27] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:26:27] local.INFO: IMEI packet received {"connection_id":110657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":110657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:26:28] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:26:28] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:26:28] local.INFO: Packet analysis {"connection_id":110657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:26:28] local.INFO: Extracted packet for processing {"connection_id":110657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:26: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-06-21 18:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":110657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:26:28] local.INFO: GPS data processed {"connection_id":110657,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:26:28] local.INFO: Acknowledgment sent {"connection_id":110657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:26:29] local.INFO: TCP Data received {"connection_id":109704,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:26:29] local.INFO: Processing buffer {"connection_id":109704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:26:29] local.INFO: IMEI packet received {"connection_id":109704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":109704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:26:34] local.INFO: TCP Data received {"connection_id":109704,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:26:34] local.INFO: Processing buffer {"connection_id":109704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:26:34] local.INFO: IMEI packet received {"connection_id":109704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":109704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:26:36] local.INFO: TCP Data received {"connection_id":109704,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:26:36] local.INFO: Processing buffer {"connection_id":109704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:26:36] local.INFO: Packet analysis {"connection_id":109704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:26:36] local.INFO: Extracted packet for processing {"connection_id":109704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26: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-06-21 18:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 18:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":109704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:26:36] local.INFO: GPS data processed {"connection_id":109704,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:26:36] local.INFO: Acknowledgment sent {"connection_id":109704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:26:59] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:26:59] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:26:59] local.INFO: Packet analysis {"connection_id":110657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:26:59] local.INFO: Extracted packet for processing {"connection_id":110657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:26: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-06-21 18:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":110657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:27:00] local.INFO: GPS data processed {"connection_id":110657,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:27:00] local.INFO: Acknowledgment sent {"connection_id":110657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:27:07] local.INFO: TCP Data received {"connection_id":109704,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:27:07] local.INFO: Processing buffer {"connection_id":109704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:27:07] local.INFO: Packet analysis {"connection_id":109704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:27:07] local.INFO: Extracted packet for processing {"connection_id":109704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:07] 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-06-21 18:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 18:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:27:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":109704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:27:07] local.INFO: GPS data processed {"connection_id":109704,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:27:07] local.INFO: Acknowledgment sent {"connection_id":109704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:27:22] local.INFO: TCP Data received {"connection_id":108927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:27:22] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:27:22] local.INFO: IMEI packet received {"connection_id":108927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":108927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:27:27] local.INFO: TCP Data received {"connection_id":108927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:27:27] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:27:27] local.INFO: IMEI packet received {"connection_id":108927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":108927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:27:28] local.INFO: TCP Data received {"connection_id":108927,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:27:28] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3cbe70012d196400071ff0600043006e28..."} 
[2026-06-21 18:27:28] local.INFO: Packet analysis {"connection_id":108927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:27:28] local.INFO: Extracted packet for processing {"connection_id":108927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3c"} 
[2026-06-21 18:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203778304001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046310000,"timestamp_ms":1782046310000,"timestamp_seconds":1782046310,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3cbe70"} 
[2026-06-21 18:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:27: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-06-21 18:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-21 18:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203778304001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203778304001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:27:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203778304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":108927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:27:28] local.INFO: GPS data processed {"connection_id":108927,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:27:28] local.INFO: Acknowledgment sent {"connection_id":108927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:27:29] local.INFO: TCP Data received {"connection_id":109705,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:27:29] local.INFO: Processing buffer {"connection_id":109705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:27:29] local.INFO: IMEI packet received {"connection_id":109705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":109705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:27:34] local.INFO: TCP Data received {"connection_id":109705,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:27:34] local.INFO: Processing buffer {"connection_id":109705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:27:34] local.INFO: IMEI packet received {"connection_id":109705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":109705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:27:36] local.INFO: TCP Data received {"connection_id":109705,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:27:36] local.INFO: Processing buffer {"connection_id":109705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:27:36] local.INFO: Packet analysis {"connection_id":109705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:27:36] local.INFO: Extracted packet for processing {"connection_id":109705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27: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-06-21 18:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 18:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:27:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":109705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:27:36] local.INFO: GPS data processed {"connection_id":109705,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:27:36] local.INFO: Acknowledgment sent {"connection_id":109705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:27:59] local.INFO: TCP Data received {"connection_id":108927,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:27:59] local.INFO: Processing buffer {"connection_id":108927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:27:59] local.INFO: Packet analysis {"connection_id":108927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:27:59] local.INFO: Extracted packet for processing {"connection_id":108927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:27: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-06-21 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:27:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":108927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:27:59] local.INFO: GPS data processed {"connection_id":108927,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:27:59] local.INFO: Acknowledgment sent {"connection_id":108927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:28:07] local.INFO: TCP Data received {"connection_id":109705,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:28:07] local.INFO: Processing buffer {"connection_id":109705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:28:07] local.INFO: Packet analysis {"connection_id":109705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:28:07] local.INFO: Extracted packet for processing {"connection_id":109705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:07] 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-06-21 18:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 18:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:28:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":109705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:28:07] local.INFO: GPS data processed {"connection_id":109705,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:28:07] local.INFO: Acknowledgment sent {"connection_id":109705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:28:22] local.INFO: TCP Data received {"connection_id":109100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:28:22] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:28:22] local.INFO: IMEI packet received {"connection_id":109100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":109100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:28:27] local.INFO: TCP Data received {"connection_id":109100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:28:27] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:28:27] local.INFO: IMEI packet received {"connection_id":109100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":109100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:28:28] local.INFO: TCP Data received {"connection_id":109100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:28:28] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:28:28] local.INFO: Packet analysis {"connection_id":109100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:28:28] local.INFO: Extracted packet for processing {"connection_id":109100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:28: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-06-21 18:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:28:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":109100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:28:28] local.INFO: GPS data processed {"connection_id":109100,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:28:28] local.INFO: Acknowledgment sent {"connection_id":109100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:28:29] local.INFO: TCP Data received {"connection_id":109706,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:28:29] local.INFO: Processing buffer {"connection_id":109706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:28:29] local.INFO: IMEI packet received {"connection_id":109706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":109706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:28:34] local.INFO: TCP Data received {"connection_id":109706,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:28:34] local.INFO: Processing buffer {"connection_id":109706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:28:34] local.INFO: IMEI packet received {"connection_id":109706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":109706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:28:37] local.INFO: TCP Data received {"connection_id":109706,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:28:37] local.INFO: Processing buffer {"connection_id":109706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:28:37] local.INFO: Packet analysis {"connection_id":109706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:28:37] local.INFO: Extracted packet for processing {"connection_id":109706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:37] 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-06-21 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 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-06-21 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:28:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":109706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:28:37] local.INFO: GPS data processed {"connection_id":109706,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:28:37] local.INFO: Acknowledgment sent {"connection_id":109706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:28:59] local.INFO: TCP Data received {"connection_id":109100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:28:59] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:28:59] local.INFO: Packet analysis {"connection_id":109100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:28:59] local.INFO: Extracted packet for processing {"connection_id":109100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:28: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-06-21 18:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":109100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:28:59] local.INFO: GPS data processed {"connection_id":109100,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:28:59] local.INFO: Acknowledgment sent {"connection_id":109100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:29:08] local.INFO: TCP Data received {"connection_id":109706,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:08] local.INFO: Processing buffer {"connection_id":109706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:08] local.INFO: Packet analysis {"connection_id":109706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:29:08] local.INFO: Extracted packet for processing {"connection_id":109706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:08] 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-06-21 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":109706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:29:09] local.INFO: GPS data processed {"connection_id":109706,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:29:09] local.INFO: Acknowledgment sent {"connection_id":109706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:29:22] local.INFO: TCP Data received {"connection_id":110659,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:29:22] local.INFO: Processing buffer {"connection_id":110659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:29:22] local.INFO: IMEI packet received {"connection_id":110659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":110659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:29:27] local.INFO: TCP Data received {"connection_id":110659,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:29:27] local.INFO: Processing buffer {"connection_id":110659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:29:27] local.INFO: IMEI packet received {"connection_id":110659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":110659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:29:28] local.INFO: TCP Data received {"connection_id":110659,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:29:28] local.INFO: Processing buffer {"connection_id":110659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:29:28] local.INFO: Packet analysis {"connection_id":110659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:29:28] local.INFO: Extracted packet for processing {"connection_id":110659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:29: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-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:29:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":110659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:29:28] local.INFO: GPS data processed {"connection_id":110659,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:29:28] local.INFO: Acknowledgment sent {"connection_id":110659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:29:34] local.INFO: TCP Data received {"connection_id":109101,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:29:34] local.INFO: Processing buffer {"connection_id":109101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:29:34] local.INFO: IMEI packet received {"connection_id":109101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":109101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:29:39] local.INFO: TCP Data received {"connection_id":109101,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:29:39] local.INFO: Processing buffer {"connection_id":109101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:29:39] local.INFO: IMEI packet received {"connection_id":109101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":109101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:29:42] local.INFO: TCP Data received {"connection_id":109101,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:42] local.INFO: Processing buffer {"connection_id":109101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:42] local.INFO: Packet analysis {"connection_id":109101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:29:42] local.INFO: Extracted packet for processing {"connection_id":109101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29: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-06-21 18:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 18:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":109101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":109101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":109101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:29:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":109101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:29:42] local.INFO: GPS data processed {"connection_id":109101,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:29:42] local.INFO: Acknowledgment sent {"connection_id":109101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:29:45] local.INFO: TCP Data received {"connection_id":109101,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:45] local.INFO: Processing buffer {"connection_id":109101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:29:45] local.INFO: Packet analysis {"connection_id":109101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:29:45] local.INFO: Extracted packet for processing {"connection_id":109101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:45] 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-06-21 18:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 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-06-21 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:29:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":109101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:29:45] local.INFO: GPS data processed {"connection_id":109101,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:29:45] local.INFO: Acknowledgment sent {"connection_id":109101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:29:59] local.INFO: TCP Data received {"connection_id":110659,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:29:59] local.INFO: Processing buffer {"connection_id":110659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:29:59] local.INFO: Packet analysis {"connection_id":110659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:29:59] local.INFO: Extracted packet for processing {"connection_id":110659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:29: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-06-21 18:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":110659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:29:59] local.INFO: GPS data processed {"connection_id":110659,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:29:59] local.INFO: Acknowledgment sent {"connection_id":110659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:30:23] local.INFO: TCP Data received {"connection_id":109103,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:30:23] local.INFO: Processing buffer {"connection_id":109103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:30:23] local.INFO: IMEI packet received {"connection_id":109103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":109103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:30:27] local.INFO: TCP Data received {"connection_id":109103,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:30:27] local.INFO: Processing buffer {"connection_id":109103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:30:27] local.INFO: IMEI packet received {"connection_id":109103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":109103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:30:28] local.INFO: TCP Data received {"connection_id":109103,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:30:28] local.INFO: Processing buffer {"connection_id":109103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:30:28] local.INFO: Packet analysis {"connection_id":109103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:30:28] local.INFO: Extracted packet for processing {"connection_id":109103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:30: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-06-21 18:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":109103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:30:28] local.INFO: GPS data processed {"connection_id":109103,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:30:28] local.INFO: Acknowledgment sent {"connection_id":109103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:30:30] local.INFO: TCP Data received {"connection_id":109708,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:30:30] local.INFO: Processing buffer {"connection_id":109708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:30:30] local.INFO: IMEI packet received {"connection_id":109708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":109708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:30:32] local.INFO: TCP Data received {"connection_id":109102,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:30:32] local.INFO: Processing buffer {"connection_id":109102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:30:32] local.INFO: IMEI packet received {"connection_id":109102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":109102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:30:34] local.INFO: TCP Data received {"connection_id":109708,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:30:34] local.INFO: Processing buffer {"connection_id":109708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:30:34] local.INFO: IMEI packet received {"connection_id":109708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":109708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:30:37] local.INFO: TCP Data received {"connection_id":109708,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:30:37] local.INFO: Processing buffer {"connection_id":109708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea3fa4a0012d34c54006aa3f80001d007226..."} 
[2026-06-21 18:30:37] local.INFO: Packet analysis {"connection_id":109708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:30:37] local.INFO: Extracted packet for processing {"connection_id":109708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea3f"} 
[2026-06-21 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":29,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203826944001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:37] 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-06-21 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782046500000,"timestamp_ms":1782046500000,"timestamp_seconds":1782046500,"priority":1,"record_length":96,"hex_timestamp":"0000019eea3fa4a0"} 
[2026-06-21 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-06-21 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203826944001,"66":25299,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203826944001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:30:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203826944001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":109708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:30:37] local.INFO: GPS data processed {"connection_id":109708,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:30:37] local.INFO: Acknowledgment sent {"connection_id":109708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:30:59] local.INFO: TCP Data received {"connection_id":109103,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:30:59] local.INFO: Processing buffer {"connection_id":109103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:30:59] local.INFO: Packet analysis {"connection_id":109103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:30:59] local.INFO: Extracted packet for processing {"connection_id":109103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:30: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-06-21 18:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":109103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:31:00] local.INFO: GPS data processed {"connection_id":109103,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:31:00] local.INFO: Acknowledgment sent {"connection_id":109103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:31:10] local.INFO: TCP Data received {"connection_id":109708,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:31:10] local.INFO: Processing buffer {"connection_id":109708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:31:10] local.INFO: Packet analysis {"connection_id":109708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:31:10] local.INFO: Extracted packet for processing {"connection_id":109708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:10] 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-06-21 18:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 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-06-21 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:31:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":109708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:31:10] local.INFO: GPS data processed {"connection_id":109708,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:31:10] local.INFO: Acknowledgment sent {"connection_id":109708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:31:12] local.INFO: TCP Data received {"connection_id":110660,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:31:12] local.INFO: Processing buffer {"connection_id":110660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:31:12] local.INFO: IMEI packet received {"connection_id":110660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":110660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:31:22] local.INFO: TCP Data received {"connection_id":109104,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:31:22] local.INFO: Processing buffer {"connection_id":109104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:31:22] local.INFO: IMEI packet received {"connection_id":109104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":109104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:31:27] local.INFO: TCP Data received {"connection_id":109104,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:31:27] local.INFO: Processing buffer {"connection_id":109104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:31:27] local.INFO: IMEI packet received {"connection_id":109104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":109104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:31:29] local.INFO: TCP Data received {"connection_id":109104,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:31:29] local.INFO: Processing buffer {"connection_id":109104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:31:29] local.INFO: Packet analysis {"connection_id":109104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:31:29] local.INFO: Extracted packet for processing {"connection_id":109104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:31:29] 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-06-21 18:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":109104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":109104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":109104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:31:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":109104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:31:29] local.INFO: GPS data processed {"connection_id":109104,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:31:29] local.INFO: Acknowledgment sent {"connection_id":109104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:31:29] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:31:29] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:31:29] local.INFO: IMEI packet received {"connection_id":108928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":108928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:31:34] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:31:34] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:31:34] local.INFO: IMEI packet received {"connection_id":108928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":108928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:31:37] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:31:37] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:31:37] local.INFO: Packet analysis {"connection_id":108928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:31:37] local.INFO: Extracted packet for processing {"connection_id":108928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:31:37] 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-06-21 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:31:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":108928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:31:37] local.INFO: GPS data processed {"connection_id":108928,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:31:37] local.INFO: Acknowledgment sent {"connection_id":108928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:32:00] local.INFO: TCP Data received {"connection_id":109104,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:32:00] local.INFO: Processing buffer {"connection_id":109104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea415638012d196400071ff0600043006e2b..."} 
[2026-06-21 18:32:00] local.INFO: Packet analysis {"connection_id":109104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:32:00] local.INFO: Extracted packet for processing {"connection_id":109104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea41"} 
[2026-06-21 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203855360001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782046611000,"timestamp_ms":1782046611000,"timestamp_seconds":1782046611,"priority":1,"record_length":96,"hex_timestamp":"0000019eea415638"} 
[2026-06-21 18:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:32:00] 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-06-21 18:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203855360001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203855360001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:32:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203855360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":109104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:32:00] local.INFO: GPS data processed {"connection_id":109104,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:32:00] local.INFO: Acknowledgment sent {"connection_id":109104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:32:08] local.INFO: TCP Data received {"connection_id":108928,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:08] local.INFO: Processing buffer {"connection_id":108928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:08] local.INFO: Packet analysis {"connection_id":108928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:32:08] local.INFO: Extracted packet for processing {"connection_id":108928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:08] 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-06-21 18:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 18:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":108928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:32:08] local.INFO: GPS data processed {"connection_id":108928,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:32:08] local.INFO: Acknowledgment sent {"connection_id":108928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:32:27] local.INFO: TCP Data received {"connection_id":109709,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:32:27] local.INFO: Processing buffer {"connection_id":109709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:32:27] local.INFO: IMEI packet received {"connection_id":109709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":109709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:32:30] local.INFO: TCP Data received {"connection_id":109709,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:32:30] local.INFO: Processing buffer {"connection_id":109709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:32:30] local.INFO: IMEI packet received {"connection_id":109709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":109709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:32:31] local.INFO: TCP Data received {"connection_id":109709,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:32:31] local.INFO: Processing buffer {"connection_id":109709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:32:31] local.INFO: Packet analysis {"connection_id":109709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:32:31] local.INFO: Extracted packet for processing {"connection_id":109709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:32: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-06-21 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:32:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":109709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:32:31] local.INFO: GPS data processed {"connection_id":109709,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:32:31] local.INFO: Acknowledgment sent {"connection_id":109709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:32:32] local.INFO: TCP Data received {"connection_id":109709,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:32:32] local.INFO: Processing buffer {"connection_id":109709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:32:32] local.INFO: Packet analysis {"connection_id":109709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:32:32] local.INFO: Extracted packet for processing {"connection_id":109709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:32:32] 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-06-21 18:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:32:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":109709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:32:33] local.INFO: GPS data processed {"connection_id":109709,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:32:33] local.INFO: Acknowledgment sent {"connection_id":109709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:32:34] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:32:34] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:32:34] local.INFO: IMEI packet received {"connection_id":110661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":110661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:32:39] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:32:39] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:32:39] local.INFO: IMEI packet received {"connection_id":110661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":110661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:32:41] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:41] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:41] local.INFO: Packet analysis {"connection_id":110661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:32:41] local.INFO: Extracted packet for processing {"connection_id":110661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:41] 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-06-21 18:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 18:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:32:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":110661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:32:41] local.INFO: GPS data processed {"connection_id":110661,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:32:41] local.INFO: Acknowledgment sent {"connection_id":110661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:32:45] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:45] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:32:45] local.INFO: Packet analysis {"connection_id":110661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:32:45] local.INFO: Extracted packet for processing {"connection_id":110661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:32:45] 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-06-21 18:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 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-06-21 18:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:32:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:32:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":110661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:32:45] local.INFO: GPS data processed {"connection_id":110661,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:32:45] local.INFO: Acknowledgment sent {"connection_id":110661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:33:03] local.INFO: TCP Data received {"connection_id":109709,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:03] local.INFO: Processing buffer {"connection_id":109709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:03] local.INFO: Packet analysis {"connection_id":109709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:33:03] local.INFO: Extracted packet for processing {"connection_id":109709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:33:03] 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-06-21 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":109709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:33:04] local.INFO: GPS data processed {"connection_id":109709,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:33:04] local.INFO: Acknowledgment sent {"connection_id":109709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:33:22] local.INFO: TCP Data received {"connection_id":108929,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:33:22] local.INFO: Processing buffer {"connection_id":108929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:33:22] local.INFO: IMEI packet received {"connection_id":108929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":108929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:33:27] local.INFO: TCP Data received {"connection_id":108929,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:33:27] local.INFO: Processing buffer {"connection_id":108929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:33:27] local.INFO: IMEI packet received {"connection_id":108929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":108929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:33:28] local.INFO: TCP Data received {"connection_id":108929,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:28] local.INFO: Processing buffer {"connection_id":108929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:28] local.INFO: Packet analysis {"connection_id":108929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:33:28] local.INFO: Extracted packet for processing {"connection_id":108929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:33: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-06-21 18:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":108929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:33:28] local.INFO: GPS data processed {"connection_id":108929,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:33:28] local.INFO: Acknowledgment sent {"connection_id":108929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:33:30] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:33:30] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:33:30] local.INFO: IMEI packet received {"connection_id":108930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":108930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:33:34] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:33:34] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:33:34] local.INFO: IMEI packet received {"connection_id":108930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":108930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:33:37] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:33:37] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:33:37] local.INFO: Packet analysis {"connection_id":108930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:33:37] local.INFO: Extracted packet for processing {"connection_id":108930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:37] 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-06-21 18:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 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-06-21 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:33:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":108930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:33:37] local.INFO: GPS data processed {"connection_id":108930,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:33:37] local.INFO: Acknowledgment sent {"connection_id":108930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:33:59] local.INFO: TCP Data received {"connection_id":108929,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:59] local.INFO: Processing buffer {"connection_id":108929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:33:59] local.INFO: Packet analysis {"connection_id":108929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:33:59] local.INFO: Extracted packet for processing {"connection_id":108929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:33: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-06-21 18:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":108929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:33:59] local.INFO: GPS data processed {"connection_id":108929,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:33:59] local.INFO: Acknowledgment sent {"connection_id":108929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:34:09] local.INFO: TCP Data received {"connection_id":108930,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:34:09] local.INFO: Processing buffer {"connection_id":108930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:34:09] local.INFO: Packet analysis {"connection_id":108930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:34:09] local.INFO: Extracted packet for processing {"connection_id":108930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34: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-06-21 18:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 18:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":108930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:34:09] local.INFO: GPS data processed {"connection_id":108930,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:34:09] local.INFO: Acknowledgment sent {"connection_id":108930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:34:23] local.INFO: TCP Data received {"connection_id":108931,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:34:23] local.INFO: Processing buffer {"connection_id":108931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:34:23] local.INFO: IMEI packet received {"connection_id":108931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":108931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:34:27] local.INFO: TCP Data received {"connection_id":108931,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:34:27] local.INFO: Processing buffer {"connection_id":108931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:34:27] local.INFO: IMEI packet received {"connection_id":108931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":108931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:34:28] local.INFO: TCP Data received {"connection_id":108931,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:34:28] local.INFO: Processing buffer {"connection_id":108931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:34:28] local.INFO: Packet analysis {"connection_id":108931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:34:28] local.INFO: Extracted packet for processing {"connection_id":108931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:34: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-06-21 18:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:34:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":108931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:34:28] local.INFO: GPS data processed {"connection_id":108931,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:34:28] local.INFO: Acknowledgment sent {"connection_id":108931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:34:29] local.INFO: TCP Data received {"connection_id":110663,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:34:29] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:34:29] local.INFO: IMEI packet received {"connection_id":110663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:34:34] local.INFO: TCP Data received {"connection_id":110663,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:34:34] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:34:34] local.INFO: IMEI packet received {"connection_id":110663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":110663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:34:36] local.INFO: TCP Data received {"connection_id":110663,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:34:36] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:34:36] local.INFO: Packet analysis {"connection_id":110663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:34:36] local.INFO: Extracted packet for processing {"connection_id":110663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34: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-06-21 18:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 18:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":110663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:34:36] local.INFO: GPS data processed {"connection_id":110663,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:34:36] local.INFO: Acknowledgment sent {"connection_id":110663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:34:59] local.INFO: TCP Data received {"connection_id":108931,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:34:59] local.INFO: Processing buffer {"connection_id":108931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:34:59] local.INFO: Packet analysis {"connection_id":108931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:34:59] local.INFO: Extracted packet for processing {"connection_id":108931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:34: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-06-21 18:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":108931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:34:59] local.INFO: GPS data processed {"connection_id":108931,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:34:59] local.INFO: Acknowledgment sent {"connection_id":108931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:35:07] local.INFO: TCP Data received {"connection_id":110663,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:35:07] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:35:07] local.INFO: Packet analysis {"connection_id":110663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:35:07] local.INFO: Extracted packet for processing {"connection_id":110663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:07] 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-06-21 18:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 18:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:35: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-06-21 18: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-06-21 18:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":110663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:35:07] local.INFO: GPS data processed {"connection_id":110663,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:35:07] local.INFO: Acknowledgment sent {"connection_id":110663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:35:22] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:35:22] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:35:22] local.INFO: IMEI packet received {"connection_id":110664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":110664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:35:27] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:35:27] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:35:27] local.INFO: IMEI packet received {"connection_id":110664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":110664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:35:28] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:35:28] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:35:28] local.INFO: Packet analysis {"connection_id":110664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:35:28] local.INFO: Extracted packet for processing {"connection_id":110664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:35: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-06-21 18:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":110664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:35:28] local.INFO: GPS data processed {"connection_id":110664,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:35:28] local.INFO: Acknowledgment sent {"connection_id":110664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:35:29] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:35:29] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:35:29] local.INFO: IMEI packet received {"connection_id":110665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":110665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:35:34] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:35:34] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:35:34] local.INFO: IMEI packet received {"connection_id":110665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":110665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:35:36] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:35:36] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea443c68012d34c54006aa3f80001600721e..."} 
[2026-06-21 18:35:36] local.INFO: Packet analysis {"connection_id":110665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:35:36] local.INFO: Extracted packet for processing {"connection_id":110665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea44"} 
[2026-06-21 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203904000001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35: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-06-21 18:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782046801000,"timestamp_ms":1782046801000,"timestamp_seconds":1782046801,"priority":1,"record_length":96,"hex_timestamp":"0000019eea443c68"} 
[2026-06-21 18:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 18:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203904000001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203904000001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:35:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203904000001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":110665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:35:36] local.INFO: GPS data processed {"connection_id":110665,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:35:36] local.INFO: Acknowledgment sent {"connection_id":110665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:35:59] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:35:59] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:35:59] local.INFO: Packet analysis {"connection_id":110664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:35:59] local.INFO: Extracted packet for processing {"connection_id":110664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:35: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-06-21 18:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":110664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:35:59] local.INFO: GPS data processed {"connection_id":110664,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:35:59] local.INFO: Acknowledgment sent {"connection_id":110664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:36:07] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:07] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:07] local.INFO: Packet analysis {"connection_id":110665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:36:07] local.INFO: Extracted packet for processing {"connection_id":110665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:07] 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-06-21 18:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":110665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:36:07] local.INFO: GPS data processed {"connection_id":110665,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:36:07] local.INFO: Acknowledgment sent {"connection_id":110665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:36:27] local.INFO: TCP Data received {"connection_id":109711,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:36:27] local.INFO: Processing buffer {"connection_id":109711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:36:27] local.INFO: IMEI packet received {"connection_id":109711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":109711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:36:32] local.INFO: TCP Data received {"connection_id":109711,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:36:32] local.INFO: Processing buffer {"connection_id":109711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:36:32] local.INFO: IMEI packet received {"connection_id":109711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":109711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:36:33] local.INFO: TCP Data received {"connection_id":109711,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:36:33] local.INFO: Processing buffer {"connection_id":109711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:36:33] local.INFO: Packet analysis {"connection_id":109711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:36:33] local.INFO: Extracted packet for processing {"connection_id":109711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:36:33] 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-06-21 18:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:36:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":109711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:36:33] local.INFO: GPS data processed {"connection_id":109711,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:36:33] local.INFO: Acknowledgment sent {"connection_id":109711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:36:34] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:36:34] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:36:34] local.INFO: IMEI packet received {"connection_id":108933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":108933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:36:37] local.INFO: TCP Data received {"connection_id":109710,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:36:37] local.INFO: Processing buffer {"connection_id":109710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:36:37] local.INFO: IMEI packet received {"connection_id":109710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":109710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:36:38] local.INFO: TCP Data received {"connection_id":109711,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:36:38] local.INFO: Processing buffer {"connection_id":109711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:36:38] local.INFO: Packet analysis {"connection_id":109711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:36:38] local.INFO: Extracted packet for processing {"connection_id":109711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:36:38] 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-06-21 18:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":109711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:36:38] local.INFO: GPS data processed {"connection_id":109711,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:36:38] local.INFO: Acknowledgment sent {"connection_id":109711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:36:39] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:36:39] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:36:39] local.INFO: IMEI packet received {"connection_id":108933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":108933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:36:41] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:41] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:41] local.INFO: Packet analysis {"connection_id":108933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:36:41] local.INFO: Extracted packet for processing {"connection_id":108933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:41] 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-06-21 18:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:36:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:36:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":108933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:36:41] local.INFO: GPS data processed {"connection_id":108933,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:36:41] local.INFO: Acknowledgment sent {"connection_id":108933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:36:45] local.INFO: TCP Data received {"connection_id":108933,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:45] local.INFO: Processing buffer {"connection_id":108933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:36:45] local.INFO: Packet analysis {"connection_id":108933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:36:45] local.INFO: Extracted packet for processing {"connection_id":108933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:36:45] 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-06-21 18:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 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-06-21 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:36:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":108933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:36:45] local.INFO: GPS data processed {"connection_id":108933,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:36:45] local.INFO: Acknowledgment sent {"connection_id":108933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:37:12] local.INFO: TCP Data received {"connection_id":108934,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:37:12] local.INFO: Processing buffer {"connection_id":108934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:37:12] local.INFO: IMEI packet received {"connection_id":108934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":108934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:37:22] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:37:22] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:37:22] local.INFO: IMEI packet received {"connection_id":110666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":110666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:37:27] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:37:27] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:37:27] local.INFO: IMEI packet received {"connection_id":110666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":110666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:37:28] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:37:28] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea45ee00012d196400071ff0600043006e29..."} 
[2026-06-21 18:37:28] local.INFO: Packet analysis {"connection_id":110666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:37:28] local.INFO: Extracted packet for processing {"connection_id":110666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea45"} 
[2026-06-21 18:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203932416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782046912000,"timestamp_ms":1782046912000,"timestamp_seconds":1782046912,"priority":1,"record_length":96,"hex_timestamp":"0000019eea45ee00"} 
[2026-06-21 18:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:37: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-06-21 18:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203932416001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203932416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203932416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":110666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:37:28] local.INFO: GPS data processed {"connection_id":110666,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:37:28] local.INFO: Acknowledgment sent {"connection_id":110666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:37:30] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:37:30] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:37:30] local.INFO: IMEI packet received {"connection_id":109107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":109107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:37:34] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:37:34] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:37:34] local.INFO: IMEI packet received {"connection_id":109107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":109107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:37:36] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:37:36] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:37:36] local.INFO: Packet analysis {"connection_id":109107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:37:36] local.INFO: Extracted packet for processing {"connection_id":109107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37: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-06-21 18:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:37:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":109107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:37:36] local.INFO: GPS data processed {"connection_id":109107,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:37:36] local.INFO: Acknowledgment sent {"connection_id":109107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:37:59] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:37:59] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:37:59] local.INFO: Packet analysis {"connection_id":110666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:37:59] local.INFO: Extracted packet for processing {"connection_id":110666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:37: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-06-21 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":110666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:37:59] local.INFO: GPS data processed {"connection_id":110666,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:37:59] local.INFO: Acknowledgment sent {"connection_id":110666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:38:07] local.INFO: TCP Data received {"connection_id":109107,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:38:07] local.INFO: Processing buffer {"connection_id":109107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:38:07] local.INFO: Packet analysis {"connection_id":109107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:38:07] local.INFO: Extracted packet for processing {"connection_id":109107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:07] 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-06-21 18:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:38:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":109107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:38:07] local.INFO: GPS data processed {"connection_id":109107,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:38:07] local.INFO: Acknowledgment sent {"connection_id":109107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:38:23] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:38:23] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:38:23] local.INFO: IMEI packet received {"connection_id":109108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":109108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:38:27] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:38:27] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:38:27] local.INFO: IMEI packet received {"connection_id":109108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":109108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:38:28] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:38:28] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:38:28] local.INFO: Packet analysis {"connection_id":109108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:38:28] local.INFO: Extracted packet for processing {"connection_id":109108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":109108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:38:28] local.INFO: GPS data processed {"connection_id":109108,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:38:28] local.INFO: Acknowledgment sent {"connection_id":109108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:38:29] local.INFO: TCP Data received {"connection_id":109712,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:38:29] local.INFO: Processing buffer {"connection_id":109712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:38:29] local.INFO: IMEI packet received {"connection_id":109712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":109712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:38:34] local.INFO: TCP Data received {"connection_id":109712,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:38:34] local.INFO: Processing buffer {"connection_id":109712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:38:34] local.INFO: IMEI packet received {"connection_id":109712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":109712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:38:35] local.INFO: TCP Data received {"connection_id":109712,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:38:35] local.INFO: Processing buffer {"connection_id":109712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:38:35] local.INFO: Packet analysis {"connection_id":109712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:38:35] local.INFO: Extracted packet for processing {"connection_id":109712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38: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-06-21 18:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 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-06-21 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:38:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":109712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:38:35] local.INFO: GPS data processed {"connection_id":109712,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:38:35] local.INFO: Acknowledgment sent {"connection_id":109712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:38:59] local.INFO: TCP Data received {"connection_id":109108,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:38:59] local.INFO: Processing buffer {"connection_id":109108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:38:59] local.INFO: Packet analysis {"connection_id":109108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:38:59] local.INFO: Extracted packet for processing {"connection_id":109108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:38: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-06-21 18:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":109108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:38:59] local.INFO: GPS data processed {"connection_id":109108,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:38:59] local.INFO: Acknowledgment sent {"connection_id":109108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:39:07] local.INFO: TCP Data received {"connection_id":109712,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:39:07] local.INFO: Processing buffer {"connection_id":109712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:39:07] local.INFO: Packet analysis {"connection_id":109712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:39:07] local.INFO: Extracted packet for processing {"connection_id":109712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:07] 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-06-21 18:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:39:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":109712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:39:07] local.INFO: GPS data processed {"connection_id":109712,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:39:07] local.INFO: Acknowledgment sent {"connection_id":109712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:39:09] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:39:09] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:39:09] local.INFO: IMEI packet received {"connection_id":109109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-21 18:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":109109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:39:14] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:39:14] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:39:14] local.INFO: IMEI packet received {"connection_id":109109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-21 18:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":109109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:39:15] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-06-21 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-06-21 18:39:15] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-06-21 18:39:15] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-21 18:39:15] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-21 18:39:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 18:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506766854356992,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39: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-06-21 18:39:15] 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-06-21 18:39:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-21 18:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-21 18:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-21 18:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-21 18:39:15] local.WARNING: DEBUG: No valid data to process  
[2026-06-21 18:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-21 18:39:15] local.ERROR: GPS data processing failed {"connection_id":109109,"error":"No valid data to process"} 
[2026-06-21 18:39:15] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-21 18:39:22] local.INFO: TCP Data received {"connection_id":108936,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:39:22] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:39:22] local.INFO: IMEI packet received {"connection_id":108936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":108936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:39:27] local.INFO: TCP Data received {"connection_id":108936,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:39:27] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:39:27] local.INFO: IMEI packet received {"connection_id":108936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":108936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:39:28] local.INFO: TCP Data received {"connection_id":108936,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:39:28] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:39:28] local.INFO: Packet analysis {"connection_id":108936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:39:28] local.INFO: Extracted packet for processing {"connection_id":108936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":108936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:39:28] local.INFO: GPS data processed {"connection_id":108936,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:39:28] local.INFO: Acknowledgment sent {"connection_id":108936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:39:29] local.INFO: TCP Data received {"connection_id":109714,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:39:29] local.INFO: Processing buffer {"connection_id":109714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:39:29] local.INFO: IMEI packet received {"connection_id":109714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":109714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:39:34] local.INFO: TCP Data received {"connection_id":109714,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:39:34] local.INFO: Processing buffer {"connection_id":109714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:39:34] local.INFO: IMEI packet received {"connection_id":109714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":109714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:39:35] local.INFO: TCP Data received {"connection_id":109714,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:39:35] local.INFO: Processing buffer {"connection_id":109714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:39:35] local.INFO: Packet analysis {"connection_id":109714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:39:35] local.INFO: Extracted packet for processing {"connection_id":109714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39: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-06-21 18:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:39:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":109714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:39:36] local.INFO: GPS data processed {"connection_id":109714,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:39:36] local.INFO: Acknowledgment sent {"connection_id":109714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:39:46] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4cfe980100000000000000000000000000..."} 
[2026-06-21 18:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4cfe980100000000000000000000000000..."} 
[2026-06-21 18:39:46] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4cfe980100000000000000000000000000..."} 
[2026-06-21 18:39:46] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4c"} 
[2026-06-21 18:39:46] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4c"} 
[2026-06-21 18:39:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506766854356992,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 18:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782047375000,"timestamp_ms":1782047375000,"timestamp_seconds":1782047375,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4cfe98"} 
[2026-06-21 18:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 18:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-21 18:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-21 18:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-21 18:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 18:39:46] local.INFO: GPS data processed {"connection_id":109109,"processed":0,"errors":0,"total":1} 
[2026-06-21 18:39:46] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:39:59] local.INFO: TCP Data received {"connection_id":108936,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:39:59] local.INFO: Processing buffer {"connection_id":108936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:39:59] local.INFO: Packet analysis {"connection_id":108936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:39:59] local.INFO: Extracted packet for processing {"connection_id":108936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:39: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-06-21 18:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":108936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:39:59] local.INFO: GPS data processed {"connection_id":108936,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:39:59] local.INFO: Acknowledgment sent {"connection_id":108936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:40:07] local.INFO: TCP Data received {"connection_id":109714,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:40:07] local.INFO: Processing buffer {"connection_id":109714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:40:07] local.INFO: Packet analysis {"connection_id":109714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:40:07] local.INFO: Extracted packet for processing {"connection_id":109714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:07] 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-06-21 18:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":109714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:40:07] local.INFO: GPS data processed {"connection_id":109714,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:40:07] local.INFO: Acknowledgment sent {"connection_id":109714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:40:19] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d50a00100000000000000000000000000..."} 
[2026-06-21 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d50a00100000000000000000000000000..."} 
[2026-06-21 18:40:19] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d50a00100000000000000000000000000..."} 
[2026-06-21 18:40:19] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:40:19] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506766854356992,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 18:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782047396000,"timestamp_ms":1782047396000,"timestamp_seconds":1782047396,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d50a0"} 
[2026-06-21 18:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-21 18:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-21 18:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-21 18:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 18:40:19] local.INFO: GPS data processed {"connection_id":109109,"processed":0,"errors":0,"total":1} 
[2026-06-21 18:40:19] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:40:22] local.INFO: TCP Data received {"connection_id":110667,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:40:22] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:40:22] local.INFO: IMEI packet received {"connection_id":110667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":110667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:40:27] local.INFO: TCP Data received {"connection_id":110667,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:40:27] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:40:27] local.INFO: IMEI packet received {"connection_id":110667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":110667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:40:28] local.INFO: TCP Data received {"connection_id":110667,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:40:28] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:40:28] local.INFO: Packet analysis {"connection_id":110667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:40:28] local.INFO: Extracted packet for processing {"connection_id":110667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":110667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:40:28] local.INFO: GPS data processed {"connection_id":110667,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:40:28] local.INFO: Acknowledgment sent {"connection_id":110667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:40:34] local.INFO: TCP Data received {"connection_id":109110,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:40:34] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:40:34] local.INFO: IMEI packet received {"connection_id":109110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":109110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:40:39] local.INFO: TCP Data received {"connection_id":109110,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:40:39] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:40:39] local.INFO: IMEI packet received {"connection_id":109110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":109110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:40:41] local.INFO: TCP Data received {"connection_id":109110,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:40:41] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea48d430012d34c54006aa3f800018007222..."} 
[2026-06-21 18:40:41] local.INFO: Packet analysis {"connection_id":109110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:40:41] local.INFO: Extracted packet for processing {"connection_id":109110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea48"} 
[2026-06-21 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456203981056001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:41] 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-06-21 18:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782047102000,"timestamp_ms":1782047102000,"timestamp_seconds":1782047102,"priority":1,"record_length":96,"hex_timestamp":"0000019eea48d430"} 
[2026-06-21 18:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456203981056001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456203981056001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456203981056001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":109110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:40:41] local.INFO: GPS data processed {"connection_id":109110,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:40:41] local.INFO: Acknowledgment sent {"connection_id":109110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:40:42] local.INFO: TCP Data received {"connection_id":109110,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:40:42] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:40:42] local.INFO: Packet analysis {"connection_id":109110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:40:42] local.INFO: Extracted packet for processing {"connection_id":109110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40: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-06-21 18:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":109110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":109110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:40:42] local.INFO: GPS data processed {"connection_id":109110,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:40:42] local.INFO: Acknowledgment sent {"connection_id":109110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:40:49] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4da2a80100000000000000000000000000..."} 
[2026-06-21 18:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4da2a80100000000000000000000000000..."} 
[2026-06-21 18:40:49] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4da2a80100000000000000000000000000..."} 
[2026-06-21 18:40:49] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:40:49] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:40:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 18:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506766854356992,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 18:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782047417000,"timestamp_ms":1782047417000,"timestamp_seconds":1782047417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4da2a8"} 
[2026-06-21 18:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-21 18:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-21 18:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-21 18:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 18:40:49] local.INFO: GPS data processed {"connection_id":109109,"processed":0,"errors":0,"total":1} 
[2026-06-21 18:40:49] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:40:59] local.INFO: TCP Data received {"connection_id":110667,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:40:59] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:40:59] local.INFO: Packet analysis {"connection_id":110667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:40:59] local.INFO: Extracted packet for processing {"connection_id":110667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:40: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-06-21 18:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":110667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:40:59] local.INFO: GPS data processed {"connection_id":110667,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:40:59] local.INFO: Acknowledgment sent {"connection_id":110667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:41:13] local.INFO: TCP Data received {"connection_id":109110,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:41:13] local.INFO: Processing buffer {"connection_id":109110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:41:13] local.INFO: Packet analysis {"connection_id":109110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:41:13] local.INFO: Extracted packet for processing {"connection_id":109110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:13] 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-06-21 18:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:41: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-06-21 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":109110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":109110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":109110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:41:13] local.INFO: GPS data processed {"connection_id":109110,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:41:13] local.INFO: Acknowledgment sent {"connection_id":109110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:41:21] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4daa78012d7e374005d351b8000c00000c..."} 
[2026-06-21 18:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4daa78012d7e374005d351b8000c00000c..."} 
[2026-06-21 18:41:21] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4daa78012d7e374005d351b8000c00000c..."} 
[2026-06-21 18:41:21] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:41:21] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:41:21] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97735096,"longitude_deg":76.32464,"latitude_deg":9.7735096,"altitude":12,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d7e3740","hex_latitude":"05d351b8","is_valid_coordinates":true} 
[2026-06-21 18:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506766854356992,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-21 18:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782047419000,"timestamp_ms":1782047419000,"timestamp_seconds":1782047419,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4daa78"} 
[2026-06-21 18:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 18: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-21 18:41:21] 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-06-21 18:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-21 18:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-21 18:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13526,"109":206,"85":15104,"24":0,"16":95506766854356992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-06-21 18:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-21 18:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-21 18:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-21 18:41:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-21 18:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-21 18:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":95506766854356992,"km_value":95506766854356.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:41:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-06-21 18:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:41:22] local.INFO: GPS data processed {"connection_id":109109,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:41:22] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:41:27] local.INFO: TCP Data received {"connection_id":109716,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:41:27] local.INFO: Processing buffer {"connection_id":109716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:41:27] local.INFO: IMEI packet received {"connection_id":109716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":109716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:41:29] local.INFO: TCP Data received {"connection_id":109717,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:41:29] local.INFO: Processing buffer {"connection_id":109717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:41:29] local.INFO: IMEI packet received {"connection_id":109717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":109717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:41:32] local.INFO: TCP Data received {"connection_id":109716,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:41:32] local.INFO: Processing buffer {"connection_id":109716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:41:32] local.INFO: IMEI packet received {"connection_id":109716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":109716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:41:33] local.INFO: TCP Data received {"connection_id":109716,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:41:33] local.INFO: Processing buffer {"connection_id":109716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:41:33] local.INFO: Packet analysis {"connection_id":109716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:41:33] local.INFO: Extracted packet for processing {"connection_id":109716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:41:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":109716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:41:33] local.INFO: GPS data processed {"connection_id":109716,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:41:33] local.INFO: Acknowledgment sent {"connection_id":109716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:41:34] local.INFO: TCP Data received {"connection_id":109717,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:41:34] local.INFO: Processing buffer {"connection_id":109717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:41:34] local.INFO: IMEI packet received {"connection_id":109717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":109717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:41:36] local.INFO: TCP Data received {"connection_id":109717,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:41:36] local.INFO: Processing buffer {"connection_id":109717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:41:36] local.INFO: Packet analysis {"connection_id":109717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:41:36] local.INFO: Extracted packet for processing {"connection_id":109717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":109717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:41:36] local.INFO: GPS data processed {"connection_id":109717,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:41:36] local.INFO: Acknowledgment sent {"connection_id":109717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:41:38] local.INFO: TCP Data received {"connection_id":109716,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:41:38] local.INFO: Processing buffer {"connection_id":109716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:41:38] local.INFO: Packet analysis {"connection_id":109716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:41:38] local.INFO: Extracted packet for processing {"connection_id":109716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":109716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:41:38] local.INFO: GPS data processed {"connection_id":109716,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:41:38] local.INFO: Acknowledgment sent {"connection_id":109716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:41:53] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4eb800012d7e328005d350d0000a014015..."} 
[2026-06-21 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4eb800012d7e328005d350d0000a014015..."} 
[2026-06-21 18:41:53] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4eb800012d7e328005d350d0000a014015..."} 
[2026-06-21 18:41:53] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4e"} 
[2026-06-21 18:41:53] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4e"} 
[2026-06-21 18:41:53] local.INFO: GPS Element Parsed {"raw_longitude":763245184,"raw_latitude":97734864,"longitude_deg":76.3245184,"latitude_deg":9.7734864,"altitude":10,"angle":320,"satellites":21,"speed":7,"hex_longitude":"2d7e3280","hex_latitude":"05d350d0","is_valid_coordinates":true} 
[2026-06-21 18:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204156416001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506878523506688,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611233280,"note":"Value kept but may cause issues"} 
[2026-06-21 18:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782047488000,"timestamp_ms":1782047488000,"timestamp_seconds":1782047488,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4eb800"} 
[2026-06-21 18:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 18:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-21 18:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-21 18:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-21 18:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204156416001,"66":13319,"110":206,"85":15104,"24":7,"16":95506878523506688,"45":9093612097611233280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-06-21 18:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-21 18:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-21 18:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204156416001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:41:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-21 18:41:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-21 18:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":95506878523506688,"km_value":95506878523506.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611233280,"description":"Unknown IO ID 45"} 
[2026-06-21 18:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204156416001,"power":13319,"unknown_110":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9093612097611233280}} 
[2026-06-21 18:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:41:53] local.INFO: GPS data processed {"connection_id":109109,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:41:53] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:42:08] local.INFO: TCP Data received {"connection_id":109717,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:42:08] local.INFO: Processing buffer {"connection_id":109717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:42:08] local.INFO: Packet analysis {"connection_id":109717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:42:08] local.INFO: Extracted packet for processing {"connection_id":109717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:08] 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-06-21 18:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:42:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":109717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:42:08] local.INFO: GPS data processed {"connection_id":109717,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:42:08] local.INFO: Acknowledgment sent {"connection_id":109717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:42:22] local.INFO: TCP Data received {"connection_id":108939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:42:22] local.INFO: Processing buffer {"connection_id":108939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:42:22] local.INFO: IMEI packet received {"connection_id":108939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":108939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:42:24] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4ed358012d7e2fc005d353e8000a015415..."} 
[2026-06-21 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4ed358012d7e2fc005d353e8000a015415..."} 
[2026-06-21 18:42:24] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4ed358012d7e2fc005d353e8000a015415..."} 
[2026-06-21 18:42:24] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4e"} 
[2026-06-21 18:42:24] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4e"} 
[2026-06-21 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":763244480,"raw_latitude":97735656,"longitude_deg":76.324448,"latitude_deg":9.7735656,"altitude":10,"angle":340,"satellites":21,"speed":5,"hex_longitude":"2d7e2fc0","hex_latitude":"05d353e8","is_valid_coordinates":true} 
[2026-06-21 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204156928001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506930063114240,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093471360122933248,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782047495000,"timestamp_ms":1782047495000,"timestamp_seconds":1782047495,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4ed358"} 
[2026-06-21 18:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3931011456,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":78,"raw_value":7629099063668080645,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5742089563567625472,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299054798,"corrected_to":0} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147865424,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024909,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545210880,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787505080948027,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:24] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,85,24,241,157,16,79,158,176,45,10,21,66,78,172,64,152,128,1,240,160,227,234,211,4,113,205,129,51,40,239,52,2,83,5,9,7],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1299054798,"validated":0}]} 
[2026-06-21 18:42:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720927874294939648,"timestamp_seconds":720927874294939.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-21 18:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-21 18:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-21 18:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204156928001,"66":13222,"110":206,"85":15104,"24":5,"16":95506930063114240,"45":9093471360122933248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-06-21 18:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-21 18:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-21 18:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204156928001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:42:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-21 18:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-21 18:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":95506930063114240,"km_value":95506930063114.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093471360122933248,"description":"Unknown IO ID 45"} 
[2026-06-21 18:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204156928001,"power":13222,"unknown_110":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9093471360122933248}} 
[2026-06-21 18:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:42:24] local.INFO: GPS data processed {"connection_id":109109,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:42:24] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:42:27] local.INFO: TCP Data received {"connection_id":108939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:42:27] local.INFO: Processing buffer {"connection_id":108939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:42:27] local.INFO: IMEI packet received {"connection_id":108939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":108939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:42:28] local.INFO: TCP Data received {"connection_id":108939,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:42:28] local.INFO: Processing buffer {"connection_id":108939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4a85c8012d196400071ff0600043006e2a..."} 
[2026-06-21 18:42:28] local.INFO: Packet analysis {"connection_id":108939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:42:28] local.INFO: Extracted packet for processing {"connection_id":108939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4a"} 
[2026-06-21 18:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204009472001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047213000,"timestamp_ms":1782047213000,"timestamp_seconds":1782047213,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4a85c8"} 
[2026-06-21 18:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204009472001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204009472001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204009472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":108939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:42:28] local.INFO: GPS data processed {"connection_id":108939,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:42:28] local.INFO: Acknowledgment sent {"connection_id":108939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:42:29] local.INFO: TCP Data received {"connection_id":108940,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:42:29] local.INFO: Processing buffer {"connection_id":108940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:42:29] local.INFO: IMEI packet received {"connection_id":108940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":108940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:42:34] local.INFO: TCP Data received {"connection_id":108940,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:42:34] local.INFO: Processing buffer {"connection_id":108940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:42:34] local.INFO: IMEI packet received {"connection_id":108940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":108940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:42:36] local.INFO: TCP Data received {"connection_id":108940,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:42:36] local.INFO: Processing buffer {"connection_id":108940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:42:36] local.INFO: Packet analysis {"connection_id":108940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:42:36] local.INFO: Extracted packet for processing {"connection_id":108940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42: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-06-21 18:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:42:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":108940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:42:36] local.INFO: GPS data processed {"connection_id":108940,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:42:36] local.INFO: Acknowledgment sent {"connection_id":108940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:42:37] local.INFO: TCP Data received {"connection_id":108938,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:42:37] local.INFO: Processing buffer {"connection_id":108938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:42:37] local.INFO: IMEI packet received {"connection_id":108938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":108938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:42:55] local.INFO: TCP Data received {"connection_id":109109,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4edb28012d7e2f8005d35490000a016315..."} 
[2026-06-21 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4edb28012d7e2f8005d35490000a016315..."} 
[2026-06-21 18:42:55] local.INFO: Processing buffer {"connection_id":109109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4edb28012d7e2f8005d35490000a016315..."} 
[2026-06-21 18:42:55] local.INFO: Packet analysis {"connection_id":109109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4e"} 
[2026-06-21 18:42:55] local.INFO: Extracted packet for processing {"connection_id":109109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4e"} 
[2026-06-21 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":763244416,"raw_latitude":97735824,"longitude_deg":76.3244416,"latitude_deg":9.7735824,"altitude":10,"angle":355,"satellites":21,"speed":2,"hex_longitude":"2d7e2f80","hex_latitude":"05d35490","is_valid_coordinates":true} 
[2026-06-21 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204158720001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":95506938653048832,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092697303937181696,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782047497000,"timestamp_ms":1782047497000,"timestamp_seconds":1782047497,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4edb28"} 
[2026-06-21 18:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-21 18:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":109109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":109109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-21 18:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-21 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-21 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204158720001,"66":12885,"110":206,"85":15104,"24":2,"16":95506938653048832,"45":9092697303937181696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-06-21 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-21 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-21 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204158720001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:42:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-21 18:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-21 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":95506938653048832,"km_value":95506938653048.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092697303937181696,"description":"Unknown IO ID 45"} 
[2026-06-21 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204158720001,"power":12885,"unknown_110":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9092697303937181696}} 
[2026-06-21 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":109109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:42:55] local.INFO: GPS data processed {"connection_id":109109,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:42:55] local.INFO: Acknowledgment sent {"connection_id":109109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:42:59] local.INFO: TCP Data received {"connection_id":108939,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:42:59] local.INFO: Processing buffer {"connection_id":108939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:42:59] local.INFO: Packet analysis {"connection_id":108939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:42:59] local.INFO: Extracted packet for processing {"connection_id":108939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":108939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:42:59] local.INFO: GPS data processed {"connection_id":108939,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:42:59] local.INFO: Acknowledgment sent {"connection_id":108939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:43:07] local.INFO: TCP Data received {"connection_id":108940,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:43:07] local.INFO: Processing buffer {"connection_id":108940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:43:07] local.INFO: Packet analysis {"connection_id":108940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:43:07] local.INFO: Extracted packet for processing {"connection_id":108940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:07] 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-06-21 18:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":108940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:43:07] local.INFO: GPS data processed {"connection_id":108940,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:43:07] local.INFO: Acknowledgment sent {"connection_id":108940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:43:12] local.INFO: TCP Data received {"connection_id":109718,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:43:12] local.INFO: Processing buffer {"connection_id":109718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:43:12] local.INFO: IMEI packet received {"connection_id":109718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":109718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:43:22] local.INFO: TCP Data received {"connection_id":110668,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:43:22] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:43:22] local.INFO: IMEI packet received {"connection_id":110668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":110668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:43:27] local.INFO: TCP Data received {"connection_id":110668,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:43:27] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:43:27] local.INFO: IMEI packet received {"connection_id":110668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":110668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:43:28] local.INFO: TCP Data received {"connection_id":110668,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:43:28] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:43:28] local.INFO: Packet analysis {"connection_id":110668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:43:28] local.INFO: Extracted packet for processing {"connection_id":110668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":110668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:43:28] local.INFO: GPS data processed {"connection_id":110668,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:43:28] local.INFO: Acknowledgment sent {"connection_id":110668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:43:29] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:43:29] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:43:29] local.INFO: IMEI packet received {"connection_id":109111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":109111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:43:34] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:43:34] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:43:34] local.INFO: IMEI packet received {"connection_id":109111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":109111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:43:36] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:43:36] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:43:36] local.INFO: Packet analysis {"connection_id":109111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:43:36] local.INFO: Extracted packet for processing {"connection_id":109111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:43:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":109111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:43:36] local.INFO: GPS data processed {"connection_id":109111,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:43:36] local.INFO: Acknowledgment sent {"connection_id":109111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:43:43] local.INFO: TCP Data received {"connection_id":109719,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:43:43] local.INFO: Processing buffer {"connection_id":109719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:43:43] local.INFO: IMEI packet received {"connection_id":109719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-21 18:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":109719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:43:44] local.INFO: TCP Data received {"connection_id":109719,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:43:44] local.INFO: Processing buffer {"connection_id":109719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-21 18:43:44] local.INFO: IMEI packet received {"connection_id":109719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-21 18:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":109719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:44:00] local.INFO: TCP Data received {"connection_id":110668,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:00] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:00] local.INFO: Packet analysis {"connection_id":110668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:44:00] local.INFO: Extracted packet for processing {"connection_id":110668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:44:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":110668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:44:00] local.INFO: GPS data processed {"connection_id":110668,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:44:00] local.INFO: Acknowledgment sent {"connection_id":110668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:44:08] local.INFO: TCP Data received {"connection_id":109111,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:08] local.INFO: Processing buffer {"connection_id":109111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:08] local.INFO: Packet analysis {"connection_id":109111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:44:08] local.INFO: Extracted packet for processing {"connection_id":109111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:08] 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-06-21 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":109111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:44:08] local.INFO: GPS data processed {"connection_id":109111,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:44:08] local.INFO: Acknowledgment sent {"connection_id":109111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:44:22] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:44:22] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:44:22] local.INFO: IMEI packet received {"connection_id":109113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":109113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:44:27] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:44:27] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:44:27] local.INFO: IMEI packet received {"connection_id":109113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":109113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:44:28] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:28] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:28] local.INFO: Packet analysis {"connection_id":109113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:44:28] local.INFO: Extracted packet for processing {"connection_id":109113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":109113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:44:28] local.INFO: GPS data processed {"connection_id":109113,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:44:28] local.INFO: Acknowledgment sent {"connection_id":109113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:44:34] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:44:34] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:44:34] local.INFO: IMEI packet received {"connection_id":110669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":110669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:44:39] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:44:39] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:44:39] local.INFO: IMEI packet received {"connection_id":110669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":110669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:44:42] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:42] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:42] local.INFO: Packet analysis {"connection_id":110669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:44:42] local.INFO: Extracted packet for processing {"connection_id":110669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44: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-06-21 18:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:44:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":110669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:44:42] local.INFO: GPS data processed {"connection_id":110669,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:44:42] local.INFO: Acknowledgment sent {"connection_id":110669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:44:45] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:45] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:44:45] local.INFO: Packet analysis {"connection_id":110669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:44:45] local.INFO: Extracted packet for processing {"connection_id":110669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:45] 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-06-21 18:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 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-06-21 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:44:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":110669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:44:45] local.INFO: GPS data processed {"connection_id":110669,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:44:45] local.INFO: Acknowledgment sent {"connection_id":110669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:44:59] local.INFO: TCP Data received {"connection_id":109113,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:59] local.INFO: Processing buffer {"connection_id":109113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:44:59] local.INFO: Packet analysis {"connection_id":109113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:44:59] local.INFO: Extracted packet for processing {"connection_id":109113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":109113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:44:59] local.INFO: GPS data processed {"connection_id":109113,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:44:59] local.INFO: Acknowledgment sent {"connection_id":109113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:45:27] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:45:27] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:45:27] local.INFO: IMEI packet received {"connection_id":110670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":110670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:45:29] local.INFO: TCP Data received {"connection_id":108942,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:45:29] local.INFO: Processing buffer {"connection_id":108942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:45:29] local.INFO: IMEI packet received {"connection_id":108942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":108942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:45:32] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:45:32] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:45:32] local.INFO: IMEI packet received {"connection_id":110670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":110670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:45:33] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:45:33] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:45:33] local.INFO: Packet analysis {"connection_id":110670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:45:33] local.INFO: Extracted packet for processing {"connection_id":110670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:45:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":110670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:45:33] local.INFO: GPS data processed {"connection_id":110670,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:45:33] local.INFO: Acknowledgment sent {"connection_id":110670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:45:35] local.INFO: TCP Data received {"connection_id":108942,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:45:35] local.INFO: Processing buffer {"connection_id":108942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:45:35] local.INFO: IMEI packet received {"connection_id":108942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":108942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:45:37] local.INFO: TCP Data received {"connection_id":108942,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:45:37] local.INFO: Processing buffer {"connection_id":108942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4d6bf8012d34c54006aa3f800016007223..."} 
[2026-06-21 18:45:37] local.INFO: Packet analysis {"connection_id":108942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:45:37] local.INFO: Extracted packet for processing {"connection_id":108942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4d"} 
[2026-06-21 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":22,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204058112001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:37] 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-06-21 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782047403000,"timestamp_ms":1782047403000,"timestamp_seconds":1782047403,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4d6bf8"} 
[2026-06-21 18:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204058112001,"66":25375,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204058112001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:45:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204058112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":108942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:45:37] local.INFO: GPS data processed {"connection_id":108942,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:45:37] local.INFO: Acknowledgment sent {"connection_id":108942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:45:38] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:45:38] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:45:38] local.INFO: Packet analysis {"connection_id":110670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:45:38] local.INFO: Extracted packet for processing {"connection_id":110670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":110670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:45:38] local.INFO: GPS data processed {"connection_id":110670,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:45:38] local.INFO: Acknowledgment sent {"connection_id":110670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:46:09] local.INFO: TCP Data received {"connection_id":108942,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:46:09] local.INFO: Processing buffer {"connection_id":108942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:46:09] local.INFO: Packet analysis {"connection_id":108942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:46:09] local.INFO: Extracted packet for processing {"connection_id":108942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46: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-06-21 18:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":108942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:46:09] local.INFO: GPS data processed {"connection_id":108942,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:46:09] local.INFO: Acknowledgment sent {"connection_id":108942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:46:22] local.INFO: TCP Data received {"connection_id":109721,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:46:22] local.INFO: Processing buffer {"connection_id":109721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:46:22] local.INFO: IMEI packet received {"connection_id":109721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":109721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:46:27] local.INFO: TCP Data received {"connection_id":109721,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:46:27] local.INFO: Processing buffer {"connection_id":109721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:46:27] local.INFO: IMEI packet received {"connection_id":109721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":109721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:46:28] local.INFO: TCP Data received {"connection_id":109721,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:46:28] local.INFO: Processing buffer {"connection_id":109721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:46:28] local.INFO: Packet analysis {"connection_id":109721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:46:28] local.INFO: Extracted packet for processing {"connection_id":109721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":109721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:46:28] local.INFO: GPS data processed {"connection_id":109721,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:46:28] local.INFO: Acknowledgment sent {"connection_id":109721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:46:29] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:46:29] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:46:29] local.INFO: IMEI packet received {"connection_id":108943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":108943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:46:34] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:46:34] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:46:34] local.INFO: IMEI packet received {"connection_id":108943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":108943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:46:36] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:46:36] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:46:36] local.INFO: Packet analysis {"connection_id":108943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:46:36] local.INFO: Extracted packet for processing {"connection_id":108943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":108943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:46:36] local.INFO: GPS data processed {"connection_id":108943,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:46:36] local.INFO: Acknowledgment sent {"connection_id":108943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:46:59] local.INFO: TCP Data received {"connection_id":109721,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:46:59] local.INFO: Processing buffer {"connection_id":109721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:46:59] local.INFO: Packet analysis {"connection_id":109721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:46:59] local.INFO: Extracted packet for processing {"connection_id":109721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":109721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:47:00] local.INFO: GPS data processed {"connection_id":109721,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:47:00] local.INFO: Acknowledgment sent {"connection_id":109721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:47:08] local.INFO: TCP Data received {"connection_id":108943,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:47:08] local.INFO: Processing buffer {"connection_id":108943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:47:08] local.INFO: Packet analysis {"connection_id":108943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:47:08] local.INFO: Extracted packet for processing {"connection_id":108943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:08] 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-06-21 18:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":108943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:47:08] local.INFO: GPS data processed {"connection_id":108943,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:47:08] local.INFO: Acknowledgment sent {"connection_id":108943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:47:22] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:47:22] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:47:22] local.INFO: IMEI packet received {"connection_id":110672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":110672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:47:27] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:47:27] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:47:27] local.INFO: IMEI packet received {"connection_id":110672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":110672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:47:28] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:47:28] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea4f1d90012d196400071ff0600043006e29..."} 
[2026-06-21 18:47:28] local.INFO: Packet analysis {"connection_id":110672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:47:28] local.INFO: Extracted packet for processing {"connection_id":110672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea4f"} 
[2026-06-21 18:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204086528001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047514000,"timestamp_ms":1782047514000,"timestamp_seconds":1782047514,"priority":1,"record_length":96,"hex_timestamp":"0000019eea4f1d90"} 
[2026-06-21 18:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204086528001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204086528001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204086528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":110672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:47:28] local.INFO: GPS data processed {"connection_id":110672,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:47:28] local.INFO: Acknowledgment sent {"connection_id":110672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:47:29] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:47:29] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:47:29] local.INFO: IMEI packet received {"connection_id":109114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":109114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:47:34] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:47:34] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:47:34] local.INFO: IMEI packet received {"connection_id":109114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":109114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:47:36] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:47:36] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:47:36] local.INFO: Packet analysis {"connection_id":109114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:47:36] local.INFO: Extracted packet for processing {"connection_id":109114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47: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-06-21 18:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:47:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":109114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:47:36] local.INFO: GPS data processed {"connection_id":109114,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:47:36] local.INFO: Acknowledgment sent {"connection_id":109114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:47:59] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:47:59] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:47:59] local.INFO: Packet analysis {"connection_id":110672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:47:59] local.INFO: Extracted packet for processing {"connection_id":110672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":110672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:47:59] local.INFO: GPS data processed {"connection_id":110672,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:47:59] local.INFO: Acknowledgment sent {"connection_id":110672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:48:10] local.INFO: TCP Data received {"connection_id":109114,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:10] local.INFO: Processing buffer {"connection_id":109114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:10] local.INFO: Packet analysis {"connection_id":109114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:48:10] local.INFO: Extracted packet for processing {"connection_id":109114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:10] 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-06-21 18:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:48:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":109114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:48:10] local.INFO: GPS data processed {"connection_id":109114,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:48:10] local.INFO: Acknowledgment sent {"connection_id":109114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:48:22] local.INFO: TCP Data received {"connection_id":108944,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:48:22] local.INFO: Processing buffer {"connection_id":108944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:48:22] local.INFO: IMEI packet received {"connection_id":108944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":108944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:48:22] local.INFO: TCP Data received {"connection_id":108945,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:48:22] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:48:22] local.INFO: IMEI packet received {"connection_id":108945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":108945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:48:27] local.INFO: TCP Data received {"connection_id":108945,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:48:27] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:48:27] local.INFO: IMEI packet received {"connection_id":108945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":108945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:48:28] local.INFO: TCP Data received {"connection_id":108945,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:48:28] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:48:28] local.INFO: Packet analysis {"connection_id":108945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:48:28] local.INFO: Extracted packet for processing {"connection_id":108945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":108945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:48:28] local.INFO: GPS data processed {"connection_id":108945,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:48:28] local.INFO: Acknowledgment sent {"connection_id":108945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:48:34] local.INFO: TCP Data received {"connection_id":110673,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:48:34] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:48:34] local.INFO: IMEI packet received {"connection_id":110673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":110673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:48:41] local.INFO: TCP Data received {"connection_id":110673,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:48:41] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:48:41] local.INFO: IMEI packet received {"connection_id":110673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":110673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:48:44] local.INFO: TCP Data received {"connection_id":110673,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:44] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:44] local.INFO: Packet analysis {"connection_id":110673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:48:44] local.INFO: Extracted packet for processing {"connection_id":110673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:44] 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-06-21 18:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:48:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:48:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":110673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:48:44] local.INFO: GPS data processed {"connection_id":110673,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:48:44] local.INFO: Acknowledgment sent {"connection_id":110673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:48:45] local.INFO: TCP Data received {"connection_id":110673,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:45] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:48:45] local.INFO: Packet analysis {"connection_id":110673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:48:45] local.INFO: Extracted packet for processing {"connection_id":110673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:45] 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-06-21 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 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-06-21 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:48:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:48:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":110673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:48:45] local.INFO: GPS data processed {"connection_id":110673,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:48:45] local.INFO: Acknowledgment sent {"connection_id":110673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:48:59] local.INFO: TCP Data received {"connection_id":108945,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:48:59] local.INFO: Processing buffer {"connection_id":108945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:48:59] local.INFO: Packet analysis {"connection_id":108945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:48:59] local.INFO: Extracted packet for processing {"connection_id":108945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":108945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:48:59] local.INFO: GPS data processed {"connection_id":108945,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:48:59] local.INFO: Acknowledgment sent {"connection_id":108945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:49:22] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:49:22] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:49:22] local.INFO: IMEI packet received {"connection_id":109116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":109116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:49:27] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:49:27] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:49:27] local.INFO: IMEI packet received {"connection_id":109116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":109116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:49:28] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:49:28] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:49:28] local.INFO: Packet analysis {"connection_id":109116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:49:28] local.INFO: Extracted packet for processing {"connection_id":109116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:49:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":109116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:49:28] local.INFO: GPS data processed {"connection_id":109116,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:49:28] local.INFO: Acknowledgment sent {"connection_id":109116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:49:29] local.INFO: TCP Data received {"connection_id":110674,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:49:29] local.INFO: Processing buffer {"connection_id":110674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:49:29] local.INFO: IMEI packet received {"connection_id":110674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":110674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:49:34] local.INFO: TCP Data received {"connection_id":110674,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:49:34] local.INFO: Processing buffer {"connection_id":110674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:49:34] local.INFO: IMEI packet received {"connection_id":110674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":110674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:49:36] local.INFO: TCP Data received {"connection_id":110674,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:49:36] local.INFO: Processing buffer {"connection_id":110674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:49:36] local.INFO: Packet analysis {"connection_id":110674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:49:36] local.INFO: Extracted packet for processing {"connection_id":110674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:49:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":110674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:49:36] local.INFO: GPS data processed {"connection_id":110674,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:49:36] local.INFO: Acknowledgment sent {"connection_id":110674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:49:59] local.INFO: TCP Data received {"connection_id":109116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:49:59] local.INFO: Processing buffer {"connection_id":109116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:49:59] local.INFO: Packet analysis {"connection_id":109116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:49:59] local.INFO: Extracted packet for processing {"connection_id":109116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":109116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:49:59] local.INFO: GPS data processed {"connection_id":109116,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:49:59] local.INFO: Acknowledgment sent {"connection_id":109116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:50:08] local.INFO: TCP Data received {"connection_id":110674,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:50:08] local.INFO: Processing buffer {"connection_id":110674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:50:08] local.INFO: Packet analysis {"connection_id":110674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:50:08] local.INFO: Extracted packet for processing {"connection_id":110674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:08] 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-06-21 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:50:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":110674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:50:08] local.INFO: GPS data processed {"connection_id":110674,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:50:08] local.INFO: Acknowledgment sent {"connection_id":110674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:50:27] local.INFO: TCP Data received {"connection_id":108946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:50:27] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:50:27] local.INFO: IMEI packet received {"connection_id":108946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":108946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:50:29] local.INFO: TCP Data received {"connection_id":108947,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:50:29] local.INFO: Processing buffer {"connection_id":108947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:50:29] local.INFO: IMEI packet received {"connection_id":108947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":108947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:50:32] local.INFO: TCP Data received {"connection_id":108946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:50:32] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:50:32] local.INFO: IMEI packet received {"connection_id":108946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":108946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:50:33] local.INFO: TCP Data received {"connection_id":108946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:50:33] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:50:33] local.INFO: Packet analysis {"connection_id":108946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:50:33] local.INFO: Extracted packet for processing {"connection_id":108946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:50:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":108946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:50:33] local.INFO: GPS data processed {"connection_id":108946,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:50:33] local.INFO: Acknowledgment sent {"connection_id":108946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:50:34] local.INFO: TCP Data received {"connection_id":108947,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:50:34] local.INFO: Processing buffer {"connection_id":108947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:50:34] local.INFO: IMEI packet received {"connection_id":108947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":108947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:50:36] local.INFO: TCP Data received {"connection_id":108947,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:50:36] local.INFO: Processing buffer {"connection_id":108947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5203c0012d34c54006aa3f800012007223..."} 
[2026-06-21 18:50:36] local.INFO: Packet analysis {"connection_id":108947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:50:36] local.INFO: Extracted packet for processing {"connection_id":108947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea52"} 
[2026-06-21 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204135168001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50: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-06-21 18:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782047704000,"timestamp_ms":1782047704000,"timestamp_seconds":1782047704,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5203c0"} 
[2026-06-21 18:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 18:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204135168001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204135168001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204135168001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":108947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:50:36] local.INFO: GPS data processed {"connection_id":108947,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:50:36] local.INFO: Acknowledgment sent {"connection_id":108947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:50:38] local.INFO: TCP Data received {"connection_id":108946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:50:38] local.INFO: Processing buffer {"connection_id":108946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:50:38] local.INFO: Packet analysis {"connection_id":108946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:50:38] local.INFO: Extracted packet for processing {"connection_id":108946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 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-06-21 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":108946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":108946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":108946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:50:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":108946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:50:38] local.INFO: GPS data processed {"connection_id":108946,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:50:38] local.INFO: Acknowledgment sent {"connection_id":108946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:51:09] local.INFO: TCP Data received {"connection_id":108947,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:09] local.INFO: Processing buffer {"connection_id":108947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:09] local.INFO: Packet analysis {"connection_id":108947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:51:09] local.INFO: Extracted packet for processing {"connection_id":108947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51: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-06-21 18:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:51:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":108947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:51:09] local.INFO: GPS data processed {"connection_id":108947,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:51:09] local.INFO: Acknowledgment sent {"connection_id":108947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:51:22] local.INFO: TCP Data received {"connection_id":109117,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:51:22] local.INFO: Processing buffer {"connection_id":109117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:51:22] local.INFO: IMEI packet received {"connection_id":109117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":109117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:51:27] local.INFO: TCP Data received {"connection_id":109117,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:51:27] local.INFO: Processing buffer {"connection_id":109117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:51:27] local.INFO: IMEI packet received {"connection_id":109117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":109117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:51:28] local.INFO: TCP Data received {"connection_id":109117,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:51:28] local.INFO: Processing buffer {"connection_id":109117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:51:28] local.INFO: Packet analysis {"connection_id":109117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:51:28] local.INFO: Extracted packet for processing {"connection_id":109117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":109117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:51:28] local.INFO: GPS data processed {"connection_id":109117,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:51:28] local.INFO: Acknowledgment sent {"connection_id":109117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:51:34] local.INFO: TCP Data received {"connection_id":109118,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:51:34] local.INFO: Processing buffer {"connection_id":109118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:51:34] local.INFO: IMEI packet received {"connection_id":109118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":109118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:51:39] local.INFO: TCP Data received {"connection_id":109118,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:51:39] local.INFO: Processing buffer {"connection_id":109118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:51:39] local.INFO: IMEI packet received {"connection_id":109118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":109118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:51:41] local.INFO: TCP Data received {"connection_id":109118,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:41] local.INFO: Processing buffer {"connection_id":109118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:41] local.INFO: Packet analysis {"connection_id":109118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:51:41] local.INFO: Extracted packet for processing {"connection_id":109118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:41] 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-06-21 18:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:51:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:51:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":109118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:51:41] local.INFO: GPS data processed {"connection_id":109118,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:51:41] local.INFO: Acknowledgment sent {"connection_id":109118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:51:45] local.INFO: TCP Data received {"connection_id":109118,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:45] local.INFO: Processing buffer {"connection_id":109118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:51:45] local.INFO: Packet analysis {"connection_id":109118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:51:45] local.INFO: Extracted packet for processing {"connection_id":109118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:45] 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-06-21 18:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 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-06-21 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:51:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":109118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:51:45] local.INFO: GPS data processed {"connection_id":109118,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:51:45] local.INFO: Acknowledgment sent {"connection_id":109118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:51:59] local.INFO: TCP Data received {"connection_id":109117,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:51:59] local.INFO: Processing buffer {"connection_id":109117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:51:59] local.INFO: Packet analysis {"connection_id":109117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:51:59] local.INFO: Extracted packet for processing {"connection_id":109117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":109117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:51:59] local.INFO: GPS data processed {"connection_id":109117,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:51:59] local.INFO: Acknowledgment sent {"connection_id":109117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:52:22] local.INFO: TCP Data received {"connection_id":108949,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:52:22] local.INFO: Processing buffer {"connection_id":108949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:52:22] local.INFO: IMEI packet received {"connection_id":108949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":108949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:52:27] local.INFO: TCP Data received {"connection_id":108949,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:52:27] local.INFO: Processing buffer {"connection_id":108949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:52:27] local.INFO: IMEI packet received {"connection_id":108949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":108949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:52:28] local.INFO: TCP Data received {"connection_id":108949,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:52:28] local.INFO: Processing buffer {"connection_id":108949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea53b558012d196400071ff0600043006e29..."} 
[2026-06-21 18:52:28] local.INFO: Packet analysis {"connection_id":108949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:52:28] local.INFO: Extracted packet for processing {"connection_id":108949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea53"} 
[2026-06-21 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204163584001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782047815000,"timestamp_ms":1782047815000,"timestamp_seconds":1782047815,"priority":1,"record_length":96,"hex_timestamp":"0000019eea53b558"} 
[2026-06-21 18:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204163584001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204163584001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204163584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":108949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:52:28] local.INFO: GPS data processed {"connection_id":108949,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:52:28] local.INFO: Acknowledgment sent {"connection_id":108949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:52:34] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:52:34] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:52:34] local.INFO: IMEI packet received {"connection_id":108950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":108950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:52:34] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:52:34] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:52:34] local.INFO: IMEI packet received {"connection_id":108950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":108950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:52:35] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:52:35] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:52:35] local.INFO: Packet analysis {"connection_id":108950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:52:35] local.INFO: Extracted packet for processing {"connection_id":108950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52: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-06-21 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:52:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":108950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:52:36] local.INFO: GPS data processed {"connection_id":108950,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:52:36] local.INFO: Acknowledgment sent {"connection_id":108950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:52:41] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:52:41] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:52:41] local.INFO: Packet analysis {"connection_id":108950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:52:41] local.INFO: Extracted packet for processing {"connection_id":108950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:41] 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-06-21 18:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:52:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":108950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:52:41] local.INFO: GPS data processed {"connection_id":108950,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:52:41] local.INFO: Acknowledgment sent {"connection_id":108950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:52:59] local.INFO: TCP Data received {"connection_id":108949,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:52:59] local.INFO: Processing buffer {"connection_id":108949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:52:59] local.INFO: Packet analysis {"connection_id":108949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:52:59] local.INFO: Extracted packet for processing {"connection_id":108949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":108949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:52:59] local.INFO: GPS data processed {"connection_id":108949,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:52:59] local.INFO: Acknowledgment sent {"connection_id":108949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:53:12] local.INFO: TCP Data received {"connection_id":108950,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:53:12] local.INFO: Processing buffer {"connection_id":108950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:53:12] local.INFO: Packet analysis {"connection_id":108950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:53:12] local.INFO: Extracted packet for processing {"connection_id":108950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:12] 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-06-21 18:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:53:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":108950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:53:12] local.INFO: GPS data processed {"connection_id":108950,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:53:12] local.INFO: Acknowledgment sent {"connection_id":108950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:53:22] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:53:22] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:53:22] local.INFO: IMEI packet received {"connection_id":109119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":109119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:53:27] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:53:27] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:53:27] local.INFO: IMEI packet received {"connection_id":109119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":109119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:53:28] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:53:28] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:53:28] local.INFO: Packet analysis {"connection_id":109119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:53:28] local.INFO: Extracted packet for processing {"connection_id":109119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":109119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:53:28] local.INFO: GPS data processed {"connection_id":109119,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:53:28] local.INFO: Acknowledgment sent {"connection_id":109119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:53:29] local.INFO: TCP Data received {"connection_id":108951,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:53:29] local.INFO: Processing buffer {"connection_id":108951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:53:29] local.INFO: IMEI packet received {"connection_id":108951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":108951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:53:35] local.INFO: TCP Data received {"connection_id":108951,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:53:35] local.INFO: Processing buffer {"connection_id":108951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:53:35] local.INFO: IMEI packet received {"connection_id":108951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":108951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:53:36] local.INFO: TCP Data received {"connection_id":108951,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:53:36] local.INFO: Processing buffer {"connection_id":108951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:53:36] local.INFO: Packet analysis {"connection_id":108951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:53:36] local.INFO: Extracted packet for processing {"connection_id":108951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 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-06-21 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:53:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":108951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:53:36] local.INFO: GPS data processed {"connection_id":108951,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:53:36] local.INFO: Acknowledgment sent {"connection_id":108951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:53:59] local.INFO: TCP Data received {"connection_id":109119,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:53:59] local.INFO: Processing buffer {"connection_id":109119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:53:59] local.INFO: Packet analysis {"connection_id":109119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:53:59] local.INFO: Extracted packet for processing {"connection_id":109119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:53:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":109119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:53:59] local.INFO: GPS data processed {"connection_id":109119,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:53:59] local.INFO: Acknowledgment sent {"connection_id":109119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:54:08] local.INFO: TCP Data received {"connection_id":108951,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:54:08] local.INFO: Processing buffer {"connection_id":108951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:54:08] local.INFO: Packet analysis {"connection_id":108951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:54:08] local.INFO: Extracted packet for processing {"connection_id":108951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:08] 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-06-21 18:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":108951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:54:08] local.INFO: GPS data processed {"connection_id":108951,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:54:08] local.INFO: Acknowledgment sent {"connection_id":108951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:54:12] local.INFO: TCP Data received {"connection_id":109120,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:54:12] local.INFO: Processing buffer {"connection_id":109120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:54:12] local.INFO: IMEI packet received {"connection_id":109120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":109120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:54:27] local.INFO: TCP Data received {"connection_id":110675,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:54:27] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:54:27] local.INFO: IMEI packet received {"connection_id":110675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":110675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:54:29] local.INFO: TCP Data received {"connection_id":110676,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:54:29] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:54:29] local.INFO: IMEI packet received {"connection_id":110676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":110676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:54:32] local.INFO: TCP Data received {"connection_id":110675,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:54:32] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:54:32] local.INFO: IMEI packet received {"connection_id":110675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":110675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:54:33] local.INFO: TCP Data received {"connection_id":110675,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:54:33] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:54:33] local.INFO: Packet analysis {"connection_id":110675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:54:33] local.INFO: Extracted packet for processing {"connection_id":110675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:54:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":110675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:54:33] local.INFO: GPS data processed {"connection_id":110675,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:54:33] local.INFO: Acknowledgment sent {"connection_id":110675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:54:34] local.INFO: TCP Data received {"connection_id":110676,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:54:34] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:54:34] local.INFO: IMEI packet received {"connection_id":110676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":110676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:54:36] local.INFO: TCP Data received {"connection_id":110676,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:54:36] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:54:36] local.INFO: Packet analysis {"connection_id":110676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:54:36] local.INFO: Extracted packet for processing {"connection_id":110676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":110676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:54:36] local.INFO: GPS data processed {"connection_id":110676,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:54:36] local.INFO: Acknowledgment sent {"connection_id":110676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:54:38] local.INFO: TCP Data received {"connection_id":110675,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:54:38] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:54:38] local.INFO: Packet analysis {"connection_id":110675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:54:38] local.INFO: Extracted packet for processing {"connection_id":110675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:54:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":110675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:54:38] local.INFO: GPS data processed {"connection_id":110675,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:54:38] local.INFO: Acknowledgment sent {"connection_id":110675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:55:08] local.INFO: TCP Data received {"connection_id":110676,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:55:08] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:55:08] local.INFO: Packet analysis {"connection_id":110676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:55:08] local.INFO: Extracted packet for processing {"connection_id":110676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:08] 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-06-21 18:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":110676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:55:08] local.INFO: GPS data processed {"connection_id":110676,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:55:08] local.INFO: Acknowledgment sent {"connection_id":110676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:55:22] local.INFO: TCP Data received {"connection_id":109122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:55:22] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:55:22] local.INFO: IMEI packet received {"connection_id":109122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":109122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:55:27] local.INFO: TCP Data received {"connection_id":109122,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:55:27] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:55:27] local.INFO: IMEI packet received {"connection_id":109122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":109122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:55:28] local.INFO: TCP Data received {"connection_id":109122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:55:28] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:55:28] local.INFO: Packet analysis {"connection_id":109122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:55:28] local.INFO: Extracted packet for processing {"connection_id":109122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":109122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:55:28] local.INFO: GPS data processed {"connection_id":109122,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:55:28] local.INFO: Acknowledgment sent {"connection_id":109122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:55:29] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:55:29] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:55:29] local.INFO: IMEI packet received {"connection_id":110677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":110677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:55:34] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:55:34] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:55:34] local.INFO: IMEI packet received {"connection_id":110677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":110677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:55:36] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:55:36] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea569b88012d34c54006aa3f800015007223..."} 
[2026-06-21 18:55:36] local.INFO: Packet analysis {"connection_id":110677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:55:36] local.INFO: Extracted packet for processing {"connection_id":110677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea56"} 
[2026-06-21 18:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":21,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204212224001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782048005000,"timestamp_ms":1782048005000,"timestamp_seconds":1782048005,"priority":1,"record_length":96,"hex_timestamp":"0000019eea569b88"} 
[2026-06-21 18:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 18:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204212224001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204212224001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:55:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204212224001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":110677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:55:36] local.INFO: GPS data processed {"connection_id":110677,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:55:36] local.INFO: Acknowledgment sent {"connection_id":110677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:55:59] local.INFO: TCP Data received {"connection_id":109122,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:55:59] local.INFO: Processing buffer {"connection_id":109122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:55:59] local.INFO: Packet analysis {"connection_id":109122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:55:59] local.INFO: Extracted packet for processing {"connection_id":109122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":109122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:56:00] local.INFO: GPS data processed {"connection_id":109122,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:56:00] local.INFO: Acknowledgment sent {"connection_id":109122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:56:08] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:56:08] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:56:08] local.INFO: Packet analysis {"connection_id":110677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:56:08] local.INFO: Extracted packet for processing {"connection_id":110677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:08] 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-06-21 18:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 18:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:56:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":110677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:56:08] local.INFO: GPS data processed {"connection_id":110677,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:56:08] local.INFO: Acknowledgment sent {"connection_id":110677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:56:22] local.INFO: TCP Data received {"connection_id":109123,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:56:22] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:56:22] local.INFO: IMEI packet received {"connection_id":109123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":109123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:56:27] local.INFO: TCP Data received {"connection_id":109123,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:56:27] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:56:27] local.INFO: IMEI packet received {"connection_id":109123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":109123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:56:28] local.INFO: TCP Data received {"connection_id":109123,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:56:28] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:56:28] local.INFO: Packet analysis {"connection_id":109123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:56:28] local.INFO: Extracted packet for processing {"connection_id":109123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:56:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":109123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:56:28] local.INFO: GPS data processed {"connection_id":109123,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:56:28] local.INFO: Acknowledgment sent {"connection_id":109123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:56:30] local.INFO: TCP Data received {"connection_id":108952,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:56:30] local.INFO: Processing buffer {"connection_id":108952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:56:30] local.INFO: IMEI packet received {"connection_id":108952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":108952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:56:34] local.INFO: TCP Data received {"connection_id":108952,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:56:34] local.INFO: Processing buffer {"connection_id":108952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:56:34] local.INFO: IMEI packet received {"connection_id":108952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":108952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:56:36] local.INFO: TCP Data received {"connection_id":108952,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:56:36] local.INFO: Processing buffer {"connection_id":108952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:56:36] local.INFO: Packet analysis {"connection_id":108952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:56:36] local.INFO: Extracted packet for processing {"connection_id":108952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:56: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-06-21 18:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 18:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:56:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":108952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:56:36] local.INFO: GPS data processed {"connection_id":108952,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:56:36] local.INFO: Acknowledgment sent {"connection_id":108952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:57:00] local.INFO: TCP Data received {"connection_id":109123,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:57:00] local.INFO: Processing buffer {"connection_id":109123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:57:00] local.INFO: Packet analysis {"connection_id":109123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:57:00] local.INFO: Extracted packet for processing {"connection_id":109123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":109123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:57:00] local.INFO: GPS data processed {"connection_id":109123,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:57:00] local.INFO: Acknowledgment sent {"connection_id":109123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:57:08] local.INFO: TCP Data received {"connection_id":108952,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:57:08] local.INFO: Processing buffer {"connection_id":108952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:57:08] local.INFO: Packet analysis {"connection_id":108952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:57:08] local.INFO: Extracted packet for processing {"connection_id":108952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:08] 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-06-21 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":108952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:57:08] local.INFO: GPS data processed {"connection_id":108952,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:57:08] local.INFO: Acknowledgment sent {"connection_id":108952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:57:22] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:57:22] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:57:22] local.INFO: IMEI packet received {"connection_id":109124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":109124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:57:27] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:57:27] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:57:27] local.INFO: IMEI packet received {"connection_id":109124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":109124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:57:28] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:57:28] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea584d20012d196400071ff0600043006e29..."} 
[2026-06-21 18:57:28] local.INFO: Packet analysis {"connection_id":109124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:57:28] local.INFO: Extracted packet for processing {"connection_id":109124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea58"} 
[2026-06-21 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204240640001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048116000,"timestamp_ms":1782048116000,"timestamp_seconds":1782048116,"priority":1,"record_length":96,"hex_timestamp":"0000019eea584d20"} 
[2026-06-21 18:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204240640001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204240640001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204240640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":109124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:57:28] local.INFO: GPS data processed {"connection_id":109124,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:57:28] local.INFO: Acknowledgment sent {"connection_id":109124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:57:29] local.INFO: TCP Data received {"connection_id":109727,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:57:29] local.INFO: Processing buffer {"connection_id":109727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:57:29] local.INFO: IMEI packet received {"connection_id":109727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":109727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:57:34] local.INFO: TCP Data received {"connection_id":109727,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:57:34] local.INFO: Processing buffer {"connection_id":109727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:57:34] local.INFO: IMEI packet received {"connection_id":109727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":109727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:57:36] local.INFO: TCP Data received {"connection_id":109727,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:57:36] local.INFO: Processing buffer {"connection_id":109727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:57:36] local.INFO: Packet analysis {"connection_id":109727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:57:36] local.INFO: Extracted packet for processing {"connection_id":109727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 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-06-21 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":109727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:57:36] local.INFO: GPS data processed {"connection_id":109727,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:57:36] local.INFO: Acknowledgment sent {"connection_id":109727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:57:59] local.INFO: TCP Data received {"connection_id":109124,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:57:59] local.INFO: Processing buffer {"connection_id":109124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:57:59] local.INFO: Packet analysis {"connection_id":109124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:57:59] local.INFO: Extracted packet for processing {"connection_id":109124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 18:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:57:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":109124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:57:59] local.INFO: GPS data processed {"connection_id":109124,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:57:59] local.INFO: Acknowledgment sent {"connection_id":109124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:58:08] local.INFO: TCP Data received {"connection_id":109727,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:58:08] local.INFO: Processing buffer {"connection_id":109727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:58:08] local.INFO: Packet analysis {"connection_id":109727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:58:08] local.INFO: Extracted packet for processing {"connection_id":109727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:08] 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-06-21 18:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 18:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":109727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:58:08] local.INFO: GPS data processed {"connection_id":109727,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:58:08] local.INFO: Acknowledgment sent {"connection_id":109727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:58:22] local.INFO: TCP Data received {"connection_id":108953,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:58:22] local.INFO: Processing buffer {"connection_id":108953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:58:22] local.INFO: IMEI packet received {"connection_id":108953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":108953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:58:27] local.INFO: TCP Data received {"connection_id":108953,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:58:27] local.INFO: Processing buffer {"connection_id":108953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:58:27] local.INFO: IMEI packet received {"connection_id":108953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":108953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:58:28] local.INFO: TCP Data received {"connection_id":108953,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:58:28] local.INFO: Processing buffer {"connection_id":108953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:58:28] local.INFO: Packet analysis {"connection_id":108953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:58:28] local.INFO: Extracted packet for processing {"connection_id":108953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 18:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":108953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:58:28] local.INFO: GPS data processed {"connection_id":108953,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:58:28] local.INFO: Acknowledgment sent {"connection_id":108953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:58:29] local.INFO: TCP Data received {"connection_id":109126,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:58:29] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:58:29] local.INFO: IMEI packet received {"connection_id":109126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":109126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:58:34] local.INFO: TCP Data received {"connection_id":109126,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:58:34] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:58:34] local.INFO: IMEI packet received {"connection_id":109126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":109126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:58:36] local.INFO: TCP Data received {"connection_id":109126,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:58:36] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:58:36] local.INFO: Packet analysis {"connection_id":109126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:58:36] local.INFO: Extracted packet for processing {"connection_id":109126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18: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-06-21 18:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 18:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:58:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":109126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:58:36] local.INFO: GPS data processed {"connection_id":109126,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:58:36] local.INFO: Acknowledgment sent {"connection_id":109126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:58:59] local.INFO: TCP Data received {"connection_id":108953,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:58:59] local.INFO: Processing buffer {"connection_id":108953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:58:59] local.INFO: Packet analysis {"connection_id":108953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:58:59] local.INFO: Extracted packet for processing {"connection_id":108953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 18:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":108953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:58:59] local.INFO: GPS data processed {"connection_id":108953,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:58:59] local.INFO: Acknowledgment sent {"connection_id":108953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:59:07] local.INFO: TCP Data received {"connection_id":109126,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:07] local.INFO: Processing buffer {"connection_id":109126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:07] local.INFO: Packet analysis {"connection_id":109126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:59:07] local.INFO: Extracted packet for processing {"connection_id":109126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:07] 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-06-21 18:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 18:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":109126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:59:07] local.INFO: GPS data processed {"connection_id":109126,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:59:07] local.INFO: Acknowledgment sent {"connection_id":109126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:59:22] local.INFO: TCP Data received {"connection_id":108954,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:59:22] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:59:22] local.INFO: IMEI packet received {"connection_id":108954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 18:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":108954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:59:27] local.INFO: TCP Data received {"connection_id":108954,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:59:27] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 18:59:27] local.INFO: IMEI packet received {"connection_id":108954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 18:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":108954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:59:28] local.INFO: TCP Data received {"connection_id":108954,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:59:28] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:59:28] local.INFO: Packet analysis {"connection_id":108954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:59:28] local.INFO: Extracted packet for processing {"connection_id":108954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 18:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 18:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 18:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 18:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":108954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:59:28] local.INFO: GPS data processed {"connection_id":108954,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:59:28] local.INFO: Acknowledgment sent {"connection_id":108954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:59:34] local.INFO: TCP Data received {"connection_id":108955,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:59:34] local.INFO: Processing buffer {"connection_id":108955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:59:34] local.INFO: IMEI packet received {"connection_id":108955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":108955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:59:39] local.INFO: TCP Data received {"connection_id":108955,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:59:39] local.INFO: Processing buffer {"connection_id":108955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 18:59:39] local.INFO: IMEI packet received {"connection_id":108955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":108955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 18:59:41] local.INFO: TCP Data received {"connection_id":108955,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:41] local.INFO: Processing buffer {"connection_id":108955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:41] local.INFO: Packet analysis {"connection_id":108955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:59:41] local.INFO: Extracted packet for processing {"connection_id":108955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:41] 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-06-21 18:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 18:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":108955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:59:41] local.INFO: GPS data processed {"connection_id":108955,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:59:41] local.INFO: Acknowledgment sent {"connection_id":108955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:59:42] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:59:42] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 18:59:42] local.INFO: IMEI packet received {"connection_id":110679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 18:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":110679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 18:59:45] local.INFO: TCP Data received {"connection_id":108955,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:45] local.INFO: Processing buffer {"connection_id":108955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 18:59:45] local.INFO: Packet analysis {"connection_id":108955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:59:45] local.INFO: Extracted packet for processing {"connection_id":108955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 18:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:45] 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-06-21 18:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 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-06-21 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 18:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 18:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 18:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 18:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 18:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 18:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 18:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 18:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:59:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 18:59:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 18:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 18:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 18:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":108955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 18:59:45] local.INFO: GPS data processed {"connection_id":108955,"processed":1,"errors":0,"total":1} 
[2026-06-21 18:59:45] local.INFO: Acknowledgment sent {"connection_id":108955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 18:59:59] local.INFO: TCP Data received {"connection_id":108954,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:59:59] local.INFO: Processing buffer {"connection_id":108954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 18:59:59] local.INFO: Packet analysis {"connection_id":108954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:59:59] local.INFO: Extracted packet for processing {"connection_id":108954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 18: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-06-21 18:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 18:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 18:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 18:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 18:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 18: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-06-21 18:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 18:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 18:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 18:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 18:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 18:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 18:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 18:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 18:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 18:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 18:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 18:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":108954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:00:00] local.INFO: GPS data processed {"connection_id":108954,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:00:00] local.INFO: Acknowledgment sent {"connection_id":108954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:00:11] local.INFO: TCP Data received {"connection_id":108956,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:00:11] local.INFO: Processing buffer {"connection_id":108956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:00:11] local.INFO: IMEI packet received {"connection_id":108956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":108956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:00:27] local.INFO: TCP Data received {"connection_id":108957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:00:27] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:00:27] local.INFO: IMEI packet received {"connection_id":108957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":108957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:00:29] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:00:29] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:00:29] local.INFO: IMEI packet received {"connection_id":109127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":109127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:00:32] local.INFO: TCP Data received {"connection_id":108957,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:00:32] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:00:32] local.INFO: IMEI packet received {"connection_id":108957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":108957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:00:33] local.INFO: TCP Data received {"connection_id":108957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:00:33] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:00:33] local.INFO: Packet analysis {"connection_id":108957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:00:33] local.INFO: Extracted packet for processing {"connection_id":108957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 19:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":108957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":108957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":108957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":108957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:00:33] local.INFO: GPS data processed {"connection_id":108957,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:00:33] local.INFO: Acknowledgment sent {"connection_id":108957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:00:34] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:00:34] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:00:34] local.INFO: IMEI packet received {"connection_id":109127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":109127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:00:36] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 19:00:36] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5b3350012d34c54006aa3f800017007226..."} 
[2026-06-21 19:00:36] local.INFO: Packet analysis {"connection_id":109127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 19:00:36] local.INFO: Extracted packet for processing {"connection_id":109127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5b"} 
[2026-06-21 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204289280001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00: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-06-21 19:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782048306000,"timestamp_ms":1782048306000,"timestamp_seconds":1782048306,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5b3350"} 
[2026-06-21 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-06-21 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204289280001,"66":25397,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204289280001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:00:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204289280001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":109127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:00:36] local.INFO: GPS data processed {"connection_id":109127,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:00:36] local.INFO: Acknowledgment sent {"connection_id":109127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:00:38] local.INFO: TCP Data received {"connection_id":108957,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:00:38] local.INFO: Processing buffer {"connection_id":108957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:00:38] local.INFO: Packet analysis {"connection_id":108957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:00:38] local.INFO: Extracted packet for processing {"connection_id":108957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 19:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":108957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":108957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":108957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:00:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":108957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:00:38] local.INFO: GPS data processed {"connection_id":108957,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:00:38] local.INFO: Acknowledgment sent {"connection_id":108957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:01:08] local.INFO: TCP Data received {"connection_id":109127,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:01:08] local.INFO: Processing buffer {"connection_id":109127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:01:08] local.INFO: Packet analysis {"connection_id":109127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:01:08] local.INFO: Extracted packet for processing {"connection_id":109127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:08] 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-06-21 19:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:01:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":109127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:01:08] local.INFO: GPS data processed {"connection_id":109127,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:01:08] local.INFO: Acknowledgment sent {"connection_id":109127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:01:22] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:01:22] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:01:22] local.INFO: IMEI packet received {"connection_id":110680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":110680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:01:27] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:01:27] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:01:27] local.INFO: IMEI packet received {"connection_id":110680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":110680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:01:28] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:01:28] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:01:28] local.INFO: Packet analysis {"connection_id":110680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:01:28] local.INFO: Extracted packet for processing {"connection_id":110680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 19:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:01:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":110680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:01:28] local.INFO: GPS data processed {"connection_id":110680,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:01:28] local.INFO: Acknowledgment sent {"connection_id":110680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:01:29] local.INFO: TCP Data received {"connection_id":108959,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:01:29] local.INFO: Processing buffer {"connection_id":108959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:01:29] local.INFO: IMEI packet received {"connection_id":108959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":108959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:01:34] local.INFO: TCP Data received {"connection_id":108959,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:01:34] local.INFO: Processing buffer {"connection_id":108959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:01:34] local.INFO: IMEI packet received {"connection_id":108959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":108959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:01:35] local.INFO: TCP Data received {"connection_id":108959,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:01:35] local.INFO: Processing buffer {"connection_id":108959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:01:35] local.INFO: Packet analysis {"connection_id":108959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:01:35] local.INFO: Extracted packet for processing {"connection_id":108959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01: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-06-21 19:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:01:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:01:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":108959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:01:35] local.INFO: GPS data processed {"connection_id":108959,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:01:35] local.INFO: Acknowledgment sent {"connection_id":108959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:01:59] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:01:59] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:01:59] local.INFO: Packet analysis {"connection_id":110680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:01:59] local.INFO: Extracted packet for processing {"connection_id":110680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 19:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":110680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:01:59] local.INFO: GPS data processed {"connection_id":110680,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:01:59] local.INFO: Acknowledgment sent {"connection_id":110680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:02:07] local.INFO: TCP Data received {"connection_id":108959,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:07] local.INFO: Processing buffer {"connection_id":108959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:07] local.INFO: Packet analysis {"connection_id":108959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:02:07] local.INFO: Extracted packet for processing {"connection_id":108959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:07] 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-06-21 19:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":108959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:02:07] local.INFO: GPS data processed {"connection_id":108959,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:02:07] local.INFO: Acknowledgment sent {"connection_id":108959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:02:23] local.INFO: TCP Data received {"connection_id":109728,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:02:23] local.INFO: Processing buffer {"connection_id":109728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:02:23] local.INFO: IMEI packet received {"connection_id":109728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":109728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:02:27] local.INFO: TCP Data received {"connection_id":109728,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:02:27] local.INFO: Processing buffer {"connection_id":109728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:02:27] local.INFO: IMEI packet received {"connection_id":109728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":109728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:02:28] local.INFO: TCP Data received {"connection_id":109728,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:02:28] local.INFO: Processing buffer {"connection_id":109728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5ce4e8012d196400071ff0600043006e27..."} 
[2026-06-21 19:02:28] local.INFO: Packet analysis {"connection_id":109728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:02:28] local.INFO: Extracted packet for processing {"connection_id":109728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5c"} 
[2026-06-21 19:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204317696001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048417000,"timestamp_ms":1782048417000,"timestamp_seconds":1782048417,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5ce4e8"} 
[2026-06-21 19:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204317696001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204317696001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:02:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204317696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":109728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:02:28] local.INFO: GPS data processed {"connection_id":109728,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:02:28] local.INFO: Acknowledgment sent {"connection_id":109728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:02:34] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:02:34] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:02:34] local.INFO: IMEI packet received {"connection_id":109128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":109128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:02:39] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:02:39] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:02:39] local.INFO: IMEI packet received {"connection_id":109128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":109128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:02:40] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:40] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:40] local.INFO: Packet analysis {"connection_id":109128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:02:40] local.INFO: Extracted packet for processing {"connection_id":109128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:02:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02: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-06-21 19:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:02:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:02:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":109128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:02:40] local.INFO: GPS data processed {"connection_id":109128,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:02:40] local.INFO: Acknowledgment sent {"connection_id":109128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:02:45] local.INFO: TCP Data received {"connection_id":109128,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:45] local.INFO: Processing buffer {"connection_id":109128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:02:45] local.INFO: Packet analysis {"connection_id":109128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:02:45] local.INFO: Extracted packet for processing {"connection_id":109128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:45] 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-06-21 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 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-06-21 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:02:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":109128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:02:45] local.INFO: GPS data processed {"connection_id":109128,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:02:45] local.INFO: Acknowledgment sent {"connection_id":109128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:02:59] local.INFO: TCP Data received {"connection_id":109728,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:02:59] local.INFO: Processing buffer {"connection_id":109728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:02:59] local.INFO: Packet analysis {"connection_id":109728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:02:59] local.INFO: Extracted packet for processing {"connection_id":109728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":109728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:02:59] local.INFO: GPS data processed {"connection_id":109728,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:02:59] local.INFO: Acknowledgment sent {"connection_id":109728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:03:27] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:03:27] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:03:27] local.INFO: IMEI packet received {"connection_id":109130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":109130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:03:29] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:03:29] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:03:29] local.INFO: IMEI packet received {"connection_id":109131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":109131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:03:32] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:03:32] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:03:32] local.INFO: IMEI packet received {"connection_id":109130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":109130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:03:33] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:03:33] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:03:33] local.INFO: Packet analysis {"connection_id":109130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:03:33] local.INFO: Extracted packet for processing {"connection_id":109130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:03:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":109130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:03:33] local.INFO: GPS data processed {"connection_id":109130,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:03:33] local.INFO: Acknowledgment sent {"connection_id":109130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:03:34] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:03:34] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:03:34] local.INFO: IMEI packet received {"connection_id":109131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":109131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:03:35] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:03:35] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:03:35] local.INFO: Packet analysis {"connection_id":109131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:03:35] local.INFO: Extracted packet for processing {"connection_id":109131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03: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-06-21 19:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":109131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:03:35] local.INFO: GPS data processed {"connection_id":109131,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:03:35] local.INFO: Acknowledgment sent {"connection_id":109131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:03:38] local.INFO: TCP Data received {"connection_id":109130,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:03:38] local.INFO: Processing buffer {"connection_id":109130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:03:38] local.INFO: Packet analysis {"connection_id":109130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:03:38] local.INFO: Extracted packet for processing {"connection_id":109130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:03:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":109130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:03:38] local.INFO: GPS data processed {"connection_id":109130,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:03:38] local.INFO: Acknowledgment sent {"connection_id":109130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:04:07] local.INFO: TCP Data received {"connection_id":109131,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:04:07] local.INFO: Processing buffer {"connection_id":109131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:04:07] local.INFO: Packet analysis {"connection_id":109131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:04:07] local.INFO: Extracted packet for processing {"connection_id":109131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:07] 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-06-21 19:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":109131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:04:07] local.INFO: GPS data processed {"connection_id":109131,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:04:07] local.INFO: Acknowledgment sent {"connection_id":109131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:04:22] local.INFO: TCP Data received {"connection_id":109132,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:04:22] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:04:22] local.INFO: IMEI packet received {"connection_id":109132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":109132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:04:27] local.INFO: TCP Data received {"connection_id":109132,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:04:27] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:04:27] local.INFO: IMEI packet received {"connection_id":109132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":109132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:04:28] local.INFO: TCP Data received {"connection_id":109132,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:04:28] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:04:28] local.INFO: Packet analysis {"connection_id":109132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:04:28] local.INFO: Extracted packet for processing {"connection_id":109132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":109132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:04:28] local.INFO: GPS data processed {"connection_id":109132,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:04:28] local.INFO: Acknowledgment sent {"connection_id":109132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:04:29] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:04:29] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:04:29] local.INFO: IMEI packet received {"connection_id":110682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":110682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:04:34] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:04:34] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:04:34] local.INFO: IMEI packet received {"connection_id":110682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":110682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:04:35] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:04:35] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:04:35] local.INFO: Packet analysis {"connection_id":110682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:04:35] local.INFO: Extracted packet for processing {"connection_id":110682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04: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-06-21 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:04:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":110682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:04:35] local.INFO: GPS data processed {"connection_id":110682,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:04:35] local.INFO: Acknowledgment sent {"connection_id":110682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:04:59] local.INFO: TCP Data received {"connection_id":109132,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:04:59] local.INFO: Processing buffer {"connection_id":109132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:04:59] local.INFO: Packet analysis {"connection_id":109132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:04:59] local.INFO: Extracted packet for processing {"connection_id":109132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":109132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:04:59] local.INFO: GPS data processed {"connection_id":109132,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:04:59] local.INFO: Acknowledgment sent {"connection_id":109132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:05:07] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:05:07] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:05:07] local.INFO: Packet analysis {"connection_id":110682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:05:07] local.INFO: Extracted packet for processing {"connection_id":110682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:07] 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-06-21 19:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":110682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:05:07] local.INFO: GPS data processed {"connection_id":110682,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:05:07] local.INFO: Acknowledgment sent {"connection_id":110682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:05:22] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:05:22] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:05:22] local.INFO: IMEI packet received {"connection_id":109133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":109133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:05:27] local.INFO: TCP Data received {"connection_id":109730,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:05:27] local.INFO: Processing buffer {"connection_id":109730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:05:27] local.INFO: IMEI packet received {"connection_id":109730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":109730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:05:27] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:05:27] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:05:27] local.INFO: IMEI packet received {"connection_id":109133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":109133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:05:28] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:05:28] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:05:28] local.INFO: Packet analysis {"connection_id":109133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:05:28] local.INFO: Extracted packet for processing {"connection_id":109133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":109133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:05:28] local.INFO: GPS data processed {"connection_id":109133,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:05:28] local.INFO: Acknowledgment sent {"connection_id":109133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:05:29] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:05:29] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:05:29] local.INFO: IMEI packet received {"connection_id":108960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":108960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:05:34] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:05:34] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:05:34] local.INFO: IMEI packet received {"connection_id":108960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":108960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:05:35] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:05:35] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea5fcb18012d34c54006aa3f800014007223..."} 
[2026-06-21 19:05:35] local.INFO: Packet analysis {"connection_id":108960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:05:35] local.INFO: Extracted packet for processing {"connection_id":108960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea5f"} 
[2026-06-21 19:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":20,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204366336001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05: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-06-21 19:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048607000,"timestamp_ms":1782048607000,"timestamp_seconds":1782048607,"priority":1,"record_length":96,"hex_timestamp":"0000019eea5fcb18"} 
[2026-06-21 19:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 19:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204366336001,"66":25343,"106":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 19:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204366336001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:05:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 19:05:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204366336001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":108960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:05:35] local.INFO: GPS data processed {"connection_id":108960,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:05:35] local.INFO: Acknowledgment sent {"connection_id":108960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:05:59] local.INFO: TCP Data received {"connection_id":109133,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:05:59] local.INFO: Processing buffer {"connection_id":109133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:05:59] local.INFO: Packet analysis {"connection_id":109133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:05:59] local.INFO: Extracted packet for processing {"connection_id":109133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":109133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:05:59] local.INFO: GPS data processed {"connection_id":109133,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:05:59] local.INFO: Acknowledgment sent {"connection_id":109133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:06:07] local.INFO: TCP Data received {"connection_id":108960,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:07] local.INFO: Processing buffer {"connection_id":108960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:07] local.INFO: Packet analysis {"connection_id":108960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:06:07] local.INFO: Extracted packet for processing {"connection_id":108960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":108960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:06:07] local.INFO: GPS data processed {"connection_id":108960,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:06:07] local.INFO: Acknowledgment sent {"connection_id":108960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:06:11] local.INFO: TCP Data received {"connection_id":109731,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:06:11] local.INFO: Processing buffer {"connection_id":109731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:06:11] local.INFO: IMEI packet received {"connection_id":109731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":109731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:06:22] local.INFO: TCP Data received {"connection_id":109732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:06:22] local.INFO: Processing buffer {"connection_id":109732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:06:22] local.INFO: IMEI packet received {"connection_id":109732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":109732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:06:27] local.INFO: TCP Data received {"connection_id":109732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:06:27] local.INFO: Processing buffer {"connection_id":109732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:06:27] local.INFO: IMEI packet received {"connection_id":109732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":109732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:06:28] local.INFO: TCP Data received {"connection_id":109732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:06:28] local.INFO: Processing buffer {"connection_id":109732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:06:28] local.INFO: Packet analysis {"connection_id":109732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:06:28] local.INFO: Extracted packet for processing {"connection_id":109732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":109732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:06:28] local.INFO: GPS data processed {"connection_id":109732,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:06:28] local.INFO: Acknowledgment sent {"connection_id":109732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:06:34] local.INFO: TCP Data received {"connection_id":108961,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:06:34] local.INFO: Processing buffer {"connection_id":108961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:06:34] local.INFO: IMEI packet received {"connection_id":108961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":108961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:06:39] local.INFO: TCP Data received {"connection_id":108961,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:06:39] local.INFO: Processing buffer {"connection_id":108961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:06:39] local.INFO: IMEI packet received {"connection_id":108961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":108961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:06:41] local.INFO: TCP Data received {"connection_id":108961,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:41] local.INFO: Processing buffer {"connection_id":108961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:41] local.INFO: Packet analysis {"connection_id":108961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:06:41] local.INFO: Extracted packet for processing {"connection_id":108961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:06:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:06:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":108961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:06:41] local.INFO: GPS data processed {"connection_id":108961,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:06:41] local.INFO: Acknowledgment sent {"connection_id":108961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:06:45] local.INFO: TCP Data received {"connection_id":108961,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:45] local.INFO: Processing buffer {"connection_id":108961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:06:45] local.INFO: Packet analysis {"connection_id":108961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:06:45] local.INFO: Extracted packet for processing {"connection_id":108961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 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-06-21 19:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":108961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:06:45] local.INFO: GPS data processed {"connection_id":108961,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:06:45] local.INFO: Acknowledgment sent {"connection_id":108961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:06:59] local.INFO: TCP Data received {"connection_id":109732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:06:59] local.INFO: Processing buffer {"connection_id":109732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:06:59] local.INFO: Packet analysis {"connection_id":109732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:06:59] local.INFO: Extracted packet for processing {"connection_id":109732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":109732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:06:59] local.INFO: GPS data processed {"connection_id":109732,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:06:59] local.INFO: Acknowledgment sent {"connection_id":109732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:07:23] local.INFO: TCP Data received {"connection_id":110684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:07:23] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:07:23] local.INFO: IMEI packet received {"connection_id":110684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":110684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:07:27] local.INFO: TCP Data received {"connection_id":110684,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:07:27] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:07:27] local.INFO: IMEI packet received {"connection_id":110684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":110684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:07:28] local.INFO: TCP Data received {"connection_id":110684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:07:28] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea617cb0012d196400071ff0600043006e28..."} 
[2026-06-21 19:07:28] local.INFO: Packet analysis {"connection_id":110684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:07:28] local.INFO: Extracted packet for processing {"connection_id":110684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea61"} 
[2026-06-21 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204394752001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782048718000,"timestamp_ms":1782048718000,"timestamp_seconds":1782048718,"priority":1,"record_length":96,"hex_timestamp":"0000019eea617cb0"} 
[2026-06-21 19:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204394752001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204394752001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204394752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":110684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:07:28] local.INFO: GPS data processed {"connection_id":110684,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:07:28] local.INFO: Acknowledgment sent {"connection_id":110684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:07:29] local.INFO: TCP Data received {"connection_id":110685,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:07:29] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:07:29] local.INFO: IMEI packet received {"connection_id":110685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":110685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:07:34] local.INFO: TCP Data received {"connection_id":110685,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:07:34] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:07:34] local.INFO: IMEI packet received {"connection_id":110685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":110685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:07:35] local.INFO: TCP Data received {"connection_id":110685,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:07:35] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:07:35] local.INFO: Packet analysis {"connection_id":110685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:07:35] local.INFO: Extracted packet for processing {"connection_id":110685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:07:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":110685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:07:35] local.INFO: GPS data processed {"connection_id":110685,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:07:35] local.INFO: Acknowledgment sent {"connection_id":110685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:07:59] local.INFO: TCP Data received {"connection_id":110684,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:07:59] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:07:59] local.INFO: Packet analysis {"connection_id":110684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:07:59] local.INFO: Extracted packet for processing {"connection_id":110684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":110684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:07:59] local.INFO: GPS data processed {"connection_id":110684,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:07:59] local.INFO: Acknowledgment sent {"connection_id":110684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:08:07] local.INFO: TCP Data received {"connection_id":110685,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:08:07] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:08:07] local.INFO: Packet analysis {"connection_id":110685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:08:07] local.INFO: Extracted packet for processing {"connection_id":110685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":110685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:08:07] local.INFO: GPS data processed {"connection_id":110685,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:08:07] local.INFO: Acknowledgment sent {"connection_id":110685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:08:27] local.INFO: TCP Data received {"connection_id":109134,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:08:27] local.INFO: Processing buffer {"connection_id":109134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:08:27] local.INFO: IMEI packet received {"connection_id":109134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":109134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:08:29] local.INFO: TCP Data received {"connection_id":110686,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:08:30] local.INFO: Processing buffer {"connection_id":110686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:08:30] local.INFO: IMEI packet received {"connection_id":110686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":110686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:08:32] local.INFO: TCP Data received {"connection_id":109134,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:08:32] local.INFO: Processing buffer {"connection_id":109134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:08:32] local.INFO: IMEI packet received {"connection_id":109134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":109134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:08:33] local.INFO: TCP Data received {"connection_id":109134,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:08:33] local.INFO: Processing buffer {"connection_id":109134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:08:33] local.INFO: Packet analysis {"connection_id":109134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:08:33] local.INFO: Extracted packet for processing {"connection_id":109134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:08:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":109134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:08:33] local.INFO: GPS data processed {"connection_id":109134,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:08:33] local.INFO: Acknowledgment sent {"connection_id":109134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:08:34] local.INFO: TCP Data received {"connection_id":110686,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:08:34] local.INFO: Processing buffer {"connection_id":110686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:08:34] local.INFO: IMEI packet received {"connection_id":110686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":110686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:08:35] local.INFO: TCP Data received {"connection_id":110686,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:08:35] local.INFO: Processing buffer {"connection_id":110686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:08:35] local.INFO: Packet analysis {"connection_id":110686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:08:35] local.INFO: Extracted packet for processing {"connection_id":110686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:08:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":110686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:08:35] local.INFO: GPS data processed {"connection_id":110686,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:08:35] local.INFO: Acknowledgment sent {"connection_id":110686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:08:38] local.INFO: TCP Data received {"connection_id":109134,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:08:38] local.INFO: Processing buffer {"connection_id":109134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:08:38] local.INFO: Packet analysis {"connection_id":109134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:08:38] local.INFO: Extracted packet for processing {"connection_id":109134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":109134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:08:38] local.INFO: GPS data processed {"connection_id":109134,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:08:38] local.INFO: Acknowledgment sent {"connection_id":109134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:09:07] local.INFO: TCP Data received {"connection_id":110686,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:09:07] local.INFO: Processing buffer {"connection_id":110686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:09:07] local.INFO: Packet analysis {"connection_id":110686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:09:07] local.INFO: Extracted packet for processing {"connection_id":110686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":110686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:09:07] local.INFO: GPS data processed {"connection_id":110686,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:09:07] local.INFO: Acknowledgment sent {"connection_id":110686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:09:22] local.INFO: TCP Data received {"connection_id":108963,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:09:22] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:09:22] local.INFO: IMEI packet received {"connection_id":108963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":108963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:09:27] local.INFO: TCP Data received {"connection_id":108963,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:09:27] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:09:27] local.INFO: IMEI packet received {"connection_id":108963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":108963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:09:28] local.INFO: TCP Data received {"connection_id":108963,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:09:28] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:09:28] local.INFO: Packet analysis {"connection_id":108963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:09:28] local.INFO: Extracted packet for processing {"connection_id":108963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:09:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":108963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:09:28] local.INFO: GPS data processed {"connection_id":108963,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:09:28] local.INFO: Acknowledgment sent {"connection_id":108963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:09:29] local.INFO: TCP Data received {"connection_id":110687,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:09:29] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:09:29] local.INFO: IMEI packet received {"connection_id":110687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":110687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:09:34] local.INFO: TCP Data received {"connection_id":110687,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:09:34] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:09:34] local.INFO: IMEI packet received {"connection_id":110687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":110687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:09:35] local.INFO: TCP Data received {"connection_id":110687,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:09:35] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:09:35] local.INFO: Packet analysis {"connection_id":110687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:09:35] local.INFO: Extracted packet for processing {"connection_id":110687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:09:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":110687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:09:35] local.INFO: GPS data processed {"connection_id":110687,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:09:35] local.INFO: Acknowledgment sent {"connection_id":110687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:09:59] local.INFO: TCP Data received {"connection_id":108963,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:09:59] local.INFO: Processing buffer {"connection_id":108963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:09:59] local.INFO: Packet analysis {"connection_id":108963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:09:59] local.INFO: Extracted packet for processing {"connection_id":108963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":108963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:09:59] local.INFO: GPS data processed {"connection_id":108963,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:09:59] local.INFO: Acknowledgment sent {"connection_id":108963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:10:07] local.INFO: TCP Data received {"connection_id":110687,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:10:07] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:10:07] local.INFO: Packet analysis {"connection_id":110687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:10:07] local.INFO: Extracted packet for processing {"connection_id":110687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":110687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:10:07] local.INFO: GPS data processed {"connection_id":110687,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:10:07] local.INFO: Acknowledgment sent {"connection_id":110687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:10:22] local.INFO: TCP Data received {"connection_id":109136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:10:22] local.INFO: Processing buffer {"connection_id":109136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:10:22] local.INFO: IMEI packet received {"connection_id":109136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":109136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:10:27] local.INFO: TCP Data received {"connection_id":109136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:10:27] local.INFO: Processing buffer {"connection_id":109136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:10:27] local.INFO: IMEI packet received {"connection_id":109136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":109136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:10:28] local.INFO: TCP Data received {"connection_id":109136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:10:28] local.INFO: Processing buffer {"connection_id":109136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:10:28] local.INFO: Packet analysis {"connection_id":109136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:10:28] local.INFO: Extracted packet for processing {"connection_id":109136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":109136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:10:28] local.INFO: GPS data processed {"connection_id":109136,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:10:28] local.INFO: Acknowledgment sent {"connection_id":109136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:10:29] local.INFO: TCP Data received {"connection_id":109137,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:10:29] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:10:29] local.INFO: IMEI packet received {"connection_id":109137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":109137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:10:34] local.INFO: TCP Data received {"connection_id":109137,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:10:34] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:10:34] local.INFO: IMEI packet received {"connection_id":109137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":109137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:10:35] local.INFO: TCP Data received {"connection_id":109137,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:10:35] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6462e0012d34c54006aa3f800017007221..."} 
[2026-06-21 19:10:35] local.INFO: Packet analysis {"connection_id":109137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:10:35] local.INFO: Extracted packet for processing {"connection_id":109137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea64"} 
[2026-06-21 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":23,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204443392001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782048908000,"timestamp_ms":1782048908000,"timestamp_seconds":1782048908,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6462e0"} 
[2026-06-21 19:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204443392001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204443392001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204443392001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":109137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:10:35] local.INFO: GPS data processed {"connection_id":109137,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:10:35] local.INFO: Acknowledgment sent {"connection_id":109137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:10:59] local.INFO: TCP Data received {"connection_id":109136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:10:59] local.INFO: Processing buffer {"connection_id":109136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:10:59] local.INFO: Packet analysis {"connection_id":109136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:10:59] local.INFO: Extracted packet for processing {"connection_id":109136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":109136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:10:59] local.INFO: GPS data processed {"connection_id":109136,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:10:59] local.INFO: Acknowledgment sent {"connection_id":109136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:11:07] local.INFO: TCP Data received {"connection_id":109137,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:11:07] local.INFO: Processing buffer {"connection_id":109137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:11:07] local.INFO: Packet analysis {"connection_id":109137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:11:07] local.INFO: Extracted packet for processing {"connection_id":109137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":109137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:11:07] local.INFO: GPS data processed {"connection_id":109137,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:11:07] local.INFO: Acknowledgment sent {"connection_id":109137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:11:22] local.INFO: TCP Data received {"connection_id":109139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:11:22] local.INFO: Processing buffer {"connection_id":109139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:11:22] local.INFO: IMEI packet received {"connection_id":109139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":109139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:11:27] local.INFO: TCP Data received {"connection_id":109139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:11:27] local.INFO: Processing buffer {"connection_id":109139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:11:27] local.INFO: IMEI packet received {"connection_id":109139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":109139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:11:28] local.INFO: TCP Data received {"connection_id":109139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:11:28] local.INFO: Processing buffer {"connection_id":109139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:11:28] local.INFO: Packet analysis {"connection_id":109139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:11:28] local.INFO: Extracted packet for processing {"connection_id":109139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":109139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:11:28] local.INFO: GPS data processed {"connection_id":109139,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:11:28] local.INFO: Acknowledgment sent {"connection_id":109139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:11:29] local.INFO: TCP Data received {"connection_id":109734,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:11:29] local.INFO: Processing buffer {"connection_id":109734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:11:29] local.INFO: IMEI packet received {"connection_id":109734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":109734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:11:34] local.INFO: TCP Data received {"connection_id":109734,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:11:34] local.INFO: Processing buffer {"connection_id":109734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:11:34] local.INFO: IMEI packet received {"connection_id":109734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":109734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:11:35] local.INFO: TCP Data received {"connection_id":109734,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:11:35] local.INFO: Processing buffer {"connection_id":109734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:11:35] local.INFO: Packet analysis {"connection_id":109734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:11:35] local.INFO: Extracted packet for processing {"connection_id":109734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:11:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":109734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:11:35] local.INFO: GPS data processed {"connection_id":109734,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:11:35] local.INFO: Acknowledgment sent {"connection_id":109734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:11:47] local.INFO: TCP Data received {"connection_id":109138,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:11:47] local.INFO: Processing buffer {"connection_id":109138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:11:47] local.INFO: IMEI packet received {"connection_id":109138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":109138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:11:59] local.INFO: TCP Data received {"connection_id":109139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:11:59] local.INFO: Processing buffer {"connection_id":109139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:11:59] local.INFO: Packet analysis {"connection_id":109139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:11:59] local.INFO: Extracted packet for processing {"connection_id":109139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":109139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:11:59] local.INFO: GPS data processed {"connection_id":109139,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:11:59] local.INFO: Acknowledgment sent {"connection_id":109139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:12:07] local.INFO: TCP Data received {"connection_id":109734,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:12:07] local.INFO: Processing buffer {"connection_id":109734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:12:07] local.INFO: Packet analysis {"connection_id":109734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:12:07] local.INFO: Extracted packet for processing {"connection_id":109734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:12:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":109734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:12:07] local.INFO: GPS data processed {"connection_id":109734,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:12:07] local.INFO: Acknowledgment sent {"connection_id":109734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:12:12] local.INFO: TCP Data received {"connection_id":108964,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:12:12] local.INFO: Processing buffer {"connection_id":108964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:12:12] local.INFO: IMEI packet received {"connection_id":108964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":108964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:12:23] local.INFO: TCP Data received {"connection_id":108965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:12:23] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:12:23] local.INFO: IMEI packet received {"connection_id":108965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":108965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:12:27] local.INFO: TCP Data received {"connection_id":108965,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:12:27] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:12:27] local.INFO: IMEI packet received {"connection_id":108965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":108965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:12:28] local.INFO: TCP Data received {"connection_id":108965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:12:28] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea661478012d196400071ff0600043006e24..."} 
[2026-06-21 19:12:28] local.INFO: Packet analysis {"connection_id":108965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:12:28] local.INFO: Extracted packet for processing {"connection_id":108965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea66"} 
[2026-06-21 19:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204471808001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049019000,"timestamp_ms":1782049019000,"timestamp_seconds":1782049019,"priority":1,"record_length":96,"hex_timestamp":"0000019eea661478"} 
[2026-06-21 19:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":108965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":108965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":108965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204471808001,"66":2144,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204471808001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:12:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204471808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":108965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:12:28] local.INFO: GPS data processed {"connection_id":108965,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:12:28] local.INFO: Acknowledgment sent {"connection_id":108965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:12:30] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:12:30] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:12:30] local.INFO: IMEI packet received {"connection_id":110688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":110688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:12:34] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:12:34] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:12:34] local.INFO: IMEI packet received {"connection_id":110688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":110688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:12:35] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:12:35] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:12:35] local.INFO: Packet analysis {"connection_id":110688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:12:35] local.INFO: Extracted packet for processing {"connection_id":110688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:12:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:12:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":110688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:12:35] local.INFO: GPS data processed {"connection_id":110688,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:12:35] local.INFO: Acknowledgment sent {"connection_id":110688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:12:59] local.INFO: TCP Data received {"connection_id":108965,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:12:59] local.INFO: Processing buffer {"connection_id":108965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:12:59] local.INFO: Packet analysis {"connection_id":108965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:12:59] local.INFO: Extracted packet for processing {"connection_id":108965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":108965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":108965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":108965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":108965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:12:59] local.INFO: GPS data processed {"connection_id":108965,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:12:59] local.INFO: Acknowledgment sent {"connection_id":108965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:13:07] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:13:07] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:13:07] local.INFO: Packet analysis {"connection_id":110688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:13:07] local.INFO: Extracted packet for processing {"connection_id":110688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":110688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:13:07] local.INFO: GPS data processed {"connection_id":110688,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:13:07] local.INFO: Acknowledgment sent {"connection_id":110688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:13:22] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:13:22] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:13:22] local.INFO: IMEI packet received {"connection_id":109140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":109140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:13:27] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:13:27] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:13:27] local.INFO: IMEI packet received {"connection_id":109140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":109140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:13:28] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:13:28] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:13:28] local.INFO: Packet analysis {"connection_id":109140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:13:28] local.INFO: Extracted packet for processing {"connection_id":109140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:13:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":109140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:13:28] local.INFO: GPS data processed {"connection_id":109140,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:13:28] local.INFO: Acknowledgment sent {"connection_id":109140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:13:29] local.INFO: TCP Data received {"connection_id":108966,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:13:29] local.INFO: Processing buffer {"connection_id":108966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:13:29] local.INFO: IMEI packet received {"connection_id":108966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":108966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:13:34] local.INFO: TCP Data received {"connection_id":108966,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:13:34] local.INFO: Processing buffer {"connection_id":108966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:13:34] local.INFO: IMEI packet received {"connection_id":108966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":108966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:13:35] local.INFO: TCP Data received {"connection_id":108966,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:13:35] local.INFO: Processing buffer {"connection_id":108966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:13:35] local.INFO: Packet analysis {"connection_id":108966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:13:35] local.INFO: Extracted packet for processing {"connection_id":108966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":108966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:13:35] local.INFO: GPS data processed {"connection_id":108966,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:13:35] local.INFO: Acknowledgment sent {"connection_id":108966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:13:59] local.INFO: TCP Data received {"connection_id":109140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:13:59] local.INFO: Processing buffer {"connection_id":109140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:13:59] local.INFO: Packet analysis {"connection_id":109140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:13:59] local.INFO: Extracted packet for processing {"connection_id":109140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":109140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:13:59] local.INFO: GPS data processed {"connection_id":109140,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:13:59] local.INFO: Acknowledgment sent {"connection_id":109140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:14:07] local.INFO: TCP Data received {"connection_id":108966,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:14:07] local.INFO: Processing buffer {"connection_id":108966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:14:07] local.INFO: Packet analysis {"connection_id":108966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:14:07] local.INFO: Extracted packet for processing {"connection_id":108966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":108966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:14:07] local.INFO: GPS data processed {"connection_id":108966,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:14:07] local.INFO: Acknowledgment sent {"connection_id":108966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:14:22] local.INFO: TCP Data received {"connection_id":109142,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:14:22] local.INFO: Processing buffer {"connection_id":109142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:14:22] local.INFO: IMEI packet received {"connection_id":109142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":109142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:14:27] local.INFO: TCP Data received {"connection_id":109142,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:14:27] local.INFO: Processing buffer {"connection_id":109142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:14:27] local.INFO: IMEI packet received {"connection_id":109142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":109142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:14:28] local.INFO: TCP Data received {"connection_id":109142,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:14:28] local.INFO: Processing buffer {"connection_id":109142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:14:28] local.INFO: Packet analysis {"connection_id":109142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:14:28] local.INFO: Extracted packet for processing {"connection_id":109142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":109142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:14:28] local.INFO: GPS data processed {"connection_id":109142,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:14:28] local.INFO: Acknowledgment sent {"connection_id":109142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:14:29] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:14:29] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:14:29] local.INFO: IMEI packet received {"connection_id":108967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":108967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:14:34] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:14:34] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:14:34] local.INFO: IMEI packet received {"connection_id":108967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":108967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:14:35] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:14:35] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:14:35] local.INFO: Packet analysis {"connection_id":108967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:14:35] local.INFO: Extracted packet for processing {"connection_id":108967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":108967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:14:35] local.INFO: GPS data processed {"connection_id":108967,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:14:35] local.INFO: Acknowledgment sent {"connection_id":108967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:14:59] local.INFO: TCP Data received {"connection_id":109142,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:14:59] local.INFO: Processing buffer {"connection_id":109142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:14:59] local.INFO: Packet analysis {"connection_id":109142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:14:59] local.INFO: Extracted packet for processing {"connection_id":109142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":109142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":109142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":109142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:14:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":109142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:15:00] local.INFO: GPS data processed {"connection_id":109142,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:15:00] local.INFO: Acknowledgment sent {"connection_id":109142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:15:07] local.INFO: TCP Data received {"connection_id":108967,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:07] local.INFO: Processing buffer {"connection_id":108967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:07] local.INFO: Packet analysis {"connection_id":108967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:15:07] local.INFO: Extracted packet for processing {"connection_id":108967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":108967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:15:07] local.INFO: GPS data processed {"connection_id":108967,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:15:07] local.INFO: Acknowledgment sent {"connection_id":108967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:15:22] local.INFO: TCP Data received {"connection_id":109143,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:15:22] local.INFO: Processing buffer {"connection_id":109143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:15:22] local.INFO: IMEI packet received {"connection_id":109143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":109143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:15:27] local.INFO: TCP Data received {"connection_id":109143,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:15:27] local.INFO: Processing buffer {"connection_id":109143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:15:27] local.INFO: IMEI packet received {"connection_id":109143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":109143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:15:28] local.INFO: TCP Data received {"connection_id":109143,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:15:28] local.INFO: Processing buffer {"connection_id":109143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:15:28] local.INFO: Packet analysis {"connection_id":109143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:15:28] local.INFO: Extracted packet for processing {"connection_id":109143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:15:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":109143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:15:29] local.INFO: GPS data processed {"connection_id":109143,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:15:29] local.INFO: Acknowledgment sent {"connection_id":109143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:15:34] local.INFO: TCP Data received {"connection_id":109144,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:15:34] local.INFO: Processing buffer {"connection_id":109144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:15:34] local.INFO: IMEI packet received {"connection_id":109144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":109144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:15:39] local.INFO: TCP Data received {"connection_id":109144,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:15:39] local.INFO: Processing buffer {"connection_id":109144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:15:39] local.INFO: IMEI packet received {"connection_id":109144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":109144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:15:40] local.INFO: TCP Data received {"connection_id":109144,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:40] local.INFO: Processing buffer {"connection_id":109144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:40] local.INFO: Packet analysis {"connection_id":109144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:15:40] local.INFO: Extracted packet for processing {"connection_id":109144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":109144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:15:40] local.INFO: GPS data processed {"connection_id":109144,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:15:40] local.INFO: Acknowledgment sent {"connection_id":109144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:15:45] local.INFO: TCP Data received {"connection_id":109144,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:45] local.INFO: Processing buffer {"connection_id":109144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea68faa8012d34c54006aa3f800010007221..."} 
[2026-06-21 19:15:45] local.INFO: Packet analysis {"connection_id":109144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:15:45] local.INFO: Extracted packet for processing {"connection_id":109144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea68"} 
[2026-06-21 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204520448001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782049209000,"timestamp_ms":1782049209000,"timestamp_seconds":1782049209,"priority":1,"record_length":96,"hex_timestamp":"0000019eea68faa8"} 
[2026-06-21 19:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204520448001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204520448001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:15:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204520448001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":109144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:15:45] local.INFO: GPS data processed {"connection_id":109144,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:15:45] local.INFO: Acknowledgment sent {"connection_id":109144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:16:00] local.INFO: TCP Data received {"connection_id":109143,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:16:00] local.INFO: Processing buffer {"connection_id":109143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:16:00] local.INFO: Packet analysis {"connection_id":109143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:16:00] local.INFO: Extracted packet for processing {"connection_id":109143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:16:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":109143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:16:00] local.INFO: GPS data processed {"connection_id":109143,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:16:00] local.INFO: Acknowledgment sent {"connection_id":109143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:16:22] local.INFO: TCP Data received {"connection_id":109736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:16:22] local.INFO: Processing buffer {"connection_id":109736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:16:22] local.INFO: IMEI packet received {"connection_id":109736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":109736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:16:27] local.INFO: TCP Data received {"connection_id":109736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:16:27] local.INFO: Processing buffer {"connection_id":109736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:16:27] local.INFO: IMEI packet received {"connection_id":109736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":109736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:16:28] local.INFO: TCP Data received {"connection_id":109736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:16:28] local.INFO: Processing buffer {"connection_id":109736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:16:28] local.INFO: Packet analysis {"connection_id":109736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:16:28] local.INFO: Extracted packet for processing {"connection_id":109736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":109736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:16:28] local.INFO: GPS data processed {"connection_id":109736,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:16:28] local.INFO: Acknowledgment sent {"connection_id":109736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:16:29] local.INFO: TCP Data received {"connection_id":109145,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:16:29] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:16:29] local.INFO: IMEI packet received {"connection_id":109145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":109145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:16:34] local.INFO: TCP Data received {"connection_id":109145,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:16:34] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:16:34] local.INFO: IMEI packet received {"connection_id":109145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":109145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:16:35] local.INFO: TCP Data received {"connection_id":109145,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:16:35] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:16:35] local.INFO: Packet analysis {"connection_id":109145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:16:35] local.INFO: Extracted packet for processing {"connection_id":109145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 19:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:16:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":109145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:16:35] local.INFO: GPS data processed {"connection_id":109145,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:16:35] local.INFO: Acknowledgment sent {"connection_id":109145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:17:00] local.INFO: TCP Data received {"connection_id":109736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:17:00] local.INFO: Processing buffer {"connection_id":109736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:17:00] local.INFO: Packet analysis {"connection_id":109736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:17:00] local.INFO: Extracted packet for processing {"connection_id":109736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:17:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":109736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:17:00] local.INFO: GPS data processed {"connection_id":109736,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:17:00] local.INFO: Acknowledgment sent {"connection_id":109736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:17:07] local.INFO: TCP Data received {"connection_id":109145,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:17:07] local.INFO: Processing buffer {"connection_id":109145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:17:07] local.INFO: Packet analysis {"connection_id":109145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:17:07] local.INFO: Extracted packet for processing {"connection_id":109145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 19:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":109145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:17:07] local.INFO: GPS data processed {"connection_id":109145,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:17:07] local.INFO: Acknowledgment sent {"connection_id":109145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:17:22] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:17:22] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:17:22] local.INFO: IMEI packet received {"connection_id":110691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":110691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:17:27] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:17:27] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:17:27] local.INFO: IMEI packet received {"connection_id":110691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":110691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:17:28] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:17:28] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6aac40012d196400071ff0600043006e29..."} 
[2026-06-21 19:17:28] local.INFO: Packet analysis {"connection_id":110691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:17:28] local.INFO: Extracted packet for processing {"connection_id":110691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6a"} 
[2026-06-21 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204548864001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049320000,"timestamp_ms":1782049320000,"timestamp_seconds":1782049320,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6aac40"} 
[2026-06-21 19:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-21 19:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204548864001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204548864001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204548864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":110691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:17:28] local.INFO: GPS data processed {"connection_id":110691,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:17:28] local.INFO: Acknowledgment sent {"connection_id":110691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:17:29] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:17:29] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:17:29] local.INFO: IMEI packet received {"connection_id":110692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":110692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:17:34] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:17:34] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:17:34] local.INFO: IMEI packet received {"connection_id":110692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":110692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:17:37] local.INFO: TCP Data received {"connection_id":109146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:17:37] local.INFO: Processing buffer {"connection_id":109146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:17:37] local.INFO: IMEI packet received {"connection_id":109146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":109146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:17:37] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:17:37] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:17:37] local.INFO: Packet analysis {"connection_id":110692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:17:37] local.INFO: Extracted packet for processing {"connection_id":110692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 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-06-21 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:17:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":110692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:17:37] local.INFO: GPS data processed {"connection_id":110692,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:17:37] local.INFO: Acknowledgment sent {"connection_id":110692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:18:00] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:18:00] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:18:00] local.INFO: Packet analysis {"connection_id":110691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:18:00] local.INFO: Extracted packet for processing {"connection_id":110691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204625920001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782049621000,"timestamp_ms":1782049621000,"timestamp_seconds":1782049621,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6f4408"} 
[2026-06-21 19:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204625920001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204625920001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:18:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204625920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":110691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:18:00] local.INFO: GPS data processed {"connection_id":110691,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:18:00] local.INFO: Acknowledgment sent {"connection_id":110691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:18:08] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:18:08] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:18:08] local.INFO: Packet analysis {"connection_id":110692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:18:08] local.INFO: Extracted packet for processing {"connection_id":110692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 19:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:18:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":110692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:18:08] local.INFO: GPS data processed {"connection_id":110692,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:18:08] local.INFO: Acknowledgment sent {"connection_id":110692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:18:11] local.INFO: TCP Data received {"connection_id":109147,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:18:11] local.INFO: Processing buffer {"connection_id":109147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:18:11] local.INFO: IMEI packet received {"connection_id":109147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":109147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:18:22] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:18:22] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:18:22] local.INFO: IMEI packet received {"connection_id":109148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":109148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:18:27] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:18:27] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:18:27] local.INFO: IMEI packet received {"connection_id":109148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":109148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:18:28] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:18:28] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:18:28] local.INFO: Packet analysis {"connection_id":109148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:18:28] local.INFO: Extracted packet for processing {"connection_id":109148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204625920001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049621000,"timestamp_ms":1782049621000,"timestamp_seconds":1782049621,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6f4408"} 
[2026-06-21 19:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204625920001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204625920001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:18:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204625920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":109148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:18:29] local.INFO: GPS data processed {"connection_id":109148,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:18:29] local.INFO: Acknowledgment sent {"connection_id":109148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:18:29] local.INFO: TCP Data received {"connection_id":109737,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:18:29] local.INFO: Processing buffer {"connection_id":109737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:18:29] local.INFO: IMEI packet received {"connection_id":109737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":109737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:18:34] local.INFO: TCP Data received {"connection_id":109737,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:18:34] local.INFO: Processing buffer {"connection_id":109737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:18:34] local.INFO: IMEI packet received {"connection_id":109737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":109737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:18:37] local.INFO: TCP Data received {"connection_id":109737,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:18:37] local.INFO: Processing buffer {"connection_id":109737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:18:37] local.INFO: Packet analysis {"connection_id":109737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:18:37] local.INFO: Extracted packet for processing {"connection_id":109737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 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-06-21 19:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:18:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":109737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:18:37] local.INFO: GPS data processed {"connection_id":109737,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:18:37] local.INFO: Acknowledgment sent {"connection_id":109737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:19:00] local.INFO: TCP Data received {"connection_id":109148,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:19:00] local.INFO: Processing buffer {"connection_id":109148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:19:00] local.INFO: Packet analysis {"connection_id":109148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:19:00] local.INFO: Extracted packet for processing {"connection_id":109148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204625920001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782049621000,"timestamp_ms":1782049621000,"timestamp_seconds":1782049621,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6f4408"} 
[2026-06-21 19:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204625920001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204625920001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:19:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204625920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":109148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:19:00] local.INFO: GPS data processed {"connection_id":109148,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:19:00] local.INFO: Acknowledgment sent {"connection_id":109148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:19:08] local.INFO: TCP Data received {"connection_id":109737,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:08] local.INFO: Processing buffer {"connection_id":109737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:08] local.INFO: Packet analysis {"connection_id":109737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:19:08] local.INFO: Extracted packet for processing {"connection_id":109737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 19:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:19:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":109737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:19:08] local.INFO: GPS data processed {"connection_id":109737,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:19:08] local.INFO: Acknowledgment sent {"connection_id":109737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:19:22] local.INFO: TCP Data received {"connection_id":109149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:19:22] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:19:22] local.INFO: IMEI packet received {"connection_id":109149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":109149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:19:27] local.INFO: TCP Data received {"connection_id":109149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:19:27] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:19:27] local.INFO: IMEI packet received {"connection_id":109149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":109149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:19:28] local.INFO: TCP Data received {"connection_id":109149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:19:28] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:19:28] local.INFO: Packet analysis {"connection_id":109149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:19:28] local.INFO: Extracted packet for processing {"connection_id":109149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204625920001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049621000,"timestamp_ms":1782049621000,"timestamp_seconds":1782049621,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6f4408"} 
[2026-06-21 19:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":109149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":109149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":109149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204625920001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204625920001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204625920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":109149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:19:28] local.INFO: GPS data processed {"connection_id":109149,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:19:28] local.INFO: Acknowledgment sent {"connection_id":109149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:19:34] local.INFO: TCP Data received {"connection_id":109738,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:19:34] local.INFO: Processing buffer {"connection_id":109738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:19:34] local.INFO: IMEI packet received {"connection_id":109738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":109738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:19:39] local.INFO: TCP Data received {"connection_id":109738,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:19:39] local.INFO: Processing buffer {"connection_id":109738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:19:39] local.INFO: IMEI packet received {"connection_id":109738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":109738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:19:41] local.INFO: TCP Data received {"connection_id":109738,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:41] local.INFO: Processing buffer {"connection_id":109738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:41] local.INFO: Packet analysis {"connection_id":109738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:19:41] local.INFO: Extracted packet for processing {"connection_id":109738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 19:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":109738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:19:41] local.INFO: GPS data processed {"connection_id":109738,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:19:41] local.INFO: Acknowledgment sent {"connection_id":109738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:19:46] local.INFO: TCP Data received {"connection_id":109738,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:46] local.INFO: Processing buffer {"connection_id":109738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:19:46] local.INFO: Packet analysis {"connection_id":109738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:19:46] local.INFO: Extracted packet for processing {"connection_id":109738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:19:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":109738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:19:46] local.INFO: GPS data processed {"connection_id":109738,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:19:46] local.INFO: Acknowledgment sent {"connection_id":109738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:20:00] local.INFO: TCP Data received {"connection_id":109149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:20:00] local.INFO: Processing buffer {"connection_id":109149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:20:00] local.INFO: Packet analysis {"connection_id":109149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:20:00] local.INFO: Extracted packet for processing {"connection_id":109149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204625920001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782049621000,"timestamp_ms":1782049621000,"timestamp_seconds":1782049621,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6f4408"} 
[2026-06-21 19:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":109149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":109149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":109149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204625920001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204625920001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:20:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204625920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":109149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:20:00] local.INFO: GPS data processed {"connection_id":109149,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:20:00] local.INFO: Acknowledgment sent {"connection_id":109149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:20:23] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:20:23] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:20:23] local.INFO: IMEI packet received {"connection_id":110694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-21 19:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":110694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:20:27] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:20:27] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-21 19:20:27] local.INFO: IMEI packet received {"connection_id":110694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-21 19:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":110694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:20:28] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:20:28] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6f4408012d196400071ff0600043006e2a..."} 
[2026-06-21 19:20:28] local.INFO: Packet analysis {"connection_id":110694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:20:28] local.INFO: Extracted packet for processing {"connection_id":110694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6f"} 
[2026-06-21 19:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533664,"longitude_deg":75.663872,"latitude_deg":11.9533664,"altitude":67,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071ff060","is_valid_coordinates":true} 
[2026-06-21 19:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204625920001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3705989840764928,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219881984,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782049621000,"timestamp_ms":1782049621000,"timestamp_seconds":1782049621,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6f4408"} 
[2026-06-21 19:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-21 19:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-21 19:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-21 19:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-21 19:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204625920001,"66":2166,"102":206,"83":41984,"24":0,"16":3705989840764928,"45":1829587379219881984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-21 19:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-21 19:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-21 19:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204625920001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-21 19:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-21 19:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3705989840764928,"km_value":3705989840764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219881984,"description":"Unknown IO ID 45"} 
[2026-06-21 19:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204625920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219881984}} 
[2026-06-21 19:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":110694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:20:28] local.INFO: GPS data processed {"connection_id":110694,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:20:28] local.INFO: Acknowledgment sent {"connection_id":110694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:20:29] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:20:29] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:20:29] local.INFO: IMEI packet received {"connection_id":110695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":110695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:20:34] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:20:34] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:20:34] local.INFO: IMEI packet received {"connection_id":110695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":110695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:20:36] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:20:36] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea6d9270012d34c54006aa3f80000d007224..."} 
[2026-06-21 19:20:36] local.INFO: Packet analysis {"connection_id":110695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:20:36] local.INFO: Extracted packet for processing {"connection_id":110695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea6d"} 
[2026-06-21 19:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204597504001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782049510000,"timestamp_ms":1782049510000,"timestamp_seconds":1782049510,"priority":1,"record_length":96,"hex_timestamp":"0000019eea6d9270"} 
[2026-06-21 19:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204597504001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204597504001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204597504001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":110695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:20:36] local.INFO: GPS data processed {"connection_id":110695,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:20:36] local.INFO: Acknowledgment sent {"connection_id":110695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:21:07] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:21:07] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:21:07] local.INFO: Packet analysis {"connection_id":110695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:21:07] local.INFO: Extracted packet for processing {"connection_id":110695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":110695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:21:08] local.INFO: GPS data processed {"connection_id":110695,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:21:08] local.INFO: Acknowledgment sent {"connection_id":110695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:21:29] local.INFO: TCP Data received {"connection_id":109740,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:21:29] local.INFO: Processing buffer {"connection_id":109740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:21:29] local.INFO: IMEI packet received {"connection_id":109740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":109740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:21:34] local.INFO: TCP Data received {"connection_id":109740,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:21:34] local.INFO: Processing buffer {"connection_id":109740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:21:34] local.INFO: IMEI packet received {"connection_id":109740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":109740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:21:36] local.INFO: TCP Data received {"connection_id":109740,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:21:36] local.INFO: Processing buffer {"connection_id":109740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:21:36] local.INFO: Packet analysis {"connection_id":109740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:21:36] local.INFO: Extracted packet for processing {"connection_id":109740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:21:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":109740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:21:36] local.INFO: GPS data processed {"connection_id":109740,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:21:36] local.INFO: Acknowledgment sent {"connection_id":109740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:22:07] local.INFO: TCP Data received {"connection_id":109740,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:22:07] local.INFO: Processing buffer {"connection_id":109740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:22:07] local.INFO: Packet analysis {"connection_id":109740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:22:07] local.INFO: Extracted packet for processing {"connection_id":109740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":109740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:22:07] local.INFO: GPS data processed {"connection_id":109740,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:22:07] local.INFO: Acknowledgment sent {"connection_id":109740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:22:29] local.INFO: TCP Data received {"connection_id":109151,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:22:29] local.INFO: Processing buffer {"connection_id":109151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:22:29] local.INFO: IMEI packet received {"connection_id":109151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":109151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:22:34] local.INFO: TCP Data received {"connection_id":109151,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:22:34] local.INFO: Processing buffer {"connection_id":109151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:22:34] local.INFO: IMEI packet received {"connection_id":109151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":109151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:22:36] local.INFO: TCP Data received {"connection_id":109151,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:22:36] local.INFO: Processing buffer {"connection_id":109151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:22:36] local.INFO: Packet analysis {"connection_id":109151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:22:36] local.INFO: Extracted packet for processing {"connection_id":109151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":109151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:22:36] local.INFO: GPS data processed {"connection_id":109151,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:22:36] local.INFO: Acknowledgment sent {"connection_id":109151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:23:07] local.INFO: TCP Data received {"connection_id":109151,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:07] local.INFO: Processing buffer {"connection_id":109151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:07] local.INFO: Packet analysis {"connection_id":109151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:23:07] local.INFO: Extracted packet for processing {"connection_id":109151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":109151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:23:07] local.INFO: GPS data processed {"connection_id":109151,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:23:07] local.INFO: Acknowledgment sent {"connection_id":109151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:23:32] local.INFO: TCP Data received {"connection_id":109741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:23:32] local.INFO: Processing buffer {"connection_id":109741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:23:32] local.INFO: IMEI packet received {"connection_id":109741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":109741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:23:34] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:23:34] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:23:34] local.INFO: IMEI packet received {"connection_id":110696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":110696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:23:39] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:23:39] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:23:39] local.INFO: IMEI packet received {"connection_id":110696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":110696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:23:41] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:41] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:41] local.INFO: Packet analysis {"connection_id":110696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:23:41] local.INFO: Extracted packet for processing {"connection_id":110696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:23:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":110696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:23:41] local.INFO: GPS data processed {"connection_id":110696,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:23:41] local.INFO: Acknowledgment sent {"connection_id":110696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:23:46] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:46] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:23:46] local.INFO: Packet analysis {"connection_id":110696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:23:46] local.INFO: Extracted packet for processing {"connection_id":110696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:23:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":110696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:23:46] local.INFO: GPS data processed {"connection_id":110696,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:23:46] local.INFO: Acknowledgment sent {"connection_id":110696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:24:12] local.INFO: TCP Data received {"connection_id":110697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:24:12] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:24:12] local.INFO: IMEI packet received {"connection_id":110697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":110697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:24:29] local.INFO: TCP Data received {"connection_id":109152,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:24:29] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:24:29] local.INFO: IMEI packet received {"connection_id":109152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":109152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:24:34] local.INFO: TCP Data received {"connection_id":109152,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:24:34] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:24:34] local.INFO: IMEI packet received {"connection_id":109152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":109152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:24:36] local.INFO: TCP Data received {"connection_id":109152,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:24:36] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:24:36] local.INFO: Packet analysis {"connection_id":109152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:24:36] local.INFO: Extracted packet for processing {"connection_id":109152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:24:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":109152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:24:36] local.INFO: GPS data processed {"connection_id":109152,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:24:36] local.INFO: Acknowledgment sent {"connection_id":109152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:25:07] local.INFO: TCP Data received {"connection_id":109152,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:25:07] local.INFO: Processing buffer {"connection_id":109152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:25:07] local.INFO: Packet analysis {"connection_id":109152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:25:07] local.INFO: Extracted packet for processing {"connection_id":109152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:25:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":109152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:25:07] local.INFO: GPS data processed {"connection_id":109152,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:25:07] local.INFO: Acknowledgment sent {"connection_id":109152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:25:30] local.INFO: TCP Data received {"connection_id":108969,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:25:30] local.INFO: Processing buffer {"connection_id":108969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:25:30] local.INFO: IMEI packet received {"connection_id":108969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":108969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:25:34] local.INFO: TCP Data received {"connection_id":108969,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:25:34] local.INFO: Processing buffer {"connection_id":108969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:25:34] local.INFO: IMEI packet received {"connection_id":108969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":108969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:25:36] local.INFO: TCP Data received {"connection_id":108969,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:25:36] local.INFO: Processing buffer {"connection_id":108969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea722a38012d34c54006aa3f80001a007220..."} 
[2026-06-21 19:25:36] local.INFO: Packet analysis {"connection_id":108969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:25:36] local.INFO: Extracted packet for processing {"connection_id":108969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea72"} 
[2026-06-21 19:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":26,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204674560001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782049811000,"timestamp_ms":1782049811000,"timestamp_seconds":1782049811,"priority":1,"record_length":96,"hex_timestamp":"0000019eea722a38"} 
[2026-06-21 19:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 19:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204674560001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204674560001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:25:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204674560001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":108969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:25:36] local.INFO: GPS data processed {"connection_id":108969,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:25:36] local.INFO: Acknowledgment sent {"connection_id":108969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:26:07] local.INFO: TCP Data received {"connection_id":108969,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:07] local.INFO: Processing buffer {"connection_id":108969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:07] local.INFO: Packet analysis {"connection_id":108969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:26:07] local.INFO: Extracted packet for processing {"connection_id":108969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":108969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:26:07] local.INFO: GPS data processed {"connection_id":108969,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:26:07] local.INFO: Acknowledgment sent {"connection_id":108969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:26:34] local.INFO: TCP Data received {"connection_id":108970,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:26:34] local.INFO: Processing buffer {"connection_id":108970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:26:34] local.INFO: IMEI packet received {"connection_id":108970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":108970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:26:39] local.INFO: TCP Data received {"connection_id":108970,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:26:39] local.INFO: Processing buffer {"connection_id":108970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:26:39] local.INFO: IMEI packet received {"connection_id":108970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":108970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:26:40] local.INFO: TCP Data received {"connection_id":108970,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:40] local.INFO: Processing buffer {"connection_id":108970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:40] local.INFO: Packet analysis {"connection_id":108970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:26:40] local.INFO: Extracted packet for processing {"connection_id":108970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":108970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:26:40] local.INFO: GPS data processed {"connection_id":108970,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:26:40] local.INFO: Acknowledgment sent {"connection_id":108970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:26:45] local.INFO: TCP Data received {"connection_id":108970,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:45] local.INFO: Processing buffer {"connection_id":108970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:26:45] local.INFO: Packet analysis {"connection_id":108970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:26:45] local.INFO: Extracted packet for processing {"connection_id":108970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:26:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":108970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:26:45] local.INFO: GPS data processed {"connection_id":108970,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:26:45] local.INFO: Acknowledgment sent {"connection_id":108970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:27:29] local.INFO: TCP Data received {"connection_id":109153,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:27:29] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:27:29] local.INFO: IMEI packet received {"connection_id":109153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":109153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:27:34] local.INFO: TCP Data received {"connection_id":109153,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:27:34] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:27:34] local.INFO: IMEI packet received {"connection_id":109153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":109153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:27:35] local.INFO: TCP Data received {"connection_id":109153,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:27:35] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:27:35] local.INFO: Packet analysis {"connection_id":109153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:27:35] local.INFO: Extracted packet for processing {"connection_id":109153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":109153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:27:35] local.INFO: GPS data processed {"connection_id":109153,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:27:35] local.INFO: Acknowledgment sent {"connection_id":109153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:28:07] local.INFO: TCP Data received {"connection_id":109153,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:28:07] local.INFO: Processing buffer {"connection_id":109153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:28:07] local.INFO: Packet analysis {"connection_id":109153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:28:07] local.INFO: Extracted packet for processing {"connection_id":109153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:28:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":109153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:28:07] local.INFO: GPS data processed {"connection_id":109153,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:28:07] local.INFO: Acknowledgment sent {"connection_id":109153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:28:30] local.INFO: TCP Data received {"connection_id":110700,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:28:30] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:28:30] local.INFO: IMEI packet received {"connection_id":110700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":110700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:28:34] local.INFO: TCP Data received {"connection_id":110700,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:28:34] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:28:34] local.INFO: IMEI packet received {"connection_id":110700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":110700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:28:36] local.INFO: TCP Data received {"connection_id":110700,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:28:36] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:28:36] local.INFO: Packet analysis {"connection_id":110700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:28:36] local.INFO: Extracted packet for processing {"connection_id":110700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:28:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":110700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:28:36] local.INFO: GPS data processed {"connection_id":110700,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:28:36] local.INFO: Acknowledgment sent {"connection_id":110700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:29:07] local.INFO: TCP Data received {"connection_id":110700,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:29:07] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:29:07] local.INFO: Packet analysis {"connection_id":110700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:29:07] local.INFO: Extracted packet for processing {"connection_id":110700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:29:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":110700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:29:07] local.INFO: GPS data processed {"connection_id":110700,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:29:07] local.INFO: Acknowledgment sent {"connection_id":110700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:29:29] local.INFO: TCP Data received {"connection_id":109745,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:29:29] local.INFO: Processing buffer {"connection_id":109745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:29:29] local.INFO: IMEI packet received {"connection_id":109745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":109745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:29:34] local.INFO: TCP Data received {"connection_id":109745,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:29:34] local.INFO: Processing buffer {"connection_id":109745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:29:34] local.INFO: IMEI packet received {"connection_id":109745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":109745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:29:35] local.INFO: TCP Data received {"connection_id":109745,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:29:35] local.INFO: Processing buffer {"connection_id":109745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:29:35] local.INFO: Packet analysis {"connection_id":109745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:29:35] local.INFO: Extracted packet for processing {"connection_id":109745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:29:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:29:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":109745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:29:35] local.INFO: GPS data processed {"connection_id":109745,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:29:35] local.INFO: Acknowledgment sent {"connection_id":109745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:29:37] local.INFO: TCP Data received {"connection_id":109744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:29:37] local.INFO: Processing buffer {"connection_id":109744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:29:37] local.INFO: IMEI packet received {"connection_id":109744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":109744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:30:08] local.INFO: TCP Data received {"connection_id":109745,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:30:08] local.INFO: Processing buffer {"connection_id":109745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:30:08] local.INFO: Packet analysis {"connection_id":109745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:30:08] local.INFO: Extracted packet for processing {"connection_id":109745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:30:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":109745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:30:08] local.INFO: GPS data processed {"connection_id":109745,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:30:08] local.INFO: Acknowledgment sent {"connection_id":109745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:30:12] local.INFO: TCP Data received {"connection_id":108971,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:30:12] local.INFO: Processing buffer {"connection_id":108971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:30:12] local.INFO: IMEI packet received {"connection_id":108971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":108971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:30:29] local.INFO: TCP Data received {"connection_id":109746,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:30:29] local.INFO: Processing buffer {"connection_id":109746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:30:29] local.INFO: IMEI packet received {"connection_id":109746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":109746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:30:34] local.INFO: TCP Data received {"connection_id":109746,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:30:34] local.INFO: Processing buffer {"connection_id":109746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:30:34] local.INFO: IMEI packet received {"connection_id":109746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":109746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:30:35] local.INFO: TCP Data received {"connection_id":109746,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:30:35] local.INFO: Processing buffer {"connection_id":109746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea76c200012d34c54006aa3f80001b007226..."} 
[2026-06-21 19:30:35] local.INFO: Packet analysis {"connection_id":109746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:30:35] local.INFO: Extracted packet for processing {"connection_id":109746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea76"} 
[2026-06-21 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":27,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204751616001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782050112000,"timestamp_ms":1782050112000,"timestamp_seconds":1782050112,"priority":1,"record_length":96,"hex_timestamp":"0000019eea76c200"} 
[2026-06-21 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204751616001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204751616001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204751616001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":109746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:30:35] local.INFO: GPS data processed {"connection_id":109746,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:30:35] local.INFO: Acknowledgment sent {"connection_id":109746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:31:07] local.INFO: TCP Data received {"connection_id":109746,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:07] local.INFO: Processing buffer {"connection_id":109746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:07] local.INFO: Packet analysis {"connection_id":109746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:31:07] local.INFO: Extracted packet for processing {"connection_id":109746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:31:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":109746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:31:07] local.INFO: GPS data processed {"connection_id":109746,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:31:07] local.INFO: Acknowledgment sent {"connection_id":109746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:31:29] local.INFO: TCP Data received {"connection_id":110702,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:31:29] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:31:29] local.INFO: IMEI packet received {"connection_id":110702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":110702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:31:34] local.INFO: TCP Data received {"connection_id":110702,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:31:34] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:31:34] local.INFO: IMEI packet received {"connection_id":110702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":110702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:31:35] local.INFO: TCP Data received {"connection_id":110702,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:35] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:35] local.INFO: Packet analysis {"connection_id":110702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:31:35] local.INFO: Extracted packet for processing {"connection_id":110702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":110702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:31:35] local.INFO: GPS data processed {"connection_id":110702,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:31:35] local.INFO: Acknowledgment sent {"connection_id":110702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:31:40] local.INFO: TCP Data received {"connection_id":110702,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:40] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:31:40] local.INFO: Packet analysis {"connection_id":110702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:31:40] local.INFO: Extracted packet for processing {"connection_id":110702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":110702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:31:40] local.INFO: GPS data processed {"connection_id":110702,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:31:40] local.INFO: Acknowledgment sent {"connection_id":110702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:32:12] local.INFO: TCP Data received {"connection_id":110702,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:32:12] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:32:12] local.INFO: Packet analysis {"connection_id":110702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:32:12] local.INFO: Extracted packet for processing {"connection_id":110702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:32:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":110702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:32:12] local.INFO: GPS data processed {"connection_id":110702,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:32:12] local.INFO: Acknowledgment sent {"connection_id":110702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:32:29] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:32:29] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:32:29] local.INFO: IMEI packet received {"connection_id":108972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":108972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:32:34] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:32:34] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:32:34] local.INFO: IMEI packet received {"connection_id":108972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":108972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:32:35] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:32:35] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:32:35] local.INFO: Packet analysis {"connection_id":108972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:32:35] local.INFO: Extracted packet for processing {"connection_id":108972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":108972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:32:35] local.INFO: GPS data processed {"connection_id":108972,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:32:35] local.INFO: Acknowledgment sent {"connection_id":108972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:33:07] local.INFO: TCP Data received {"connection_id":108972,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:33:07] local.INFO: Processing buffer {"connection_id":108972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:33:07] local.INFO: Packet analysis {"connection_id":108972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:33:07] local.INFO: Extracted packet for processing {"connection_id":108972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":108972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:33:07] local.INFO: GPS data processed {"connection_id":108972,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:33:07] local.INFO: Acknowledgment sent {"connection_id":108972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:33:29] local.INFO: TCP Data received {"connection_id":109156,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:33:29] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:33:29] local.INFO: IMEI packet received {"connection_id":109156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":109156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:33:34] local.INFO: TCP Data received {"connection_id":109156,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:33:34] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:33:34] local.INFO: IMEI packet received {"connection_id":109156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":109156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:33:35] local.INFO: TCP Data received {"connection_id":109156,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:33:35] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:33:35] local.INFO: Packet analysis {"connection_id":109156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:33:35] local.INFO: Extracted packet for processing {"connection_id":109156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:33:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":109156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:33:35] local.INFO: GPS data processed {"connection_id":109156,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:33:35] local.INFO: Acknowledgment sent {"connection_id":109156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:34:07] local.INFO: TCP Data received {"connection_id":109156,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:34:07] local.INFO: Processing buffer {"connection_id":109156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:34:07] local.INFO: Packet analysis {"connection_id":109156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:34:07] local.INFO: Extracted packet for processing {"connection_id":109156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":109156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:34:07] local.INFO: GPS data processed {"connection_id":109156,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:34:07] local.INFO: Acknowledgment sent {"connection_id":109156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:34:29] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:34:29] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:34:29] local.INFO: IMEI packet received {"connection_id":110704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:34:34] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:34:34] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:34:34] local.INFO: IMEI packet received {"connection_id":110704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":110704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:34:35] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:34:35] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:34:35] local.INFO: Packet analysis {"connection_id":110704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:34:35] local.INFO: Extracted packet for processing {"connection_id":110704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:34:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":110704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:34:35] local.INFO: GPS data processed {"connection_id":110704,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:34:35] local.INFO: Acknowledgment sent {"connection_id":110704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:35:08] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:08] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:08] local.INFO: Packet analysis {"connection_id":110704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:35:08] local.INFO: Extracted packet for processing {"connection_id":110704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:35:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":110704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:35:08] local.INFO: GPS data processed {"connection_id":110704,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:35:08] local.INFO: Acknowledgment sent {"connection_id":110704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:35:34] local.INFO: TCP Data received {"connection_id":109747,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:35:34] local.INFO: Processing buffer {"connection_id":109747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:35:34] local.INFO: IMEI packet received {"connection_id":109747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":109747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:35:39] local.INFO: TCP Data received {"connection_id":109747,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:35:39] local.INFO: Processing buffer {"connection_id":109747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:35:39] local.INFO: IMEI packet received {"connection_id":109747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":109747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:35:41] local.INFO: TCP Data received {"connection_id":109747,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:41] local.INFO: Processing buffer {"connection_id":109747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:41] local.INFO: Packet analysis {"connection_id":109747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:35:41] local.INFO: Extracted packet for processing {"connection_id":109747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 19:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:35:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":109747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:35:41] local.INFO: GPS data processed {"connection_id":109747,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:35:41] local.INFO: Acknowledgment sent {"connection_id":109747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:35:42] local.INFO: TCP Data received {"connection_id":108973,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:35:42] local.INFO: Processing buffer {"connection_id":108973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:35:42] local.INFO: IMEI packet received {"connection_id":108973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":108973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:35:45] local.INFO: TCP Data received {"connection_id":109747,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:45] local.INFO: Processing buffer {"connection_id":109747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7b59c8012d34c54006aa3f80000c007225..."} 
[2026-06-21 19:35:45] local.INFO: Packet analysis {"connection_id":109747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:35:45] local.INFO: Extracted packet for processing {"connection_id":109747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7b"} 
[2026-06-21 19:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204828672001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782050413000,"timestamp_ms":1782050413000,"timestamp_seconds":1782050413,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7b59c8"} 
[2026-06-21 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-06-21 19:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 19:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204828672001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204828672001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:35:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:35:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204828672001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":109747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:35:45] local.INFO: GPS data processed {"connection_id":109747,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:35:45] local.INFO: Acknowledgment sent {"connection_id":109747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:36:11] local.INFO: TCP Data received {"connection_id":109157,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:36:11] local.INFO: Processing buffer {"connection_id":109157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:36:11] local.INFO: IMEI packet received {"connection_id":109157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":109157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:36:29] local.INFO: TCP Data received {"connection_id":109158,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:36:29] local.INFO: Processing buffer {"connection_id":109158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:36:29] local.INFO: IMEI packet received {"connection_id":109158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":109158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:36:35] local.INFO: TCP Data received {"connection_id":109158,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:36:35] local.INFO: Processing buffer {"connection_id":109158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:36:35] local.INFO: IMEI packet received {"connection_id":109158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":109158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:36:37] local.INFO: TCP Data received {"connection_id":109158,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:36:37] local.INFO: Processing buffer {"connection_id":109158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:36:37] local.INFO: Packet analysis {"connection_id":109158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:36:37] local.INFO: Extracted packet for processing {"connection_id":109158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 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-06-21 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":109158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:36:37] local.INFO: GPS data processed {"connection_id":109158,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:36:37] local.INFO: Acknowledgment sent {"connection_id":109158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:37:09] local.INFO: TCP Data received {"connection_id":109158,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:37:09] local.INFO: Processing buffer {"connection_id":109158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:37:09] local.INFO: Packet analysis {"connection_id":109158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:37:09] local.INFO: Extracted packet for processing {"connection_id":109158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 19:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:37:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":109158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:37:09] local.INFO: GPS data processed {"connection_id":109158,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:37:09] local.INFO: Acknowledgment sent {"connection_id":109158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:37:29] local.INFO: TCP Data received {"connection_id":109159,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:37:29] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:37:29] local.INFO: IMEI packet received {"connection_id":109159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":109159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:37:34] local.INFO: TCP Data received {"connection_id":109159,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:37:34] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:37:34] local.INFO: IMEI packet received {"connection_id":109159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":109159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:37:37] local.INFO: TCP Data received {"connection_id":109159,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:37:37] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:37:37] local.INFO: Packet analysis {"connection_id":109159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:37:37] local.INFO: Extracted packet for processing {"connection_id":109159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 19:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:37:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":109159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:37:37] local.INFO: GPS data processed {"connection_id":109159,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:37:37] local.INFO: Acknowledgment sent {"connection_id":109159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:38:09] local.INFO: TCP Data received {"connection_id":109159,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:38:09] local.INFO: Processing buffer {"connection_id":109159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:38:09] local.INFO: Packet analysis {"connection_id":109159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:38:09] local.INFO: Extracted packet for processing {"connection_id":109159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 19:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":109159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:38:09] local.INFO: GPS data processed {"connection_id":109159,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:38:09] local.INFO: Acknowledgment sent {"connection_id":109159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:38:29] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:38:29] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:38:29] local.INFO: IMEI packet received {"connection_id":108975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":108975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:38:34] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:38:34] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:38:34] local.INFO: IMEI packet received {"connection_id":108975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":108975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:38:36] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:38:36] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:38:36] local.INFO: Packet analysis {"connection_id":108975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:38:36] local.INFO: Extracted packet for processing {"connection_id":108975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 19:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:38:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":108975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:38:36] local.INFO: GPS data processed {"connection_id":108975,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:38:36] local.INFO: Acknowledgment sent {"connection_id":108975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:39:09] local.INFO: TCP Data received {"connection_id":108975,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:39:09] local.INFO: Processing buffer {"connection_id":108975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:39:09] local.INFO: Packet analysis {"connection_id":108975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:39:09] local.INFO: Extracted packet for processing {"connection_id":108975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 19:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:39:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:39:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":108975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:39:09] local.INFO: GPS data processed {"connection_id":108975,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:39:09] local.INFO: Acknowledgment sent {"connection_id":108975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:39:34] local.INFO: TCP Data received {"connection_id":109160,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:39:34] local.INFO: Processing buffer {"connection_id":109160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:39:34] local.INFO: IMEI packet received {"connection_id":109160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":109160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:39:40] local.INFO: TCP Data received {"connection_id":109160,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:39:40] local.INFO: Processing buffer {"connection_id":109160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:39:40] local.INFO: IMEI packet received {"connection_id":109160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":109160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:39:42] local.INFO: TCP Data received {"connection_id":109160,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:39:42] local.INFO: Processing buffer {"connection_id":109160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:39:42] local.INFO: Packet analysis {"connection_id":109160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:39:42] local.INFO: Extracted packet for processing {"connection_id":109160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 19:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":109160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":109160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":109160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:39:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":109160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:39:42] local.INFO: GPS data processed {"connection_id":109160,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:39:42] local.INFO: Acknowledgment sent {"connection_id":109160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:40:14] local.INFO: TCP Data received {"connection_id":109160,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:40:14] local.INFO: Processing buffer {"connection_id":109160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:40:14] local.INFO: Packet analysis {"connection_id":109160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:40:14] local.INFO: Extracted packet for processing {"connection_id":109160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 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-06-21 19:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":109160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":109160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":109160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:40:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":109160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:40:14] local.INFO: GPS data processed {"connection_id":109160,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:40:14] local.INFO: Acknowledgment sent {"connection_id":109160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:40:29] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:40:29] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:40:29] local.INFO: IMEI packet received {"connection_id":110705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":110705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:40:34] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:40:34] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:40:34] local.INFO: IMEI packet received {"connection_id":110705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":110705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:40:37] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:40:37] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea7ff190012d34c54006aa3f800011007223..."} 
[2026-06-21 19:40:37] local.INFO: Packet analysis {"connection_id":110705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:40:37] local.INFO: Extracted packet for processing {"connection_id":110705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea7f"} 
[2026-06-21 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204905728001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782050714000,"timestamp_ms":1782050714000,"timestamp_seconds":1782050714,"priority":1,"record_length":96,"hex_timestamp":"0000019eea7ff190"} 
[2026-06-21 19:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204905728001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204905728001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:40:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204905728001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":110705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:40:37] local.INFO: GPS data processed {"connection_id":110705,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:40:37] local.INFO: Acknowledgment sent {"connection_id":110705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:41:09] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:09] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:09] local.INFO: Packet analysis {"connection_id":110705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:41:09] local.INFO: Extracted packet for processing {"connection_id":110705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":110705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:41:09] local.INFO: GPS data processed {"connection_id":110705,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:41:09] local.INFO: Acknowledgment sent {"connection_id":110705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:41:34] local.INFO: TCP Data received {"connection_id":108977,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:41:34] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:41:34] local.INFO: IMEI packet received {"connection_id":108977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":108977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:41:39] local.INFO: TCP Data received {"connection_id":108977,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:41:39] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:41:39] local.INFO: IMEI packet received {"connection_id":108977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":108977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:41:41] local.INFO: TCP Data received {"connection_id":108977,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:41] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:41] local.INFO: Packet analysis {"connection_id":108977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:41:41] local.INFO: Extracted packet for processing {"connection_id":108977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":108977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":108977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":108977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:41:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":108977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:41:41] local.INFO: GPS data processed {"connection_id":108977,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:41:41] local.INFO: Acknowledgment sent {"connection_id":108977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:41:42] local.INFO: TCP Data received {"connection_id":109749,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:41:42] local.INFO: Processing buffer {"connection_id":109749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:41:42] local.INFO: IMEI packet received {"connection_id":109749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":109749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:41:46] local.INFO: TCP Data received {"connection_id":108977,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:46] local.INFO: Processing buffer {"connection_id":108977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:41:46] local.INFO: Packet analysis {"connection_id":108977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:41:46] local.INFO: Extracted packet for processing {"connection_id":108977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:41: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-06-21 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:41:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:41:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":108977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:41:46] local.INFO: GPS data processed {"connection_id":108977,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:41:46] local.INFO: Acknowledgment sent {"connection_id":108977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:42:17] local.INFO: TCP Data received {"connection_id":109750,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:42:17] local.INFO: Processing buffer {"connection_id":109750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:42:17] local.INFO: IMEI packet received {"connection_id":109750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":109750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:42:34] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:42:34] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:42:34] local.INFO: IMEI packet received {"connection_id":108978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":108978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:42:34] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:42:34] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:42:34] local.INFO: IMEI packet received {"connection_id":108978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":108978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:42:37] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:42:37] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:42:37] local.INFO: Packet analysis {"connection_id":108978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:42:37] local.INFO: Extracted packet for processing {"connection_id":108978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":108978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:42:37] local.INFO: GPS data processed {"connection_id":108978,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:42:37] local.INFO: Acknowledgment sent {"connection_id":108978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:42:58] local.INFO: TCP Data received {"connection_id":108978,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:42:58] local.INFO: Processing buffer {"connection_id":108978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:42:58] local.INFO: Packet analysis {"connection_id":108978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:42:58] local.INFO: Extracted packet for processing {"connection_id":108978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":108978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":108978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:42:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:42:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":108978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:42:58] local.INFO: GPS data processed {"connection_id":108978,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:42:58] local.INFO: Acknowledgment sent {"connection_id":108978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:43:29] local.INFO: TCP Data received {"connection_id":109162,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:43:29] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:43:29] local.INFO: IMEI packet received {"connection_id":109162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":109162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:43:34] local.INFO: TCP Data received {"connection_id":109162,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:43:34] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:43:34] local.INFO: IMEI packet received {"connection_id":109162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":109162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:43:37] local.INFO: TCP Data received {"connection_id":109162,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:43:37] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:43:37] local.INFO: Packet analysis {"connection_id":109162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:43:37] local.INFO: Extracted packet for processing {"connection_id":109162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:43:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":109162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:43:37] local.INFO: GPS data processed {"connection_id":109162,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:43:37] local.INFO: Acknowledgment sent {"connection_id":109162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:44:10] local.INFO: TCP Data received {"connection_id":109162,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:44:10] local.INFO: Processing buffer {"connection_id":109162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:44:10] local.INFO: Packet analysis {"connection_id":109162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:44:10] local.INFO: Extracted packet for processing {"connection_id":109162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":109162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":109162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:44:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":109162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:44:10] local.INFO: GPS data processed {"connection_id":109162,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:44:10] local.INFO: Acknowledgment sent {"connection_id":109162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:44:29] local.INFO: TCP Data received {"connection_id":108979,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:44:29] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:44:29] local.INFO: IMEI packet received {"connection_id":108979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":108979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:44:34] local.INFO: TCP Data received {"connection_id":108979,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:44:34] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:44:34] local.INFO: IMEI packet received {"connection_id":108979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":108979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:44:37] local.INFO: TCP Data received {"connection_id":108979,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:44:37] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:44:37] local.INFO: Packet analysis {"connection_id":108979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:44:37] local.INFO: Extracted packet for processing {"connection_id":108979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 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-06-21 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:44:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":108979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:44:37] local.INFO: GPS data processed {"connection_id":108979,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:44:37] local.INFO: Acknowledgment sent {"connection_id":108979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:45:09] local.INFO: TCP Data received {"connection_id":108979,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:45:09] local.INFO: Processing buffer {"connection_id":108979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:45:09] local.INFO: Packet analysis {"connection_id":108979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:45:09] local.INFO: Extracted packet for processing {"connection_id":108979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:45:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":108979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:45:09] local.INFO: GPS data processed {"connection_id":108979,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:45:09] local.INFO: Acknowledgment sent {"connection_id":108979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:45:29] local.INFO: TCP Data received {"connection_id":109752,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:45:29] local.INFO: Processing buffer {"connection_id":109752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:45:29] local.INFO: IMEI packet received {"connection_id":109752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":109752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:45:34] local.INFO: TCP Data received {"connection_id":109752,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:45:34] local.INFO: Processing buffer {"connection_id":109752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:45:34] local.INFO: IMEI packet received {"connection_id":109752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":109752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:45:37] local.INFO: TCP Data received {"connection_id":109752,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:45:37] local.INFO: Processing buffer {"connection_id":109752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea848958012d34c54006aa3f80000b007223..."} 
[2026-06-21 19:45:37] local.INFO: Packet analysis {"connection_id":109752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:45:37] local.INFO: Extracted packet for processing {"connection_id":109752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea84"} 
[2026-06-21 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456204982784001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782051015000,"timestamp_ms":1782051015000,"timestamp_seconds":1782051015,"priority":1,"record_length":96,"hex_timestamp":"0000019eea848958"} 
[2026-06-21 19:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456204982784001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456204982784001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:45:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456204982784001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":109752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:45:37] local.INFO: GPS data processed {"connection_id":109752,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:45:37] local.INFO: Acknowledgment sent {"connection_id":109752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:46:08] local.INFO: TCP Data received {"connection_id":109752,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:46:08] local.INFO: Processing buffer {"connection_id":109752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:46:08] local.INFO: Packet analysis {"connection_id":109752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:46:08] local.INFO: Extracted packet for processing {"connection_id":109752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":109752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:46:08] local.INFO: GPS data processed {"connection_id":109752,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:46:08] local.INFO: Acknowledgment sent {"connection_id":109752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:46:29] local.INFO: TCP Data received {"connection_id":108980,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:46:29] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:46:29] local.INFO: IMEI packet received {"connection_id":108980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":108980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:46:34] local.INFO: TCP Data received {"connection_id":108980,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:46:34] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:46:34] local.INFO: IMEI packet received {"connection_id":108980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":108980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:46:36] local.INFO: TCP Data received {"connection_id":108980,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:46:36] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:46:36] local.INFO: Packet analysis {"connection_id":108980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:46:36] local.INFO: Extracted packet for processing {"connection_id":108980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":108980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:46:36] local.INFO: GPS data processed {"connection_id":108980,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:46:36] local.INFO: Acknowledgment sent {"connection_id":108980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:47:13] local.INFO: TCP Data received {"connection_id":108980,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:13] local.INFO: Processing buffer {"connection_id":108980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:13] local.INFO: Packet analysis {"connection_id":108980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:47:13] local.INFO: Extracted packet for processing {"connection_id":108980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:47: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-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":108980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":108980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":108980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":108980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:47:13] local.INFO: GPS data processed {"connection_id":108980,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:47:13] local.INFO: Acknowledgment sent {"connection_id":108980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:47:37] local.INFO: TCP Data received {"connection_id":110707,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:47:37] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:47:37] local.INFO: IMEI packet received {"connection_id":110707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":110707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:47:38] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:47:38] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:47:38] local.INFO: IMEI packet received {"connection_id":110708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":110708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:47:39] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:47:39] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:47:39] local.INFO: IMEI packet received {"connection_id":110708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":110708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:47:40] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:40] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:40] local.INFO: Packet analysis {"connection_id":110708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:47:40] local.INFO: Extracted packet for processing {"connection_id":110708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:47:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:47:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":110708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:47:40] local.INFO: GPS data processed {"connection_id":110708,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:47:40] local.INFO: Acknowledgment sent {"connection_id":110708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:47:58] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:58] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:47:58] local.INFO: Packet analysis {"connection_id":110708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:47:58] local.INFO: Extracted packet for processing {"connection_id":110708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:47:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:47:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":110708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:47:58] local.INFO: GPS data processed {"connection_id":110708,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:47:58] local.INFO: Acknowledgment sent {"connection_id":110708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:48:12] local.INFO: TCP Data received {"connection_id":109753,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:48:12] local.INFO: Processing buffer {"connection_id":109753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:48:12] local.INFO: IMEI packet received {"connection_id":109753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":109753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:48:29] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:48:29] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:48:29] local.INFO: IMEI packet received {"connection_id":110709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":110709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:48:34] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:48:34] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:48:34] local.INFO: IMEI packet received {"connection_id":110709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":110709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:48:36] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:48:36] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:48:36] local.INFO: Packet analysis {"connection_id":110709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:48:36] local.INFO: Extracted packet for processing {"connection_id":110709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 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-06-21 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":110709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:48:36] local.INFO: GPS data processed {"connection_id":110709,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:48:36] local.INFO: Acknowledgment sent {"connection_id":110709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:49:07] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:07] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:07] local.INFO: Packet analysis {"connection_id":110709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:49:07] local.INFO: Extracted packet for processing {"connection_id":110709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":110709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:49:07] local.INFO: GPS data processed {"connection_id":110709,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:49:07] local.INFO: Acknowledgment sent {"connection_id":110709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:49:34] local.INFO: TCP Data received {"connection_id":109166,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:49:34] local.INFO: Processing buffer {"connection_id":109166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:49:34] local.INFO: IMEI packet received {"connection_id":109166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":109166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:49:39] local.INFO: TCP Data received {"connection_id":109166,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:49:39] local.INFO: Processing buffer {"connection_id":109166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:49:39] local.INFO: IMEI packet received {"connection_id":109166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":109166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:49:42] local.INFO: TCP Data received {"connection_id":109166,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:42] local.INFO: Processing buffer {"connection_id":109166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:42] local.INFO: Packet analysis {"connection_id":109166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:49:42] local.INFO: Extracted packet for processing {"connection_id":109166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":109166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":109166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":109166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:49:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":109166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:49:42] local.INFO: GPS data processed {"connection_id":109166,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:49:42] local.INFO: Acknowledgment sent {"connection_id":109166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:49:45] local.INFO: TCP Data received {"connection_id":109166,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:45] local.INFO: Processing buffer {"connection_id":109166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:49:45] local.INFO: Packet analysis {"connection_id":109166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:49:45] local.INFO: Extracted packet for processing {"connection_id":109166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 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-06-21 19:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:49:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":109166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:49:45] local.INFO: GPS data processed {"connection_id":109166,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:49:45] local.INFO: Acknowledgment sent {"connection_id":109166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:50:29] local.INFO: TCP Data received {"connection_id":109754,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:50:29] local.INFO: Processing buffer {"connection_id":109754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:50:29] local.INFO: IMEI packet received {"connection_id":109754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":109754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:50:34] local.INFO: TCP Data received {"connection_id":109754,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:50:34] local.INFO: Processing buffer {"connection_id":109754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:50:34] local.INFO: IMEI packet received {"connection_id":109754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":109754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:50:36] local.INFO: TCP Data received {"connection_id":109754,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:50:36] local.INFO: Processing buffer {"connection_id":109754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea892120012d34c54006aa3f800008007220..."} 
[2026-06-21 19:50:36] local.INFO: Packet analysis {"connection_id":109754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:50:36] local.INFO: Extracted packet for processing {"connection_id":109754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea89"} 
[2026-06-21 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":8,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205059840001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051316000,"timestamp_ms":1782051316000,"timestamp_seconds":1782051316,"priority":1,"record_length":96,"hex_timestamp":"0000019eea892120"} 
[2026-06-21 19:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205059840001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205059840001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:50:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205059840001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":109754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:50:36] local.INFO: GPS data processed {"connection_id":109754,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:50:36] local.INFO: Acknowledgment sent {"connection_id":109754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:51:08] local.INFO: TCP Data received {"connection_id":109754,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:51:08] local.INFO: Processing buffer {"connection_id":109754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:51:08] local.INFO: Packet analysis {"connection_id":109754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:51:08] local.INFO: Extracted packet for processing {"connection_id":109754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 19:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":109754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:51:08] local.INFO: GPS data processed {"connection_id":109754,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:51:08] local.INFO: Acknowledgment sent {"connection_id":109754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:51:29] local.INFO: TCP Data received {"connection_id":109755,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:51:29] local.INFO: Processing buffer {"connection_id":109755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:51:29] local.INFO: IMEI packet received {"connection_id":109755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":109755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:51:34] local.INFO: TCP Data received {"connection_id":109755,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:51:34] local.INFO: Processing buffer {"connection_id":109755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:51:34] local.INFO: IMEI packet received {"connection_id":109755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":109755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:51:37] local.INFO: TCP Data received {"connection_id":109755,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:51:37] local.INFO: Processing buffer {"connection_id":109755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:51:37] local.INFO: Packet analysis {"connection_id":109755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:51:37] local.INFO: Extracted packet for processing {"connection_id":109755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 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-06-21 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:51:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":109755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:51:37] local.INFO: GPS data processed {"connection_id":109755,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:51:37] local.INFO: Acknowledgment sent {"connection_id":109755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:52:09] local.INFO: TCP Data received {"connection_id":109755,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:09] local.INFO: Processing buffer {"connection_id":109755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:09] local.INFO: Packet analysis {"connection_id":109755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:52:09] local.INFO: Extracted packet for processing {"connection_id":109755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 19:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:52:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":109755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:52:09] local.INFO: GPS data processed {"connection_id":109755,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:52:09] local.INFO: Acknowledgment sent {"connection_id":109755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:52:34] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:52:34] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:52:34] local.INFO: IMEI packet received {"connection_id":108981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":108981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:52:39] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:52:39] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:52:39] local.INFO: IMEI packet received {"connection_id":108981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":108981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:52:43] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:43] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:43] local.INFO: Packet analysis {"connection_id":108981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:52:43] local.INFO: Extracted packet for processing {"connection_id":108981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 19:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":108981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:52:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:52:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":108981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:52:43] local.INFO: GPS data processed {"connection_id":108981,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:52:43] local.INFO: Acknowledgment sent {"connection_id":108981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:52:45] local.INFO: TCP Data received {"connection_id":108981,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:45] local.INFO: Processing buffer {"connection_id":108981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:52:45] local.INFO: Packet analysis {"connection_id":108981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:52:45] local.INFO: Extracted packet for processing {"connection_id":108981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19: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-06-21 19:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 19:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19: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-06-21 19:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:52:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:52:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":108981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:52:45] local.INFO: GPS data processed {"connection_id":108981,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:52:45] local.INFO: Acknowledgment sent {"connection_id":108981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:53:29] local.INFO: TCP Data received {"connection_id":110711,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:53:29] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:53:29] local.INFO: IMEI packet received {"connection_id":110711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":110711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:53:34] local.INFO: TCP Data received {"connection_id":110711,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:53:34] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:53:34] local.INFO: IMEI packet received {"connection_id":110711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":110711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:53:37] local.INFO: TCP Data received {"connection_id":110711,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:53:37] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:53:37] local.INFO: Packet analysis {"connection_id":110711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:53:37] local.INFO: Extracted packet for processing {"connection_id":110711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 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-06-21 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:53:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":110711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:53:37] local.INFO: GPS data processed {"connection_id":110711,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:53:37] local.INFO: Acknowledgment sent {"connection_id":110711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:53:41] local.INFO: TCP Data received {"connection_id":110711,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:53:41] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:53:41] local.INFO: Packet analysis {"connection_id":110711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:53:41] local.INFO: Extracted packet for processing {"connection_id":110711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 19:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":110711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:53:41] local.INFO: GPS data processed {"connection_id":110711,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:53:41] local.INFO: Acknowledgment sent {"connection_id":110711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:53:42] local.INFO: TCP Data received {"connection_id":109757,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:53:42] local.INFO: Processing buffer {"connection_id":109757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:53:42] local.INFO: IMEI packet received {"connection_id":109757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":109757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:54:12] local.INFO: TCP Data received {"connection_id":108982,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:54:12] local.INFO: Processing buffer {"connection_id":108982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:54:12] local.INFO: IMEI packet received {"connection_id":108982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":108982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:54:12] local.INFO: TCP Data received {"connection_id":110711,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:54:12] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:54:12] local.INFO: Packet analysis {"connection_id":110711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:54:12] local.INFO: Extracted packet for processing {"connection_id":110711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 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-06-21 19:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:54:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":110711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:54:12] local.INFO: GPS data processed {"connection_id":110711,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:54:12] local.INFO: Acknowledgment sent {"connection_id":110711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:54:29] local.INFO: TCP Data received {"connection_id":108983,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:54:29] local.INFO: Processing buffer {"connection_id":108983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:54:29] local.INFO: IMEI packet received {"connection_id":108983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":108983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:54:34] local.INFO: TCP Data received {"connection_id":108983,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:54:34] local.INFO: Processing buffer {"connection_id":108983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:54:34] local.INFO: IMEI packet received {"connection_id":108983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":108983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:54:36] local.INFO: TCP Data received {"connection_id":108983,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:54:36] local.INFO: Processing buffer {"connection_id":108983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:54:36] local.INFO: Packet analysis {"connection_id":108983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:54:36] local.INFO: Extracted packet for processing {"connection_id":108983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 19:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:54:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":108983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:54:36] local.INFO: GPS data processed {"connection_id":108983,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:54:36] local.INFO: Acknowledgment sent {"connection_id":108983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:55:08] local.INFO: TCP Data received {"connection_id":108983,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:55:08] local.INFO: Processing buffer {"connection_id":108983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:55:08] local.INFO: Packet analysis {"connection_id":108983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:55:08] local.INFO: Extracted packet for processing {"connection_id":108983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 19:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:55:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":108983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:55:08] local.INFO: GPS data processed {"connection_id":108983,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:55:08] local.INFO: Acknowledgment sent {"connection_id":108983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:55:29] local.INFO: TCP Data received {"connection_id":109758,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:55:29] local.INFO: Processing buffer {"connection_id":109758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:55:29] local.INFO: IMEI packet received {"connection_id":109758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":109758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:55:34] local.INFO: TCP Data received {"connection_id":109758,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:55:34] local.INFO: Processing buffer {"connection_id":109758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:55:34] local.INFO: IMEI packet received {"connection_id":109758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":109758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:55:36] local.INFO: TCP Data received {"connection_id":109758,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:55:36] local.INFO: Processing buffer {"connection_id":109758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea8db8e8012d34c54006aa3f80000a007224..."} 
[2026-06-21 19:55:36] local.INFO: Packet analysis {"connection_id":109758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:55:36] local.INFO: Extracted packet for processing {"connection_id":109758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea8d"} 
[2026-06-21 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205136896001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051617000,"timestamp_ms":1782051617000,"timestamp_seconds":1782051617,"priority":1,"record_length":96,"hex_timestamp":"0000019eea8db8e8"} 
[2026-06-21 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-06-21 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205136896001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205136896001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:55:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205136896001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":109758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:55:36] local.INFO: GPS data processed {"connection_id":109758,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:55:36] local.INFO: Acknowledgment sent {"connection_id":109758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:56:08] local.INFO: TCP Data received {"connection_id":109758,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:08] local.INFO: Processing buffer {"connection_id":109758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:08] local.INFO: Packet analysis {"connection_id":109758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:56:08] local.INFO: Extracted packet for processing {"connection_id":109758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 19:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:56:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":109758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:56:08] local.INFO: GPS data processed {"connection_id":109758,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:56:08] local.INFO: Acknowledgment sent {"connection_id":109758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:56:34] local.INFO: TCP Data received {"connection_id":110712,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:56:34] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:56:34] local.INFO: IMEI packet received {"connection_id":110712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":110712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:56:39] local.INFO: TCP Data received {"connection_id":110712,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:56:39] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:56:39] local.INFO: IMEI packet received {"connection_id":110712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":110712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:56:41] local.INFO: TCP Data received {"connection_id":110712,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:41] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:41] local.INFO: Packet analysis {"connection_id":110712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:56:41] local.INFO: Extracted packet for processing {"connection_id":110712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 19:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:56:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":110712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:56:41] local.INFO: GPS data processed {"connection_id":110712,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:56:41] local.INFO: Acknowledgment sent {"connection_id":110712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:56:45] local.INFO: TCP Data received {"connection_id":110712,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:45] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:56:45] local.INFO: Packet analysis {"connection_id":110712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:56:45] local.INFO: Extracted packet for processing {"connection_id":110712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 19:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 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-06-21 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 19:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:56:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:56:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":110712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:56:45] local.INFO: GPS data processed {"connection_id":110712,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:56:45] local.INFO: Acknowledgment sent {"connection_id":110712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:57:29] local.INFO: TCP Data received {"connection_id":109171,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:57:29] local.INFO: Processing buffer {"connection_id":109171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:57:29] local.INFO: IMEI packet received {"connection_id":109171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":109171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:57:34] local.INFO: TCP Data received {"connection_id":109171,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:57:34] local.INFO: Processing buffer {"connection_id":109171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:57:34] local.INFO: IMEI packet received {"connection_id":109171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":109171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:57:36] local.INFO: TCP Data received {"connection_id":109171,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:57:36] local.INFO: Processing buffer {"connection_id":109171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:57:36] local.INFO: Packet analysis {"connection_id":109171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:57:36] local.INFO: Extracted packet for processing {"connection_id":109171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 19:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:57:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":109171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:57:36] local.INFO: GPS data processed {"connection_id":109171,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:57:36] local.INFO: Acknowledgment sent {"connection_id":109171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:58:08] local.INFO: TCP Data received {"connection_id":109171,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:58:08] local.INFO: Processing buffer {"connection_id":109171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:58:08] local.INFO: Packet analysis {"connection_id":109171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:58:08] local.INFO: Extracted packet for processing {"connection_id":109171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 19:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:58:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":109171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:58:08] local.INFO: GPS data processed {"connection_id":109171,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:58:08] local.INFO: Acknowledgment sent {"connection_id":109171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:58:29] local.INFO: TCP Data received {"connection_id":109172,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:58:29] local.INFO: Processing buffer {"connection_id":109172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:58:29] local.INFO: IMEI packet received {"connection_id":109172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":109172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:58:34] local.INFO: TCP Data received {"connection_id":109172,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:58:34] local.INFO: Processing buffer {"connection_id":109172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:58:34] local.INFO: IMEI packet received {"connection_id":109172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":109172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:58:36] local.INFO: TCP Data received {"connection_id":109172,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:58:36] local.INFO: Processing buffer {"connection_id":109172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:58:36] local.INFO: Packet analysis {"connection_id":109172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:58:36] local.INFO: Extracted packet for processing {"connection_id":109172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 19:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:58:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":109172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:58:36] local.INFO: GPS data processed {"connection_id":109172,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:58:36] local.INFO: Acknowledgment sent {"connection_id":109172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:59:09] local.INFO: TCP Data received {"connection_id":109172,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:59:09] local.INFO: Processing buffer {"connection_id":109172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:59:09] local.INFO: Packet analysis {"connection_id":109172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:59:09] local.INFO: Extracted packet for processing {"connection_id":109172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 19:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:59:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":109172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:59:09] local.INFO: GPS data processed {"connection_id":109172,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:59:09] local.INFO: Acknowledgment sent {"connection_id":109172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 19:59:29] local.INFO: TCP Data received {"connection_id":110713,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:59:29] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:59:29] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 19:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:59:32] local.INFO: TCP Data received {"connection_id":108984,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:59:32] local.INFO: Processing buffer {"connection_id":108984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 19:59:32] local.INFO: IMEI packet received {"connection_id":108984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 19:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":108984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 19:59:34] local.INFO: TCP Data received {"connection_id":110713,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:59:34] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 19:59:34] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 19:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 19:59:36] local.INFO: TCP Data received {"connection_id":110713,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:59:36] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 19:59:36] local.INFO: Packet analysis {"connection_id":110713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:59:36] local.INFO: Extracted packet for processing {"connection_id":110713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 19:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 19:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 19:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 19:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 19:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 19:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 19:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 19:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 19:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 19:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 19:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 19:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 19:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 19:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 19:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 19:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 19:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 19:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 19:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 19:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 19:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 19:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 19:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 19:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 19:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 19:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":110713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 19:59:36] local.INFO: GPS data processed {"connection_id":110713,"processed":1,"errors":0,"total":1} 
[2026-06-21 19:59:36] local.INFO: Acknowledgment sent {"connection_id":110713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:00:08] local.INFO: TCP Data received {"connection_id":110713,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 20:00:08] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 20:00:08] local.INFO: Packet analysis {"connection_id":110713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 20:00:08] local.INFO: Extracted packet for processing {"connection_id":110713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 20:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:00:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":110713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:00:08] local.INFO: GPS data processed {"connection_id":110713,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:00:08] local.INFO: Acknowledgment sent {"connection_id":110713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:00:11] local.INFO: TCP Data received {"connection_id":108985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:00:11] local.INFO: Processing buffer {"connection_id":108985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:00:11] local.INFO: IMEI packet received {"connection_id":108985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":108985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:00:29] local.INFO: TCP Data received {"connection_id":109173,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:00:29] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:00:29] local.INFO: IMEI packet received {"connection_id":109173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":109173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:00:34] local.INFO: TCP Data received {"connection_id":109173,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:00:34] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:00:34] local.INFO: IMEI packet received {"connection_id":109173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":109173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:00:36] local.INFO: TCP Data received {"connection_id":109173,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 20:00:36] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9250b0012d34c54006aa3f800005007222..."} 
[2026-06-21 20:00:36] local.INFO: Packet analysis {"connection_id":109173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 20:00:36] local.INFO: Extracted packet for processing {"connection_id":109173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea92"} 
[2026-06-21 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205213952001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782051918000,"timestamp_ms":1782051918000,"timestamp_seconds":1782051918,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9250b0"} 
[2026-06-21 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-06-21 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205213952001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205213952001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:00:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205213952001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":109173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:00:36] local.INFO: GPS data processed {"connection_id":109173,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:00:36] local.INFO: Acknowledgment sent {"connection_id":109173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:01:08] local.INFO: TCP Data received {"connection_id":109173,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:08] local.INFO: Processing buffer {"connection_id":109173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:08] local.INFO: Packet analysis {"connection_id":109173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:01:08] local.INFO: Extracted packet for processing {"connection_id":109173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":109173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:01:08] local.INFO: GPS data processed {"connection_id":109173,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:01:08] local.INFO: Acknowledgment sent {"connection_id":109173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:01:29] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:01:29] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:01:29] local.INFO: IMEI packet received {"connection_id":108986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":108986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:01:34] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:01:34] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:01:34] local.INFO: IMEI packet received {"connection_id":108986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":108986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:01:37] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:37] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:37] local.INFO: Packet analysis {"connection_id":108986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:01:37] local.INFO: Extracted packet for processing {"connection_id":108986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:01:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":108986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:01:37] local.INFO: GPS data processed {"connection_id":108986,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:01:37] local.INFO: Acknowledgment sent {"connection_id":108986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:01:40] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:40] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:01:40] local.INFO: Packet analysis {"connection_id":108986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:01:40] local.INFO: Extracted packet for processing {"connection_id":108986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:01:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:01:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":108986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:01:40] local.INFO: GPS data processed {"connection_id":108986,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:01:40] local.INFO: Acknowledgment sent {"connection_id":108986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:02:12] local.INFO: TCP Data received {"connection_id":108986,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:02:12] local.INFO: Processing buffer {"connection_id":108986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:02:12] local.INFO: Packet analysis {"connection_id":108986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:02:12] local.INFO: Extracted packet for processing {"connection_id":108986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:02:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:02:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":108986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:02:12] local.INFO: GPS data processed {"connection_id":108986,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:02:12] local.INFO: Acknowledgment sent {"connection_id":108986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:02:30] local.INFO: TCP Data received {"connection_id":109760,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:02:30] local.INFO: Processing buffer {"connection_id":109760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:02:30] local.INFO: IMEI packet received {"connection_id":109760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":109760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:02:34] local.INFO: TCP Data received {"connection_id":109760,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:02:34] local.INFO: Processing buffer {"connection_id":109760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:02:34] local.INFO: IMEI packet received {"connection_id":109760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":109760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:02:36] local.INFO: TCP Data received {"connection_id":109760,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:02:36] local.INFO: Processing buffer {"connection_id":109760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:02:36] local.INFO: Packet analysis {"connection_id":109760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:02:36] local.INFO: Extracted packet for processing {"connection_id":109760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:02:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":109760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:02:36] local.INFO: GPS data processed {"connection_id":109760,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:02:36] local.INFO: Acknowledgment sent {"connection_id":109760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:03:08] local.INFO: TCP Data received {"connection_id":109760,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:03:08] local.INFO: Processing buffer {"connection_id":109760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:03:08] local.INFO: Packet analysis {"connection_id":109760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:03:08] local.INFO: Extracted packet for processing {"connection_id":109760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":109760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:03:08] local.INFO: GPS data processed {"connection_id":109760,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:03:08] local.INFO: Acknowledgment sent {"connection_id":109760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:03:29] local.INFO: TCP Data received {"connection_id":109761,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:03:29] local.INFO: Processing buffer {"connection_id":109761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:03:29] local.INFO: IMEI packet received {"connection_id":109761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":109761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:03:34] local.INFO: TCP Data received {"connection_id":109761,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:03:34] local.INFO: Processing buffer {"connection_id":109761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:03:34] local.INFO: IMEI packet received {"connection_id":109761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":109761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:03:36] local.INFO: TCP Data received {"connection_id":109761,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:03:36] local.INFO: Processing buffer {"connection_id":109761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:03:36] local.INFO: Packet analysis {"connection_id":109761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:03:36] local.INFO: Extracted packet for processing {"connection_id":109761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:03:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":109761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:03:36] local.INFO: GPS data processed {"connection_id":109761,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:03:36] local.INFO: Acknowledgment sent {"connection_id":109761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:04:09] local.INFO: TCP Data received {"connection_id":109761,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:04:09] local.INFO: Processing buffer {"connection_id":109761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:04:09] local.INFO: Packet analysis {"connection_id":109761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:04:09] local.INFO: Extracted packet for processing {"connection_id":109761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:04:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":109761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:04:09] local.INFO: GPS data processed {"connection_id":109761,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:04:09] local.INFO: Acknowledgment sent {"connection_id":109761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:04:29] local.INFO: TCP Data received {"connection_id":109175,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:04:29] local.INFO: Processing buffer {"connection_id":109175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:04:29] local.INFO: IMEI packet received {"connection_id":109175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":109175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:04:34] local.INFO: TCP Data received {"connection_id":109175,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:04:34] local.INFO: Processing buffer {"connection_id":109175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:04:34] local.INFO: IMEI packet received {"connection_id":109175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":109175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:04:36] local.INFO: TCP Data received {"connection_id":109175,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:04:36] local.INFO: Processing buffer {"connection_id":109175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:04:36] local.INFO: Packet analysis {"connection_id":109175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:04:36] local.INFO: Extracted packet for processing {"connection_id":109175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 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-06-21 20:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:04:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":109175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:04:36] local.INFO: GPS data processed {"connection_id":109175,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:04:36] local.INFO: Acknowledgment sent {"connection_id":109175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:05:26] local.INFO: TCP Data received {"connection_id":109175,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:05:26] local.INFO: Processing buffer {"connection_id":109175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:05:26] local.INFO: Packet analysis {"connection_id":109175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:05:26] local.INFO: Extracted packet for processing {"connection_id":109175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":109175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":109175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":109175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:05:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":109175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:05:26] local.INFO: GPS data processed {"connection_id":109175,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:05:26] local.INFO: Acknowledgment sent {"connection_id":109175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:05:27] local.INFO: TCP Data received {"connection_id":109762,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:05:27] local.INFO: Processing buffer {"connection_id":109762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:05:27] local.INFO: IMEI packet received {"connection_id":109762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":109762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:05:34] local.INFO: TCP Data received {"connection_id":110716,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:05:34] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:05:34] local.INFO: IMEI packet received {"connection_id":110716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":110716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:05:42] local.INFO: TCP Data received {"connection_id":110716,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:05:42] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:05:42] local.INFO: IMEI packet received {"connection_id":110716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":110716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:05:43] local.INFO: TCP Data received {"connection_id":110716,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:05:43] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea96e878012d34c54006aa3f800007007222..."} 
[2026-06-21 20:05:43] local.INFO: Packet analysis {"connection_id":110716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:05:43] local.INFO: Extracted packet for processing {"connection_id":110716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea96"} 
[2026-06-21 20:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205291008001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782052219000,"timestamp_ms":1782052219000,"timestamp_seconds":1782052219,"priority":1,"record_length":96,"hex_timestamp":"0000019eea96e878"} 
[2026-06-21 20:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":110716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":110716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":110716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205291008001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205291008001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:05:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205291008001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":110716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:05:43] local.INFO: GPS data processed {"connection_id":110716,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:05:43] local.INFO: Acknowledgment sent {"connection_id":110716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:06:12] local.INFO: TCP Data received {"connection_id":110717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:06:12] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:06:12] local.INFO: IMEI packet received {"connection_id":110717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":110717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:06:29] local.INFO: TCP Data received {"connection_id":109176,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:06:29] local.INFO: Processing buffer {"connection_id":109176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:06:29] local.INFO: IMEI packet received {"connection_id":109176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":109176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:06:34] local.INFO: TCP Data received {"connection_id":109176,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:06:34] local.INFO: Processing buffer {"connection_id":109176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:06:34] local.INFO: IMEI packet received {"connection_id":109176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":109176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:06:35] local.INFO: TCP Data received {"connection_id":109176,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:06:35] local.INFO: Processing buffer {"connection_id":109176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:06:35] local.INFO: Packet analysis {"connection_id":109176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:06:35] local.INFO: Extracted packet for processing {"connection_id":109176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:06:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:06:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":109176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:06:35] local.INFO: GPS data processed {"connection_id":109176,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:06:35] local.INFO: Acknowledgment sent {"connection_id":109176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:07:07] local.INFO: TCP Data received {"connection_id":109176,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:07:08] local.INFO: Processing buffer {"connection_id":109176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:07:08] local.INFO: Packet analysis {"connection_id":109176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:07:08] local.INFO: Extracted packet for processing {"connection_id":109176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":109176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:07:08] local.INFO: GPS data processed {"connection_id":109176,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:07:08] local.INFO: Acknowledgment sent {"connection_id":109176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:07:29] local.INFO: TCP Data received {"connection_id":109178,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:07:29] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:07:29] local.INFO: IMEI packet received {"connection_id":109178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":109178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:07:34] local.INFO: TCP Data received {"connection_id":109178,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:07:34] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:07:34] local.INFO: IMEI packet received {"connection_id":109178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":109178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:07:35] local.INFO: TCP Data received {"connection_id":109178,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:07:35] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:07:35] local.INFO: Packet analysis {"connection_id":109178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:07:35] local.INFO: Extracted packet for processing {"connection_id":109178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:07:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":109178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:07:35] local.INFO: GPS data processed {"connection_id":109178,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:07:35] local.INFO: Acknowledgment sent {"connection_id":109178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:08:07] local.INFO: TCP Data received {"connection_id":109178,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:08:07] local.INFO: Processing buffer {"connection_id":109178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:08:07] local.INFO: Packet analysis {"connection_id":109178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:08:07] local.INFO: Extracted packet for processing {"connection_id":109178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 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-06-21 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":109178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:08:07] local.INFO: GPS data processed {"connection_id":109178,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:08:07] local.INFO: Acknowledgment sent {"connection_id":109178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:08:29] local.INFO: TCP Data received {"connection_id":109179,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:08:29] local.INFO: Processing buffer {"connection_id":109179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:08:29] local.INFO: IMEI packet received {"connection_id":109179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":109179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:08:34] local.INFO: TCP Data received {"connection_id":109179,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:08:34] local.INFO: Processing buffer {"connection_id":109179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:08:34] local.INFO: IMEI packet received {"connection_id":109179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":109179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:08:35] local.INFO: TCP Data received {"connection_id":109179,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:08:35] local.INFO: Processing buffer {"connection_id":109179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:08:35] local.INFO: Packet analysis {"connection_id":109179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:08:35] local.INFO: Extracted packet for processing {"connection_id":109179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:08:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":109179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:08:35] local.INFO: GPS data processed {"connection_id":109179,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:08:35] local.INFO: Acknowledgment sent {"connection_id":109179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:09:07] local.INFO: TCP Data received {"connection_id":109179,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:09:07] local.INFO: Processing buffer {"connection_id":109179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:09:07] local.INFO: Packet analysis {"connection_id":109179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:09:07] local.INFO: Extracted packet for processing {"connection_id":109179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":109179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:09:07] local.INFO: GPS data processed {"connection_id":109179,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:09:07] local.INFO: Acknowledgment sent {"connection_id":109179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:09:29] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:09:29] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:09:29] local.INFO: IMEI packet received {"connection_id":108989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":108989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:09:34] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:09:34] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:09:34] local.INFO: IMEI packet received {"connection_id":108989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":108989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:09:36] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:09:36] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:09:36] local.INFO: Packet analysis {"connection_id":108989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:09:36] local.INFO: Extracted packet for processing {"connection_id":108989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":108989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:09:37] local.INFO: GPS data processed {"connection_id":108989,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:09:37] local.INFO: Acknowledgment sent {"connection_id":108989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:10:08] local.INFO: TCP Data received {"connection_id":108989,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:08] local.INFO: Processing buffer {"connection_id":108989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:08] local.INFO: Packet analysis {"connection_id":108989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:10:08] local.INFO: Extracted packet for processing {"connection_id":108989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:10:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":108989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:10:08] local.INFO: GPS data processed {"connection_id":108989,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:10:08] local.INFO: Acknowledgment sent {"connection_id":108989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:10:34] local.INFO: TCP Data received {"connection_id":108991,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:10:34] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:10:34] local.INFO: IMEI packet received {"connection_id":108991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":108991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:10:39] local.INFO: TCP Data received {"connection_id":108991,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:10:39] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:10:39] local.INFO: IMEI packet received {"connection_id":108991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":108991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:10:40] local.INFO: TCP Data received {"connection_id":108991,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:40] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:40] local.INFO: Packet analysis {"connection_id":108991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:10:40] local.INFO: Extracted packet for processing {"connection_id":108991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 20:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:10:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:10:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":108991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:10:40] local.INFO: GPS data processed {"connection_id":108991,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:10:40] local.INFO: Acknowledgment sent {"connection_id":108991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:10:45] local.INFO: TCP Data received {"connection_id":108991,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:45] local.INFO: Processing buffer {"connection_id":108991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eea9b8040012d34c54006aa3f80000f007226..."} 
[2026-06-21 20:10:45] local.INFO: Packet analysis {"connection_id":108991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:10:45] local.INFO: Extracted packet for processing {"connection_id":108991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eea9b"} 
[2026-06-21 20:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205368064001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782052520000,"timestamp_ms":1782052520000,"timestamp_seconds":1782052520,"priority":1,"record_length":96,"hex_timestamp":"0000019eea9b8040"} 
[2026-06-21 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-06-21 20:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205368064001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205368064001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:10:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:10:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205368064001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":108991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:10:45] local.INFO: GPS data processed {"connection_id":108991,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:10:45] local.INFO: Acknowledgment sent {"connection_id":108991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:11:27] local.INFO: TCP Data received {"connection_id":108992,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:11:27] local.INFO: Processing buffer {"connection_id":108992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:11:27] local.INFO: IMEI packet received {"connection_id":108992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":108992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:11:29] local.INFO: TCP Data received {"connection_id":109765,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:11:29] local.INFO: Processing buffer {"connection_id":109765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:11:29] local.INFO: IMEI packet received {"connection_id":109765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":109765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:11:34] local.INFO: TCP Data received {"connection_id":109765,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:11:34] local.INFO: Processing buffer {"connection_id":109765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:11:34] local.INFO: IMEI packet received {"connection_id":109765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":109765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:11:36] local.INFO: TCP Data received {"connection_id":109765,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:11:36] local.INFO: Processing buffer {"connection_id":109765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:11:36] local.INFO: Packet analysis {"connection_id":109765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:11:36] local.INFO: Extracted packet for processing {"connection_id":109765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:11:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":109765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:11:36] local.INFO: GPS data processed {"connection_id":109765,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:11:36] local.INFO: Acknowledgment sent {"connection_id":109765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:12:08] local.INFO: TCP Data received {"connection_id":109765,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:12:08] local.INFO: Processing buffer {"connection_id":109765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:12:08] local.INFO: Packet analysis {"connection_id":109765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:12:08] local.INFO: Extracted packet for processing {"connection_id":109765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":109765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:12:08] local.INFO: GPS data processed {"connection_id":109765,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:12:08] local.INFO: Acknowledgment sent {"connection_id":109765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:12:11] local.INFO: TCP Data received {"connection_id":108993,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:12:11] local.INFO: Processing buffer {"connection_id":108993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:12:11] local.INFO: IMEI packet received {"connection_id":108993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":108993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:12:30] local.INFO: TCP Data received {"connection_id":108994,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:12:30] local.INFO: Processing buffer {"connection_id":108994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:12:30] local.INFO: IMEI packet received {"connection_id":108994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":108994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:12:34] local.INFO: TCP Data received {"connection_id":108994,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:12:34] local.INFO: Processing buffer {"connection_id":108994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:12:34] local.INFO: IMEI packet received {"connection_id":108994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":108994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:12:36] local.INFO: TCP Data received {"connection_id":108994,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:12:36] local.INFO: Processing buffer {"connection_id":108994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:12:36] local.INFO: Packet analysis {"connection_id":108994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:12:36] local.INFO: Extracted packet for processing {"connection_id":108994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:12:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":108994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:12:36] local.INFO: GPS data processed {"connection_id":108994,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:12:36] local.INFO: Acknowledgment sent {"connection_id":108994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:13:08] local.INFO: TCP Data received {"connection_id":108994,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:13:08] local.INFO: Processing buffer {"connection_id":108994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:13:08] local.INFO: Packet analysis {"connection_id":108994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:13:08] local.INFO: Extracted packet for processing {"connection_id":108994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:13:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":108994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:13:08] local.INFO: GPS data processed {"connection_id":108994,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:13:08] local.INFO: Acknowledgment sent {"connection_id":108994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:13:29] local.INFO: TCP Data received {"connection_id":109767,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:13:29] local.INFO: Processing buffer {"connection_id":109767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:13:29] local.INFO: IMEI packet received {"connection_id":109767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":109767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:13:34] local.INFO: TCP Data received {"connection_id":109767,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:13:34] local.INFO: Processing buffer {"connection_id":109767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:13:34] local.INFO: IMEI packet received {"connection_id":109767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":109767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:13:36] local.INFO: TCP Data received {"connection_id":109767,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:13:36] local.INFO: Processing buffer {"connection_id":109767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:13:36] local.INFO: Packet analysis {"connection_id":109767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:13:36] local.INFO: Extracted packet for processing {"connection_id":109767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 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-06-21 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:13:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":109767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:13:36] local.INFO: GPS data processed {"connection_id":109767,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:13:36] local.INFO: Acknowledgment sent {"connection_id":109767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:14:07] local.INFO: TCP Data received {"connection_id":109767,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:14:07] local.INFO: Processing buffer {"connection_id":109767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:14:07] local.INFO: Packet analysis {"connection_id":109767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:14:07] local.INFO: Extracted packet for processing {"connection_id":109767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:14: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-06-21 20: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-06-21 20:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:14:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":109767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:14:08] local.INFO: GPS data processed {"connection_id":109767,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:14:08] local.INFO: Acknowledgment sent {"connection_id":109767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:14:29] local.INFO: TCP Data received {"connection_id":109180,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:14:29] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:14:29] local.INFO: IMEI packet received {"connection_id":109180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":109180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:14:34] local.INFO: TCP Data received {"connection_id":109180,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:14:34] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:14:34] local.INFO: IMEI packet received {"connection_id":109180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":109180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:14:36] local.INFO: TCP Data received {"connection_id":109180,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:14:36] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:14:36] local.INFO: Packet analysis {"connection_id":109180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:14:36] local.INFO: Extracted packet for processing {"connection_id":109180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:14:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":109180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:14:36] local.INFO: GPS data processed {"connection_id":109180,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:14:36] local.INFO: Acknowledgment sent {"connection_id":109180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:15:08] local.INFO: TCP Data received {"connection_id":109180,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:08] local.INFO: Processing buffer {"connection_id":109180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:08] local.INFO: Packet analysis {"connection_id":109180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:15:08] local.INFO: Extracted packet for processing {"connection_id":109180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:15:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":109180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:15:08] local.INFO: GPS data processed {"connection_id":109180,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:15:08] local.INFO: Acknowledgment sent {"connection_id":109180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:15:34] local.INFO: TCP Data received {"connection_id":110719,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:15:34] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:15:34] local.INFO: IMEI packet received {"connection_id":110719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":110719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:15:39] local.INFO: TCP Data received {"connection_id":110719,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:15:39] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:15:39] local.INFO: IMEI packet received {"connection_id":110719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":110719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:15:41] local.INFO: TCP Data received {"connection_id":110719,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:41] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:41] local.INFO: Packet analysis {"connection_id":110719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:15:41] local.INFO: Extracted packet for processing {"connection_id":110719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 20:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:15:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:15:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":110719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:15:41] local.INFO: GPS data processed {"connection_id":110719,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:15:41] local.INFO: Acknowledgment sent {"connection_id":110719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:15:45] local.INFO: TCP Data received {"connection_id":110719,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:45] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa01808012d34c54006aa3f80000a007223..."} 
[2026-06-21 20:15:45] local.INFO: Packet analysis {"connection_id":110719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:15:45] local.INFO: Extracted packet for processing {"connection_id":110719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa0"} 
[2026-06-21 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205445120001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782052821000,"timestamp_ms":1782052821000,"timestamp_seconds":1782052821,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa01808"} 
[2026-06-21 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-06-21 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 20:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205445120001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205445120001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:15:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205445120001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":110719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:15:45] local.INFO: GPS data processed {"connection_id":110719,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:15:45] local.INFO: Acknowledgment sent {"connection_id":110719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:16:29] local.INFO: TCP Data received {"connection_id":109770,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:16:29] local.INFO: Processing buffer {"connection_id":109770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:16:29] local.INFO: IMEI packet received {"connection_id":109770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":109770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:16:34] local.INFO: TCP Data received {"connection_id":109770,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:16:34] local.INFO: Processing buffer {"connection_id":109770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:16:34] local.INFO: IMEI packet received {"connection_id":109770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":109770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:16:36] local.INFO: TCP Data received {"connection_id":109770,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:16:36] local.INFO: Processing buffer {"connection_id":109770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:16:36] local.INFO: Packet analysis {"connection_id":109770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:16:36] local.INFO: Extracted packet for processing {"connection_id":109770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 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-06-21 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:16:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":109770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:16:36] local.INFO: GPS data processed {"connection_id":109770,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:16:36] local.INFO: Acknowledgment sent {"connection_id":109770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:17:08] local.INFO: TCP Data received {"connection_id":109770,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:17:08] local.INFO: Processing buffer {"connection_id":109770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:17:08] local.INFO: Packet analysis {"connection_id":109770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:17:08] local.INFO: Extracted packet for processing {"connection_id":109770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":109770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:17:08] local.INFO: GPS data processed {"connection_id":109770,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:17:08] local.INFO: Acknowledgment sent {"connection_id":109770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:17:27] local.INFO: TCP Data received {"connection_id":108995,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:17:27] local.INFO: Processing buffer {"connection_id":108995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:17:27] local.INFO: IMEI packet received {"connection_id":108995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":108995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:17:29] local.INFO: TCP Data received {"connection_id":109771,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:17:29] local.INFO: Processing buffer {"connection_id":109771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:17:29] local.INFO: IMEI packet received {"connection_id":109771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":109771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:17:34] local.INFO: TCP Data received {"connection_id":109771,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:17:34] local.INFO: Processing buffer {"connection_id":109771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:17:34] local.INFO: IMEI packet received {"connection_id":109771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":109771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:17:35] local.INFO: TCP Data received {"connection_id":109771,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:17:35] local.INFO: Processing buffer {"connection_id":109771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:17:35] local.INFO: Packet analysis {"connection_id":109771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:17:35] local.INFO: Extracted packet for processing {"connection_id":109771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:17:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":109771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:17:35] local.INFO: GPS data processed {"connection_id":109771,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:17:35] local.INFO: Acknowledgment sent {"connection_id":109771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:18:07] local.INFO: TCP Data received {"connection_id":109771,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:18:07] local.INFO: Processing buffer {"connection_id":109771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:18:07] local.INFO: Packet analysis {"connection_id":109771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:18:07] local.INFO: Extracted packet for processing {"connection_id":109771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":109771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:18:07] local.INFO: GPS data processed {"connection_id":109771,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:18:07] local.INFO: Acknowledgment sent {"connection_id":109771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:18:12] local.INFO: TCP Data received {"connection_id":110720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:18:12] local.INFO: Processing buffer {"connection_id":110720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:18:12] local.INFO: IMEI packet received {"connection_id":110720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":110720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:18:29] local.INFO: TCP Data received {"connection_id":109182,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:18:29] local.INFO: Processing buffer {"connection_id":109182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:18:29] local.INFO: IMEI packet received {"connection_id":109182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":109182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:18:34] local.INFO: TCP Data received {"connection_id":109182,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:18:34] local.INFO: Processing buffer {"connection_id":109182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:18:34] local.INFO: IMEI packet received {"connection_id":109182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":109182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:18:35] local.INFO: TCP Data received {"connection_id":109182,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:18:35] local.INFO: Processing buffer {"connection_id":109182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:18:35] local.INFO: Packet analysis {"connection_id":109182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:18:35] local.INFO: Extracted packet for processing {"connection_id":109182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":109182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:18:35] local.INFO: GPS data processed {"connection_id":109182,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:18:35] local.INFO: Acknowledgment sent {"connection_id":109182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:19:06] local.INFO: TCP Data received {"connection_id":109182,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:06] local.INFO: Processing buffer {"connection_id":109182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:06] local.INFO: Packet analysis {"connection_id":109182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:06] local.INFO: Extracted packet for processing {"connection_id":109182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":109182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:19:06] local.INFO: GPS data processed {"connection_id":109182,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:19:06] local.INFO: Acknowledgment sent {"connection_id":109182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:19:34] local.INFO: TCP Data received {"connection_id":109773,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:19:34] local.INFO: Processing buffer {"connection_id":109773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:19:34] local.INFO: IMEI packet received {"connection_id":109773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":109773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:19:39] local.INFO: TCP Data received {"connection_id":109773,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:19:39] local.INFO: Processing buffer {"connection_id":109773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:19:39] local.INFO: IMEI packet received {"connection_id":109773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":109773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:19:40] local.INFO: TCP Data received {"connection_id":109773,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:40] local.INFO: Processing buffer {"connection_id":109773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:40] local.INFO: Packet analysis {"connection_id":109773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:40] local.INFO: Extracted packet for processing {"connection_id":109773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:19:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":109773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:19:40] local.INFO: GPS data processed {"connection_id":109773,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:19:40] local.INFO: Acknowledgment sent {"connection_id":109773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:19:45] local.INFO: TCP Data received {"connection_id":109773,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:45] local.INFO: Processing buffer {"connection_id":109773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:45] local.INFO: Packet analysis {"connection_id":109773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:45] local.INFO: Extracted packet for processing {"connection_id":109773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":109773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:19:45] local.INFO: GPS data processed {"connection_id":109773,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:19:45] local.INFO: Acknowledgment sent {"connection_id":109773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:19:50] local.INFO: TCP Data received {"connection_id":109773,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:50] local.INFO: Processing buffer {"connection_id":109773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:19:50] local.INFO: Packet analysis {"connection_id":109773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:50] local.INFO: Extracted packet for processing {"connection_id":109773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":109773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":109773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":109773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:19:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:19:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":109773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:19:50] local.INFO: GPS data processed {"connection_id":109773,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:19:50] local.INFO: Acknowledgment sent {"connection_id":109773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:20:29] local.INFO: TCP Data received {"connection_id":108997,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:20:29] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:20:29] local.INFO: IMEI packet received {"connection_id":108997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":108997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:20:34] local.INFO: TCP Data received {"connection_id":108997,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:20:34] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:20:34] local.INFO: IMEI packet received {"connection_id":108997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":108997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:20:35] local.INFO: TCP Data received {"connection_id":108997,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:20:35] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa4afd0012d34c54006aa3f80000b007221..."} 
[2026-06-21 20:20:35] local.INFO: Packet analysis {"connection_id":108997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:20:35] local.INFO: Extracted packet for processing {"connection_id":108997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa4"} 
[2026-06-21 20:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205522176001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053122000,"timestamp_ms":1782053122000,"timestamp_seconds":1782053122,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa4afd0"} 
[2026-06-21 20:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 20:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":108997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":108997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":108997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205522176001,"66":25125,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205522176001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205522176001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":108997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:20:35] local.INFO: GPS data processed {"connection_id":108997,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:20:35] local.INFO: Acknowledgment sent {"connection_id":108997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:21:07] local.INFO: TCP Data received {"connection_id":108997,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:21:07] local.INFO: Processing buffer {"connection_id":108997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:21:07] local.INFO: Packet analysis {"connection_id":108997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:21:07] local.INFO: Extracted packet for processing {"connection_id":108997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":108997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":108997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":108997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":108997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:21:07] local.INFO: GPS data processed {"connection_id":108997,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:21:07] local.INFO: Acknowledgment sent {"connection_id":108997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:21:29] local.INFO: TCP Data received {"connection_id":109775,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:21:29] local.INFO: Processing buffer {"connection_id":109775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:21:29] local.INFO: IMEI packet received {"connection_id":109775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":109775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:21:34] local.INFO: TCP Data received {"connection_id":109775,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:21:34] local.INFO: Processing buffer {"connection_id":109775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:21:34] local.INFO: IMEI packet received {"connection_id":109775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":109775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:21:35] local.INFO: TCP Data received {"connection_id":109775,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:21:35] local.INFO: Processing buffer {"connection_id":109775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:21:35] local.INFO: Packet analysis {"connection_id":109775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:21:35] local.INFO: Extracted packet for processing {"connection_id":109775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":109775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:21:35] local.INFO: GPS data processed {"connection_id":109775,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:21:35] local.INFO: Acknowledgment sent {"connection_id":109775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:22:07] local.INFO: TCP Data received {"connection_id":109775,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:22:07] local.INFO: Processing buffer {"connection_id":109775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:22:07] local.INFO: Packet analysis {"connection_id":109775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:22:07] local.INFO: Extracted packet for processing {"connection_id":109775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":109775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:22:07] local.INFO: GPS data processed {"connection_id":109775,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:22:07] local.INFO: Acknowledgment sent {"connection_id":109775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:22:29] local.INFO: TCP Data received {"connection_id":110723,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:22:29] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:22:29] local.INFO: IMEI packet received {"connection_id":110723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":110723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:22:34] local.INFO: TCP Data received {"connection_id":110723,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:22:34] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:22:34] local.INFO: IMEI packet received {"connection_id":110723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":110723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:22:35] local.INFO: TCP Data received {"connection_id":110723,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:22:35] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:22:35] local.INFO: Packet analysis {"connection_id":110723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:22:35] local.INFO: Extracted packet for processing {"connection_id":110723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:22:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":110723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:22:35] local.INFO: GPS data processed {"connection_id":110723,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:22:35] local.INFO: Acknowledgment sent {"connection_id":110723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:23:07] local.INFO: TCP Data received {"connection_id":110723,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:23:07] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:23:07] local.INFO: Packet analysis {"connection_id":110723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:23:07] local.INFO: Extracted packet for processing {"connection_id":110723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":110723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:23:07] local.INFO: GPS data processed {"connection_id":110723,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:23:07] local.INFO: Acknowledgment sent {"connection_id":110723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:23:29] local.INFO: TCP Data received {"connection_id":109776,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:23:29] local.INFO: Processing buffer {"connection_id":109776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:23:29] local.INFO: IMEI packet received {"connection_id":109776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":109776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:23:34] local.INFO: TCP Data received {"connection_id":109776,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:23:34] local.INFO: Processing buffer {"connection_id":109776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:23:34] local.INFO: IMEI packet received {"connection_id":109776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":109776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:23:36] local.INFO: TCP Data received {"connection_id":109776,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:23:36] local.INFO: Processing buffer {"connection_id":109776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:23:36] local.INFO: Packet analysis {"connection_id":109776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:23:36] local.INFO: Extracted packet for processing {"connection_id":109776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:23:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":109776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:23:36] local.INFO: GPS data processed {"connection_id":109776,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:23:36] local.INFO: Acknowledgment sent {"connection_id":109776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:23:42] local.INFO: TCP Data received {"connection_id":108998,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:23:42] local.INFO: Processing buffer {"connection_id":108998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:23:42] local.INFO: IMEI packet received {"connection_id":108998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":108998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:24:07] local.INFO: TCP Data received {"connection_id":109776,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:07] local.INFO: Processing buffer {"connection_id":109776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:07] local.INFO: Packet analysis {"connection_id":109776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:24:07] local.INFO: Extracted packet for processing {"connection_id":109776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:24:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":109776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":361999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:24:07] local.INFO: GPS data processed {"connection_id":109776,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:24:07] local.INFO: Acknowledgment sent {"connection_id":109776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:24:11] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:24:11] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:24:11] local.INFO: IMEI packet received {"connection_id":110724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":110724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:24:34] local.INFO: TCP Data received {"connection_id":110725,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:24:34] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:24:34] local.INFO: IMEI packet received {"connection_id":110725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":110725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:24:39] local.INFO: TCP Data received {"connection_id":110725,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:24:39] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:24:39] local.INFO: IMEI packet received {"connection_id":110725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":110725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:24:40] local.INFO: TCP Data received {"connection_id":110725,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:40] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:40] local.INFO: Packet analysis {"connection_id":110725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:24:40] local.INFO: Extracted packet for processing {"connection_id":110725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 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-06-21 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":110725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:24:40] local.INFO: GPS data processed {"connection_id":110725,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:24:40] local.INFO: Acknowledgment sent {"connection_id":110725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:24:45] local.INFO: TCP Data received {"connection_id":110725,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:45] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:24:45] local.INFO: Packet analysis {"connection_id":110725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:24:45] local.INFO: Extracted packet for processing {"connection_id":110725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 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-06-21 20:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:24:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:24:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":110725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:24:45] local.INFO: GPS data processed {"connection_id":110725,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:24:45] local.INFO: Acknowledgment sent {"connection_id":110725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:25:29] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:25:29] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:25:29] local.INFO: IMEI packet received {"connection_id":109000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":109000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:25:34] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:25:34] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:25:34] local.INFO: IMEI packet received {"connection_id":109000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":109000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:25:35] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:25:35] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaa94798012d34c54006aa3f80000a007227..."} 
[2026-06-21 20:25:35] local.INFO: Packet analysis {"connection_id":109000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:25:35] local.INFO: Extracted packet for processing {"connection_id":109000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaa9"} 
[2026-06-21 20:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205599232001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053423000,"timestamp_ms":1782053423000,"timestamp_seconds":1782053423,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaa94798"} 
[2026-06-21 20:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-21 20:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205599232001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205599232001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205599232001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":109000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:25:35] local.INFO: GPS data processed {"connection_id":109000,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:25:35] local.INFO: Acknowledgment sent {"connection_id":109000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:26:07] local.INFO: TCP Data received {"connection_id":109000,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:26:07] local.INFO: Processing buffer {"connection_id":109000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:26:07] local.INFO: Packet analysis {"connection_id":109000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:26:07] local.INFO: Extracted packet for processing {"connection_id":109000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":109000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:26:07] local.INFO: GPS data processed {"connection_id":109000,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:26:07] local.INFO: Acknowledgment sent {"connection_id":109000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:26:30] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:26:30] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:26:30] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:26:34] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:26:34] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:26:34] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:26:35] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:26:35] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:26:35] local.INFO: Packet analysis {"connection_id":110727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:26:35] local.INFO: Extracted packet for processing {"connection_id":110727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:26:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":110727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:26:35] local.INFO: GPS data processed {"connection_id":110727,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:26:35] local.INFO: Acknowledgment sent {"connection_id":110727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:27:07] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:27:07] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:27:07] local.INFO: Packet analysis {"connection_id":110727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:27:07] local.INFO: Extracted packet for processing {"connection_id":110727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:27:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":110727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:27:07] local.INFO: GPS data processed {"connection_id":110727,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:27:07] local.INFO: Acknowledgment sent {"connection_id":110727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:27:29] local.INFO: TCP Data received {"connection_id":109777,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:27:29] local.INFO: Processing buffer {"connection_id":109777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:27:29] local.INFO: IMEI packet received {"connection_id":109777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":109777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:27:34] local.INFO: TCP Data received {"connection_id":109777,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:27:34] local.INFO: Processing buffer {"connection_id":109777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:27:34] local.INFO: IMEI packet received {"connection_id":109777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":109777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:27:35] local.INFO: TCP Data received {"connection_id":109777,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:27:35] local.INFO: Processing buffer {"connection_id":109777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:27:35] local.INFO: Packet analysis {"connection_id":109777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:27:35] local.INFO: Extracted packet for processing {"connection_id":109777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":109777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:27:35] local.INFO: GPS data processed {"connection_id":109777,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:27:35] local.INFO: Acknowledgment sent {"connection_id":109777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:28:07] local.INFO: TCP Data received {"connection_id":109777,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:28:07] local.INFO: Processing buffer {"connection_id":109777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:28:07] local.INFO: Packet analysis {"connection_id":109777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:28:07] local.INFO: Extracted packet for processing {"connection_id":109777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:28:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":109777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:28:07] local.INFO: GPS data processed {"connection_id":109777,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:28:07] local.INFO: Acknowledgment sent {"connection_id":109777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:28:29] local.INFO: TCP Data received {"connection_id":109183,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:28:29] local.INFO: Processing buffer {"connection_id":109183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:28:29] local.INFO: IMEI packet received {"connection_id":109183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":109183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:28:34] local.INFO: TCP Data received {"connection_id":109183,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:28:34] local.INFO: Processing buffer {"connection_id":109183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:28:34] local.INFO: IMEI packet received {"connection_id":109183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":109183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:28:36] local.INFO: TCP Data received {"connection_id":109183,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:28:36] local.INFO: Processing buffer {"connection_id":109183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:28:36] local.INFO: Packet analysis {"connection_id":109183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:28:36] local.INFO: Extracted packet for processing {"connection_id":109183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:28:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":109183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:28:36] local.INFO: GPS data processed {"connection_id":109183,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:28:36] local.INFO: Acknowledgment sent {"connection_id":109183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:29:08] local.INFO: TCP Data received {"connection_id":109183,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:08] local.INFO: Processing buffer {"connection_id":109183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:08] local.INFO: Packet analysis {"connection_id":109183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:29:08] local.INFO: Extracted packet for processing {"connection_id":109183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:29:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":109183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:29:08] local.INFO: GPS data processed {"connection_id":109183,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:29:08] local.INFO: Acknowledgment sent {"connection_id":109183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:29:34] local.INFO: TCP Data received {"connection_id":110730,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:29:34] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:29:34] local.INFO: IMEI packet received {"connection_id":110730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":110730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:29:37] local.INFO: TCP Data received {"connection_id":110729,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:29:37] local.INFO: Processing buffer {"connection_id":110729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:29:37] local.INFO: IMEI packet received {"connection_id":110729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":110729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:29:39] local.INFO: TCP Data received {"connection_id":110730,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:29:39] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:29:39] local.INFO: IMEI packet received {"connection_id":110730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":110730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:29:41] local.INFO: TCP Data received {"connection_id":110730,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:41] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:41] local.INFO: Packet analysis {"connection_id":110730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:29:41] local.INFO: Extracted packet for processing {"connection_id":110730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:29:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":110730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:29:41] local.INFO: GPS data processed {"connection_id":110730,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:29:41] local.INFO: Acknowledgment sent {"connection_id":110730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:29:45] local.INFO: TCP Data received {"connection_id":110730,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:45] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:29:45] local.INFO: Packet analysis {"connection_id":110730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:29:45] local.INFO: Extracted packet for processing {"connection_id":110730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 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-06-21 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:29:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":110730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:29:45] local.INFO: GPS data processed {"connection_id":110730,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:29:45] local.INFO: Acknowledgment sent {"connection_id":110730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:30:17] local.INFO: TCP Data received {"connection_id":109001,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:30:17] local.INFO: Processing buffer {"connection_id":109001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:30:17] local.INFO: IMEI packet received {"connection_id":109001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":109001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:30:29] local.INFO: TCP Data received {"connection_id":109002,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:30:29] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:30:29] local.INFO: IMEI packet received {"connection_id":109002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":109002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:30:34] local.INFO: TCP Data received {"connection_id":109002,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:30:34] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:30:34] local.INFO: IMEI packet received {"connection_id":109002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":109002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:30:35] local.INFO: TCP Data received {"connection_id":109002,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:30:35] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaaddf60012d34c54006aa3f80000b007227..."} 
[2026-06-21 20:30:35] local.INFO: Packet analysis {"connection_id":109002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:30:35] local.INFO: Extracted packet for processing {"connection_id":109002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaad"} 
[2026-06-21 20:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205676288001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782053724000,"timestamp_ms":1782053724000,"timestamp_seconds":1782053724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaaddf60"} 
[2026-06-21 20:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205676288001,"66":25104,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205676288001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205676288001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":109002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:30:35] local.INFO: GPS data processed {"connection_id":109002,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:30:35] local.INFO: Acknowledgment sent {"connection_id":109002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:31:07] local.INFO: TCP Data received {"connection_id":109002,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:31:07] local.INFO: Processing buffer {"connection_id":109002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:31:07] local.INFO: Packet analysis {"connection_id":109002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:31:07] local.INFO: Extracted packet for processing {"connection_id":109002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:31:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":109002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:31:07] local.INFO: GPS data processed {"connection_id":109002,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:31:07] local.INFO: Acknowledgment sent {"connection_id":109002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:31:29] local.INFO: TCP Data received {"connection_id":109185,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:31:29] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:31:29] local.INFO: IMEI packet received {"connection_id":109185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":109185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:31:34] local.INFO: TCP Data received {"connection_id":109185,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:31:34] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:31:34] local.INFO: IMEI packet received {"connection_id":109185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":109185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:31:35] local.INFO: TCP Data received {"connection_id":109185,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:31:35] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:31:35] local.INFO: Packet analysis {"connection_id":109185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:31:35] local.INFO: Extracted packet for processing {"connection_id":109185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":109185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:31:35] local.INFO: GPS data processed {"connection_id":109185,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:31:35] local.INFO: Acknowledgment sent {"connection_id":109185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:32:07] local.INFO: TCP Data received {"connection_id":109185,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:32:07] local.INFO: Processing buffer {"connection_id":109185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:32:07] local.INFO: Packet analysis {"connection_id":109185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:32:07] local.INFO: Extracted packet for processing {"connection_id":109185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:32:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":109185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:32:07] local.INFO: GPS data processed {"connection_id":109185,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:32:07] local.INFO: Acknowledgment sent {"connection_id":109185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:32:29] local.INFO: TCP Data received {"connection_id":110732,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:32:29] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:32:29] local.INFO: IMEI packet received {"connection_id":110732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":110732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:32:34] local.INFO: TCP Data received {"connection_id":110732,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:32:34] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:32:34] local.INFO: IMEI packet received {"connection_id":110732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":110732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:32:36] local.INFO: TCP Data received {"connection_id":110732,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:32:36] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:32:36] local.INFO: Packet analysis {"connection_id":110732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:32:36] local.INFO: Extracted packet for processing {"connection_id":110732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:32:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":110732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:32:36] local.INFO: GPS data processed {"connection_id":110732,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:32:36] local.INFO: Acknowledgment sent {"connection_id":110732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:33:07] local.INFO: TCP Data received {"connection_id":110732,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:33:07] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:33:07] local.INFO: Packet analysis {"connection_id":110732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:33:07] local.INFO: Extracted packet for processing {"connection_id":110732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:33:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":110732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:33:07] local.INFO: GPS data processed {"connection_id":110732,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:33:07] local.INFO: Acknowledgment sent {"connection_id":110732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:33:29] local.INFO: TCP Data received {"connection_id":109003,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:33:29] local.INFO: Processing buffer {"connection_id":109003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:33:29] local.INFO: IMEI packet received {"connection_id":109003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":109003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:33:34] local.INFO: TCP Data received {"connection_id":109003,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:33:34] local.INFO: Processing buffer {"connection_id":109003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:33:34] local.INFO: IMEI packet received {"connection_id":109003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":109003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:33:35] local.INFO: TCP Data received {"connection_id":109003,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:33:35] local.INFO: Processing buffer {"connection_id":109003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:33:35] local.INFO: Packet analysis {"connection_id":109003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:33:35] local.INFO: Extracted packet for processing {"connection_id":109003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:33:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":109003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:33:35] local.INFO: GPS data processed {"connection_id":109003,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:33:35] local.INFO: Acknowledgment sent {"connection_id":109003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:34:07] local.INFO: TCP Data received {"connection_id":109003,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:07] local.INFO: Processing buffer {"connection_id":109003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:07] local.INFO: Packet analysis {"connection_id":109003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:34:07] local.INFO: Extracted packet for processing {"connection_id":109003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:34:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":109003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:34:07] local.INFO: GPS data processed {"connection_id":109003,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:34:07] local.INFO: Acknowledgment sent {"connection_id":109003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:34:34] local.INFO: TCP Data received {"connection_id":109780,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:34:34] local.INFO: Processing buffer {"connection_id":109780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:34:34] local.INFO: IMEI packet received {"connection_id":109780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":109780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:34:39] local.INFO: TCP Data received {"connection_id":109780,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:34:39] local.INFO: Processing buffer {"connection_id":109780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:34:39] local.INFO: IMEI packet received {"connection_id":109780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":109780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:34:40] local.INFO: TCP Data received {"connection_id":109780,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:40] local.INFO: Processing buffer {"connection_id":109780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:40] local.INFO: Packet analysis {"connection_id":109780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:34:40] local.INFO: Extracted packet for processing {"connection_id":109780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":109780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:34:40] local.INFO: GPS data processed {"connection_id":109780,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:34:40] local.INFO: Acknowledgment sent {"connection_id":109780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:34:45] local.INFO: TCP Data received {"connection_id":109780,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:45] local.INFO: Processing buffer {"connection_id":109780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:34:45] local.INFO: Packet analysis {"connection_id":109780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:34:45] local.INFO: Extracted packet for processing {"connection_id":109780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 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-06-21 20:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:34:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:34:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":109780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:34:45] local.INFO: GPS data processed {"connection_id":109780,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:34:45] local.INFO: Acknowledgment sent {"connection_id":109780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:35:29] local.INFO: TCP Data received {"connection_id":109005,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:35:29] local.INFO: Processing buffer {"connection_id":109005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:35:29] local.INFO: IMEI packet received {"connection_id":109005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":109005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:35:34] local.INFO: TCP Data received {"connection_id":109005,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:35:34] local.INFO: Processing buffer {"connection_id":109005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:35:34] local.INFO: IMEI packet received {"connection_id":109005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":109005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:35:35] local.INFO: TCP Data received {"connection_id":109005,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:35:35] local.INFO: Processing buffer {"connection_id":109005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab27728012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:35:35] local.INFO: Packet analysis {"connection_id":109005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:35:35] local.INFO: Extracted packet for processing {"connection_id":109005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab2"} 
[2026-06-21 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205753344001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054025000,"timestamp_ms":1782054025000,"timestamp_seconds":1782054025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab27728"} 
[2026-06-21 20:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-21 20:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205753344001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205753344001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205753344001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":109005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:35:35] local.INFO: GPS data processed {"connection_id":109005,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:35:35] local.INFO: Acknowledgment sent {"connection_id":109005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:35:42] local.INFO: TCP Data received {"connection_id":109004,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:35:42] local.INFO: Processing buffer {"connection_id":109004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:35:42] local.INFO: IMEI packet received {"connection_id":109004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":109004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:36:07] local.INFO: TCP Data received {"connection_id":109005,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:36:07] local.INFO: Processing buffer {"connection_id":109005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:36:07] local.INFO: Packet analysis {"connection_id":109005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:36:07] local.INFO: Extracted packet for processing {"connection_id":109005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":109005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:36:07] local.INFO: GPS data processed {"connection_id":109005,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:36:07] local.INFO: Acknowledgment sent {"connection_id":109005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:36:12] local.INFO: TCP Data received {"connection_id":109186,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:36:12] local.INFO: Processing buffer {"connection_id":109186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:36:12] local.INFO: IMEI packet received {"connection_id":109186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":109186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:36:29] local.INFO: TCP Data received {"connection_id":109187,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:36:29] local.INFO: Processing buffer {"connection_id":109187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:36:29] local.INFO: IMEI packet received {"connection_id":109187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":109187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:36:34] local.INFO: TCP Data received {"connection_id":109187,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:36:34] local.INFO: Processing buffer {"connection_id":109187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:36:34] local.INFO: IMEI packet received {"connection_id":109187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":109187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:36:35] local.INFO: TCP Data received {"connection_id":109187,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:36:35] local.INFO: Processing buffer {"connection_id":109187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:36:35] local.INFO: Packet analysis {"connection_id":109187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:36:35] local.INFO: Extracted packet for processing {"connection_id":109187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 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-06-21 20:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":109187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:36:35] local.INFO: GPS data processed {"connection_id":109187,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:36:35] local.INFO: Acknowledgment sent {"connection_id":109187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:37:07] local.INFO: TCP Data received {"connection_id":109187,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:37:07] local.INFO: Processing buffer {"connection_id":109187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:37:07] local.INFO: Packet analysis {"connection_id":109187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:37:07] local.INFO: Extracted packet for processing {"connection_id":109187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":109187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:37:07] local.INFO: GPS data processed {"connection_id":109187,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:37:07] local.INFO: Acknowledgment sent {"connection_id":109187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:37:29] local.INFO: TCP Data received {"connection_id":109781,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:37:29] local.INFO: Processing buffer {"connection_id":109781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:37:29] local.INFO: IMEI packet received {"connection_id":109781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":109781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:37:34] local.INFO: TCP Data received {"connection_id":109781,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:37:34] local.INFO: Processing buffer {"connection_id":109781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:37:34] local.INFO: IMEI packet received {"connection_id":109781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":109781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:37:35] local.INFO: TCP Data received {"connection_id":109781,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:37:35] local.INFO: Processing buffer {"connection_id":109781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:37:35] local.INFO: Packet analysis {"connection_id":109781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:37:35] local.INFO: Extracted packet for processing {"connection_id":109781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:37:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":109781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:37:35] local.INFO: GPS data processed {"connection_id":109781,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:37:35] local.INFO: Acknowledgment sent {"connection_id":109781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:38:07] local.INFO: TCP Data received {"connection_id":109781,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:07] local.INFO: Processing buffer {"connection_id":109781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:07] local.INFO: Packet analysis {"connection_id":109781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:38:07] local.INFO: Extracted packet for processing {"connection_id":109781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:38:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":109781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:38:07] local.INFO: GPS data processed {"connection_id":109781,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:38:07] local.INFO: Acknowledgment sent {"connection_id":109781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:38:34] local.INFO: TCP Data received {"connection_id":109782,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:38:34] local.INFO: Processing buffer {"connection_id":109782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:38:34] local.INFO: IMEI packet received {"connection_id":109782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":109782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:38:39] local.INFO: TCP Data received {"connection_id":109782,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:38:39] local.INFO: Processing buffer {"connection_id":109782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:38:39] local.INFO: IMEI packet received {"connection_id":109782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":109782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:38:40] local.INFO: TCP Data received {"connection_id":109782,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:40] local.INFO: Processing buffer {"connection_id":109782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:40] local.INFO: Packet analysis {"connection_id":109782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:38:40] local.INFO: Extracted packet for processing {"connection_id":109782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:38:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:38:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":109782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:38:40] local.INFO: GPS data processed {"connection_id":109782,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:38:40] local.INFO: Acknowledgment sent {"connection_id":109782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:38:45] local.INFO: TCP Data received {"connection_id":109782,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:45] local.INFO: Processing buffer {"connection_id":109782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:38:45] local.INFO: Packet analysis {"connection_id":109782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:38:45] local.INFO: Extracted packet for processing {"connection_id":109782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 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-06-21 20:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:38:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":109782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:38:45] local.INFO: GPS data processed {"connection_id":109782,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:38:45] local.INFO: Acknowledgment sent {"connection_id":109782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:39:29] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:39:29] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:39:29] local.INFO: IMEI packet received {"connection_id":109008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":109008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:39:34] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:39:34] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:39:34] local.INFO: IMEI packet received {"connection_id":109008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":109008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:39:35] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:39:35] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:39:35] local.INFO: Packet analysis {"connection_id":109008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:39:35] local.INFO: Extracted packet for processing {"connection_id":109008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:39:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":109008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:39:35] local.INFO: GPS data processed {"connection_id":109008,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:39:35] local.INFO: Acknowledgment sent {"connection_id":109008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:40:07] local.INFO: TCP Data received {"connection_id":109008,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:40:07] local.INFO: Processing buffer {"connection_id":109008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:40:07] local.INFO: Packet analysis {"connection_id":109008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:40:07] local.INFO: Extracted packet for processing {"connection_id":109008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:40:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":109008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:40:07] local.INFO: GPS data processed {"connection_id":109008,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:40:07] local.INFO: Acknowledgment sent {"connection_id":109008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:40:29] local.INFO: TCP Data received {"connection_id":109189,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:40:29] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:40:29] local.INFO: IMEI packet received {"connection_id":109189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":109189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:40:34] local.INFO: TCP Data received {"connection_id":109189,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:40:34] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:40:34] local.INFO: IMEI packet received {"connection_id":109189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":109189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:40:36] local.INFO: TCP Data received {"connection_id":109189,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:40:36] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeab70ef0012d34c54006aa3f80000b007222..."} 
[2026-06-21 20:40:36] local.INFO: Packet analysis {"connection_id":109189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:40:36] local.INFO: Extracted packet for processing {"connection_id":109189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeab7"} 
[2026-06-21 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205830400001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782054326000,"timestamp_ms":1782054326000,"timestamp_seconds":1782054326,"priority":1,"record_length":96,"hex_timestamp":"0000019eeab70ef0"} 
[2026-06-21 20:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205830400001,"66":25071,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205830400001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:40:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:40:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205830400001,"power":25071,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":109189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:40:36] local.INFO: GPS data processed {"connection_id":109189,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:40:36] local.INFO: Acknowledgment sent {"connection_id":109189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:41:06] local.INFO: TCP Data received {"connection_id":109189,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:41:06] local.INFO: Processing buffer {"connection_id":109189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:41:06] local.INFO: Packet analysis {"connection_id":109189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:41:06] local.INFO: Extracted packet for processing {"connection_id":109189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 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-06-21 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:41: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-06-21 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-06-21 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-06-21 20:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":109189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:41:07] local.INFO: GPS data processed {"connection_id":109189,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:41:07] local.INFO: Acknowledgment sent {"connection_id":109189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:41:29] local.INFO: TCP Data received {"connection_id":110735,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:41:29] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:41:29] local.INFO: IMEI packet received {"connection_id":110735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":110735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:41:32] local.INFO: TCP Data received {"connection_id":109783,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:41:32] local.INFO: Processing buffer {"connection_id":109783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:41:32] local.INFO: IMEI packet received {"connection_id":109783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":109783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:41:34] local.INFO: TCP Data received {"connection_id":110735,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:41:34] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:41:34] local.INFO: IMEI packet received {"connection_id":110735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":110735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:41:35] local.INFO: TCP Data received {"connection_id":110735,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:41:35] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:41:35] local.INFO: Packet analysis {"connection_id":110735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:41:35] local.INFO: Extracted packet for processing {"connection_id":110735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:41:35] 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-06-21 20:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:41:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":110735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:41:35] local.INFO: GPS data processed {"connection_id":110735,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:41:35] local.INFO: Acknowledgment sent {"connection_id":110735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:42:07] local.INFO: TCP Data received {"connection_id":110735,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:07] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:07] local.INFO: Packet analysis {"connection_id":110735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:42:07] local.INFO: Extracted packet for processing {"connection_id":110735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:42:07] 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-06-21 20:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:42:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:42:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":110735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:42:07] local.INFO: GPS data processed {"connection_id":110735,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:42:07] local.INFO: Acknowledgment sent {"connection_id":110735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:42:17] local.INFO: TCP Data received {"connection_id":109009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:42:17] local.INFO: Processing buffer {"connection_id":109009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:42:17] local.INFO: IMEI packet received {"connection_id":109009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":109009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:42:34] local.INFO: TCP Data received {"connection_id":109010,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:42:34] local.INFO: Processing buffer {"connection_id":109010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:42:34] local.INFO: IMEI packet received {"connection_id":109010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":109010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:42:39] local.INFO: TCP Data received {"connection_id":109010,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:42:39] local.INFO: Processing buffer {"connection_id":109010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:42:39] local.INFO: IMEI packet received {"connection_id":109010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":109010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:42:41] local.INFO: TCP Data received {"connection_id":109010,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:41] local.INFO: Processing buffer {"connection_id":109010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:41] local.INFO: Packet analysis {"connection_id":109010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:42:41] local.INFO: Extracted packet for processing {"connection_id":109010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:42:41] 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-06-21 20:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:42:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":109010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:42:41] local.INFO: GPS data processed {"connection_id":109010,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:42:41] local.INFO: Acknowledgment sent {"connection_id":109010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:42:45] local.INFO: TCP Data received {"connection_id":109010,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:45] local.INFO: Processing buffer {"connection_id":109010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:42:45] local.INFO: Packet analysis {"connection_id":109010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:42:45] local.INFO: Extracted packet for processing {"connection_id":109010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 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-06-21 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:42:45] 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-06-21 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-06-21 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-06-21 20:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:42:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:42:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":109010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:42:45] local.INFO: GPS data processed {"connection_id":109010,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:42:45] local.INFO: Acknowledgment sent {"connection_id":109010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:43:29] local.INFO: TCP Data received {"connection_id":109191,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:43:29] local.INFO: Processing buffer {"connection_id":109191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:43:29] local.INFO: IMEI packet received {"connection_id":109191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":109191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:43:34] local.INFO: TCP Data received {"connection_id":109191,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:43:34] local.INFO: Processing buffer {"connection_id":109191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:43:34] local.INFO: IMEI packet received {"connection_id":109191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":109191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:43:35] local.INFO: TCP Data received {"connection_id":109191,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:43:35] local.INFO: Processing buffer {"connection_id":109191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:43:35] local.INFO: Packet analysis {"connection_id":109191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:43:35] local.INFO: Extracted packet for processing {"connection_id":109191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:43:35] 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-06-21 20:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:43:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":109191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:43:35] local.INFO: GPS data processed {"connection_id":109191,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:43:35] local.INFO: Acknowledgment sent {"connection_id":109191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:44:19] local.INFO: TCP Data received {"connection_id":109191,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:44:19] local.INFO: Processing buffer {"connection_id":109191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:44:19] local.INFO: Packet analysis {"connection_id":109191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:44:19] local.INFO: Extracted packet for processing {"connection_id":109191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:44:19] 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-06-21 20:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":109191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":109191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":109191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:44:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:44:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":109191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:44:19] local.INFO: GPS data processed {"connection_id":109191,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:44:19] local.INFO: Acknowledgment sent {"connection_id":109191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:44:35] local.INFO: TCP Data received {"connection_id":110736,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:44:35] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:44:35] local.INFO: IMEI packet received {"connection_id":110736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":110736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:44:44] local.INFO: TCP Data received {"connection_id":110736,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:44:44] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:44:44] local.INFO: IMEI packet received {"connection_id":110736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":110736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:45:10] local.INFO: TCP Data received {"connection_id":110736,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:10] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:10] local.INFO: Packet analysis {"connection_id":110736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:45:10] local.INFO: Extracted packet for processing {"connection_id":110736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:45: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-06-21 20: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-06-21 20:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:45:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":110736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:45:10] local.INFO: GPS data processed {"connection_id":110736,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:45:10] local.INFO: Acknowledgment sent {"connection_id":110736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:45:12] local.INFO: TCP Data received {"connection_id":110736,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:12] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:12] local.INFO: Packet analysis {"connection_id":110736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:45:12] local.INFO: Extracted packet for processing {"connection_id":110736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:45:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":110736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:45:12] local.INFO: GPS data processed {"connection_id":110736,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:45:12] local.INFO: Acknowledgment sent {"connection_id":110736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:45:34] local.INFO: TCP Data received {"connection_id":109012,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:45:34] local.INFO: Processing buffer {"connection_id":109012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:45:34] local.INFO: IMEI packet received {"connection_id":109012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":109012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:45:45] local.INFO: TCP Data received {"connection_id":109012,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:45:45] local.INFO: Processing buffer {"connection_id":109012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:45:45] local.INFO: IMEI packet received {"connection_id":109012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":109012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:45:46] local.INFO: TCP Data received {"connection_id":109012,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:46] local.INFO: Processing buffer {"connection_id":109012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeabba6b8012d34c54006aa3f80000a007225..."} 
[2026-06-21 20:45:46] local.INFO: Packet analysis {"connection_id":109012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:45:46] local.INFO: Extracted packet for processing {"connection_id":109012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeabb"} 
[2026-06-21 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205907456001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782054627000,"timestamp_ms":1782054627000,"timestamp_seconds":1782054627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeabba6b8"} 
[2026-06-21 20:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:45: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-06-21 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-21 20:45:46] 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-06-21 20:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205907456001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205907456001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:45:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205907456001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":109012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:45:46] local.INFO: GPS data processed {"connection_id":109012,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:45:46] local.INFO: Acknowledgment sent {"connection_id":109012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:46:34] local.INFO: TCP Data received {"connection_id":109784,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:46:34] local.INFO: Processing buffer {"connection_id":109784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:46:34] local.INFO: IMEI packet received {"connection_id":109784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":109784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:46:36] local.INFO: TCP Data received {"connection_id":109784,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:46:36] local.INFO: Processing buffer {"connection_id":109784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:46:36] local.INFO: Packet analysis {"connection_id":109784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:46:36] local.INFO: Extracted packet for processing {"connection_id":109784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":109784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:46:36] local.INFO: GPS data processed {"connection_id":109784,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:46:36] local.INFO: Acknowledgment sent {"connection_id":109784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:47:08] local.INFO: TCP Data received {"connection_id":109784,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:08] local.INFO: Processing buffer {"connection_id":109784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:08] local.INFO: Packet analysis {"connection_id":109784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:47:08] local.INFO: Extracted packet for processing {"connection_id":109784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":109784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:47:08] local.INFO: GPS data processed {"connection_id":109784,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:47:08] local.INFO: Acknowledgment sent {"connection_id":109784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:47:29] local.INFO: TCP Data received {"connection_id":109013,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:47:29] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:47:29] local.INFO: IMEI packet received {"connection_id":109013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":109013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:47:34] local.INFO: TCP Data received {"connection_id":109013,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:47:34] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:47:34] local.INFO: IMEI packet received {"connection_id":109013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":109013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:47:35] local.INFO: TCP Data received {"connection_id":109013,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:35] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:35] local.INFO: Packet analysis {"connection_id":109013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:47:35] local.INFO: Extracted packet for processing {"connection_id":109013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":109013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:47:35] local.INFO: GPS data processed {"connection_id":109013,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:47:35] local.INFO: Acknowledgment sent {"connection_id":109013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:47:40] local.INFO: TCP Data received {"connection_id":109013,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:40] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:47:40] local.INFO: Packet analysis {"connection_id":109013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:47:40] local.INFO: Extracted packet for processing {"connection_id":109013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:47:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:47:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":109013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:47:40] local.INFO: GPS data processed {"connection_id":109013,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:47:40] local.INFO: Acknowledgment sent {"connection_id":109013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:47:47] local.INFO: TCP Data received {"connection_id":109785,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:47:47] local.INFO: Processing buffer {"connection_id":109785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:47:47] local.INFO: IMEI packet received {"connection_id":109785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":109785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:48:11] local.INFO: TCP Data received {"connection_id":110738,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:48:11] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:48:11] local.INFO: IMEI packet received {"connection_id":110738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":110738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:48:12] local.INFO: TCP Data received {"connection_id":109013,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:48:12] local.INFO: Processing buffer {"connection_id":109013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:48:12] local.INFO: Packet analysis {"connection_id":109013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:48:12] local.INFO: Extracted packet for processing {"connection_id":109013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:48:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":109013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:48:12] local.INFO: GPS data processed {"connection_id":109013,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:48:12] local.INFO: Acknowledgment sent {"connection_id":109013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:48:29] local.INFO: TCP Data received {"connection_id":109193,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:48:29] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:48:29] local.INFO: IMEI packet received {"connection_id":109193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":109193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:48:34] local.INFO: TCP Data received {"connection_id":109193,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:48:34] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:48:34] local.INFO: IMEI packet received {"connection_id":109193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":109193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:48:35] local.INFO: TCP Data received {"connection_id":109193,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:48:35] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:48:35] local.INFO: Packet analysis {"connection_id":109193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:48:35] local.INFO: Extracted packet for processing {"connection_id":109193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 20:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 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-06-21 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 20:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:48:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":109193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:48:35] local.INFO: GPS data processed {"connection_id":109193,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:48:35] local.INFO: Acknowledgment sent {"connection_id":109193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:49:07] local.INFO: TCP Data received {"connection_id":109193,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:49:07] local.INFO: Processing buffer {"connection_id":109193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:49:07] local.INFO: Packet analysis {"connection_id":109193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:49:07] local.INFO: Extracted packet for processing {"connection_id":109193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":109193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:49:07] local.INFO: GPS data processed {"connection_id":109193,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:49:07] local.INFO: Acknowledgment sent {"connection_id":109193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:49:29] local.INFO: TCP Data received {"connection_id":110740,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:49:29] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:49:29] local.INFO: IMEI packet received {"connection_id":110740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":110740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:49:34] local.INFO: TCP Data received {"connection_id":110740,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:49:34] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:49:34] local.INFO: IMEI packet received {"connection_id":110740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":110740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:49:35] local.INFO: TCP Data received {"connection_id":110740,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:49:35] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:49:35] local.INFO: Packet analysis {"connection_id":110740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:49:35] local.INFO: Extracted packet for processing {"connection_id":110740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:49:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:49:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":110740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:49:35] local.INFO: GPS data processed {"connection_id":110740,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:49:35] local.INFO: Acknowledgment sent {"connection_id":110740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:50:07] local.INFO: TCP Data received {"connection_id":110740,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:50:07] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:50:07] local.INFO: Packet analysis {"connection_id":110740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:50:07] local.INFO: Extracted packet for processing {"connection_id":110740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":110740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:50:07] local.INFO: GPS data processed {"connection_id":110740,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:50:07] local.INFO: Acknowledgment sent {"connection_id":110740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:50:29] local.INFO: TCP Data received {"connection_id":109786,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:50:29] local.INFO: Processing buffer {"connection_id":109786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:50:29] local.INFO: IMEI packet received {"connection_id":109786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":109786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:50:34] local.INFO: TCP Data received {"connection_id":109786,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:50:34] local.INFO: Processing buffer {"connection_id":109786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:50:34] local.INFO: IMEI packet received {"connection_id":109786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":109786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:50:35] local.INFO: TCP Data received {"connection_id":109786,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:50:35] local.INFO: Processing buffer {"connection_id":109786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:50:35] local.INFO: Packet analysis {"connection_id":109786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:50:35] local.INFO: Extracted packet for processing {"connection_id":109786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:50:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:50:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":109786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:50:35] local.INFO: GPS data processed {"connection_id":109786,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:50:35] local.INFO: Acknowledgment sent {"connection_id":109786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:51:08] local.INFO: TCP Data received {"connection_id":109786,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:51:08] local.INFO: Processing buffer {"connection_id":109786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac03e80012d34c54006aa3f80000c007226..."} 
[2026-06-21 20:51:08] local.INFO: Packet analysis {"connection_id":109786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:51:08] local.INFO: Extracted packet for processing {"connection_id":109786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac0"} 
[2026-06-21 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456205984512001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782054928000,"timestamp_ms":1782054928000,"timestamp_seconds":1782054928,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac03e80"} 
[2026-06-21 20:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456205984512001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456205984512001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:51:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456205984512001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":109786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:51:08] local.INFO: GPS data processed {"connection_id":109786,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:51:08] local.INFO: Acknowledgment sent {"connection_id":109786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:51:34] local.INFO: TCP Data received {"connection_id":109787,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:51:34] local.INFO: Processing buffer {"connection_id":109787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:51:34] local.INFO: IMEI packet received {"connection_id":109787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":109787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:51:39] local.INFO: TCP Data received {"connection_id":109787,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:51:39] local.INFO: Processing buffer {"connection_id":109787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:51:39] local.INFO: IMEI packet received {"connection_id":109787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":109787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:51:40] local.INFO: TCP Data received {"connection_id":109787,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:51:40] local.INFO: Processing buffer {"connection_id":109787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:51:40] local.INFO: Packet analysis {"connection_id":109787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:51:40] local.INFO: Extracted packet for processing {"connection_id":109787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:51:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":109787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:51:40] local.INFO: GPS data processed {"connection_id":109787,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:51:40] local.INFO: Acknowledgment sent {"connection_id":109787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:51:45] local.INFO: TCP Data received {"connection_id":109787,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:51:45] local.INFO: Processing buffer {"connection_id":109787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:51:45] local.INFO: Packet analysis {"connection_id":109787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:51:45] local.INFO: Extracted packet for processing {"connection_id":109787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:51:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":109787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:51:45] local.INFO: GPS data processed {"connection_id":109787,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:51:45] local.INFO: Acknowledgment sent {"connection_id":109787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:52:29] local.INFO: TCP Data received {"connection_id":110742,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:52:29] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:52:29] local.INFO: IMEI packet received {"connection_id":110742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":110742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:52:34] local.INFO: TCP Data received {"connection_id":110742,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:52:34] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:52:34] local.INFO: IMEI packet received {"connection_id":110742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":110742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:52:35] local.INFO: TCP Data received {"connection_id":110742,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:52:35] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:52:35] local.INFO: Packet analysis {"connection_id":110742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:52:35] local.INFO: Extracted packet for processing {"connection_id":110742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:52:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":110742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:52:35] local.INFO: GPS data processed {"connection_id":110742,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:52:35] local.INFO: Acknowledgment sent {"connection_id":110742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:53:07] local.INFO: TCP Data received {"connection_id":110742,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:53:07] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:53:07] local.INFO: Packet analysis {"connection_id":110742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:53:07] local.INFO: Extracted packet for processing {"connection_id":110742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:53:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":110742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:53:07] local.INFO: GPS data processed {"connection_id":110742,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:53:07] local.INFO: Acknowledgment sent {"connection_id":110742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:53:29] local.INFO: TCP Data received {"connection_id":109015,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:53:29] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:53:29] local.INFO: IMEI packet received {"connection_id":109015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":109015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:53:34] local.INFO: TCP Data received {"connection_id":109015,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:53:34] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:53:34] local.INFO: IMEI packet received {"connection_id":109015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":109015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:53:35] local.INFO: TCP Data received {"connection_id":109015,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:53:35] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:53:35] local.INFO: Packet analysis {"connection_id":109015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:53:35] local.INFO: Extracted packet for processing {"connection_id":109015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:53:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":109015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:53:35] local.INFO: GPS data processed {"connection_id":109015,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:53:35] local.INFO: Acknowledgment sent {"connection_id":109015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:53:40] local.INFO: TCP Data received {"connection_id":110743,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:53:40] local.INFO: Processing buffer {"connection_id":110743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:53:40] local.INFO: IMEI packet received {"connection_id":110743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":110743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:54:07] local.INFO: TCP Data received {"connection_id":109015,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:54:07] local.INFO: Processing buffer {"connection_id":109015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:54:07] local.INFO: Packet analysis {"connection_id":109015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:54:07] local.INFO: Extracted packet for processing {"connection_id":109015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:54:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":109015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:54:07] local.INFO: GPS data processed {"connection_id":109015,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:54:07] local.INFO: Acknowledgment sent {"connection_id":109015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:54:11] local.INFO: TCP Data received {"connection_id":109016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:54:11] local.INFO: Processing buffer {"connection_id":109016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:54:11] local.INFO: IMEI packet received {"connection_id":109016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":109016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:54:29] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:54:29] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:54:29] local.INFO: IMEI packet received {"connection_id":110744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":110744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:54:34] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:54:34] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:54:34] local.INFO: IMEI packet received {"connection_id":110744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":110744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:54:35] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:54:35] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:54:35] local.INFO: Packet analysis {"connection_id":110744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:54:35] local.INFO: Extracted packet for processing {"connection_id":110744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:54:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:54:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":110744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:54:35] local.INFO: GPS data processed {"connection_id":110744,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:54:35] local.INFO: Acknowledgment sent {"connection_id":110744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:55:07] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:07] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:07] local.INFO: Packet analysis {"connection_id":110744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:55:07] local.INFO: Extracted packet for processing {"connection_id":110744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":110744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:55:07] local.INFO: GPS data processed {"connection_id":110744,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:55:07] local.INFO: Acknowledgment sent {"connection_id":110744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:55:34] local.INFO: TCP Data received {"connection_id":109788,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:55:34] local.INFO: Processing buffer {"connection_id":109788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:55:34] local.INFO: IMEI packet received {"connection_id":109788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":109788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:55:39] local.INFO: TCP Data received {"connection_id":109788,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:55:39] local.INFO: Processing buffer {"connection_id":109788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:55:39] local.INFO: IMEI packet received {"connection_id":109788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":109788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:55:40] local.INFO: TCP Data received {"connection_id":109788,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:40] local.INFO: Processing buffer {"connection_id":109788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:40] local.INFO: Packet analysis {"connection_id":109788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:55:40] local.INFO: Extracted packet for processing {"connection_id":109788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:55:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":109788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:55:40] local.INFO: GPS data processed {"connection_id":109788,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:55:40] local.INFO: Acknowledgment sent {"connection_id":109788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:55:44] local.INFO: TCP Data received {"connection_id":109788,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:44] local.INFO: Processing buffer {"connection_id":109788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac4d648012d34c54006aa3f80000d007228..."} 
[2026-06-21 20:55:44] local.INFO: Packet analysis {"connection_id":109788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:55:44] local.INFO: Extracted packet for processing {"connection_id":109788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac4"} 
[2026-06-21 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206061568001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782055229000,"timestamp_ms":1782055229000,"timestamp_seconds":1782055229,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac4d648"} 
[2026-06-21 20:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206061568001,"66":25147,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206061568001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:55:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206061568001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":109788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:55:44] local.INFO: GPS data processed {"connection_id":109788,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:55:44] local.INFO: Acknowledgment sent {"connection_id":109788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:56:29] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:56:29] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:56:29] local.INFO: IMEI packet received {"connection_id":109018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":109018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:56:34] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:56:34] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:56:34] local.INFO: IMEI packet received {"connection_id":109018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":109018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:56:36] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:56:36] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:56:36] local.INFO: Packet analysis {"connection_id":109018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:56:36] local.INFO: Extracted packet for processing {"connection_id":109018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:56:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":109018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:56:36] local.INFO: GPS data processed {"connection_id":109018,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:56:36] local.INFO: Acknowledgment sent {"connection_id":109018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:57:07] local.INFO: TCP Data received {"connection_id":109018,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:57:07] local.INFO: Processing buffer {"connection_id":109018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:57:07] local.INFO: Packet analysis {"connection_id":109018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:57:07] local.INFO: Extracted packet for processing {"connection_id":109018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:57:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":109018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:57:07] local.INFO: GPS data processed {"connection_id":109018,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:57:07] local.INFO: Acknowledgment sent {"connection_id":109018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:57:29] local.INFO: TCP Data received {"connection_id":109196,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:57:29] local.INFO: Processing buffer {"connection_id":109196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:57:29] local.INFO: IMEI packet received {"connection_id":109196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":109196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:57:34] local.INFO: TCP Data received {"connection_id":109196,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:57:34] local.INFO: Processing buffer {"connection_id":109196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:57:34] local.INFO: IMEI packet received {"connection_id":109196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":109196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:57:35] local.INFO: TCP Data received {"connection_id":109196,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:57:35] local.INFO: Processing buffer {"connection_id":109196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:57:35] local.INFO: Packet analysis {"connection_id":109196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:57:35] local.INFO: Extracted packet for processing {"connection_id":109196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:57:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:57:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":109196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:57:35] local.INFO: GPS data processed {"connection_id":109196,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:57:35] local.INFO: Acknowledgment sent {"connection_id":109196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:58:07] local.INFO: TCP Data received {"connection_id":109196,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:58:07] local.INFO: Processing buffer {"connection_id":109196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:58:07] local.INFO: Packet analysis {"connection_id":109196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:58:07] local.INFO: Extracted packet for processing {"connection_id":109196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:58:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:58:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":109196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:58:07] local.INFO: GPS data processed {"connection_id":109196,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:58:07] local.INFO: Acknowledgment sent {"connection_id":109196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:58:29] local.INFO: TCP Data received {"connection_id":109020,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:58:29] local.INFO: Processing buffer {"connection_id":109020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:58:29] local.INFO: IMEI packet received {"connection_id":109020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":109020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:58:34] local.INFO: TCP Data received {"connection_id":109020,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:58:34] local.INFO: Processing buffer {"connection_id":109020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:58:34] local.INFO: IMEI packet received {"connection_id":109020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":109020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:58:35] local.INFO: TCP Data received {"connection_id":109020,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:58:35] local.INFO: Processing buffer {"connection_id":109020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:58:35] local.INFO: Packet analysis {"connection_id":109020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:58:35] local.INFO: Extracted packet for processing {"connection_id":109020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:58:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":109020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:58:35] local.INFO: GPS data processed {"connection_id":109020,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:58:35] local.INFO: Acknowledgment sent {"connection_id":109020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:59:07] local.INFO: TCP Data received {"connection_id":109020,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:07] local.INFO: Processing buffer {"connection_id":109020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:07] local.INFO: Packet analysis {"connection_id":109020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:59:07] local.INFO: Extracted packet for processing {"connection_id":109020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":109020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:59:07] local.INFO: GPS data processed {"connection_id":109020,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:59:07] local.INFO: Acknowledgment sent {"connection_id":109020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:59:32] local.INFO: TCP Data received {"connection_id":109790,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:59:32] local.INFO: Processing buffer {"connection_id":109790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 20:59:32] local.INFO: IMEI packet received {"connection_id":109790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 20:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":109790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:59:34] local.INFO: TCP Data received {"connection_id":109197,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:59:34] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:59:34] local.INFO: IMEI packet received {"connection_id":109197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 20:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":109197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 20:59:39] local.INFO: TCP Data received {"connection_id":109197,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:59:39] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 20:59:39] local.INFO: IMEI packet received {"connection_id":109197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 20:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":109197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 20:59:40] local.INFO: TCP Data received {"connection_id":109197,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:40] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:40] local.INFO: Packet analysis {"connection_id":109197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:59:40] local.INFO: Extracted packet for processing {"connection_id":109197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 20:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 20:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:59:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":109197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:59:40] local.INFO: GPS data processed {"connection_id":109197,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:59:40] local.INFO: Acknowledgment sent {"connection_id":109197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 20:59:45] local.INFO: TCP Data received {"connection_id":109197,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:45] local.INFO: Processing buffer {"connection_id":109197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 20:59:45] local.INFO: Packet analysis {"connection_id":109197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:59:45] local.INFO: Extracted packet for processing {"connection_id":109197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 20:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 20: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-06-21 20:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 20:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 20:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 20:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 20:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 20:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 20:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 20: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-06-21 20:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 20:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 20:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 20:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 20:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 20:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 20:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 20:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 20:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 20:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 20:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 20:59:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 20:59:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 20:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 20:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 20:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 20:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":109197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 20:59:45] local.INFO: GPS data processed {"connection_id":109197,"processed":1,"errors":0,"total":1} 
[2026-06-21 20:59:45] local.INFO: Acknowledgment sent {"connection_id":109197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:00:11] local.INFO: TCP Data received {"connection_id":109021,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:00:11] local.INFO: Processing buffer {"connection_id":109021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:00:11] local.INFO: IMEI packet received {"connection_id":109021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":109021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:00:29] local.INFO: TCP Data received {"connection_id":109791,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:00:29] local.INFO: Processing buffer {"connection_id":109791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:00:29] local.INFO: IMEI packet received {"connection_id":109791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":109791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:00:34] local.INFO: TCP Data received {"connection_id":109791,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:00:34] local.INFO: Processing buffer {"connection_id":109791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:00:34] local.INFO: IMEI packet received {"connection_id":109791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":109791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:00:35] local.INFO: TCP Data received {"connection_id":109791,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 21:00:35] local.INFO: Processing buffer {"connection_id":109791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 21:00:35] local.INFO: Packet analysis {"connection_id":109791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 21:00:35] local.INFO: Extracted packet for processing {"connection_id":109791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 21:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 21:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 21:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:00:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":109791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:00:35] local.INFO: GPS data processed {"connection_id":109791,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:00:35] local.INFO: Acknowledgment sent {"connection_id":109791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:01:07] local.INFO: TCP Data received {"connection_id":109791,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 21:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 21:01:07] local.INFO: Processing buffer {"connection_id":109791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeac96e10012d34c54006aa3f80000e007224..."} 
[2026-06-21 21:01:07] local.INFO: Packet analysis {"connection_id":109791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 21:01:07] local.INFO: Extracted packet for processing {"connection_id":109791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeac9"} 
[2026-06-21 21:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206138624001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055530000,"timestamp_ms":1782055530000,"timestamp_seconds":1782055530,"priority":1,"record_length":96,"hex_timestamp":"0000019eeac96e10"} 
[2026-06-21 21:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-21 21:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206138624001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206138624001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206138624001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":109791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:01:07] local.INFO: GPS data processed {"connection_id":109791,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:01:07] local.INFO: Acknowledgment sent {"connection_id":109791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:01:29] local.INFO: TCP Data received {"connection_id":110746,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:01:29] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:01:29] local.INFO: IMEI packet received {"connection_id":110746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":110746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:01:34] local.INFO: TCP Data received {"connection_id":110746,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:01:34] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:01:34] local.INFO: IMEI packet received {"connection_id":110746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":110746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:01:35] local.INFO: TCP Data received {"connection_id":110746,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:01:35] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:01:35] local.INFO: Packet analysis {"connection_id":110746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:01:35] local.INFO: Extracted packet for processing {"connection_id":110746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:01:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:01:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":110746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:01:35] local.INFO: GPS data processed {"connection_id":110746,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:01:35] local.INFO: Acknowledgment sent {"connection_id":110746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:02:07] local.INFO: TCP Data received {"connection_id":110746,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:02:07] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:02:07] local.INFO: Packet analysis {"connection_id":110746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:02:07] local.INFO: Extracted packet for processing {"connection_id":110746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:02:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":110746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:02:07] local.INFO: GPS data processed {"connection_id":110746,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:02:07] local.INFO: Acknowledgment sent {"connection_id":110746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:02:29] local.INFO: TCP Data received {"connection_id":109793,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:02:29] local.INFO: Processing buffer {"connection_id":109793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:02:29] local.INFO: IMEI packet received {"connection_id":109793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":109793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:02:34] local.INFO: TCP Data received {"connection_id":109793,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:02:34] local.INFO: Processing buffer {"connection_id":109793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:02:34] local.INFO: IMEI packet received {"connection_id":109793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":109793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:02:35] local.INFO: TCP Data received {"connection_id":109793,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:02:35] local.INFO: Processing buffer {"connection_id":109793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:02:35] local.INFO: Packet analysis {"connection_id":109793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:02:35] local.INFO: Extracted packet for processing {"connection_id":109793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:02:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":109793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:02:35] local.INFO: GPS data processed {"connection_id":109793,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:02:35] local.INFO: Acknowledgment sent {"connection_id":109793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:03:07] local.INFO: TCP Data received {"connection_id":109793,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:07] local.INFO: Processing buffer {"connection_id":109793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:07] local.INFO: Packet analysis {"connection_id":109793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:03:07] local.INFO: Extracted packet for processing {"connection_id":109793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:03:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":109793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:03:07] local.INFO: GPS data processed {"connection_id":109793,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:03:07] local.INFO: Acknowledgment sent {"connection_id":109793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:03:34] local.INFO: TCP Data received {"connection_id":109022,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:03:34] local.INFO: Processing buffer {"connection_id":109022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:03:34] local.INFO: IMEI packet received {"connection_id":109022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":109022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:03:39] local.INFO: TCP Data received {"connection_id":109022,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:03:39] local.INFO: Processing buffer {"connection_id":109022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:03:39] local.INFO: IMEI packet received {"connection_id":109022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":109022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:03:40] local.INFO: TCP Data received {"connection_id":109022,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:40] local.INFO: Processing buffer {"connection_id":109022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:40] local.INFO: Packet analysis {"connection_id":109022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:03:40] local.INFO: Extracted packet for processing {"connection_id":109022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":109022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:03:40] local.INFO: GPS data processed {"connection_id":109022,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:03:40] local.INFO: Acknowledgment sent {"connection_id":109022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:03:45] local.INFO: TCP Data received {"connection_id":109022,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:45] local.INFO: Processing buffer {"connection_id":109022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:03:45] local.INFO: Packet analysis {"connection_id":109022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:03:45] local.INFO: Extracted packet for processing {"connection_id":109022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:03:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:03:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":109022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:03:45] local.INFO: GPS data processed {"connection_id":109022,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:03:45] local.INFO: Acknowledgment sent {"connection_id":109022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:04:29] local.INFO: TCP Data received {"connection_id":109795,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:04:29] local.INFO: Processing buffer {"connection_id":109795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:04:29] local.INFO: IMEI packet received {"connection_id":109795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":109795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:04:34] local.INFO: TCP Data received {"connection_id":109795,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:04:34] local.INFO: Processing buffer {"connection_id":109795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:04:34] local.INFO: IMEI packet received {"connection_id":109795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":109795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:04:35] local.INFO: TCP Data received {"connection_id":109795,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:04:35] local.INFO: Processing buffer {"connection_id":109795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:04:35] local.INFO: Packet analysis {"connection_id":109795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:04:35] local.INFO: Extracted packet for processing {"connection_id":109795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:04:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":109795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:04:35] local.INFO: GPS data processed {"connection_id":109795,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:04:35] local.INFO: Acknowledgment sent {"connection_id":109795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:05:07] local.INFO: TCP Data received {"connection_id":109795,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:05:07] local.INFO: Processing buffer {"connection_id":109795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:05:07] local.INFO: Packet analysis {"connection_id":109795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:05:07] local.INFO: Extracted packet for processing {"connection_id":109795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":109795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:05:07] local.INFO: GPS data processed {"connection_id":109795,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:05:07] local.INFO: Acknowledgment sent {"connection_id":109795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:05:29] local.INFO: TCP Data received {"connection_id":109023,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:05:29] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:05:29] local.INFO: IMEI packet received {"connection_id":109023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":109023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:05:34] local.INFO: TCP Data received {"connection_id":109023,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:05:34] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:05:34] local.INFO: IMEI packet received {"connection_id":109023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":109023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:05:35] local.INFO: TCP Data received {"connection_id":109023,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:05:35] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:05:35] local.INFO: Packet analysis {"connection_id":109023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:05:35] local.INFO: Extracted packet for processing {"connection_id":109023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:05:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":109023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:05:35] local.INFO: GPS data processed {"connection_id":109023,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:05:35] local.INFO: Acknowledgment sent {"connection_id":109023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:05:37] local.INFO: TCP Data received {"connection_id":109198,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:05:37] local.INFO: Processing buffer {"connection_id":109198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:05:37] local.INFO: IMEI packet received {"connection_id":109198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":109198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:06:07] local.INFO: TCP Data received {"connection_id":109023,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:06:07] local.INFO: Processing buffer {"connection_id":109023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeace05d8012d34c54006aa3f800012007224..."} 
[2026-06-21 21:06:07] local.INFO: Packet analysis {"connection_id":109023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:06:07] local.INFO: Extracted packet for processing {"connection_id":109023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeace"} 
[2026-06-21 21:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206215680001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782055831000,"timestamp_ms":1782055831000,"timestamp_seconds":1782055831,"priority":1,"record_length":96,"hex_timestamp":"0000019eeace05d8"} 
[2026-06-21 21:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206215680001,"66":25223,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206215680001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206215680001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":109023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:06:07] local.INFO: GPS data processed {"connection_id":109023,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:06:07] local.INFO: Acknowledgment sent {"connection_id":109023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:06:17] local.INFO: TCP Data received {"connection_id":109024,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:06:17] local.INFO: Processing buffer {"connection_id":109024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:06:17] local.INFO: IMEI packet received {"connection_id":109024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":109024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:06:29] local.INFO: TCP Data received {"connection_id":109796,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:06:29] local.INFO: Processing buffer {"connection_id":109796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:06:29] local.INFO: IMEI packet received {"connection_id":109796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":109796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:06:34] local.INFO: TCP Data received {"connection_id":109796,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:06:34] local.INFO: Processing buffer {"connection_id":109796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:06:34] local.INFO: IMEI packet received {"connection_id":109796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":109796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:06:35] local.INFO: TCP Data received {"connection_id":109796,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:06:35] local.INFO: Processing buffer {"connection_id":109796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:06:35] local.INFO: Packet analysis {"connection_id":109796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:06:35] local.INFO: Extracted packet for processing {"connection_id":109796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 21:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:06:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:06:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":109796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:06:35] local.INFO: GPS data processed {"connection_id":109796,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:06:35] local.INFO: Acknowledgment sent {"connection_id":109796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:07:07] local.INFO: TCP Data received {"connection_id":109796,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:07] local.INFO: Processing buffer {"connection_id":109796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:07] local.INFO: Packet analysis {"connection_id":109796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:07:07] local.INFO: Extracted packet for processing {"connection_id":109796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 21:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":109796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:07:07] local.INFO: GPS data processed {"connection_id":109796,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:07:07] local.INFO: Acknowledgment sent {"connection_id":109796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:07:34] local.INFO: TCP Data received {"connection_id":109025,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:07:34] local.INFO: Processing buffer {"connection_id":109025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:07:34] local.INFO: IMEI packet received {"connection_id":109025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":109025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:07:39] local.INFO: TCP Data received {"connection_id":109025,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:07:39] local.INFO: Processing buffer {"connection_id":109025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:07:39] local.INFO: IMEI packet received {"connection_id":109025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":109025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:07:40] local.INFO: TCP Data received {"connection_id":109025,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:40] local.INFO: Processing buffer {"connection_id":109025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:40] local.INFO: Packet analysis {"connection_id":109025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:07:40] local.INFO: Extracted packet for processing {"connection_id":109025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 21:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:07:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":109025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:07:40] local.INFO: GPS data processed {"connection_id":109025,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:07:40] local.INFO: Acknowledgment sent {"connection_id":109025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:07:45] local.INFO: TCP Data received {"connection_id":109025,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:45] local.INFO: Processing buffer {"connection_id":109025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:07:45] local.INFO: Packet analysis {"connection_id":109025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:07:45] local.INFO: Extracted packet for processing {"connection_id":109025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 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-06-21 21:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:07:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":109025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:07:45] local.INFO: GPS data processed {"connection_id":109025,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:07:45] local.INFO: Acknowledgment sent {"connection_id":109025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:08:28] local.INFO: TCP Data received {"connection_id":109798,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:08:28] local.INFO: Processing buffer {"connection_id":109798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:08:28] local.INFO: IMEI packet received {"connection_id":109798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":109798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:08:34] local.INFO: TCP Data received {"connection_id":109798,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:08:34] local.INFO: Processing buffer {"connection_id":109798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:08:34] local.INFO: IMEI packet received {"connection_id":109798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":109798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:08:35] local.INFO: TCP Data received {"connection_id":109798,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:08:35] local.INFO: Processing buffer {"connection_id":109798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:08:35] local.INFO: Packet analysis {"connection_id":109798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:08:35] local.INFO: Extracted packet for processing {"connection_id":109798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 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-06-21 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:08:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":109798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:08:35] local.INFO: GPS data processed {"connection_id":109798,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:08:35] local.INFO: Acknowledgment sent {"connection_id":109798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:09:06] local.INFO: TCP Data received {"connection_id":109798,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:06] local.INFO: Processing buffer {"connection_id":109798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:06] local.INFO: Packet analysis {"connection_id":109798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:09:06] local.INFO: Extracted packet for processing {"connection_id":109798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 21:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:09:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":109798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:09:06] local.INFO: GPS data processed {"connection_id":109798,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:09:06] local.INFO: Acknowledgment sent {"connection_id":109798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:09:34] local.INFO: TCP Data received {"connection_id":109026,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:09:34] local.INFO: Processing buffer {"connection_id":109026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:09:34] local.INFO: IMEI packet received {"connection_id":109026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":109026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:09:39] local.INFO: TCP Data received {"connection_id":109026,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:09:39] local.INFO: Processing buffer {"connection_id":109026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:09:39] local.INFO: IMEI packet received {"connection_id":109026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":109026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:09:40] local.INFO: TCP Data received {"connection_id":109026,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:40] local.INFO: Processing buffer {"connection_id":109026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:40] local.INFO: Packet analysis {"connection_id":109026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:09:40] local.INFO: Extracted packet for processing {"connection_id":109026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 21:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":109026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:09:40] local.INFO: GPS data processed {"connection_id":109026,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:09:40] local.INFO: Acknowledgment sent {"connection_id":109026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:09:45] local.INFO: TCP Data received {"connection_id":109026,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:45] local.INFO: Processing buffer {"connection_id":109026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:09:45] local.INFO: Packet analysis {"connection_id":109026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:09:45] local.INFO: Extracted packet for processing {"connection_id":109026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 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-06-21 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:09:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":109026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:09:45] local.INFO: GPS data processed {"connection_id":109026,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:09:45] local.INFO: Acknowledgment sent {"connection_id":109026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:10:29] local.INFO: TCP Data received {"connection_id":110750,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:10:29] local.INFO: Processing buffer {"connection_id":110750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:10:29] local.INFO: IMEI packet received {"connection_id":110750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":110750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:10:34] local.INFO: TCP Data received {"connection_id":110750,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:10:34] local.INFO: Processing buffer {"connection_id":110750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:10:34] local.INFO: IMEI packet received {"connection_id":110750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":110750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:10:35] local.INFO: TCP Data received {"connection_id":110750,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:10:35] local.INFO: Processing buffer {"connection_id":110750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:10:35] local.INFO: Packet analysis {"connection_id":110750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:10:35] local.INFO: Extracted packet for processing {"connection_id":110750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 21:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":110750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:10:35] local.INFO: GPS data processed {"connection_id":110750,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:10:35] local.INFO: Acknowledgment sent {"connection_id":110750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:11:06] local.INFO: TCP Data received {"connection_id":110750,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:11:06] local.INFO: Processing buffer {"connection_id":110750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead29da0012d34c54006aa3f80000e007223..."} 
[2026-06-21 21:11:06] local.INFO: Packet analysis {"connection_id":110750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:11:06] local.INFO: Extracted packet for processing {"connection_id":110750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead2"} 
[2026-06-21 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206292736001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782056132000,"timestamp_ms":1782056132000,"timestamp_seconds":1782056132,"priority":1,"record_length":96,"hex_timestamp":"0000019eead29da0"} 
[2026-06-21 21:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-21 21:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206292736001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206292736001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206292736001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":110750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:11:06] local.INFO: GPS data processed {"connection_id":110750,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:11:06] local.INFO: Acknowledgment sent {"connection_id":110750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:11:28] local.INFO: TCP Data received {"connection_id":109199,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:11:28] local.INFO: Processing buffer {"connection_id":109199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:11:28] local.INFO: IMEI packet received {"connection_id":109199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":109199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:11:33] local.INFO: TCP Data received {"connection_id":109199,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:11:33] local.INFO: Processing buffer {"connection_id":109199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:11:33] local.INFO: IMEI packet received {"connection_id":109199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":109199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:11:34] local.INFO: TCP Data received {"connection_id":109199,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:11:34] local.INFO: Processing buffer {"connection_id":109199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:11:34] local.INFO: Packet analysis {"connection_id":109199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:11:34] local.INFO: Extracted packet for processing {"connection_id":109199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:11:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:11:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":109199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:11:34] local.INFO: GPS data processed {"connection_id":109199,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:11:34] local.INFO: Acknowledgment sent {"connection_id":109199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:12:06] local.INFO: TCP Data received {"connection_id":109199,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:12:06] local.INFO: Processing buffer {"connection_id":109199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:12:06] local.INFO: Packet analysis {"connection_id":109199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:12:06] local.INFO: Extracted packet for processing {"connection_id":109199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":109199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:12:06] local.INFO: GPS data processed {"connection_id":109199,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:12:06] local.INFO: Acknowledgment sent {"connection_id":109199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:12:11] local.INFO: TCP Data received {"connection_id":109027,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:12:11] local.INFO: Processing buffer {"connection_id":109027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:12:11] local.INFO: IMEI packet received {"connection_id":109027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":109027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:12:29] local.INFO: TCP Data received {"connection_id":110751,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:12:29] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:12:29] local.INFO: IMEI packet received {"connection_id":110751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":110751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:12:34] local.INFO: TCP Data received {"connection_id":110751,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:12:34] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:12:34] local.INFO: IMEI packet received {"connection_id":110751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":110751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:12:35] local.INFO: TCP Data received {"connection_id":110751,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:12:35] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:12:35] local.INFO: Packet analysis {"connection_id":110751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:12:35] local.INFO: Extracted packet for processing {"connection_id":110751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:12:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:12:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":110751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:12:35] local.INFO: GPS data processed {"connection_id":110751,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:12:35] local.INFO: Acknowledgment sent {"connection_id":110751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:13:07] local.INFO: TCP Data received {"connection_id":110751,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:13:07] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:13:07] local.INFO: Packet analysis {"connection_id":110751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:13:07] local.INFO: Extracted packet for processing {"connection_id":110751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:13: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-06-21 21: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-06-21 21:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:13:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":110751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:13:07] local.INFO: GPS data processed {"connection_id":110751,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:13:07] local.INFO: Acknowledgment sent {"connection_id":110751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:13:33] local.INFO: TCP Data received {"connection_id":109201,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:13:33] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:13:33] local.INFO: IMEI packet received {"connection_id":109201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":109201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:13:39] local.INFO: TCP Data received {"connection_id":109201,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:13:39] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:13:39] local.INFO: IMEI packet received {"connection_id":109201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":109201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:13:40] local.INFO: TCP Data received {"connection_id":109201,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:13:40] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:13:40] local.INFO: Packet analysis {"connection_id":109201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:13:40] local.INFO: Extracted packet for processing {"connection_id":109201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:13:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":109201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:13:40] local.INFO: GPS data processed {"connection_id":109201,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:13:40] local.INFO: Acknowledgment sent {"connection_id":109201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:14:11] local.INFO: TCP Data received {"connection_id":109201,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:14:11] local.INFO: Processing buffer {"connection_id":109201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:14:11] local.INFO: Packet analysis {"connection_id":109201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:14:11] local.INFO: Extracted packet for processing {"connection_id":109201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":109201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":109201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:14:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":109201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:14:11] local.INFO: GPS data processed {"connection_id":109201,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:14:11] local.INFO: Acknowledgment sent {"connection_id":109201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:14:29] local.INFO: TCP Data received {"connection_id":109028,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:14:29] local.INFO: Processing buffer {"connection_id":109028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:14:29] local.INFO: IMEI packet received {"connection_id":109028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":109028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:14:34] local.INFO: TCP Data received {"connection_id":109028,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:14:34] local.INFO: Processing buffer {"connection_id":109028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:14:34] local.INFO: IMEI packet received {"connection_id":109028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":109028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:14:35] local.INFO: TCP Data received {"connection_id":109028,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:14:35] local.INFO: Processing buffer {"connection_id":109028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:14:35] local.INFO: Packet analysis {"connection_id":109028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:14:35] local.INFO: Extracted packet for processing {"connection_id":109028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":109028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:14:35] local.INFO: GPS data processed {"connection_id":109028,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:14:35] local.INFO: Acknowledgment sent {"connection_id":109028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:15:07] local.INFO: TCP Data received {"connection_id":109028,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:07] local.INFO: Processing buffer {"connection_id":109028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:07] local.INFO: Packet analysis {"connection_id":109028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:15:07] local.INFO: Extracted packet for processing {"connection_id":109028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:15: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-06-21 21: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-06-21 21:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":109028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:15:07] local.INFO: GPS data processed {"connection_id":109028,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:15:07] local.INFO: Acknowledgment sent {"connection_id":109028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:15:34] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:15:34] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:15:34] local.INFO: IMEI packet received {"connection_id":109029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":109029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:15:39] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:15:39] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:15:39] local.INFO: IMEI packet received {"connection_id":109029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":109029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:15:40] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:40] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:40] local.INFO: Packet analysis {"connection_id":109029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:15:40] local.INFO: Extracted packet for processing {"connection_id":109029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 21:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:15:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":109029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:15:40] local.INFO: GPS data processed {"connection_id":109029,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:15:40] local.INFO: Acknowledgment sent {"connection_id":109029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:15:45] local.INFO: TCP Data received {"connection_id":109029,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:45] local.INFO: Processing buffer {"connection_id":109029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eead73568012d34c54006aa3f80000b007224..."} 
[2026-06-21 21:15:45] local.INFO: Packet analysis {"connection_id":109029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:15:45] local.INFO: Extracted packet for processing {"connection_id":109029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eead7"} 
[2026-06-21 21:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206369792001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782056433000,"timestamp_ms":1782056433000,"timestamp_seconds":1782056433,"priority":1,"record_length":96,"hex_timestamp":"0000019eead73568"} 
[2026-06-21 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-06-21 21:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 21:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206369792001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206369792001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:15:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206369792001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":109029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:15:45] local.INFO: GPS data processed {"connection_id":109029,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:15:45] local.INFO: Acknowledgment sent {"connection_id":109029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:16:29] local.INFO: TCP Data received {"connection_id":109801,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:16:29] local.INFO: Processing buffer {"connection_id":109801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:16:29] local.INFO: IMEI packet received {"connection_id":109801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":109801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:16:34] local.INFO: TCP Data received {"connection_id":109801,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:16:34] local.INFO: Processing buffer {"connection_id":109801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:16:34] local.INFO: IMEI packet received {"connection_id":109801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":109801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:16:35] local.INFO: TCP Data received {"connection_id":109801,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:16:35] local.INFO: Processing buffer {"connection_id":109801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:16:35] local.INFO: Packet analysis {"connection_id":109801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:16:35] local.INFO: Extracted packet for processing {"connection_id":109801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:16:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":109801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:16:35] local.INFO: GPS data processed {"connection_id":109801,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:16:35] local.INFO: Acknowledgment sent {"connection_id":109801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:17:06] local.INFO: TCP Data received {"connection_id":109801,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:17:06] local.INFO: Processing buffer {"connection_id":109801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:17:06] local.INFO: Packet analysis {"connection_id":109801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:17:06] local.INFO: Extracted packet for processing {"connection_id":109801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":109801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:17:06] local.INFO: GPS data processed {"connection_id":109801,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:17:06] local.INFO: Acknowledgment sent {"connection_id":109801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:17:28] local.INFO: TCP Data received {"connection_id":109203,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:17:28] local.INFO: Processing buffer {"connection_id":109203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:17:28] local.INFO: IMEI packet received {"connection_id":109203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":109203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:17:34] local.INFO: TCP Data received {"connection_id":109203,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:17:34] local.INFO: Processing buffer {"connection_id":109203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:17:34] local.INFO: IMEI packet received {"connection_id":109203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":109203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:17:35] local.INFO: TCP Data received {"connection_id":109203,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:17:35] local.INFO: Processing buffer {"connection_id":109203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:17:35] local.INFO: Packet analysis {"connection_id":109203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:17:35] local.INFO: Extracted packet for processing {"connection_id":109203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:17:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":109203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:17:35] local.INFO: GPS data processed {"connection_id":109203,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:17:35] local.INFO: Acknowledgment sent {"connection_id":109203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:17:42] local.INFO: TCP Data received {"connection_id":109802,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:17:42] local.INFO: Processing buffer {"connection_id":109802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:17:42] local.INFO: IMEI packet received {"connection_id":109802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":109802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:18:06] local.INFO: TCP Data received {"connection_id":109203,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:18:06] local.INFO: Processing buffer {"connection_id":109203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:18:06] local.INFO: Packet analysis {"connection_id":109203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:18:06] local.INFO: Extracted packet for processing {"connection_id":109203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:18:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":109203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:18:06] local.INFO: GPS data processed {"connection_id":109203,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:18:06] local.INFO: Acknowledgment sent {"connection_id":109203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:18:17] local.INFO: TCP Data received {"connection_id":109030,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:18:17] local.INFO: Processing buffer {"connection_id":109030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:18:17] local.INFO: IMEI packet received {"connection_id":109030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":109030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:18:28] local.INFO: TCP Data received {"connection_id":109803,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:18:28] local.INFO: Processing buffer {"connection_id":109803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:18:28] local.INFO: IMEI packet received {"connection_id":109803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":109803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:18:34] local.INFO: TCP Data received {"connection_id":109803,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:18:34] local.INFO: Processing buffer {"connection_id":109803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:18:34] local.INFO: IMEI packet received {"connection_id":109803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":109803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:18:35] local.INFO: TCP Data received {"connection_id":109803,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:18:35] local.INFO: Processing buffer {"connection_id":109803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:18:35] local.INFO: Packet analysis {"connection_id":109803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:18:35] local.INFO: Extracted packet for processing {"connection_id":109803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":109803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:18:35] local.INFO: GPS data processed {"connection_id":109803,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:18:35] local.INFO: Acknowledgment sent {"connection_id":109803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:19:06] local.INFO: TCP Data received {"connection_id":109803,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:06] local.INFO: Processing buffer {"connection_id":109803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:06] local.INFO: Packet analysis {"connection_id":109803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:19:06] local.INFO: Extracted packet for processing {"connection_id":109803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":109803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:19:06] local.INFO: GPS data processed {"connection_id":109803,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:19:06] local.INFO: Acknowledgment sent {"connection_id":109803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:19:34] local.INFO: TCP Data received {"connection_id":109204,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:19:34] local.INFO: Processing buffer {"connection_id":109204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:19:34] local.INFO: IMEI packet received {"connection_id":109204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":109204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:19:39] local.INFO: TCP Data received {"connection_id":109204,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:19:39] local.INFO: Processing buffer {"connection_id":109204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:19:39] local.INFO: IMEI packet received {"connection_id":109204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":109204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:19:40] local.INFO: TCP Data received {"connection_id":109204,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:40] local.INFO: Processing buffer {"connection_id":109204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:40] local.INFO: Packet analysis {"connection_id":109204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:19:40] local.INFO: Extracted packet for processing {"connection_id":109204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":109204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:19:40] local.INFO: GPS data processed {"connection_id":109204,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:19:40] local.INFO: Acknowledgment sent {"connection_id":109204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:19:45] local.INFO: TCP Data received {"connection_id":109204,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:45] local.INFO: Processing buffer {"connection_id":109204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:19:45] local.INFO: Packet analysis {"connection_id":109204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:19:45] local.INFO: Extracted packet for processing {"connection_id":109204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 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-06-21 21:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":109204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:19:45] local.INFO: GPS data processed {"connection_id":109204,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:19:45] local.INFO: Acknowledgment sent {"connection_id":109204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:20:29] local.INFO: TCP Data received {"connection_id":110754,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:20:29] local.INFO: Processing buffer {"connection_id":110754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:20:29] local.INFO: IMEI packet received {"connection_id":110754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":110754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:20:34] local.INFO: TCP Data received {"connection_id":110754,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:20:34] local.INFO: Processing buffer {"connection_id":110754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:20:34] local.INFO: IMEI packet received {"connection_id":110754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":110754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:20:35] local.INFO: TCP Data received {"connection_id":110754,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:20:35] local.INFO: Processing buffer {"connection_id":110754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:20:35] local.INFO: Packet analysis {"connection_id":110754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:20:35] local.INFO: Extracted packet for processing {"connection_id":110754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 21:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":110754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:20:35] local.INFO: GPS data processed {"connection_id":110754,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:20:35] local.INFO: Acknowledgment sent {"connection_id":110754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:21:07] local.INFO: TCP Data received {"connection_id":110754,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:21:07] local.INFO: Processing buffer {"connection_id":110754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeadbcd30012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:21:07] local.INFO: Packet analysis {"connection_id":110754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:21:07] local.INFO: Extracted packet for processing {"connection_id":110754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeadb"} 
[2026-06-21 21:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206446848001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782056734000,"timestamp_ms":1782056734000,"timestamp_seconds":1782056734,"priority":1,"record_length":96,"hex_timestamp":"0000019eeadbcd30"} 
[2026-06-21 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-06-21 21:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206446848001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206446848001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206446848001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":110754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:21:07] local.INFO: GPS data processed {"connection_id":110754,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:21:07] local.INFO: Acknowledgment sent {"connection_id":110754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:21:29] local.INFO: TCP Data received {"connection_id":109206,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:21:29] local.INFO: Processing buffer {"connection_id":109206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:21:29] local.INFO: IMEI packet received {"connection_id":109206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":109206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:21:34] local.INFO: TCP Data received {"connection_id":109206,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:21:34] local.INFO: Processing buffer {"connection_id":109206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:21:34] local.INFO: IMEI packet received {"connection_id":109206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":109206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:21:35] local.INFO: TCP Data received {"connection_id":109206,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:21:35] local.INFO: Processing buffer {"connection_id":109206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:21:35] local.INFO: Packet analysis {"connection_id":109206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:21:35] local.INFO: Extracted packet for processing {"connection_id":109206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":109206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:21:35] local.INFO: GPS data processed {"connection_id":109206,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:21:35] local.INFO: Acknowledgment sent {"connection_id":109206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:22:07] local.INFO: TCP Data received {"connection_id":109206,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:22:07] local.INFO: Processing buffer {"connection_id":109206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:22:07] local.INFO: Packet analysis {"connection_id":109206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:22:07] local.INFO: Extracted packet for processing {"connection_id":109206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":109206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:22:07] local.INFO: GPS data processed {"connection_id":109206,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:22:07] local.INFO: Acknowledgment sent {"connection_id":109206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:22:29] local.INFO: TCP Data received {"connection_id":109032,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:22:29] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:22:29] local.INFO: IMEI packet received {"connection_id":109032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":109032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:22:34] local.INFO: TCP Data received {"connection_id":109032,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:22:34] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:22:34] local.INFO: IMEI packet received {"connection_id":109032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":109032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:22:36] local.INFO: TCP Data received {"connection_id":109032,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:22:36] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:22:36] local.INFO: Packet analysis {"connection_id":109032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:22:36] local.INFO: Extracted packet for processing {"connection_id":109032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":109032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:22:36] local.INFO: GPS data processed {"connection_id":109032,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:22:36] local.INFO: Acknowledgment sent {"connection_id":109032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:23:07] local.INFO: TCP Data received {"connection_id":109032,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:07] local.INFO: Processing buffer {"connection_id":109032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:07] local.INFO: Packet analysis {"connection_id":109032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:23:07] local.INFO: Extracted packet for processing {"connection_id":109032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":109032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:23:07] local.INFO: GPS data processed {"connection_id":109032,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:23:07] local.INFO: Acknowledgment sent {"connection_id":109032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:23:34] local.INFO: TCP Data received {"connection_id":109207,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:23:34] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:23:34] local.INFO: IMEI packet received {"connection_id":109207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":109207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:23:39] local.INFO: TCP Data received {"connection_id":109207,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:23:39] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:23:39] local.INFO: IMEI packet received {"connection_id":109207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":109207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:23:40] local.INFO: TCP Data received {"connection_id":109207,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:40] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:40] local.INFO: Packet analysis {"connection_id":109207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:23:40] local.INFO: Extracted packet for processing {"connection_id":109207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":109207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:23:40] local.INFO: GPS data processed {"connection_id":109207,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:23:40] local.INFO: Acknowledgment sent {"connection_id":109207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:23:45] local.INFO: TCP Data received {"connection_id":109207,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:45] local.INFO: Processing buffer {"connection_id":109207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:23:45] local.INFO: Packet analysis {"connection_id":109207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:23:45] local.INFO: Extracted packet for processing {"connection_id":109207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:23:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":109207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:23:45] local.INFO: GPS data processed {"connection_id":109207,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:23:45] local.INFO: Acknowledgment sent {"connection_id":109207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:23:46] local.INFO: TCP Data received {"connection_id":110755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:23:46] local.INFO: Processing buffer {"connection_id":110755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:23:46] local.INFO: IMEI packet received {"connection_id":110755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":110755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:24:12] local.INFO: TCP Data received {"connection_id":109806,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:24:12] local.INFO: Processing buffer {"connection_id":109806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:24:12] local.INFO: IMEI packet received {"connection_id":109806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":109806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:24:29] local.INFO: TCP Data received {"connection_id":109807,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:24:29] local.INFO: Processing buffer {"connection_id":109807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:24:29] local.INFO: IMEI packet received {"connection_id":109807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":109807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:24:34] local.INFO: TCP Data received {"connection_id":109807,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:24:34] local.INFO: Processing buffer {"connection_id":109807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:24:34] local.INFO: IMEI packet received {"connection_id":109807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":109807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:24:35] local.INFO: TCP Data received {"connection_id":109807,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:24:35] local.INFO: Processing buffer {"connection_id":109807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:24:35] local.INFO: Packet analysis {"connection_id":109807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:24:35] local.INFO: Extracted packet for processing {"connection_id":109807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":109807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:24:35] local.INFO: GPS data processed {"connection_id":109807,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:24:35] local.INFO: Acknowledgment sent {"connection_id":109807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:25:06] local.INFO: TCP Data received {"connection_id":109807,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:25:06] local.INFO: Processing buffer {"connection_id":109807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:25:06] local.INFO: Packet analysis {"connection_id":109807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:25:06] local.INFO: Extracted packet for processing {"connection_id":109807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":109807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:25:06] local.INFO: GPS data processed {"connection_id":109807,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:25:06] local.INFO: Acknowledgment sent {"connection_id":109807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:25:28] local.INFO: TCP Data received {"connection_id":109208,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:25:28] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:25:28] local.INFO: IMEI packet received {"connection_id":109208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":109208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:25:34] local.INFO: TCP Data received {"connection_id":109208,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:25:34] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:25:34] local.INFO: IMEI packet received {"connection_id":109208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":109208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:25:35] local.INFO: TCP Data received {"connection_id":109208,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:25:35] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:25:35] local.INFO: Packet analysis {"connection_id":109208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:25:35] local.INFO: Extracted packet for processing {"connection_id":109208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":109208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:25:35] local.INFO: GPS data processed {"connection_id":109208,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:25:35] local.INFO: Acknowledgment sent {"connection_id":109208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:26:07] local.INFO: TCP Data received {"connection_id":109208,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:26:07] local.INFO: Processing buffer {"connection_id":109208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae064f8012d34c54006aa3f800005007222..."} 
[2026-06-21 21:26:07] local.INFO: Packet analysis {"connection_id":109208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:26:07] local.INFO: Extracted packet for processing {"connection_id":109208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae0"} 
[2026-06-21 21:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":5,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206523904001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782057035000,"timestamp_ms":1782057035000,"timestamp_seconds":1782057035,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae064f8"} 
[2026-06-21 21:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206523904001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206523904001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206523904001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":109208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:26:07] local.INFO: GPS data processed {"connection_id":109208,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:26:07] local.INFO: Acknowledgment sent {"connection_id":109208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:26:34] local.INFO: TCP Data received {"connection_id":109209,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:26:34] local.INFO: Processing buffer {"connection_id":109209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:26:34] local.INFO: IMEI packet received {"connection_id":109209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":109209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:26:39] local.INFO: TCP Data received {"connection_id":109209,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:26:39] local.INFO: Processing buffer {"connection_id":109209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:26:39] local.INFO: IMEI packet received {"connection_id":109209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":109209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:26:40] local.INFO: TCP Data received {"connection_id":109209,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:26:40] local.INFO: Processing buffer {"connection_id":109209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:26:40] local.INFO: Packet analysis {"connection_id":109209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:26:40] local.INFO: Extracted packet for processing {"connection_id":109209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":109209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:26:40] local.INFO: GPS data processed {"connection_id":109209,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:26:40] local.INFO: Acknowledgment sent {"connection_id":109209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:26:45] local.INFO: TCP Data received {"connection_id":109209,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:26:45] local.INFO: Processing buffer {"connection_id":109209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:26:45] local.INFO: Packet analysis {"connection_id":109209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:26:45] local.INFO: Extracted packet for processing {"connection_id":109209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:26:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":109209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:26:45] local.INFO: GPS data processed {"connection_id":109209,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:26:45] local.INFO: Acknowledgment sent {"connection_id":109209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:27:29] local.INFO: TCP Data received {"connection_id":109033,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:27:29] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:27:29] local.INFO: IMEI packet received {"connection_id":109033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":109033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:27:34] local.INFO: TCP Data received {"connection_id":109033,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:27:34] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:27:34] local.INFO: IMEI packet received {"connection_id":109033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":109033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:27:35] local.INFO: TCP Data received {"connection_id":109033,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:27:35] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:27:35] local.INFO: Packet analysis {"connection_id":109033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:27:35] local.INFO: Extracted packet for processing {"connection_id":109033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":109033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:27:35] local.INFO: GPS data processed {"connection_id":109033,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:27:35] local.INFO: Acknowledgment sent {"connection_id":109033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:28:06] local.INFO: TCP Data received {"connection_id":109033,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:28:06] local.INFO: Processing buffer {"connection_id":109033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:28:06] local.INFO: Packet analysis {"connection_id":109033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:28:06] local.INFO: Extracted packet for processing {"connection_id":109033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":109033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:28:06] local.INFO: GPS data processed {"connection_id":109033,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:28:06] local.INFO: Acknowledgment sent {"connection_id":109033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:28:28] local.INFO: TCP Data received {"connection_id":109809,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:28:28] local.INFO: Processing buffer {"connection_id":109809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:28:28] local.INFO: IMEI packet received {"connection_id":109809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":109809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:28:34] local.INFO: TCP Data received {"connection_id":109809,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:28:34] local.INFO: Processing buffer {"connection_id":109809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:28:34] local.INFO: IMEI packet received {"connection_id":109809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":109809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:28:36] local.INFO: TCP Data received {"connection_id":109809,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:28:36] local.INFO: Processing buffer {"connection_id":109809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:28:36] local.INFO: Packet analysis {"connection_id":109809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:28:36] local.INFO: Extracted packet for processing {"connection_id":109809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:28:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":109809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:28:36] local.INFO: GPS data processed {"connection_id":109809,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:28:36] local.INFO: Acknowledgment sent {"connection_id":109809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:29:07] local.INFO: TCP Data received {"connection_id":109809,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:29:07] local.INFO: Processing buffer {"connection_id":109809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:29:07] local.INFO: Packet analysis {"connection_id":109809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:29:07] local.INFO: Extracted packet for processing {"connection_id":109809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:29:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":109809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:29:07] local.INFO: GPS data processed {"connection_id":109809,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:29:07] local.INFO: Acknowledgment sent {"connection_id":109809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:29:29] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:29:29] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:29:29] local.INFO: IMEI packet received {"connection_id":110759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":110759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:29:34] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:29:34] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:29:34] local.INFO: IMEI packet received {"connection_id":110759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":110759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:29:35] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:29:35] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:29:35] local.INFO: Packet analysis {"connection_id":110759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:29:35] local.INFO: Extracted packet for processing {"connection_id":110759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:29:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:29:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":110759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:29:35] local.INFO: GPS data processed {"connection_id":110759,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:29:35] local.INFO: Acknowledgment sent {"connection_id":110759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:29:42] local.INFO: TCP Data received {"connection_id":110758,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:29:42] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:29:42] local.INFO: IMEI packet received {"connection_id":110758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":110758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:30:07] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:30:07] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:30:07] local.INFO: Packet analysis {"connection_id":110759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:30:07] local.INFO: Extracted packet for processing {"connection_id":110759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:30:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":110759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:30:07] local.INFO: GPS data processed {"connection_id":110759,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:30:07] local.INFO: Acknowledgment sent {"connection_id":110759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:30:11] local.INFO: TCP Data received {"connection_id":110760,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:30:11] local.INFO: Processing buffer {"connection_id":110760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:30:11] local.INFO: IMEI packet received {"connection_id":110760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":110760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:30:28] local.INFO: TCP Data received {"connection_id":109211,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:30:28] local.INFO: Processing buffer {"connection_id":109211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:30:28] local.INFO: IMEI packet received {"connection_id":109211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":109211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:30:34] local.INFO: TCP Data received {"connection_id":109211,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:30:34] local.INFO: Processing buffer {"connection_id":109211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:30:34] local.INFO: IMEI packet received {"connection_id":109211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":109211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:30:35] local.INFO: TCP Data received {"connection_id":109211,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:30:35] local.INFO: Processing buffer {"connection_id":109211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:30:35] local.INFO: Packet analysis {"connection_id":109211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:30:35] local.INFO: Extracted packet for processing {"connection_id":109211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 21:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":109211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:30:35] local.INFO: GPS data processed {"connection_id":109211,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:30:35] local.INFO: Acknowledgment sent {"connection_id":109211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:31:06] local.INFO: TCP Data received {"connection_id":109211,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:31:06] local.INFO: Processing buffer {"connection_id":109211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae4fcc0012d34c54006aa3f80000c007224..."} 
[2026-06-21 21:31:06] local.INFO: Packet analysis {"connection_id":109211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:31:06] local.INFO: Extracted packet for processing {"connection_id":109211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae4"} 
[2026-06-21 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206600960001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782057336000,"timestamp_ms":1782057336000,"timestamp_seconds":1782057336,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae4fcc0"} 
[2026-06-21 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-06-21 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206600960001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206600960001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:31:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206600960001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":109211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:31:06] local.INFO: GPS data processed {"connection_id":109211,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:31:06] local.INFO: Acknowledgment sent {"connection_id":109211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:31:34] local.INFO: TCP Data received {"connection_id":110761,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:31:34] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:31:34] local.INFO: IMEI packet received {"connection_id":110761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":110761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:31:39] local.INFO: TCP Data received {"connection_id":110761,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:31:39] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:31:39] local.INFO: IMEI packet received {"connection_id":110761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":110761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:31:40] local.INFO: TCP Data received {"connection_id":110761,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:31:40] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:31:40] local.INFO: Packet analysis {"connection_id":110761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:31:40] local.INFO: Extracted packet for processing {"connection_id":110761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":110761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:31:40] local.INFO: GPS data processed {"connection_id":110761,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:31:40] local.INFO: Acknowledgment sent {"connection_id":110761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:31:44] local.INFO: TCP Data received {"connection_id":110761,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:31:44] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:31:44] local.INFO: Packet analysis {"connection_id":110761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:31:44] local.INFO: Extracted packet for processing {"connection_id":110761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 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-06-21 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:31:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:31:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":110761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:31:44] local.INFO: GPS data processed {"connection_id":110761,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:31:44] local.INFO: Acknowledgment sent {"connection_id":110761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:32:30] local.INFO: TCP Data received {"connection_id":109214,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:32:30] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:32:30] local.INFO: IMEI packet received {"connection_id":109214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":109214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:32:34] local.INFO: TCP Data received {"connection_id":109214,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:32:34] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:32:34] local.INFO: IMEI packet received {"connection_id":109214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":109214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:32:35] local.INFO: TCP Data received {"connection_id":109214,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:32:35] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:32:35] local.INFO: Packet analysis {"connection_id":109214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:32:35] local.INFO: Extracted packet for processing {"connection_id":109214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":109214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:32:35] local.INFO: GPS data processed {"connection_id":109214,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:32:35] local.INFO: Acknowledgment sent {"connection_id":109214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:33:06] local.INFO: TCP Data received {"connection_id":109214,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:33:06] local.INFO: Processing buffer {"connection_id":109214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:33:06] local.INFO: Packet analysis {"connection_id":109214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:33:06] local.INFO: Extracted packet for processing {"connection_id":109214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":109214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:33:06] local.INFO: GPS data processed {"connection_id":109214,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:33:06] local.INFO: Acknowledgment sent {"connection_id":109214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:33:28] local.INFO: TCP Data received {"connection_id":109810,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:33:28] local.INFO: Processing buffer {"connection_id":109810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:33:28] local.INFO: IMEI packet received {"connection_id":109810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":109810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:33:34] local.INFO: TCP Data received {"connection_id":109810,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:33:34] local.INFO: Processing buffer {"connection_id":109810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:33:34] local.INFO: IMEI packet received {"connection_id":109810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":109810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:33:40] local.INFO: TCP Data received {"connection_id":109810,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:33:40] local.INFO: Processing buffer {"connection_id":109810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:33:40] local.INFO: Packet analysis {"connection_id":109810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:33:40] local.INFO: Extracted packet for processing {"connection_id":109810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:33:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":109810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:33:40] local.INFO: GPS data processed {"connection_id":109810,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:33:40] local.INFO: Acknowledgment sent {"connection_id":109810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:34:11] local.INFO: TCP Data received {"connection_id":109810,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:34:11] local.INFO: Processing buffer {"connection_id":109810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:34:11] local.INFO: Packet analysis {"connection_id":109810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:34:11] local.INFO: Extracted packet for processing {"connection_id":109810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":109810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":109810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":109810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:34:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":109810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:34:11] local.INFO: GPS data processed {"connection_id":109810,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:34:11] local.INFO: Acknowledgment sent {"connection_id":109810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:34:28] local.INFO: TCP Data received {"connection_id":109034,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:34:28] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:34:28] local.INFO: IMEI packet received {"connection_id":109034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":109034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:34:34] local.INFO: TCP Data received {"connection_id":109034,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:34:34] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:34:34] local.INFO: IMEI packet received {"connection_id":109034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":109034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:34:35] local.INFO: TCP Data received {"connection_id":109034,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:34:35] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:34:35] local.INFO: Packet analysis {"connection_id":109034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:34:35] local.INFO: Extracted packet for processing {"connection_id":109034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:34:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":109034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:34:35] local.INFO: GPS data processed {"connection_id":109034,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:34:35] local.INFO: Acknowledgment sent {"connection_id":109034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:35:06] local.INFO: TCP Data received {"connection_id":109034,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:06] local.INFO: Processing buffer {"connection_id":109034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:06] local.INFO: Packet analysis {"connection_id":109034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:35:06] local.INFO: Extracted packet for processing {"connection_id":109034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":109034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:35:06] local.INFO: GPS data processed {"connection_id":109034,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:35:06] local.INFO: Acknowledgment sent {"connection_id":109034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:35:34] local.INFO: TCP Data received {"connection_id":109215,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:35:34] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:35:34] local.INFO: IMEI packet received {"connection_id":109215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":109215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:35:36] local.INFO: TCP Data received {"connection_id":109812,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:35:36] local.INFO: Processing buffer {"connection_id":109812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:35:36] local.INFO: IMEI packet received {"connection_id":109812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":109812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:35:39] local.INFO: TCP Data received {"connection_id":109215,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:35:39] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:35:39] local.INFO: IMEI packet received {"connection_id":109215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":109215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:35:40] local.INFO: TCP Data received {"connection_id":109215,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:40] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:40] local.INFO: Packet analysis {"connection_id":109215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:35:40] local.INFO: Extracted packet for processing {"connection_id":109215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 21:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:35:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":109215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:35:40] local.INFO: GPS data processed {"connection_id":109215,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:35:40] local.INFO: Acknowledgment sent {"connection_id":109215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:35:45] local.INFO: TCP Data received {"connection_id":109215,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:45] local.INFO: Processing buffer {"connection_id":109215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeae99488012d34c54006aa3f80000d00721e..."} 
[2026-06-21 21:35:45] local.INFO: Packet analysis {"connection_id":109215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:35:45] local.INFO: Extracted packet for processing {"connection_id":109215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeae9"} 
[2026-06-21 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206678016001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782057637000,"timestamp_ms":1782057637000,"timestamp_seconds":1782057637,"priority":1,"record_length":96,"hex_timestamp":"0000019eeae99488"} 
[2026-06-21 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-06-21 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 21:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206678016001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206678016001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:35:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:35:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206678016001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":109215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:35:45] local.INFO: GPS data processed {"connection_id":109215,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:35:45] local.INFO: Acknowledgment sent {"connection_id":109215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:36:11] local.INFO: TCP Data received {"connection_id":109813,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:36:11] local.INFO: Processing buffer {"connection_id":109813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:36:11] local.INFO: IMEI packet received {"connection_id":109813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":109813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:36:29] local.INFO: TCP Data received {"connection_id":109814,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:36:29] local.INFO: Processing buffer {"connection_id":109814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:36:29] local.INFO: IMEI packet received {"connection_id":109814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":109814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:36:34] local.INFO: TCP Data received {"connection_id":109814,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:36:34] local.INFO: Processing buffer {"connection_id":109814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:36:34] local.INFO: IMEI packet received {"connection_id":109814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":109814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:36:35] local.INFO: TCP Data received {"connection_id":109814,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:36:35] local.INFO: Processing buffer {"connection_id":109814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:36:35] local.INFO: Packet analysis {"connection_id":109814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:36:35] local.INFO: Extracted packet for processing {"connection_id":109814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":109814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:36:35] local.INFO: GPS data processed {"connection_id":109814,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:36:35] local.INFO: Acknowledgment sent {"connection_id":109814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:37:07] local.INFO: TCP Data received {"connection_id":109814,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:37:07] local.INFO: Processing buffer {"connection_id":109814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:37:07] local.INFO: Packet analysis {"connection_id":109814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:37:07] local.INFO: Extracted packet for processing {"connection_id":109814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:37:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":109814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:37:07] local.INFO: GPS data processed {"connection_id":109814,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:37:07] local.INFO: Acknowledgment sent {"connection_id":109814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:37:28] local.INFO: TCP Data received {"connection_id":109815,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:37:28] local.INFO: Processing buffer {"connection_id":109815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:37:28] local.INFO: IMEI packet received {"connection_id":109815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":109815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:37:34] local.INFO: TCP Data received {"connection_id":109815,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:37:34] local.INFO: Processing buffer {"connection_id":109815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:37:34] local.INFO: IMEI packet received {"connection_id":109815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":109815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:37:35] local.INFO: TCP Data received {"connection_id":109815,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:37:35] local.INFO: Processing buffer {"connection_id":109815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:37:35] local.INFO: Packet analysis {"connection_id":109815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:37:35] local.INFO: Extracted packet for processing {"connection_id":109815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:37:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":109815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:37:35] local.INFO: GPS data processed {"connection_id":109815,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:37:35] local.INFO: Acknowledgment sent {"connection_id":109815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:38:06] local.INFO: TCP Data received {"connection_id":109815,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:38:06] local.INFO: Processing buffer {"connection_id":109815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:38:06] local.INFO: Packet analysis {"connection_id":109815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:38:06] local.INFO: Extracted packet for processing {"connection_id":109815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:38:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":109815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:38:06] local.INFO: GPS data processed {"connection_id":109815,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:38:06] local.INFO: Acknowledgment sent {"connection_id":109815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:38:28] local.INFO: TCP Data received {"connection_id":109816,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:38:28] local.INFO: Processing buffer {"connection_id":109816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:38:28] local.INFO: IMEI packet received {"connection_id":109816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":109816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:38:34] local.INFO: TCP Data received {"connection_id":109816,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:38:34] local.INFO: Processing buffer {"connection_id":109816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:38:34] local.INFO: IMEI packet received {"connection_id":109816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":109816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:38:35] local.INFO: TCP Data received {"connection_id":109816,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:38:35] local.INFO: Processing buffer {"connection_id":109816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:38:35] local.INFO: Packet analysis {"connection_id":109816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:38:35] local.INFO: Extracted packet for processing {"connection_id":109816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":109816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:38:35] local.INFO: GPS data processed {"connection_id":109816,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:38:35] local.INFO: Acknowledgment sent {"connection_id":109816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:39:06] local.INFO: TCP Data received {"connection_id":109816,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:06] local.INFO: Processing buffer {"connection_id":109816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:06] local.INFO: Packet analysis {"connection_id":109816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:39:06] local.INFO: Extracted packet for processing {"connection_id":109816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 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-06-21 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":109816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:39:06] local.INFO: GPS data processed {"connection_id":109816,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:39:06] local.INFO: Acknowledgment sent {"connection_id":109816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:39:34] local.INFO: TCP Data received {"connection_id":109218,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:39:34] local.INFO: Processing buffer {"connection_id":109218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:39:34] local.INFO: IMEI packet received {"connection_id":109218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":109218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:39:39] local.INFO: TCP Data received {"connection_id":109218,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:39:39] local.INFO: Processing buffer {"connection_id":109218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:39:39] local.INFO: IMEI packet received {"connection_id":109218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":109218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:39:40] local.INFO: TCP Data received {"connection_id":109218,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:40] local.INFO: Processing buffer {"connection_id":109218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:40] local.INFO: Packet analysis {"connection_id":109218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:39:40] local.INFO: Extracted packet for processing {"connection_id":109218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:39:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":109218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:39:40] local.INFO: GPS data processed {"connection_id":109218,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:39:40] local.INFO: Acknowledgment sent {"connection_id":109218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:39:45] local.INFO: TCP Data received {"connection_id":109218,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:45] local.INFO: Processing buffer {"connection_id":109218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:39:45] local.INFO: Packet analysis {"connection_id":109218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:39:45] local.INFO: Extracted packet for processing {"connection_id":109218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:39:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:39:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":109218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:39:45] local.INFO: GPS data processed {"connection_id":109218,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:39:45] local.INFO: Acknowledgment sent {"connection_id":109218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:40:29] local.INFO: TCP Data received {"connection_id":109036,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:40:29] local.INFO: Processing buffer {"connection_id":109036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:40:29] local.INFO: IMEI packet received {"connection_id":109036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":109036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:40:34] local.INFO: TCP Data received {"connection_id":109036,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:40:34] local.INFO: Processing buffer {"connection_id":109036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:40:34] local.INFO: IMEI packet received {"connection_id":109036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":109036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:40:35] local.INFO: TCP Data received {"connection_id":109036,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:40:35] local.INFO: Processing buffer {"connection_id":109036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:40:35] local.INFO: Packet analysis {"connection_id":109036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:40:35] local.INFO: Extracted packet for processing {"connection_id":109036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:40:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":109036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:40:35] local.INFO: GPS data processed {"connection_id":109036,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:40:35] local.INFO: Acknowledgment sent {"connection_id":109036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:41:07] local.INFO: TCP Data received {"connection_id":109036,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:41:07] local.INFO: Processing buffer {"connection_id":109036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaee2c50012d34c54006aa3f80000d007222..."} 
[2026-06-21 21:41:07] local.INFO: Packet analysis {"connection_id":109036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:41:07] local.INFO: Extracted packet for processing {"connection_id":109036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaee"} 
[2026-06-21 21:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206755072001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782057938000,"timestamp_ms":1782057938000,"timestamp_seconds":1782057938,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaee2c50"} 
[2026-06-21 21:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206755072001,"66":25288,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206755072001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:41:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206755072001,"power":25288,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":109036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:41:07] local.INFO: GPS data processed {"connection_id":109036,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:41:07] local.INFO: Acknowledgment sent {"connection_id":109036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:41:28] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:41:28] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:41:28] local.INFO: IMEI packet received {"connection_id":110765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":110765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:41:31] local.INFO: TCP Data received {"connection_id":110764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:41:31] local.INFO: Processing buffer {"connection_id":110764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:41:31] local.INFO: IMEI packet received {"connection_id":110764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":110764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:41:33] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:41:33] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:41:33] local.INFO: IMEI packet received {"connection_id":110765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":110765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:41:34] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:41:34] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:41:34] local.INFO: Packet analysis {"connection_id":110765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:41:34] local.INFO: Extracted packet for processing {"connection_id":110765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":110765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:41:34] local.INFO: GPS data processed {"connection_id":110765,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:41:34] local.INFO: Acknowledgment sent {"connection_id":110765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:42:06] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:06] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:06] local.INFO: Packet analysis {"connection_id":110765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:42:06] local.INFO: Extracted packet for processing {"connection_id":110765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":110765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:42:06] local.INFO: GPS data processed {"connection_id":110765,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:42:06] local.INFO: Acknowledgment sent {"connection_id":110765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:42:11] local.INFO: TCP Data received {"connection_id":110766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:42:11] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:42:11] local.INFO: IMEI packet received {"connection_id":110766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":110766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:42:34] local.INFO: TCP Data received {"connection_id":109037,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:42:34] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:42:34] local.INFO: IMEI packet received {"connection_id":109037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":109037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:42:39] local.INFO: TCP Data received {"connection_id":109037,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:42:39] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:42:39] local.INFO: IMEI packet received {"connection_id":109037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":109037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:42:40] local.INFO: TCP Data received {"connection_id":109037,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:40] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:40] local.INFO: Packet analysis {"connection_id":109037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:42:40] local.INFO: Extracted packet for processing {"connection_id":109037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:42:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":109037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:42:40] local.INFO: GPS data processed {"connection_id":109037,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:42:40] local.INFO: Acknowledgment sent {"connection_id":109037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:42:45] local.INFO: TCP Data received {"connection_id":109037,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:45] local.INFO: Processing buffer {"connection_id":109037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:42:45] local.INFO: Packet analysis {"connection_id":109037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:42:45] local.INFO: Extracted packet for processing {"connection_id":109037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 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-06-21 21:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:42:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:42:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":109037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:42:45] local.INFO: GPS data processed {"connection_id":109037,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:42:45] local.INFO: Acknowledgment sent {"connection_id":109037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:43:29] local.INFO: TCP Data received {"connection_id":110767,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:43:29] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:43:29] local.INFO: IMEI packet received {"connection_id":110767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":110767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:43:34] local.INFO: TCP Data received {"connection_id":110767,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:43:34] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:43:34] local.INFO: IMEI packet received {"connection_id":110767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":110767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:43:35] local.INFO: TCP Data received {"connection_id":110767,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:43:35] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:43:35] local.INFO: Packet analysis {"connection_id":110767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:43:35] local.INFO: Extracted packet for processing {"connection_id":110767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:43:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":110767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:43:35] local.INFO: GPS data processed {"connection_id":110767,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:43:35] local.INFO: Acknowledgment sent {"connection_id":110767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:44:06] local.INFO: TCP Data received {"connection_id":110767,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:44:06] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:44:06] local.INFO: Packet analysis {"connection_id":110767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:44:06] local.INFO: Extracted packet for processing {"connection_id":110767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:44:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":110767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:44:06] local.INFO: GPS data processed {"connection_id":110767,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:44:06] local.INFO: Acknowledgment sent {"connection_id":110767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:44:29] local.INFO: TCP Data received {"connection_id":109038,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:44:29] local.INFO: Processing buffer {"connection_id":109038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:44:29] local.INFO: IMEI packet received {"connection_id":109038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":109038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:44:34] local.INFO: TCP Data received {"connection_id":109038,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:44:34] local.INFO: Processing buffer {"connection_id":109038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:44:34] local.INFO: IMEI packet received {"connection_id":109038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":109038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:44:36] local.INFO: TCP Data received {"connection_id":109038,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:44:36] local.INFO: Processing buffer {"connection_id":109038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:44:36] local.INFO: Packet analysis {"connection_id":109038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:44:36] local.INFO: Extracted packet for processing {"connection_id":109038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:44:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":109038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:44:36] local.INFO: GPS data processed {"connection_id":109038,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:44:36] local.INFO: Acknowledgment sent {"connection_id":109038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:45:08] local.INFO: TCP Data received {"connection_id":109038,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:45:08] local.INFO: Processing buffer {"connection_id":109038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:45:08] local.INFO: Packet analysis {"connection_id":109038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:45:08] local.INFO: Extracted packet for processing {"connection_id":109038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:45:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":109038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:45:08] local.INFO: GPS data processed {"connection_id":109038,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:45:08] local.INFO: Acknowledgment sent {"connection_id":109038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:45:28] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:45:28] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:45:28] local.INFO: IMEI packet received {"connection_id":110768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":110768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:45:34] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:45:34] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:45:34] local.INFO: IMEI packet received {"connection_id":110768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":110768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:45:35] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:45:35] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:45:35] local.INFO: Packet analysis {"connection_id":110768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:45:35] local.INFO: Extracted packet for processing {"connection_id":110768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:45:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:45:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":110768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:45:35] local.INFO: GPS data processed {"connection_id":110768,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:45:35] local.INFO: Acknowledgment sent {"connection_id":110768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:46:07] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:46:07] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf2c418012d34c54006aa3f800018007223..."} 
[2026-06-21 21:46:07] local.INFO: Packet analysis {"connection_id":110768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:46:07] local.INFO: Extracted packet for processing {"connection_id":110768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf2"} 
[2026-06-21 21:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":24,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206832128001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782058239000,"timestamp_ms":1782058239000,"timestamp_seconds":1782058239,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf2c418"} 
[2026-06-21 21:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-21 21:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206832128001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206832128001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206832128001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":110768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:46:07] local.INFO: GPS data processed {"connection_id":110768,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:46:07] local.INFO: Acknowledgment sent {"connection_id":110768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:46:29] local.INFO: TCP Data received {"connection_id":109817,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:46:29] local.INFO: Processing buffer {"connection_id":109817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:46:29] local.INFO: IMEI packet received {"connection_id":109817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":109817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:46:34] local.INFO: TCP Data received {"connection_id":109817,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:46:34] local.INFO: Processing buffer {"connection_id":109817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:46:34] local.INFO: IMEI packet received {"connection_id":109817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":109817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:46:35] local.INFO: TCP Data received {"connection_id":109817,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:46:35] local.INFO: Processing buffer {"connection_id":109817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:46:35] local.INFO: Packet analysis {"connection_id":109817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:46:35] local.INFO: Extracted packet for processing {"connection_id":109817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:46:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":109817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:46:35] local.INFO: GPS data processed {"connection_id":109817,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:46:35] local.INFO: Acknowledgment sent {"connection_id":109817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:47:06] local.INFO: TCP Data received {"connection_id":109817,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:47:06] local.INFO: Processing buffer {"connection_id":109817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:47:06] local.INFO: Packet analysis {"connection_id":109817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:47:06] local.INFO: Extracted packet for processing {"connection_id":109817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":109817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:47:06] local.INFO: GPS data processed {"connection_id":109817,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:47:06] local.INFO: Acknowledgment sent {"connection_id":109817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:47:28] local.INFO: TCP Data received {"connection_id":109040,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:47:28] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:47:28] local.INFO: IMEI packet received {"connection_id":109040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":109040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:47:32] local.INFO: TCP Data received {"connection_id":109222,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:47:32] local.INFO: Processing buffer {"connection_id":109222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:47:32] local.INFO: IMEI packet received {"connection_id":109222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":109222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:47:34] local.INFO: TCP Data received {"connection_id":109040,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:47:34] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:47:34] local.INFO: IMEI packet received {"connection_id":109040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":109040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:47:35] local.INFO: TCP Data received {"connection_id":109040,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:47:35] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:47:35] local.INFO: Packet analysis {"connection_id":109040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:47:35] local.INFO: Extracted packet for processing {"connection_id":109040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":109040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:47:35] local.INFO: GPS data processed {"connection_id":109040,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:47:35] local.INFO: Acknowledgment sent {"connection_id":109040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:48:07] local.INFO: TCP Data received {"connection_id":109040,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:48:07] local.INFO: Processing buffer {"connection_id":109040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:48:07] local.INFO: Packet analysis {"connection_id":109040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:48:07] local.INFO: Extracted packet for processing {"connection_id":109040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:48:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":109040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:48:07] local.INFO: GPS data processed {"connection_id":109040,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:48:07] local.INFO: Acknowledgment sent {"connection_id":109040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:48:11] local.INFO: TCP Data received {"connection_id":109818,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:48:11] local.INFO: Processing buffer {"connection_id":109818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:48:11] local.INFO: IMEI packet received {"connection_id":109818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":109818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:48:29] local.INFO: TCP Data received {"connection_id":109819,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:48:29] local.INFO: Processing buffer {"connection_id":109819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:48:29] local.INFO: IMEI packet received {"connection_id":109819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":109819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:48:34] local.INFO: TCP Data received {"connection_id":109819,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:48:34] local.INFO: Processing buffer {"connection_id":109819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:48:34] local.INFO: IMEI packet received {"connection_id":109819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":109819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:48:35] local.INFO: TCP Data received {"connection_id":109819,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:48:35] local.INFO: Processing buffer {"connection_id":109819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:48:35] local.INFO: Packet analysis {"connection_id":109819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:48:35] local.INFO: Extracted packet for processing {"connection_id":109819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 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-06-21 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":109819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:48:35] local.INFO: GPS data processed {"connection_id":109819,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:48:35] local.INFO: Acknowledgment sent {"connection_id":109819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:49:07] local.INFO: TCP Data received {"connection_id":109819,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:49:07] local.INFO: Processing buffer {"connection_id":109819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:49:07] local.INFO: Packet analysis {"connection_id":109819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:49:07] local.INFO: Extracted packet for processing {"connection_id":109819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":109819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:49:07] local.INFO: GPS data processed {"connection_id":109819,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:49:07] local.INFO: Acknowledgment sent {"connection_id":109819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:49:28] local.INFO: TCP Data received {"connection_id":109041,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:49:28] local.INFO: Processing buffer {"connection_id":109041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:49:28] local.INFO: IMEI packet received {"connection_id":109041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":109041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:49:34] local.INFO: TCP Data received {"connection_id":109041,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:49:34] local.INFO: Processing buffer {"connection_id":109041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:49:34] local.INFO: IMEI packet received {"connection_id":109041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":109041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:49:35] local.INFO: TCP Data received {"connection_id":109041,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:49:35] local.INFO: Processing buffer {"connection_id":109041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:49:35] local.INFO: Packet analysis {"connection_id":109041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:49:35] local.INFO: Extracted packet for processing {"connection_id":109041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:49:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:49:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":109041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:49:35] local.INFO: GPS data processed {"connection_id":109041,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:49:35] local.INFO: Acknowledgment sent {"connection_id":109041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:50:07] local.INFO: TCP Data received {"connection_id":109041,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:50:07] local.INFO: Processing buffer {"connection_id":109041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:50:07] local.INFO: Packet analysis {"connection_id":109041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:50:07] local.INFO: Extracted packet for processing {"connection_id":109041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:50:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":109041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:50:07] local.INFO: GPS data processed {"connection_id":109041,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:50:07] local.INFO: Acknowledgment sent {"connection_id":109041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:50:28] local.INFO: TCP Data received {"connection_id":109042,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:50:28] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:50:28] local.INFO: IMEI packet received {"connection_id":109042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":109042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:50:34] local.INFO: TCP Data received {"connection_id":109042,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:50:34] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:50:34] local.INFO: IMEI packet received {"connection_id":109042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":109042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:50:35] local.INFO: TCP Data received {"connection_id":109042,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:50:35] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:50:35] local.INFO: Packet analysis {"connection_id":109042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:50:35] local.INFO: Extracted packet for processing {"connection_id":109042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 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-06-21 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:50:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:50:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":109042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:50:35] local.INFO: GPS data processed {"connection_id":109042,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:50:35] local.INFO: Acknowledgment sent {"connection_id":109042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:51:06] local.INFO: TCP Data received {"connection_id":109042,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:51:06] local.INFO: Processing buffer {"connection_id":109042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeaf75be0012d34c54006aa3f80000b00721f..."} 
[2026-06-21 21:51:06] local.INFO: Packet analysis {"connection_id":109042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:51:06] local.INFO: Extracted packet for processing {"connection_id":109042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeaf7"} 
[2026-06-21 21:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206909184001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782058540000,"timestamp_ms":1782058540000,"timestamp_seconds":1782058540,"priority":1,"record_length":96,"hex_timestamp":"0000019eeaf75be0"} 
[2026-06-21 21:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 21:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206909184001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206909184001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206909184001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":109042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:51:06] local.INFO: GPS data processed {"connection_id":109042,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:51:06] local.INFO: Acknowledgment sent {"connection_id":109042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:51:34] local.INFO: TCP Data received {"connection_id":109225,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:51:34] local.INFO: Processing buffer {"connection_id":109225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:51:34] local.INFO: IMEI packet received {"connection_id":109225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":109225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:51:39] local.INFO: TCP Data received {"connection_id":109225,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:51:39] local.INFO: Processing buffer {"connection_id":109225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:51:39] local.INFO: IMEI packet received {"connection_id":109225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":109225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:51:40] local.INFO: TCP Data received {"connection_id":109225,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:51:40] local.INFO: Processing buffer {"connection_id":109225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:51:40] local.INFO: Packet analysis {"connection_id":109225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:51:40] local.INFO: Extracted packet for processing {"connection_id":109225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 21:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":109225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:51:40] local.INFO: GPS data processed {"connection_id":109225,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:51:40] local.INFO: Acknowledgment sent {"connection_id":109225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:51:45] local.INFO: TCP Data received {"connection_id":109225,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:51:45] local.INFO: Processing buffer {"connection_id":109225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:51:45] local.INFO: Packet analysis {"connection_id":109225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:51:45] local.INFO: Extracted packet for processing {"connection_id":109225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 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-06-21 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:51:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":109225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:51:45] local.INFO: GPS data processed {"connection_id":109225,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:51:45] local.INFO: Acknowledgment sent {"connection_id":109225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:52:29] local.INFO: TCP Data received {"connection_id":109821,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:52:29] local.INFO: Processing buffer {"connection_id":109821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:52:29] local.INFO: IMEI packet received {"connection_id":109821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":109821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:52:34] local.INFO: TCP Data received {"connection_id":109821,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:52:34] local.INFO: Processing buffer {"connection_id":109821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:52:34] local.INFO: IMEI packet received {"connection_id":109821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":109821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:52:35] local.INFO: TCP Data received {"connection_id":109821,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:52:35] local.INFO: Processing buffer {"connection_id":109821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:52:35] local.INFO: Packet analysis {"connection_id":109821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:52:35] local.INFO: Extracted packet for processing {"connection_id":109821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 21:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:52:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":109821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:52:35] local.INFO: GPS data processed {"connection_id":109821,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:52:35] local.INFO: Acknowledgment sent {"connection_id":109821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:53:07] local.INFO: TCP Data received {"connection_id":109821,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:53:07] local.INFO: Processing buffer {"connection_id":109821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:53:07] local.INFO: Packet analysis {"connection_id":109821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:53:07] local.INFO: Extracted packet for processing {"connection_id":109821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 21:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:53:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":109821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:53:07] local.INFO: GPS data processed {"connection_id":109821,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:53:07] local.INFO: Acknowledgment sent {"connection_id":109821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:53:28] local.INFO: TCP Data received {"connection_id":109227,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:53:28] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:53:28] local.INFO: IMEI packet received {"connection_id":109227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":109227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:53:34] local.INFO: TCP Data received {"connection_id":109227,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:53:34] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:53:34] local.INFO: IMEI packet received {"connection_id":109227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":109227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:53:35] local.INFO: TCP Data received {"connection_id":109227,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:53:35] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:53:35] local.INFO: Packet analysis {"connection_id":109227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:53:35] local.INFO: Extracted packet for processing {"connection_id":109227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 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-06-21 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:53:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":109227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:53:35] local.INFO: GPS data processed {"connection_id":109227,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:53:35] local.INFO: Acknowledgment sent {"connection_id":109227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:53:36] local.INFO: TCP Data received {"connection_id":109043,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:53:36] local.INFO: Processing buffer {"connection_id":109043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:53:36] local.INFO: IMEI packet received {"connection_id":109043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":109043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:54:07] local.INFO: TCP Data received {"connection_id":109227,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:54:07] local.INFO: Processing buffer {"connection_id":109227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:54:07] local.INFO: Packet analysis {"connection_id":109227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:54:07] local.INFO: Extracted packet for processing {"connection_id":109227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 21:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:54:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":109227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:54:07] local.INFO: GPS data processed {"connection_id":109227,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:54:07] local.INFO: Acknowledgment sent {"connection_id":109227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:54:12] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:54:12] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:54:12] local.INFO: IMEI packet received {"connection_id":110769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":110769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:54:14] local.INFO: TCP Data received {"connection_id":109228,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109228,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 21:54:14] local.INFO: Processing buffer {"connection_id":109228,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-06-21 21:54:14] local.INFO: Packet analysis {"connection_id":109228,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-06-21 21:54:14] local.INFO: Extracted packet for processing {"connection_id":109228,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-06-21 21:54:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-21 21:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-06-21 21:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-06-21 21:54:14] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-06-21 21:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-06-21 21:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-06-21 21:54:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":109228,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-06-21 21:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":109228,"device_imei":null,"avl_records_count":1} 
[2026-06-21 21:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":109228,"device_imei":null,"avl_records_count":1} 
[2026-06-21 21:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":109228,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-21 21:54:14] local.INFO: GPS data processed {"connection_id":109228,"processed":0,"errors":0,"total":1} 
[2026-06-21 21:54:14] local.INFO: Acknowledgment sent {"connection_id":109228,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:54:28] local.INFO: TCP Data received {"connection_id":109229,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:54:28] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:54:28] local.INFO: IMEI packet received {"connection_id":109229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":109229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:54:34] local.INFO: TCP Data received {"connection_id":109229,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:54:34] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:54:34] local.INFO: IMEI packet received {"connection_id":109229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":109229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:54:35] local.INFO: TCP Data received {"connection_id":109229,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:54:35] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:54:35] local.INFO: Packet analysis {"connection_id":109229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:54:35] local.INFO: Extracted packet for processing {"connection_id":109229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 21:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:54:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:54:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":109229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:54:35] local.INFO: GPS data processed {"connection_id":109229,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:54:35] local.INFO: Acknowledgment sent {"connection_id":109229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:55:07] local.INFO: TCP Data received {"connection_id":109229,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:07] local.INFO: Processing buffer {"connection_id":109229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:07] local.INFO: Packet analysis {"connection_id":109229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:55:07] local.INFO: Extracted packet for processing {"connection_id":109229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 21:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":109229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:55:07] local.INFO: GPS data processed {"connection_id":109229,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:55:07] local.INFO: Acknowledgment sent {"connection_id":109229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:55:34] local.INFO: TCP Data received {"connection_id":109045,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:55:34] local.INFO: Processing buffer {"connection_id":109045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:55:34] local.INFO: IMEI packet received {"connection_id":109045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":109045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:55:39] local.INFO: TCP Data received {"connection_id":109045,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:55:39] local.INFO: Processing buffer {"connection_id":109045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:55:39] local.INFO: IMEI packet received {"connection_id":109045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":109045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:55:40] local.INFO: TCP Data received {"connection_id":109045,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:40] local.INFO: Processing buffer {"connection_id":109045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:40] local.INFO: Packet analysis {"connection_id":109045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:55:40] local.INFO: Extracted packet for processing {"connection_id":109045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 21:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:55:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":109045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:55:40] local.INFO: GPS data processed {"connection_id":109045,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:55:40] local.INFO: Acknowledgment sent {"connection_id":109045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:55:44] local.INFO: TCP Data received {"connection_id":109045,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:44] local.INFO: Processing buffer {"connection_id":109045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeafbf3a8012d34c54006aa3f800006007220..."} 
[2026-06-21 21:55:44] local.INFO: Packet analysis {"connection_id":109045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:55:44] local.INFO: Extracted packet for processing {"connection_id":109045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeafb"} 
[2026-06-21 21:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456206986240001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782058841000,"timestamp_ms":1782058841000,"timestamp_seconds":1782058841,"priority":1,"record_length":96,"hex_timestamp":"0000019eeafbf3a8"} 
[2026-06-21 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-06-21 21:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 21:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456206986240001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456206986240001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:55:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456206986240001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":109045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:55:45] local.INFO: GPS data processed {"connection_id":109045,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:55:45] local.INFO: Acknowledgment sent {"connection_id":109045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:56:29] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:56:29] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:56:29] local.INFO: IMEI packet received {"connection_id":110770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":110770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:56:34] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:56:34] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:56:34] local.INFO: IMEI packet received {"connection_id":110770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":110770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:56:35] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:56:35] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:56:35] local.INFO: Packet analysis {"connection_id":110770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:56:35] local.INFO: Extracted packet for processing {"connection_id":110770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 21:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:56:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":110770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:56:35] local.INFO: GPS data processed {"connection_id":110770,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:56:35] local.INFO: Acknowledgment sent {"connection_id":110770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:57:08] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:57:08] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:57:08] local.INFO: Packet analysis {"connection_id":110770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:57:08] local.INFO: Extracted packet for processing {"connection_id":110770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21: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-06-21 21:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 21:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21: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-06-21 21:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":110770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:57:08] local.INFO: GPS data processed {"connection_id":110770,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:57:08] local.INFO: Acknowledgment sent {"connection_id":110770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:57:28] local.INFO: TCP Data received {"connection_id":109231,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:57:28] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:57:28] local.INFO: IMEI packet received {"connection_id":109231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":109231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:57:34] local.INFO: TCP Data received {"connection_id":109231,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:57:34] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:57:34] local.INFO: IMEI packet received {"connection_id":109231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":109231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:57:35] local.INFO: TCP Data received {"connection_id":109231,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:57:35] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:57:35] local.INFO: Packet analysis {"connection_id":109231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:57:35] local.INFO: Extracted packet for processing {"connection_id":109231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 21:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:57:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:57:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":109231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:57:35] local.INFO: GPS data processed {"connection_id":109231,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:57:35] local.INFO: Acknowledgment sent {"connection_id":109231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:58:06] local.INFO: TCP Data received {"connection_id":109231,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:58:06] local.INFO: Processing buffer {"connection_id":109231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:58:06] local.INFO: Packet analysis {"connection_id":109231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:58:06] local.INFO: Extracted packet for processing {"connection_id":109231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 21:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:58:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":109231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:58:06] local.INFO: GPS data processed {"connection_id":109231,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:58:06] local.INFO: Acknowledgment sent {"connection_id":109231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:58:28] local.INFO: TCP Data received {"connection_id":109823,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:58:28] local.INFO: Processing buffer {"connection_id":109823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:58:28] local.INFO: IMEI packet received {"connection_id":109823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":109823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:58:34] local.INFO: TCP Data received {"connection_id":109823,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:58:34] local.INFO: Processing buffer {"connection_id":109823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:58:34] local.INFO: IMEI packet received {"connection_id":109823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":109823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:58:35] local.INFO: TCP Data received {"connection_id":109823,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:58:35] local.INFO: Processing buffer {"connection_id":109823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:58:35] local.INFO: Packet analysis {"connection_id":109823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:58:35] local.INFO: Extracted packet for processing {"connection_id":109823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 21:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:58:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":109823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:58:35] local.INFO: GPS data processed {"connection_id":109823,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:58:35] local.INFO: Acknowledgment sent {"connection_id":109823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:59:06] local.INFO: TCP Data received {"connection_id":109823,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:06] local.INFO: Processing buffer {"connection_id":109823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:06] local.INFO: Packet analysis {"connection_id":109823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:59:06] local.INFO: Extracted packet for processing {"connection_id":109823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 21:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 21:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 21:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 21:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 21:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 21:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 21:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 21:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:59:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:59:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":109823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:59:06] local.INFO: GPS data processed {"connection_id":109823,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:59:06] local.INFO: Acknowledgment sent {"connection_id":109823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:59:34] local.INFO: TCP Data received {"connection_id":109824,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:59:34] local.INFO: Processing buffer {"connection_id":109824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:59:34] local.INFO: IMEI packet received {"connection_id":109824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 21:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":109824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:59:39] local.INFO: TCP Data received {"connection_id":109824,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:59:39] local.INFO: Processing buffer {"connection_id":109824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 21:59:39] local.INFO: IMEI packet received {"connection_id":109824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 21:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":109824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 21:59:40] local.INFO: TCP Data received {"connection_id":109824,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:40] local.INFO: Processing buffer {"connection_id":109824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:40] local.INFO: Packet analysis {"connection_id":109824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:59:40] local.INFO: Extracted packet for processing {"connection_id":109824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 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-06-21 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:59:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":109824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:59:40] local.INFO: GPS data processed {"connection_id":109824,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:59:40] local.INFO: Acknowledgment sent {"connection_id":109824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 21:59:41] local.INFO: TCP Data received {"connection_id":109047,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:59:41] local.INFO: Processing buffer {"connection_id":109047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 21:59:41] local.INFO: IMEI packet received {"connection_id":109047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 21:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":109047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 21:59:44] local.INFO: TCP Data received {"connection_id":109824,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:44] local.INFO: Processing buffer {"connection_id":109824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 21:59:44] local.INFO: Packet analysis {"connection_id":109824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:59:44] local.INFO: Extracted packet for processing {"connection_id":109824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 21:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 21:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 21:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 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-06-21 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 21:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 21:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 21:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 21:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 21:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 21:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 21:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 21:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 21:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 21:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 21:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 21:59:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 21:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 21:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 21:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 21:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 21:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":109824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 21:59:45] local.INFO: GPS data processed {"connection_id":109824,"processed":1,"errors":0,"total":1} 
[2026-06-21 21:59:45] local.INFO: Acknowledgment sent {"connection_id":109824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:00:11] local.INFO: TCP Data received {"connection_id":110771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:00:11] local.INFO: Processing buffer {"connection_id":110771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:00:11] local.INFO: IMEI packet received {"connection_id":110771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":110771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:00:29] local.INFO: TCP Data received {"connection_id":109048,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:00:29] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:00:29] local.INFO: IMEI packet received {"connection_id":109048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":109048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:00:34] local.INFO: TCP Data received {"connection_id":109048,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:00:34] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:00:34] local.INFO: IMEI packet received {"connection_id":109048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":109048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:00:35] local.INFO: TCP Data received {"connection_id":109048,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 22:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 22:00:35] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 22:00:35] local.INFO: Packet analysis {"connection_id":109048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 22:00:35] local.INFO: Extracted packet for processing {"connection_id":109048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 22:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 22:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:00:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":109048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:00:35] local.INFO: GPS data processed {"connection_id":109048,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:00:35] local.INFO: Acknowledgment sent {"connection_id":109048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:01:07] local.INFO: TCP Data received {"connection_id":109048,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 22:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 22:01:07] local.INFO: Processing buffer {"connection_id":109048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb008b70012d34c54006aa3f80000c007223..."} 
[2026-06-21 22:01:07] local.INFO: Packet analysis {"connection_id":109048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 22:01:07] local.INFO: Extracted packet for processing {"connection_id":109048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb00"} 
[2026-06-21 22:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":12,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207063296001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782059142000,"timestamp_ms":1782059142000,"timestamp_seconds":1782059142,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb008b70"} 
[2026-06-21 22:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207063296001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207063296001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207063296001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":109048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:01:07] local.INFO: GPS data processed {"connection_id":109048,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:01:07] local.INFO: Acknowledgment sent {"connection_id":109048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:01:29] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:01:29] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:01:29] local.INFO: IMEI packet received {"connection_id":110772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":110772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:01:34] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:01:34] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:01:34] local.INFO: IMEI packet received {"connection_id":110772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":110772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:01:35] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:01:35] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:01:35] local.INFO: Packet analysis {"connection_id":110772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:01:35] local.INFO: Extracted packet for processing {"connection_id":110772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":110772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:01:35] local.INFO: GPS data processed {"connection_id":110772,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:01:35] local.INFO: Acknowledgment sent {"connection_id":110772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:02:06] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:02:06] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:02:06] local.INFO: Packet analysis {"connection_id":110772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:02:06] local.INFO: Extracted packet for processing {"connection_id":110772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":110772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:02:06] local.INFO: GPS data processed {"connection_id":110772,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:02:06] local.INFO: Acknowledgment sent {"connection_id":110772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:02:28] local.INFO: TCP Data received {"connection_id":109826,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:02:28] local.INFO: Processing buffer {"connection_id":109826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:02:28] local.INFO: IMEI packet received {"connection_id":109826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":109826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:02:34] local.INFO: TCP Data received {"connection_id":109826,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:02:34] local.INFO: Processing buffer {"connection_id":109826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:02:34] local.INFO: IMEI packet received {"connection_id":109826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":109826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:02:35] local.INFO: TCP Data received {"connection_id":109826,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:02:35] local.INFO: Processing buffer {"connection_id":109826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:02:35] local.INFO: Packet analysis {"connection_id":109826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:02:35] local.INFO: Extracted packet for processing {"connection_id":109826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:02:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":109826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:02:35] local.INFO: GPS data processed {"connection_id":109826,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:02:35] local.INFO: Acknowledgment sent {"connection_id":109826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:03:07] local.INFO: TCP Data received {"connection_id":109826,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:03:07] local.INFO: Processing buffer {"connection_id":109826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:03:07] local.INFO: Packet analysis {"connection_id":109826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:03:07] local.INFO: Extracted packet for processing {"connection_id":109826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:03:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:03:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":109826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:03:07] local.INFO: GPS data processed {"connection_id":109826,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:03:07] local.INFO: Acknowledgment sent {"connection_id":109826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:03:28] local.INFO: TCP Data received {"connection_id":110773,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:03:28] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:03:28] local.INFO: IMEI packet received {"connection_id":110773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":110773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:03:33] local.INFO: TCP Data received {"connection_id":110773,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:03:33] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:03:33] local.INFO: IMEI packet received {"connection_id":110773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":110773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:03:34] local.INFO: TCP Data received {"connection_id":110773,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:03:34] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:03:34] local.INFO: Packet analysis {"connection_id":110773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:03:34] local.INFO: Extracted packet for processing {"connection_id":110773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:03:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:03:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":110773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:03:34] local.INFO: GPS data processed {"connection_id":110773,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:03:34] local.INFO: Acknowledgment sent {"connection_id":110773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:04:06] local.INFO: TCP Data received {"connection_id":110773,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:06] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:06] local.INFO: Packet analysis {"connection_id":110773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:04:06] local.INFO: Extracted packet for processing {"connection_id":110773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":110773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:04:06] local.INFO: GPS data processed {"connection_id":110773,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:04:06] local.INFO: Acknowledgment sent {"connection_id":110773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:04:34] local.INFO: TCP Data received {"connection_id":109050,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:04:34] local.INFO: Processing buffer {"connection_id":109050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:04:34] local.INFO: IMEI packet received {"connection_id":109050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":109050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:04:39] local.INFO: TCP Data received {"connection_id":109050,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:04:39] local.INFO: Processing buffer {"connection_id":109050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:04:39] local.INFO: IMEI packet received {"connection_id":109050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":109050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:04:40] local.INFO: TCP Data received {"connection_id":109050,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:40] local.INFO: Processing buffer {"connection_id":109050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:40] local.INFO: Packet analysis {"connection_id":109050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:04:40] local.INFO: Extracted packet for processing {"connection_id":109050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:04:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":109050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:04:40] local.INFO: GPS data processed {"connection_id":109050,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:04:40] local.INFO: Acknowledgment sent {"connection_id":109050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:04:44] local.INFO: TCP Data received {"connection_id":109050,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:44] local.INFO: Processing buffer {"connection_id":109050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:04:44] local.INFO: Packet analysis {"connection_id":109050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:04:44] local.INFO: Extracted packet for processing {"connection_id":109050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:04:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":109050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:04:44] local.INFO: GPS data processed {"connection_id":109050,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:04:44] local.INFO: Acknowledgment sent {"connection_id":109050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:05:29] local.INFO: TCP Data received {"connection_id":109233,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:05:29] local.INFO: Processing buffer {"connection_id":109233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:05:29] local.INFO: IMEI packet received {"connection_id":109233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":109233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:05:34] local.INFO: TCP Data received {"connection_id":109233,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:05:34] local.INFO: Processing buffer {"connection_id":109233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:05:34] local.INFO: IMEI packet received {"connection_id":109233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":109233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:05:35] local.INFO: TCP Data received {"connection_id":109233,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:05:35] local.INFO: Processing buffer {"connection_id":109233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:05:35] local.INFO: Packet analysis {"connection_id":109233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:05:35] local.INFO: Extracted packet for processing {"connection_id":109233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:05:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":109233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:05:35] local.INFO: GPS data processed {"connection_id":109233,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:05:35] local.INFO: Acknowledgment sent {"connection_id":109233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:05:41] local.INFO: TCP Data received {"connection_id":110774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:05:41] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:05:41] local.INFO: IMEI packet received {"connection_id":110774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":110774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:06:07] local.INFO: TCP Data received {"connection_id":109233,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:06:07] local.INFO: Processing buffer {"connection_id":109233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb052338012d34c54006aa3f80000a007220..."} 
[2026-06-21 22:06:07] local.INFO: Packet analysis {"connection_id":109233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:06:07] local.INFO: Extracted packet for processing {"connection_id":109233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb05"} 
[2026-06-21 22:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207140352001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782059443000,"timestamp_ms":1782059443000,"timestamp_seconds":1782059443,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb052338"} 
[2026-06-21 22:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207140352001,"66":24495,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207140352001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207140352001,"power":24495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":109233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:06:07] local.INFO: GPS data processed {"connection_id":109233,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:06:07] local.INFO: Acknowledgment sent {"connection_id":109233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:06:16] local.INFO: TCP Data received {"connection_id":109828,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:06:16] local.INFO: Processing buffer {"connection_id":109828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:06:16] local.INFO: IMEI packet received {"connection_id":109828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":109828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:06:28] local.INFO: TCP Data received {"connection_id":109829,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:06:28] local.INFO: Processing buffer {"connection_id":109829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:06:28] local.INFO: IMEI packet received {"connection_id":109829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":109829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:06:34] local.INFO: TCP Data received {"connection_id":109829,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:06:34] local.INFO: Processing buffer {"connection_id":109829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:06:34] local.INFO: IMEI packet received {"connection_id":109829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":109829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:06:35] local.INFO: TCP Data received {"connection_id":109829,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:06:35] local.INFO: Processing buffer {"connection_id":109829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:06:35] local.INFO: Packet analysis {"connection_id":109829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:06:35] local.INFO: Extracted packet for processing {"connection_id":109829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":109829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:06:35] local.INFO: GPS data processed {"connection_id":109829,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:06:35] local.INFO: Acknowledgment sent {"connection_id":109829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:07:07] local.INFO: TCP Data received {"connection_id":109829,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:07] local.INFO: Processing buffer {"connection_id":109829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:07] local.INFO: Packet analysis {"connection_id":109829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:07:07] local.INFO: Extracted packet for processing {"connection_id":109829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":109829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:07:07] local.INFO: GPS data processed {"connection_id":109829,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:07:07] local.INFO: Acknowledgment sent {"connection_id":109829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:07:34] local.INFO: TCP Data received {"connection_id":110776,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:07:34] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:07:34] local.INFO: IMEI packet received {"connection_id":110776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":110776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:07:39] local.INFO: TCP Data received {"connection_id":110776,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:07:39] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:07:39] local.INFO: IMEI packet received {"connection_id":110776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":110776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:07:40] local.INFO: TCP Data received {"connection_id":110776,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:40] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:40] local.INFO: Packet analysis {"connection_id":110776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:07:40] local.INFO: Extracted packet for processing {"connection_id":110776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:07:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":110776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:07:40] local.INFO: GPS data processed {"connection_id":110776,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:07:40] local.INFO: Acknowledgment sent {"connection_id":110776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:07:45] local.INFO: TCP Data received {"connection_id":110776,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:45] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:07:45] local.INFO: Packet analysis {"connection_id":110776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:07:45] local.INFO: Extracted packet for processing {"connection_id":110776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:07:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":110776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:07:45] local.INFO: GPS data processed {"connection_id":110776,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:07:45] local.INFO: Acknowledgment sent {"connection_id":110776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:08:29] local.INFO: TCP Data received {"connection_id":109235,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:08:29] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:08:29] local.INFO: IMEI packet received {"connection_id":109235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":109235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:08:34] local.INFO: TCP Data received {"connection_id":109235,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:08:34] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:08:34] local.INFO: IMEI packet received {"connection_id":109235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":109235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:08:35] local.INFO: TCP Data received {"connection_id":109235,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:08:35] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:08:35] local.INFO: Packet analysis {"connection_id":109235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:08:35] local.INFO: Extracted packet for processing {"connection_id":109235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:08:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":109235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:08:35] local.INFO: GPS data processed {"connection_id":109235,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:08:35] local.INFO: Acknowledgment sent {"connection_id":109235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:09:07] local.INFO: TCP Data received {"connection_id":109235,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:09:07] local.INFO: Processing buffer {"connection_id":109235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:09:07] local.INFO: Packet analysis {"connection_id":109235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:09:07] local.INFO: Extracted packet for processing {"connection_id":109235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":109235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:09:07] local.INFO: GPS data processed {"connection_id":109235,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:09:07] local.INFO: Acknowledgment sent {"connection_id":109235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:09:29] local.INFO: TCP Data received {"connection_id":109237,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:09:29] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:09:29] local.INFO: IMEI packet received {"connection_id":109237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":109237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:09:34] local.INFO: TCP Data received {"connection_id":109237,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:09:34] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:09:34] local.INFO: IMEI packet received {"connection_id":109237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":109237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:09:35] local.INFO: TCP Data received {"connection_id":109237,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:09:35] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:09:35] local.INFO: Packet analysis {"connection_id":109237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:09:35] local.INFO: Extracted packet for processing {"connection_id":109237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:09:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":109237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:09:35] local.INFO: GPS data processed {"connection_id":109237,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:09:35] local.INFO: Acknowledgment sent {"connection_id":109237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:10:07] local.INFO: TCP Data received {"connection_id":109237,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:10:07] local.INFO: Processing buffer {"connection_id":109237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:10:07] local.INFO: Packet analysis {"connection_id":109237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:10:07] local.INFO: Extracted packet for processing {"connection_id":109237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:10:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":109237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:10:07] local.INFO: GPS data processed {"connection_id":109237,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:10:07] local.INFO: Acknowledgment sent {"connection_id":109237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:10:28] local.INFO: TCP Data received {"connection_id":109830,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:10:28] local.INFO: Processing buffer {"connection_id":109830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:10:28] local.INFO: IMEI packet received {"connection_id":109830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":109830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:10:34] local.INFO: TCP Data received {"connection_id":109830,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:10:34] local.INFO: Processing buffer {"connection_id":109830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:10:34] local.INFO: IMEI packet received {"connection_id":109830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":109830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:10:35] local.INFO: TCP Data received {"connection_id":109830,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:10:36] local.INFO: Processing buffer {"connection_id":109830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:10:36] local.INFO: Packet analysis {"connection_id":109830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:10:36] local.INFO: Extracted packet for processing {"connection_id":109830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:10:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":109830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:10:36] local.INFO: GPS data processed {"connection_id":109830,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:10:36] local.INFO: Acknowledgment sent {"connection_id":109830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:11:07] local.INFO: TCP Data received {"connection_id":109830,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:11:07] local.INFO: Processing buffer {"connection_id":109830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb09bb00012d34c54006aa3f800006007221..."} 
[2026-06-21 22:11:07] local.INFO: Packet analysis {"connection_id":109830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:11:07] local.INFO: Extracted packet for processing {"connection_id":109830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb09"} 
[2026-06-21 22:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":6,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207217408001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782059744000,"timestamp_ms":1782059744000,"timestamp_seconds":1782059744,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb09bb00"} 
[2026-06-21 22:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":95,"n8_eight_byte":175,"data_length":795,"current_offset":136} 
[2026-06-21 22:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2248,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207217408001,"66":25397,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207217408001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:11:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207217408001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":109830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:11:07] local.INFO: GPS data processed {"connection_id":109830,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:11:07] local.INFO: Acknowledgment sent {"connection_id":109830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:11:28] local.INFO: TCP Data received {"connection_id":109239,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:11:28] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:11:28] local.INFO: IMEI packet received {"connection_id":109239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":109239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:11:34] local.INFO: TCP Data received {"connection_id":109239,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:11:34] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:11:34] local.INFO: IMEI packet received {"connection_id":109239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":109239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:11:35] local.INFO: TCP Data received {"connection_id":109239,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:11:35] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:11:35] local.INFO: Packet analysis {"connection_id":109239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:11:35] local.INFO: Extracted packet for processing {"connection_id":109239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":109239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:11:35] local.INFO: GPS data processed {"connection_id":109239,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:11:35] local.INFO: Acknowledgment sent {"connection_id":109239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:11:36] local.INFO: TCP Data received {"connection_id":109238,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:11:36] local.INFO: Processing buffer {"connection_id":109238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:11:36] local.INFO: IMEI packet received {"connection_id":109238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":109238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:12:07] local.INFO: TCP Data received {"connection_id":109239,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:07] local.INFO: Processing buffer {"connection_id":109239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:07] local.INFO: Packet analysis {"connection_id":109239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:12:07] local.INFO: Extracted packet for processing {"connection_id":109239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:12:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":109239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:12:07] local.INFO: GPS data processed {"connection_id":109239,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:12:07] local.INFO: Acknowledgment sent {"connection_id":109239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:12:11] local.INFO: TCP Data received {"connection_id":109052,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:12:11] local.INFO: Processing buffer {"connection_id":109052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:12:11] local.INFO: IMEI packet received {"connection_id":109052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":109052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:12:34] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:12:34] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:12:34] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:12:38] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:12:38] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:12:38] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:12:39] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:39] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:39] local.INFO: Packet analysis {"connection_id":110777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:12:39] local.INFO: Extracted packet for processing {"connection_id":110777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":110777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:12:39] local.INFO: GPS data processed {"connection_id":110777,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:12:39] local.INFO: Acknowledgment sent {"connection_id":110777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:12:44] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:44] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:12:44] local.INFO: Packet analysis {"connection_id":110777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:12:44] local.INFO: Extracted packet for processing {"connection_id":110777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 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-06-21 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:12:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":110777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:12:45] local.INFO: GPS data processed {"connection_id":110777,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:12:45] local.INFO: Acknowledgment sent {"connection_id":110777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:13:29] local.INFO: TCP Data received {"connection_id":109240,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:13:29] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:13:29] local.INFO: IMEI packet received {"connection_id":109240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":109240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:13:34] local.INFO: TCP Data received {"connection_id":109240,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:13:34] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:13:34] local.INFO: IMEI packet received {"connection_id":109240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":109240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:13:35] local.INFO: TCP Data received {"connection_id":109240,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:13:35] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:13:35] local.INFO: Packet analysis {"connection_id":109240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:13:35] local.INFO: Extracted packet for processing {"connection_id":109240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":109240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:13:35] local.INFO: GPS data processed {"connection_id":109240,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:13:35] local.INFO: Acknowledgment sent {"connection_id":109240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:14:07] local.INFO: TCP Data received {"connection_id":109240,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:14:07] local.INFO: Processing buffer {"connection_id":109240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:14:07] local.INFO: Packet analysis {"connection_id":109240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:14:07] local.INFO: Extracted packet for processing {"connection_id":109240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 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-06-21 22:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":109240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:14:07] local.INFO: GPS data processed {"connection_id":109240,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:14:07] local.INFO: Acknowledgment sent {"connection_id":109240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:14:28] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:14:28] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:14:28] local.INFO: IMEI packet received {"connection_id":110778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":110778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:14:34] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:14:34] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:14:34] local.INFO: IMEI packet received {"connection_id":110778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":110778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:14:35] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:14:35] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:14:35] local.INFO: Packet analysis {"connection_id":110778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:14:35] local.INFO: Extracted packet for processing {"connection_id":110778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":110778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:14:35] local.INFO: GPS data processed {"connection_id":110778,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:14:35] local.INFO: Acknowledgment sent {"connection_id":110778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:15:06] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:15:06] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:15:06] local.INFO: Packet analysis {"connection_id":110778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:15:06] local.INFO: Extracted packet for processing {"connection_id":110778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":110778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:15:07] local.INFO: GPS data processed {"connection_id":110778,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:15:07] local.INFO: Acknowledgment sent {"connection_id":110778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:15:28] local.INFO: TCP Data received {"connection_id":109833,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:15:28] local.INFO: Processing buffer {"connection_id":109833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:15:28] local.INFO: IMEI packet received {"connection_id":109833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":109833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:15:34] local.INFO: TCP Data received {"connection_id":109833,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:15:34] local.INFO: Processing buffer {"connection_id":109833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:15:34] local.INFO: IMEI packet received {"connection_id":109833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":109833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:15:35] local.INFO: TCP Data received {"connection_id":109833,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:15:35] local.INFO: Processing buffer {"connection_id":109833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:15:35] local.INFO: Packet analysis {"connection_id":109833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:15:35] local.INFO: Extracted packet for processing {"connection_id":109833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:15:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":109833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:15:35] local.INFO: GPS data processed {"connection_id":109833,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:15:35] local.INFO: Acknowledgment sent {"connection_id":109833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:16:06] local.INFO: TCP Data received {"connection_id":109833,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:16:06] local.INFO: Processing buffer {"connection_id":109833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb0e52c8012d34c54006aa3f80000b00721d..."} 
[2026-06-21 22:16:06] local.INFO: Packet analysis {"connection_id":109833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:16:06] local.INFO: Extracted packet for processing {"connection_id":109833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb0e"} 
[2026-06-21 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":29,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207294464001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060045000,"timestamp_ms":1782060045000,"timestamp_seconds":1782060045,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb0e52c8"} 
[2026-06-21 22:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-06-21 22:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207294464001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207294464001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:16:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:16:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207294464001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":109833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:16:06] local.INFO: GPS data processed {"connection_id":109833,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:16:06] local.INFO: Acknowledgment sent {"connection_id":109833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:16:28] local.INFO: TCP Data received {"connection_id":110779,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:16:28] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:16:28] local.INFO: IMEI packet received {"connection_id":110779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":110779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:16:34] local.INFO: TCP Data received {"connection_id":110779,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:16:34] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:16:34] local.INFO: IMEI packet received {"connection_id":110779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":110779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:16:35] local.INFO: TCP Data received {"connection_id":110779,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:16:35] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:16:35] local.INFO: Packet analysis {"connection_id":110779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:16:35] local.INFO: Extracted packet for processing {"connection_id":110779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:16:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":110779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:16:35] local.INFO: GPS data processed {"connection_id":110779,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:16:35] local.INFO: Acknowledgment sent {"connection_id":110779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:17:06] local.INFO: TCP Data received {"connection_id":110779,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:17:06] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:17:06] local.INFO: Packet analysis {"connection_id":110779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:17:06] local.INFO: Extracted packet for processing {"connection_id":110779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:17:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":110779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:17:06] local.INFO: GPS data processed {"connection_id":110779,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:17:06] local.INFO: Acknowledgment sent {"connection_id":110779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:17:29] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:17:29] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:17:29] local.INFO: IMEI packet received {"connection_id":109054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":109054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:17:34] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:17:34] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:17:34] local.INFO: IMEI packet received {"connection_id":109054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":109054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:17:35] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:17:35] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:17:35] local.INFO: Packet analysis {"connection_id":109054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:17:35] local.INFO: Extracted packet for processing {"connection_id":109054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":109054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:17:35] local.INFO: GPS data processed {"connection_id":109054,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:17:35] local.INFO: Acknowledgment sent {"connection_id":109054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:17:47] local.INFO: TCP Data received {"connection_id":109242,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:17:47] local.INFO: Processing buffer {"connection_id":109242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:17:47] local.INFO: IMEI packet received {"connection_id":109242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":109242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:18:06] local.INFO: TCP Data received {"connection_id":109054,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:18:06] local.INFO: Processing buffer {"connection_id":109054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:18:06] local.INFO: Packet analysis {"connection_id":109054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:18:06] local.INFO: Extracted packet for processing {"connection_id":109054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:18:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":109054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:18:06] local.INFO: GPS data processed {"connection_id":109054,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:18:06] local.INFO: Acknowledgment sent {"connection_id":109054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:18:11] local.INFO: TCP Data received {"connection_id":110780,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:18:11] local.INFO: Processing buffer {"connection_id":110780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:18:11] local.INFO: IMEI packet received {"connection_id":110780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":110780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:18:28] local.INFO: TCP Data received {"connection_id":110781,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:18:28] local.INFO: Processing buffer {"connection_id":110781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:18:28] local.INFO: IMEI packet received {"connection_id":110781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":110781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:18:34] local.INFO: TCP Data received {"connection_id":110781,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:18:34] local.INFO: Processing buffer {"connection_id":110781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:18:34] local.INFO: IMEI packet received {"connection_id":110781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":110781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:18:35] local.INFO: TCP Data received {"connection_id":110781,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:18:35] local.INFO: Processing buffer {"connection_id":110781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:18:35] local.INFO: Packet analysis {"connection_id":110781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:18:35] local.INFO: Extracted packet for processing {"connection_id":110781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":110781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:18:35] local.INFO: GPS data processed {"connection_id":110781,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:18:35] local.INFO: Acknowledgment sent {"connection_id":110781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:19:06] local.INFO: TCP Data received {"connection_id":110781,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:19:06] local.INFO: Processing buffer {"connection_id":110781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:19:06] local.INFO: Packet analysis {"connection_id":110781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:19:06] local.INFO: Extracted packet for processing {"connection_id":110781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":110781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:19:06] local.INFO: GPS data processed {"connection_id":110781,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:19:06] local.INFO: Acknowledgment sent {"connection_id":110781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:19:28] local.INFO: TCP Data received {"connection_id":110782,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:19:28] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:19:28] local.INFO: IMEI packet received {"connection_id":110782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":110782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:19:34] local.INFO: TCP Data received {"connection_id":110782,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:19:34] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:19:34] local.INFO: IMEI packet received {"connection_id":110782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":110782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:19:35] local.INFO: TCP Data received {"connection_id":110782,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:19:35] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:19:35] local.INFO: Packet analysis {"connection_id":110782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:19:35] local.INFO: Extracted packet for processing {"connection_id":110782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":110782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:19:35] local.INFO: GPS data processed {"connection_id":110782,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:19:35] local.INFO: Acknowledgment sent {"connection_id":110782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:20:06] local.INFO: TCP Data received {"connection_id":110782,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:06] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:06] local.INFO: Packet analysis {"connection_id":110782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:20:06] local.INFO: Extracted packet for processing {"connection_id":110782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":110782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:20:06] local.INFO: GPS data processed {"connection_id":110782,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:20:06] local.INFO: Acknowledgment sent {"connection_id":110782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:20:34] local.INFO: TCP Data received {"connection_id":109055,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:20:34] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:20:34] local.INFO: IMEI packet received {"connection_id":109055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":109055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:20:39] local.INFO: TCP Data received {"connection_id":109055,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:20:39] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:20:39] local.INFO: IMEI packet received {"connection_id":109055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":109055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:20:40] local.INFO: TCP Data received {"connection_id":109055,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:40] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:40] local.INFO: Packet analysis {"connection_id":109055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:20:40] local.INFO: Extracted packet for processing {"connection_id":109055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 22:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:20:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":109055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:20:40] local.INFO: GPS data processed {"connection_id":109055,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:20:40] local.INFO: Acknowledgment sent {"connection_id":109055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:20:44] local.INFO: TCP Data received {"connection_id":109055,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:44] local.INFO: Processing buffer {"connection_id":109055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb12ea90012d34c54006aa3f80000e00721c..."} 
[2026-06-21 22:20:44] local.INFO: Packet analysis {"connection_id":109055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:20:44] local.INFO: Extracted packet for processing {"connection_id":109055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb12"} 
[2026-06-21 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":14,"angle":114,"satellites":28,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207371520001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782060346000,"timestamp_ms":1782060346000,"timestamp_seconds":1782060346,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb12ea90"} 
[2026-06-21 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-06-21 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207371520001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207371520001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:20:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:20:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207371520001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":109055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:20:44] local.INFO: GPS data processed {"connection_id":109055,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:20:44] local.INFO: Acknowledgment sent {"connection_id":109055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:21:29] local.INFO: TCP Data received {"connection_id":109246,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:21:29] local.INFO: Processing buffer {"connection_id":109246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:21:29] local.INFO: IMEI packet received {"connection_id":109246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":109246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:21:34] local.INFO: TCP Data received {"connection_id":109246,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:21:34] local.INFO: Processing buffer {"connection_id":109246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:21:34] local.INFO: IMEI packet received {"connection_id":109246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":109246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:21:35] local.INFO: TCP Data received {"connection_id":109246,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:21:35] local.INFO: Processing buffer {"connection_id":109246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:21:35] local.INFO: Packet analysis {"connection_id":109246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:21:35] local.INFO: Extracted packet for processing {"connection_id":109246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":109246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:21:35] local.INFO: GPS data processed {"connection_id":109246,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:21:35] local.INFO: Acknowledgment sent {"connection_id":109246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:22:06] local.INFO: TCP Data received {"connection_id":109246,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:22:06] local.INFO: Processing buffer {"connection_id":109246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:22:06] local.INFO: Packet analysis {"connection_id":109246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:22:06] local.INFO: Extracted packet for processing {"connection_id":109246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 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-06-21 22:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":109246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:22:06] local.INFO: GPS data processed {"connection_id":109246,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:22:06] local.INFO: Acknowledgment sent {"connection_id":109246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:22:28] local.INFO: TCP Data received {"connection_id":110784,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:22:28] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:22:28] local.INFO: IMEI packet received {"connection_id":110784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":110784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:22:34] local.INFO: TCP Data received {"connection_id":110784,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:22:34] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:22:34] local.INFO: IMEI packet received {"connection_id":110784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":110784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:22:35] local.INFO: TCP Data received {"connection_id":110784,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:22:35] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:22:35] local.INFO: Packet analysis {"connection_id":110784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:22:35] local.INFO: Extracted packet for processing {"connection_id":110784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:22:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":110784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:22:35] local.INFO: GPS data processed {"connection_id":110784,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:22:35] local.INFO: Acknowledgment sent {"connection_id":110784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:23:06] local.INFO: TCP Data received {"connection_id":110784,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:23:06] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:23:06] local.INFO: Packet analysis {"connection_id":110784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:23:06] local.INFO: Extracted packet for processing {"connection_id":110784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:23:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":110784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:23:06] local.INFO: GPS data processed {"connection_id":110784,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:23:06] local.INFO: Acknowledgment sent {"connection_id":110784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:23:28] local.INFO: TCP Data received {"connection_id":109248,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:23:28] local.INFO: Processing buffer {"connection_id":109248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:23:28] local.INFO: IMEI packet received {"connection_id":109248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":109248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:23:34] local.INFO: TCP Data received {"connection_id":109248,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:23:34] local.INFO: Processing buffer {"connection_id":109248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:23:34] local.INFO: IMEI packet received {"connection_id":109248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":109248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:23:35] local.INFO: TCP Data received {"connection_id":109248,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:23:35] local.INFO: Processing buffer {"connection_id":109248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:23:35] local.INFO: Packet analysis {"connection_id":109248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:23:35] local.INFO: Extracted packet for processing {"connection_id":109248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:23:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":109248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:23:35] local.INFO: GPS data processed {"connection_id":109248,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:23:35] local.INFO: Acknowledgment sent {"connection_id":109248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:23:41] local.INFO: TCP Data received {"connection_id":109247,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:23:41] local.INFO: Processing buffer {"connection_id":109247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:23:41] local.INFO: IMEI packet received {"connection_id":109247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":109247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:24:06] local.INFO: TCP Data received {"connection_id":109248,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:24:06] local.INFO: Processing buffer {"connection_id":109248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:24:06] local.INFO: Packet analysis {"connection_id":109248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:24:06] local.INFO: Extracted packet for processing {"connection_id":109248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:24:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":109248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:24:06] local.INFO: GPS data processed {"connection_id":109248,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:24:06] local.INFO: Acknowledgment sent {"connection_id":109248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:24:11] local.INFO: TCP Data received {"connection_id":109056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:24:11] local.INFO: Processing buffer {"connection_id":109056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:24:11] local.INFO: IMEI packet received {"connection_id":109056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":109056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:24:28] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:24:28] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:24:28] local.INFO: IMEI packet received {"connection_id":110785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":110785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:24:34] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:24:34] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:24:34] local.INFO: IMEI packet received {"connection_id":110785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":110785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:24:35] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:24:35] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:24:35] local.INFO: Packet analysis {"connection_id":110785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:24:35] local.INFO: Extracted packet for processing {"connection_id":110785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":110785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:24:35] local.INFO: GPS data processed {"connection_id":110785,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:24:35] local.INFO: Acknowledgment sent {"connection_id":110785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:25:06] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:06] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:06] local.INFO: Packet analysis {"connection_id":110785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:25:06] local.INFO: Extracted packet for processing {"connection_id":110785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":110785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:25:06] local.INFO: GPS data processed {"connection_id":110785,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:25:06] local.INFO: Acknowledgment sent {"connection_id":110785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:25:34] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:25:34] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:25:34] local.INFO: IMEI packet received {"connection_id":109057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":109057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:25:39] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:25:39] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:25:39] local.INFO: IMEI packet received {"connection_id":109057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":109057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:25:40] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:40] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:40] local.INFO: Packet analysis {"connection_id":109057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:25:40] local.INFO: Extracted packet for processing {"connection_id":109057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:25:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 22:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:25:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:25:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":109057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:25:40] local.INFO: GPS data processed {"connection_id":109057,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:25:40] local.INFO: Acknowledgment sent {"connection_id":109057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:25:44] local.INFO: TCP Data received {"connection_id":109057,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:44] local.INFO: Processing buffer {"connection_id":109057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb178258012d34c54006aa3f80001100721e..."} 
[2026-06-21 22:25:44] local.INFO: Packet analysis {"connection_id":109057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:25:44] local.INFO: Extracted packet for processing {"connection_id":109057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb17"} 
[2026-06-21 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":17,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207448576001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782060647000,"timestamp_ms":1782060647000,"timestamp_seconds":1782060647,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb178258"} 
[2026-06-21 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-06-21 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207448576001,"66":25343,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207448576001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:25:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:25:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207448576001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":109057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:25:44] local.INFO: GPS data processed {"connection_id":109057,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:25:44] local.INFO: Acknowledgment sent {"connection_id":109057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:26:25] local.INFO: TCP Data received {"connection_id":109834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:25] local.INFO: Processing buffer {"connection_id":109834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:25] local.INFO: IMEI packet received {"connection_id":109834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":109834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:26:29] local.INFO: TCP Data received {"connection_id":109834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:29] local.INFO: Processing buffer {"connection_id":109834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:29] local.INFO: IMEI packet received {"connection_id":109834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":109834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:26:34] local.INFO: TCP Data received {"connection_id":109834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:34] local.INFO: Processing buffer {"connection_id":109834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:26:34] local.INFO: IMEI packet received {"connection_id":109834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":109834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:26:35] local.INFO: TCP Data received {"connection_id":109834,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:26:35] local.INFO: Processing buffer {"connection_id":109834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:26:35] local.INFO: Packet analysis {"connection_id":109834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:26:35] local.INFO: Extracted packet for processing {"connection_id":109834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":109834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:26:35] local.INFO: GPS data processed {"connection_id":109834,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:26:35] local.INFO: Acknowledgment sent {"connection_id":109834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:27:06] local.INFO: TCP Data received {"connection_id":109834,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:27:06] local.INFO: Processing buffer {"connection_id":109834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:27:06] local.INFO: Packet analysis {"connection_id":109834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:27:06] local.INFO: Extracted packet for processing {"connection_id":109834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":109834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:27:06] local.INFO: GPS data processed {"connection_id":109834,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:27:06] local.INFO: Acknowledgment sent {"connection_id":109834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:27:28] local.INFO: TCP Data received {"connection_id":109250,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:27:28] local.INFO: Processing buffer {"connection_id":109250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:27:28] local.INFO: IMEI packet received {"connection_id":109250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":109250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:27:34] local.INFO: TCP Data received {"connection_id":109250,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:27:34] local.INFO: Processing buffer {"connection_id":109250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:27:34] local.INFO: IMEI packet received {"connection_id":109250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":109250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:27:35] local.INFO: TCP Data received {"connection_id":109250,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:27:35] local.INFO: Processing buffer {"connection_id":109250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:27:35] local.INFO: Packet analysis {"connection_id":109250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:27:35] local.INFO: Extracted packet for processing {"connection_id":109250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":109250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:27:35] local.INFO: GPS data processed {"connection_id":109250,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:27:35] local.INFO: Acknowledgment sent {"connection_id":109250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:28:06] local.INFO: TCP Data received {"connection_id":109250,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:28:06] local.INFO: Processing buffer {"connection_id":109250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:28:06] local.INFO: Packet analysis {"connection_id":109250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:28:06] local.INFO: Extracted packet for processing {"connection_id":109250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":109250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:28:06] local.INFO: GPS data processed {"connection_id":109250,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:28:06] local.INFO: Acknowledgment sent {"connection_id":109250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:28:28] local.INFO: TCP Data received {"connection_id":109835,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:28:28] local.INFO: Processing buffer {"connection_id":109835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:28:28] local.INFO: IMEI packet received {"connection_id":109835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":109835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:28:34] local.INFO: TCP Data received {"connection_id":109835,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:28:34] local.INFO: Processing buffer {"connection_id":109835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:28:34] local.INFO: IMEI packet received {"connection_id":109835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":109835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:28:35] local.INFO: TCP Data received {"connection_id":109835,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:28:35] local.INFO: Processing buffer {"connection_id":109835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:28:35] local.INFO: Packet analysis {"connection_id":109835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:28:35] local.INFO: Extracted packet for processing {"connection_id":109835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":109835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:28:35] local.INFO: GPS data processed {"connection_id":109835,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:28:35] local.INFO: Acknowledgment sent {"connection_id":109835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:29:06] local.INFO: TCP Data received {"connection_id":109835,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:06] local.INFO: Processing buffer {"connection_id":109835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:06] local.INFO: Packet analysis {"connection_id":109835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:29:06] local.INFO: Extracted packet for processing {"connection_id":109835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":109835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:29:06] local.INFO: GPS data processed {"connection_id":109835,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:29:06] local.INFO: Acknowledgment sent {"connection_id":109835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:29:34] local.INFO: TCP Data received {"connection_id":109252,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:29:34] local.INFO: Processing buffer {"connection_id":109252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:29:34] local.INFO: IMEI packet received {"connection_id":109252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":109252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:29:36] local.INFO: TCP Data received {"connection_id":109251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:29:36] local.INFO: Processing buffer {"connection_id":109251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:29:36] local.INFO: IMEI packet received {"connection_id":109251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":109251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:29:39] local.INFO: TCP Data received {"connection_id":109252,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:29:39] local.INFO: Processing buffer {"connection_id":109252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:29:39] local.INFO: IMEI packet received {"connection_id":109252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":109252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:29:40] local.INFO: TCP Data received {"connection_id":109252,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:40] local.INFO: Processing buffer {"connection_id":109252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:40] local.INFO: Packet analysis {"connection_id":109252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:29:40] local.INFO: Extracted packet for processing {"connection_id":109252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:29:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:29:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":109252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:29:40] local.INFO: GPS data processed {"connection_id":109252,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:29:40] local.INFO: Acknowledgment sent {"connection_id":109252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:29:44] local.INFO: TCP Data received {"connection_id":109252,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:44] local.INFO: Processing buffer {"connection_id":109252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:29:44] local.INFO: Packet analysis {"connection_id":109252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:29:44] local.INFO: Extracted packet for processing {"connection_id":109252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 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-06-21 22:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:29:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:29:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":109252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:29:44] local.INFO: GPS data processed {"connection_id":109252,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:29:44] local.INFO: Acknowledgment sent {"connection_id":109252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:30:16] local.INFO: TCP Data received {"connection_id":109836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:30:16] local.INFO: Processing buffer {"connection_id":109836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:30:16] local.INFO: IMEI packet received {"connection_id":109836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":109836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:30:29] local.INFO: TCP Data received {"connection_id":109058,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:30:29] local.INFO: Processing buffer {"connection_id":109058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:30:29] local.INFO: IMEI packet received {"connection_id":109058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":109058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:30:34] local.INFO: TCP Data received {"connection_id":109058,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:30:34] local.INFO: Processing buffer {"connection_id":109058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:30:34] local.INFO: IMEI packet received {"connection_id":109058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":109058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:30:35] local.INFO: TCP Data received {"connection_id":109058,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:30:35] local.INFO: Processing buffer {"connection_id":109058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:30:35] local.INFO: Packet analysis {"connection_id":109058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:30:35] local.INFO: Extracted packet for processing {"connection_id":109058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":109058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:30:35] local.INFO: GPS data processed {"connection_id":109058,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:30:35] local.INFO: Acknowledgment sent {"connection_id":109058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:31:07] local.INFO: TCP Data received {"connection_id":109058,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:31:07] local.INFO: Processing buffer {"connection_id":109058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb1c1a20012d34c54006aa3f800010007220..."} 
[2026-06-21 22:31:07] local.INFO: Packet analysis {"connection_id":109058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:31:07] local.INFO: Extracted packet for processing {"connection_id":109058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb1c"} 
[2026-06-21 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":16,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207525632001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782060948000,"timestamp_ms":1782060948000,"timestamp_seconds":1782060948,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb1c1a20"} 
[2026-06-21 22:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-21 22:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207525632001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207525632001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207525632001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":109058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:31:07] local.INFO: GPS data processed {"connection_id":109058,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:31:07] local.INFO: Acknowledgment sent {"connection_id":109058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:31:26] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:26] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:26] local.INFO: IMEI packet received {"connection_id":110789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":110789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:31:28] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:28] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:28] local.INFO: IMEI packet received {"connection_id":110789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":110789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:31:34] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:34] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:31:34] local.INFO: IMEI packet received {"connection_id":110789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":110789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:31:35] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:31:35] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:31:35] local.INFO: Packet analysis {"connection_id":110789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:31:35] local.INFO: Extracted packet for processing {"connection_id":110789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":110789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:31:35] local.INFO: GPS data processed {"connection_id":110789,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:31:35] local.INFO: Acknowledgment sent {"connection_id":110789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:32:07] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:32:07] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:32:07] local.INFO: Packet analysis {"connection_id":110789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:32:07] local.INFO: Extracted packet for processing {"connection_id":110789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:32: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-06-21 22: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-06-21 22:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":110789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:32:07] local.INFO: GPS data processed {"connection_id":110789,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:32:07] local.INFO: Acknowledgment sent {"connection_id":110789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:32:28] local.INFO: TCP Data received {"connection_id":109060,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:32:28] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:32:28] local.INFO: IMEI packet received {"connection_id":109060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":109060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:32:34] local.INFO: TCP Data received {"connection_id":109060,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:32:34] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:32:34] local.INFO: IMEI packet received {"connection_id":109060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":109060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:32:35] local.INFO: TCP Data received {"connection_id":109060,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:32:35] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:32:35] local.INFO: Packet analysis {"connection_id":109060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:32:35] local.INFO: Extracted packet for processing {"connection_id":109060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":109060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:32:35] local.INFO: GPS data processed {"connection_id":109060,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:32:35] local.INFO: Acknowledgment sent {"connection_id":109060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:33:07] local.INFO: TCP Data received {"connection_id":109060,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:07] local.INFO: Processing buffer {"connection_id":109060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:07] local.INFO: Packet analysis {"connection_id":109060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:33:07] local.INFO: Extracted packet for processing {"connection_id":109060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:33: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-06-21 22:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:33:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":109060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:33:07] local.INFO: GPS data processed {"connection_id":109060,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:33:07] local.INFO: Acknowledgment sent {"connection_id":109060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:33:34] local.INFO: TCP Data received {"connection_id":109061,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:33:34] local.INFO: Processing buffer {"connection_id":109061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:33:34] local.INFO: IMEI packet received {"connection_id":109061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":109061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:33:39] local.INFO: TCP Data received {"connection_id":109061,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:33:39] local.INFO: Processing buffer {"connection_id":109061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:33:39] local.INFO: IMEI packet received {"connection_id":109061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":109061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:33:40] local.INFO: TCP Data received {"connection_id":109061,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:40] local.INFO: Processing buffer {"connection_id":109061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:40] local.INFO: Packet analysis {"connection_id":109061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:33:40] local.INFO: Extracted packet for processing {"connection_id":109061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":109061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:33:40] local.INFO: GPS data processed {"connection_id":109061,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:33:40] local.INFO: Acknowledgment sent {"connection_id":109061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:33:44] local.INFO: TCP Data received {"connection_id":109061,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:44] local.INFO: Processing buffer {"connection_id":109061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:33:44] local.INFO: Packet analysis {"connection_id":109061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:33:44] local.INFO: Extracted packet for processing {"connection_id":109061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:33:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":109061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:33:44] local.INFO: GPS data processed {"connection_id":109061,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:33:44] local.INFO: Acknowledgment sent {"connection_id":109061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:34:29] local.INFO: TCP Data received {"connection_id":109838,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:34:29] local.INFO: Processing buffer {"connection_id":109838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:34:29] local.INFO: IMEI packet received {"connection_id":109838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":109838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:34:34] local.INFO: TCP Data received {"connection_id":109838,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:34:34] local.INFO: Processing buffer {"connection_id":109838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:34:34] local.INFO: IMEI packet received {"connection_id":109838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":109838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:34:35] local.INFO: TCP Data received {"connection_id":109838,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:34:35] local.INFO: Processing buffer {"connection_id":109838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:34:35] local.INFO: Packet analysis {"connection_id":109838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:34:35] local.INFO: Extracted packet for processing {"connection_id":109838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:34:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":109838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:34:35] local.INFO: GPS data processed {"connection_id":109838,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:34:35] local.INFO: Acknowledgment sent {"connection_id":109838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:35:07] local.INFO: TCP Data received {"connection_id":109838,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:35:07] local.INFO: Processing buffer {"connection_id":109838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:35:07] local.INFO: Packet analysis {"connection_id":109838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:35:07] local.INFO: Extracted packet for processing {"connection_id":109838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:35: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-06-21 22: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-06-21 22:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:35:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":109838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:35:07] local.INFO: GPS data processed {"connection_id":109838,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:35:07] local.INFO: Acknowledgment sent {"connection_id":109838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:35:28] local.INFO: TCP Data received {"connection_id":110791,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:35:28] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:35:28] local.INFO: IMEI packet received {"connection_id":110791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":110791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:35:34] local.INFO: TCP Data received {"connection_id":110791,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:35:34] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:35:34] local.INFO: IMEI packet received {"connection_id":110791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":110791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:35:35] local.INFO: TCP Data received {"connection_id":110791,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:35:35] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:35:35] local.INFO: Packet analysis {"connection_id":110791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:35:35] local.INFO: Extracted packet for processing {"connection_id":110791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":110791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:35:35] local.INFO: GPS data processed {"connection_id":110791,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:35:35] local.INFO: Acknowledgment sent {"connection_id":110791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:35:36] local.INFO: TCP Data received {"connection_id":110790,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:35:36] local.INFO: Processing buffer {"connection_id":110790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:35:36] local.INFO: IMEI packet received {"connection_id":110790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":110790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:36:06] local.INFO: TCP Data received {"connection_id":110791,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:36:06] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb20b1e8012d34c54006aa3f80000a00721f..."} 
[2026-06-21 22:36:06] local.INFO: Packet analysis {"connection_id":110791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:36:06] local.INFO: Extracted packet for processing {"connection_id":110791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb20"} 
[2026-06-21 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":10,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207602688001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061249000,"timestamp_ms":1782061249000,"timestamp_seconds":1782061249,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb20b1e8"} 
[2026-06-21 22:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207602688001,"66":25038,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207602688001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:36:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207602688001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":110791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:36:06] local.INFO: GPS data processed {"connection_id":110791,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:36:06] local.INFO: Acknowledgment sent {"connection_id":110791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:36:11] local.INFO: TCP Data received {"connection_id":109255,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:36:11] local.INFO: Processing buffer {"connection_id":109255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:36:11] local.INFO: IMEI packet received {"connection_id":109255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":109255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:36:27] local.INFO: TCP Data received {"connection_id":109839,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:27] local.INFO: Processing buffer {"connection_id":109839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:27] local.INFO: IMEI packet received {"connection_id":109839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":109839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:36:28] local.INFO: TCP Data received {"connection_id":109839,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:28] local.INFO: Processing buffer {"connection_id":109839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:28] local.INFO: IMEI packet received {"connection_id":109839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":109839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:36:34] local.INFO: TCP Data received {"connection_id":109839,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:34] local.INFO: Processing buffer {"connection_id":109839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:36:34] local.INFO: IMEI packet received {"connection_id":109839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":109839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:36:35] local.INFO: TCP Data received {"connection_id":109839,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:36:35] local.INFO: Processing buffer {"connection_id":109839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:36:35] local.INFO: Packet analysis {"connection_id":109839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:36:35] local.INFO: Extracted packet for processing {"connection_id":109839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":109839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:36:35] local.INFO: GPS data processed {"connection_id":109839,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:36:35] local.INFO: Acknowledgment sent {"connection_id":109839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:37:06] local.INFO: TCP Data received {"connection_id":109839,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:06] local.INFO: Processing buffer {"connection_id":109839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:06] local.INFO: Packet analysis {"connection_id":109839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:37:06] local.INFO: Extracted packet for processing {"connection_id":109839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:37:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":109839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:37:06] local.INFO: GPS data processed {"connection_id":109839,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:37:06] local.INFO: Acknowledgment sent {"connection_id":109839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:37:34] local.INFO: TCP Data received {"connection_id":109063,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:37:34] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:37:34] local.INFO: IMEI packet received {"connection_id":109063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":109063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:37:39] local.INFO: TCP Data received {"connection_id":109063,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:37:39] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:37:39] local.INFO: IMEI packet received {"connection_id":109063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":109063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:37:40] local.INFO: TCP Data received {"connection_id":109063,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:40] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:40] local.INFO: Packet analysis {"connection_id":109063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:37:40] local.INFO: Extracted packet for processing {"connection_id":109063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:37:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:37:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":109063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:37:40] local.INFO: GPS data processed {"connection_id":109063,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:37:40] local.INFO: Acknowledgment sent {"connection_id":109063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:37:44] local.INFO: TCP Data received {"connection_id":109063,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:44] local.INFO: Processing buffer {"connection_id":109063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:37:44] local.INFO: Packet analysis {"connection_id":109063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:37:44] local.INFO: Extracted packet for processing {"connection_id":109063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 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-06-21 22:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:37:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":109063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:37:44] local.INFO: GPS data processed {"connection_id":109063,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:37:44] local.INFO: Acknowledgment sent {"connection_id":109063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:38:29] local.INFO: TCP Data received {"connection_id":109257,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:38:29] local.INFO: Processing buffer {"connection_id":109257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:38:29] local.INFO: IMEI packet received {"connection_id":109257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":109257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:38:34] local.INFO: TCP Data received {"connection_id":109257,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:38:34] local.INFO: Processing buffer {"connection_id":109257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:38:34] local.INFO: IMEI packet received {"connection_id":109257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":109257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:38:35] local.INFO: TCP Data received {"connection_id":109257,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:38:35] local.INFO: Processing buffer {"connection_id":109257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:38:35] local.INFO: Packet analysis {"connection_id":109257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:38:35] local.INFO: Extracted packet for processing {"connection_id":109257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":109257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:38:35] local.INFO: GPS data processed {"connection_id":109257,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:38:35] local.INFO: Acknowledgment sent {"connection_id":109257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:39:06] local.INFO: TCP Data received {"connection_id":109257,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:39:06] local.INFO: Processing buffer {"connection_id":109257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:39:06] local.INFO: Packet analysis {"connection_id":109257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:39:06] local.INFO: Extracted packet for processing {"connection_id":109257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":109257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:39:06] local.INFO: GPS data processed {"connection_id":109257,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:39:06] local.INFO: Acknowledgment sent {"connection_id":109257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:39:28] local.INFO: TCP Data received {"connection_id":109259,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:39:28] local.INFO: Processing buffer {"connection_id":109259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:39:28] local.INFO: IMEI packet received {"connection_id":109259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":109259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:39:34] local.INFO: TCP Data received {"connection_id":109259,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:39:34] local.INFO: Processing buffer {"connection_id":109259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:39:34] local.INFO: IMEI packet received {"connection_id":109259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":109259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:39:35] local.INFO: TCP Data received {"connection_id":109259,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:39:35] local.INFO: Processing buffer {"connection_id":109259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:39:35] local.INFO: Packet analysis {"connection_id":109259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:39:35] local.INFO: Extracted packet for processing {"connection_id":109259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:39:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":109259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:39:35] local.INFO: GPS data processed {"connection_id":109259,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:39:35] local.INFO: Acknowledgment sent {"connection_id":109259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:40:06] local.INFO: TCP Data received {"connection_id":109259,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:40:06] local.INFO: Processing buffer {"connection_id":109259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:40:06] local.INFO: Packet analysis {"connection_id":109259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:40:06] local.INFO: Extracted packet for processing {"connection_id":109259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:40:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:40:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":109259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:40:06] local.INFO: GPS data processed {"connection_id":109259,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:40:06] local.INFO: Acknowledgment sent {"connection_id":109259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:40:28] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:40:28] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:40:28] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:40:34] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:40:34] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:40:34] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:40:35] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:40:35] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:40:35] local.INFO: Packet analysis {"connection_id":110792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:40:35] local.INFO: Extracted packet for processing {"connection_id":110792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 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-06-21 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":110792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:40:35] local.INFO: GPS data processed {"connection_id":110792,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:40:35] local.INFO: Acknowledgment sent {"connection_id":110792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:41:07] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:41:07] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2549b0012d34c54006aa3f80000d00721f..."} 
[2026-06-21 22:41:07] local.INFO: Packet analysis {"connection_id":110792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:41:07] local.INFO: Extracted packet for processing {"connection_id":110792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb25"} 
[2026-06-21 22:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":13,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207679744001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782061550000,"timestamp_ms":1782061550000,"timestamp_seconds":1782061550,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2549b0"} 
[2026-06-21 22:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-21 22:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207679744001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207679744001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:41:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207679744001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":110792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:41:07] local.INFO: GPS data processed {"connection_id":110792,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:41:07] local.INFO: Acknowledgment sent {"connection_id":110792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:41:28] local.INFO: TCP Data received {"connection_id":109260,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:28] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:28] local.INFO: IMEI packet received {"connection_id":109260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":109260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:41:29] local.INFO: TCP Data received {"connection_id":109260,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:29] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:29] local.INFO: IMEI packet received {"connection_id":109260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":109260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:41:34] local.INFO: TCP Data received {"connection_id":109260,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:34] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:41:34] local.INFO: IMEI packet received {"connection_id":109260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":109260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:41:35] local.INFO: TCP Data received {"connection_id":109260,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:41:35] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:41:35] local.INFO: Packet analysis {"connection_id":109260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:41:35] local.INFO: Extracted packet for processing {"connection_id":109260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:41:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:41:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":109260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:41:35] local.INFO: GPS data processed {"connection_id":109260,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:41:35] local.INFO: Acknowledgment sent {"connection_id":109260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:42:06] local.INFO: TCP Data received {"connection_id":109260,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:42:06] local.INFO: Processing buffer {"connection_id":109260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:42:06] local.INFO: Packet analysis {"connection_id":109260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:42:06] local.INFO: Extracted packet for processing {"connection_id":109260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 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-06-21 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:42:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":109260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:42:06] local.INFO: GPS data processed {"connection_id":109260,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:42:06] local.INFO: Acknowledgment sent {"connection_id":109260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:42:12] local.INFO: TCP Data received {"connection_id":109840,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:42:12] local.INFO: Processing buffer {"connection_id":109840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:42:12] local.INFO: IMEI packet received {"connection_id":109840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":109840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:42:29] local.INFO: TCP Data received {"connection_id":109841,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:42:29] local.INFO: Processing buffer {"connection_id":109841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:42:29] local.INFO: IMEI packet received {"connection_id":109841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":109841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:42:34] local.INFO: TCP Data received {"connection_id":109841,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:42:34] local.INFO: Processing buffer {"connection_id":109841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:42:34] local.INFO: IMEI packet received {"connection_id":109841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":109841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:42:35] local.INFO: TCP Data received {"connection_id":109841,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:42:35] local.INFO: Processing buffer {"connection_id":109841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:42:35] local.INFO: Packet analysis {"connection_id":109841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:42:35] local.INFO: Extracted packet for processing {"connection_id":109841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":109841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:42:35] local.INFO: GPS data processed {"connection_id":109841,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:42:35] local.INFO: Acknowledgment sent {"connection_id":109841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:43:06] local.INFO: TCP Data received {"connection_id":109841,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:43:06] local.INFO: Processing buffer {"connection_id":109841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:43:06] local.INFO: Packet analysis {"connection_id":109841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:43:06] local.INFO: Extracted packet for processing {"connection_id":109841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 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-06-21 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":109841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:43:06] local.INFO: GPS data processed {"connection_id":109841,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:43:06] local.INFO: Acknowledgment sent {"connection_id":109841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:43:28] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:43:28] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:43:28] local.INFO: IMEI packet received {"connection_id":110793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":110793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:43:34] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:43:34] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:43:34] local.INFO: IMEI packet received {"connection_id":110793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":110793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:43:35] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:43:35] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:43:35] local.INFO: Packet analysis {"connection_id":110793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:43:35] local.INFO: Extracted packet for processing {"connection_id":110793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:43:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":110793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:43:35] local.INFO: GPS data processed {"connection_id":110793,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:43:35] local.INFO: Acknowledgment sent {"connection_id":110793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:44:06] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:44:06] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:44:06] local.INFO: Packet analysis {"connection_id":110793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:44:06] local.INFO: Extracted packet for processing {"connection_id":110793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:44:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":110793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:44:06] local.INFO: GPS data processed {"connection_id":110793,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:44:06] local.INFO: Acknowledgment sent {"connection_id":110793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:44:28] local.INFO: TCP Data received {"connection_id":109843,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:44:28] local.INFO: Processing buffer {"connection_id":109843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:44:28] local.INFO: IMEI packet received {"connection_id":109843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":109843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:44:34] local.INFO: TCP Data received {"connection_id":109843,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:44:34] local.INFO: Processing buffer {"connection_id":109843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:44:34] local.INFO: IMEI packet received {"connection_id":109843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":109843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:44:35] local.INFO: TCP Data received {"connection_id":109843,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:44:35] local.INFO: Processing buffer {"connection_id":109843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:44:35] local.INFO: Packet analysis {"connection_id":109843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:44:35] local.INFO: Extracted packet for processing {"connection_id":109843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:44:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":109843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:44:35] local.INFO: GPS data processed {"connection_id":109843,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:44:35] local.INFO: Acknowledgment sent {"connection_id":109843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:45:06] local.INFO: TCP Data received {"connection_id":109843,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:45:06] local.INFO: Processing buffer {"connection_id":109843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:45:06] local.INFO: Packet analysis {"connection_id":109843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:45:06] local.INFO: Extracted packet for processing {"connection_id":109843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":109843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:45:06] local.INFO: GPS data processed {"connection_id":109843,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:45:06] local.INFO: Acknowledgment sent {"connection_id":109843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:45:28] local.INFO: TCP Data received {"connection_id":109066,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:45:28] local.INFO: Processing buffer {"connection_id":109066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:45:28] local.INFO: IMEI packet received {"connection_id":109066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":109066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:45:34] local.INFO: TCP Data received {"connection_id":109066,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:45:34] local.INFO: Processing buffer {"connection_id":109066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:45:34] local.INFO: IMEI packet received {"connection_id":109066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":109066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:45:35] local.INFO: TCP Data received {"connection_id":109066,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:45:35] local.INFO: Processing buffer {"connection_id":109066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:45:35] local.INFO: Packet analysis {"connection_id":109066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:45:35] local.INFO: Extracted packet for processing {"connection_id":109066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:45:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:45:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":109066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:45:35] local.INFO: GPS data processed {"connection_id":109066,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:45:35] local.INFO: Acknowledgment sent {"connection_id":109066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:46:07] local.INFO: TCP Data received {"connection_id":109066,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:46:07] local.INFO: Processing buffer {"connection_id":109066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb29e178012d34c54006aa3f80000700721e..."} 
[2026-06-21 22:46:07] local.INFO: Packet analysis {"connection_id":109066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:46:07] local.INFO: Extracted packet for processing {"connection_id":109066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb29"} 
[2026-06-21 22:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":7,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207756800001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782061851000,"timestamp_ms":1782061851000,"timestamp_seconds":1782061851,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb29e178"} 
[2026-06-21 22:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207756800001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207756800001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207756800001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":109066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:46:07] local.INFO: GPS data processed {"connection_id":109066,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:46:07] local.INFO: Acknowledgment sent {"connection_id":109066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:46:29] local.INFO: TCP Data received {"connection_id":109262,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:29] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:29] local.INFO: IMEI packet received {"connection_id":109262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":109262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:46:34] local.INFO: TCP Data received {"connection_id":109262,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:34] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:34] local.INFO: IMEI packet received {"connection_id":109262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":109262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:46:39] local.INFO: TCP Data received {"connection_id":109262,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:39] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:46:39] local.INFO: IMEI packet received {"connection_id":109262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":109262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:46:40] local.INFO: TCP Data received {"connection_id":109262,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:46:40] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:46:40] local.INFO: Packet analysis {"connection_id":109262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:46:40] local.INFO: Extracted packet for processing {"connection_id":109262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:46:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":109262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:46:40] local.INFO: GPS data processed {"connection_id":109262,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:46:40] local.INFO: Acknowledgment sent {"connection_id":109262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:46:44] local.INFO: TCP Data received {"connection_id":109262,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:46:44] local.INFO: Processing buffer {"connection_id":109262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:46:44] local.INFO: Packet analysis {"connection_id":109262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:46:44] local.INFO: Extracted packet for processing {"connection_id":109262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 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-06-21 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:46:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":109262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:46:44] local.INFO: GPS data processed {"connection_id":109262,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:46:44] local.INFO: Acknowledgment sent {"connection_id":109262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:47:28] local.INFO: TCP Data received {"connection_id":109844,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:47:28] local.INFO: Processing buffer {"connection_id":109844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:47:28] local.INFO: IMEI packet received {"connection_id":109844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":109844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:47:34] local.INFO: TCP Data received {"connection_id":109844,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:47:34] local.INFO: Processing buffer {"connection_id":109844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:47:34] local.INFO: IMEI packet received {"connection_id":109844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":109844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:47:35] local.INFO: TCP Data received {"connection_id":109844,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:47:35] local.INFO: Processing buffer {"connection_id":109844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:47:35] local.INFO: Packet analysis {"connection_id":109844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:47:35] local.INFO: Extracted packet for processing {"connection_id":109844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":109844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:47:35] local.INFO: GPS data processed {"connection_id":109844,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:47:35] local.INFO: Acknowledgment sent {"connection_id":109844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:47:41] local.INFO: TCP Data received {"connection_id":110795,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:47:41] local.INFO: Processing buffer {"connection_id":110795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:47:41] local.INFO: IMEI packet received {"connection_id":110795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":110795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:48:06] local.INFO: TCP Data received {"connection_id":109844,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:48:06] local.INFO: Processing buffer {"connection_id":109844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:48:06] local.INFO: Packet analysis {"connection_id":109844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:48:06] local.INFO: Extracted packet for processing {"connection_id":109844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":109844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:48:06] local.INFO: GPS data processed {"connection_id":109844,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:48:06] local.INFO: Acknowledgment sent {"connection_id":109844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:48:11] local.INFO: TCP Data received {"connection_id":109263,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:48:11] local.INFO: Processing buffer {"connection_id":109263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:48:11] local.INFO: IMEI packet received {"connection_id":109263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":109263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:48:28] local.INFO: TCP Data received {"connection_id":109068,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:48:28] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:48:28] local.INFO: IMEI packet received {"connection_id":109068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":109068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:48:34] local.INFO: TCP Data received {"connection_id":109068,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:48:34] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:48:34] local.INFO: IMEI packet received {"connection_id":109068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":109068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:48:35] local.INFO: TCP Data received {"connection_id":109068,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:48:35] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:48:35] local.INFO: Packet analysis {"connection_id":109068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:48:35] local.INFO: Extracted packet for processing {"connection_id":109068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:48:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":109068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:48:35] local.INFO: GPS data processed {"connection_id":109068,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:48:35] local.INFO: Acknowledgment sent {"connection_id":109068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:49:06] local.INFO: TCP Data received {"connection_id":109068,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:49:06] local.INFO: Processing buffer {"connection_id":109068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:49:06] local.INFO: Packet analysis {"connection_id":109068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:49:06] local.INFO: Extracted packet for processing {"connection_id":109068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 22:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 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-06-21 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 22:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:49:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":109068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:49:07] local.INFO: GPS data processed {"connection_id":109068,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:49:07] local.INFO: Acknowledgment sent {"connection_id":109068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:49:28] local.INFO: TCP Data received {"connection_id":109845,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:49:28] local.INFO: Processing buffer {"connection_id":109845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:49:28] local.INFO: IMEI packet received {"connection_id":109845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":109845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:49:34] local.INFO: TCP Data received {"connection_id":109845,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:49:34] local.INFO: Processing buffer {"connection_id":109845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:49:34] local.INFO: IMEI packet received {"connection_id":109845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":109845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:49:35] local.INFO: TCP Data received {"connection_id":109845,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:49:35] local.INFO: Processing buffer {"connection_id":109845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:49:35] local.INFO: Packet analysis {"connection_id":109845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:49:35] local.INFO: Extracted packet for processing {"connection_id":109845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":109845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:49:35] local.INFO: GPS data processed {"connection_id":109845,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:49:35] local.INFO: Acknowledgment sent {"connection_id":109845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:50:06] local.INFO: TCP Data received {"connection_id":109845,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:06] local.INFO: Processing buffer {"connection_id":109845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:06] local.INFO: Packet analysis {"connection_id":109845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:50:06] local.INFO: Extracted packet for processing {"connection_id":109845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":109845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:50:06] local.INFO: GPS data processed {"connection_id":109845,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:50:06] local.INFO: Acknowledgment sent {"connection_id":109845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:50:34] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:50:34] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:50:34] local.INFO: IMEI packet received {"connection_id":109069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":109069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:50:39] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:50:39] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:50:39] local.INFO: IMEI packet received {"connection_id":109069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":109069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:50:40] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:40] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:40] local.INFO: Packet analysis {"connection_id":109069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:50:40] local.INFO: Extracted packet for processing {"connection_id":109069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:50:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":109069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:50:40] local.INFO: GPS data processed {"connection_id":109069,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:50:40] local.INFO: Acknowledgment sent {"connection_id":109069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:50:44] local.INFO: TCP Data received {"connection_id":109069,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:44] local.INFO: Processing buffer {"connection_id":109069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb2e7940012d34c54006aa3f80000b007221..."} 
[2026-06-21 22:50:44] local.INFO: Packet analysis {"connection_id":109069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:50:44] local.INFO: Extracted packet for processing {"connection_id":109069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb2e"} 
[2026-06-21 22:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":11,"angle":114,"satellites":33,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207833856001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782062152000,"timestamp_ms":1782062152000,"timestamp_seconds":1782062152,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb2e7940"} 
[2026-06-21 22:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 22:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207833856001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207833856001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:50:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:50:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207833856001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":109069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:50:44] local.INFO: GPS data processed {"connection_id":109069,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:50:44] local.INFO: Acknowledgment sent {"connection_id":109069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:51:29] local.INFO: TCP Data received {"connection_id":109265,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:51:29] local.INFO: Processing buffer {"connection_id":109265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:51:29] local.INFO: IMEI packet received {"connection_id":109265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":109265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:51:30] local.INFO: TCP Data received {"connection_id":109265,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:51:30] local.INFO: Processing buffer {"connection_id":109265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:51:30] local.INFO: IMEI packet received {"connection_id":109265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":109265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:51:31] local.INFO: TCP Data received {"connection_id":109265,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:51:31] local.INFO: Processing buffer {"connection_id":109265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:51:31] local.INFO: Packet analysis {"connection_id":109265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:51:31] local.INFO: Extracted packet for processing {"connection_id":109265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":109265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":109265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":109265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:51:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":109265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:51:31] local.INFO: GPS data processed {"connection_id":109265,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:51:31] local.INFO: Acknowledgment sent {"connection_id":109265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:52:03] local.INFO: TCP Data received {"connection_id":109265,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:52:03] local.INFO: Processing buffer {"connection_id":109265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:52:03] local.INFO: Packet analysis {"connection_id":109265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:52:03] local.INFO: Extracted packet for processing {"connection_id":109265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":109265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":109265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":109265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:52:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":109265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:52:03] local.INFO: GPS data processed {"connection_id":109265,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:52:03] local.INFO: Acknowledgment sent {"connection_id":109265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:52:28] local.INFO: TCP Data received {"connection_id":109070,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:52:28] local.INFO: Processing buffer {"connection_id":109070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:52:28] local.INFO: IMEI packet received {"connection_id":109070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":109070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:52:34] local.INFO: TCP Data received {"connection_id":109070,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:52:34] local.INFO: Processing buffer {"connection_id":109070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:52:34] local.INFO: IMEI packet received {"connection_id":109070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":109070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:52:35] local.INFO: TCP Data received {"connection_id":109070,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:52:35] local.INFO: Processing buffer {"connection_id":109070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:52:35] local.INFO: Packet analysis {"connection_id":109070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:52:35] local.INFO: Extracted packet for processing {"connection_id":109070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":109070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:52:35] local.INFO: GPS data processed {"connection_id":109070,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:52:35] local.INFO: Acknowledgment sent {"connection_id":109070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:53:06] local.INFO: TCP Data received {"connection_id":109070,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:53:06] local.INFO: Processing buffer {"connection_id":109070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:53:06] local.INFO: Packet analysis {"connection_id":109070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:53:06] local.INFO: Extracted packet for processing {"connection_id":109070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:53:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":109070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:53:06] local.INFO: GPS data processed {"connection_id":109070,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:53:06] local.INFO: Acknowledgment sent {"connection_id":109070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:53:28] local.INFO: TCP Data received {"connection_id":109266,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:53:28] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:53:28] local.INFO: IMEI packet received {"connection_id":109266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":109266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:53:31] local.INFO: TCP Data received {"connection_id":110798,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:53:31] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:53:31] local.INFO: IMEI packet received {"connection_id":110798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":110798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:53:34] local.INFO: TCP Data received {"connection_id":109266,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:53:34] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:53:34] local.INFO: IMEI packet received {"connection_id":109266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":109266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:53:35] local.INFO: TCP Data received {"connection_id":109266,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:53:35] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:53:35] local.INFO: Packet analysis {"connection_id":109266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:53:35] local.INFO: Extracted packet for processing {"connection_id":109266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":109266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:53:35] local.INFO: GPS data processed {"connection_id":109266,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:53:35] local.INFO: Acknowledgment sent {"connection_id":109266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:54:06] local.INFO: TCP Data received {"connection_id":109266,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:54:06] local.INFO: Processing buffer {"connection_id":109266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:54:06] local.INFO: Packet analysis {"connection_id":109266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:54:06] local.INFO: Extracted packet for processing {"connection_id":109266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:54:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":109266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:54:06] local.INFO: GPS data processed {"connection_id":109266,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:54:06] local.INFO: Acknowledgment sent {"connection_id":109266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:54:11] local.INFO: TCP Data received {"connection_id":109071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:54:11] local.INFO: Processing buffer {"connection_id":109071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:54:11] local.INFO: IMEI packet received {"connection_id":109071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":109071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:54:34] local.INFO: TCP Data received {"connection_id":109072,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:54:34] local.INFO: Processing buffer {"connection_id":109072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:54:34] local.INFO: IMEI packet received {"connection_id":109072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":109072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:54:39] local.INFO: TCP Data received {"connection_id":109072,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:54:39] local.INFO: Processing buffer {"connection_id":109072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:54:39] local.INFO: IMEI packet received {"connection_id":109072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":109072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:54:40] local.INFO: TCP Data received {"connection_id":109072,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:54:40] local.INFO: Processing buffer {"connection_id":109072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:54:40] local.INFO: Packet analysis {"connection_id":109072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:54:40] local.INFO: Extracted packet for processing {"connection_id":109072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:54:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":109072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:54:40] local.INFO: GPS data processed {"connection_id":109072,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:54:40] local.INFO: Acknowledgment sent {"connection_id":109072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:55:12] local.INFO: TCP Data received {"connection_id":109072,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:55:12] local.INFO: Processing buffer {"connection_id":109072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:55:12] local.INFO: Packet analysis {"connection_id":109072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:55:12] local.INFO: Extracted packet for processing {"connection_id":109072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:55:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":109072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:55:12] local.INFO: GPS data processed {"connection_id":109072,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:55:12] local.INFO: Acknowledgment sent {"connection_id":109072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:55:29] local.INFO: TCP Data received {"connection_id":109073,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:55:29] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:55:29] local.INFO: IMEI packet received {"connection_id":109073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":109073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:55:34] local.INFO: TCP Data received {"connection_id":109073,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:55:34] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:55:34] local.INFO: IMEI packet received {"connection_id":109073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":109073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:55:35] local.INFO: TCP Data received {"connection_id":109073,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:55:35] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:55:35] local.INFO: Packet analysis {"connection_id":109073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:55:35] local.INFO: Extracted packet for processing {"connection_id":109073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:55:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:55:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":109073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:55:35] local.INFO: GPS data processed {"connection_id":109073,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:55:35] local.INFO: Acknowledgment sent {"connection_id":109073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:56:07] local.INFO: TCP Data received {"connection_id":109073,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:56:07] local.INFO: Processing buffer {"connection_id":109073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb330d20012d34c54006aa3f80000f00721f..."} 
[2026-06-21 22:56:07] local.INFO: Packet analysis {"connection_id":109073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:56:07] local.INFO: Extracted packet for processing {"connection_id":109073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb33"} 
[2026-06-21 22:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207910912001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782062452000,"timestamp_ms":1782062452000,"timestamp_seconds":1782062452,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb330d20"} 
[2026-06-21 22:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 22:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207910912001,"66":25299,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207910912001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:56:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207910912001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":109073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:56:07] local.INFO: GPS data processed {"connection_id":109073,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:56:07] local.INFO: Acknowledgment sent {"connection_id":109073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:56:28] local.INFO: TCP Data received {"connection_id":109847,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:28] local.INFO: Processing buffer {"connection_id":109847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:28] local.INFO: IMEI packet received {"connection_id":109847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":109847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:56:32] local.INFO: TCP Data received {"connection_id":109847,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:32] local.INFO: Processing buffer {"connection_id":109847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:32] local.INFO: IMEI packet received {"connection_id":109847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":109847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:56:33] local.INFO: TCP Data received {"connection_id":109847,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:33] local.INFO: Processing buffer {"connection_id":109847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:56:33] local.INFO: IMEI packet received {"connection_id":109847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":109847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:56:35] local.INFO: TCP Data received {"connection_id":109847,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:56:35] local.INFO: Processing buffer {"connection_id":109847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:56:35] local.INFO: Packet analysis {"connection_id":109847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:56:35] local.INFO: Extracted packet for processing {"connection_id":109847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":109847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:56:35] local.INFO: GPS data processed {"connection_id":109847,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:56:35] local.INFO: Acknowledgment sent {"connection_id":109847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:56:39] local.INFO: TCP Data received {"connection_id":109847,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:56:39] local.INFO: Processing buffer {"connection_id":109847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:56:39] local.INFO: Packet analysis {"connection_id":109847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:56:39] local.INFO: Extracted packet for processing {"connection_id":109847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":109847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":109847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":109847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":109847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:56:39] local.INFO: GPS data processed {"connection_id":109847,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:56:39] local.INFO: Acknowledgment sent {"connection_id":109847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:57:11] local.INFO: TCP Data received {"connection_id":109847,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:11] local.INFO: Processing buffer {"connection_id":109847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:11] local.INFO: Packet analysis {"connection_id":109847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:57:11] local.INFO: Extracted packet for processing {"connection_id":109847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":109847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":109847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":109847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:57:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":109847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:57:11] local.INFO: GPS data processed {"connection_id":109847,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:57:11] local.INFO: Acknowledgment sent {"connection_id":109847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:57:34] local.INFO: TCP Data received {"connection_id":109075,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:57:34] local.INFO: Processing buffer {"connection_id":109075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:57:34] local.INFO: IMEI packet received {"connection_id":109075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":109075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:57:39] local.INFO: TCP Data received {"connection_id":109075,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:57:39] local.INFO: Processing buffer {"connection_id":109075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:57:39] local.INFO: IMEI packet received {"connection_id":109075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":109075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:57:40] local.INFO: TCP Data received {"connection_id":109075,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:40] local.INFO: Processing buffer {"connection_id":109075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:40] local.INFO: Packet analysis {"connection_id":109075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:57:40] local.INFO: Extracted packet for processing {"connection_id":109075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":109075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:57:40] local.INFO: GPS data processed {"connection_id":109075,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:57:40] local.INFO: Acknowledgment sent {"connection_id":109075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:57:45] local.INFO: TCP Data received {"connection_id":109075,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:45] local.INFO: Processing buffer {"connection_id":109075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:57:45] local.INFO: Packet analysis {"connection_id":109075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:57:45] local.INFO: Extracted packet for processing {"connection_id":109075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22: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-06-21 22:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":109075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:57:45] local.INFO: GPS data processed {"connection_id":109075,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:57:45] local.INFO: Acknowledgment sent {"connection_id":109075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:58:29] local.INFO: TCP Data received {"connection_id":110799,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:58:29] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:58:29] local.INFO: IMEI packet received {"connection_id":110799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":110799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:58:34] local.INFO: TCP Data received {"connection_id":110799,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:58:34] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:58:34] local.INFO: IMEI packet received {"connection_id":110799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":110799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:58:35] local.INFO: TCP Data received {"connection_id":110799,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:58:35] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:58:35] local.INFO: Packet analysis {"connection_id":110799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:58:35] local.INFO: Extracted packet for processing {"connection_id":110799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":110799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:58:35] local.INFO: GPS data processed {"connection_id":110799,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:58:35] local.INFO: Acknowledgment sent {"connection_id":110799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:59:07] local.INFO: TCP Data received {"connection_id":110799,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:59:07] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:59:07] local.INFO: Packet analysis {"connection_id":110799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:59:07] local.INFO: Extracted packet for processing {"connection_id":110799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22: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-06-21 22:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:59: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-06-21 22: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-06-21 22:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:59:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":110799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:59:07] local.INFO: GPS data processed {"connection_id":110799,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:59:07] local.INFO: Acknowledgment sent {"connection_id":110799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:59:28] local.INFO: TCP Data received {"connection_id":109849,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:59:28] local.INFO: Processing buffer {"connection_id":109849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:59:28] local.INFO: IMEI packet received {"connection_id":109849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 22:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":109849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 22:59:34] local.INFO: TCP Data received {"connection_id":109849,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:59:34] local.INFO: Processing buffer {"connection_id":109849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 22:59:34] local.INFO: IMEI packet received {"connection_id":109849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 22:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":109849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 22:59:35] local.INFO: TCP Data received {"connection_id":109849,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:59:35] local.INFO: Processing buffer {"connection_id":109849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 22:59:35] local.INFO: Packet analysis {"connection_id":109849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:59:35] local.INFO: Extracted packet for processing {"connection_id":109849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 22:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 22:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 22:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 22:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 22:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 22:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 22:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 22:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 22:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 22:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 22:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 22:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 22:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 22:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 22:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 22:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 22:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 22:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 22:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 22:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 22:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 22:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 22:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 22:59:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 22:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 22:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 22:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 22:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 22:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":109849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 22:59:35] local.INFO: GPS data processed {"connection_id":109849,"processed":1,"errors":0,"total":1} 
[2026-06-21 22:59:35] local.INFO: Acknowledgment sent {"connection_id":109849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 22:59:41] local.INFO: TCP Data received {"connection_id":109848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:59:41] local.INFO: Processing buffer {"connection_id":109848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 22:59:41] local.INFO: IMEI packet received {"connection_id":109848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 22:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":109848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:00:06] local.INFO: TCP Data received {"connection_id":109849,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:00:06] local.INFO: Processing buffer {"connection_id":109849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:00:06] local.INFO: Packet analysis {"connection_id":109849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 23:00:06] local.INFO: Extracted packet for processing {"connection_id":109849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 23:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 23:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:00:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":109849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:00:06] local.INFO: GPS data processed {"connection_id":109849,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:00:06] local.INFO: Acknowledgment sent {"connection_id":109849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:00:11] local.INFO: TCP Data received {"connection_id":109076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:00:11] local.INFO: Processing buffer {"connection_id":109076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:00:11] local.INFO: IMEI packet received {"connection_id":109076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":109076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:00:28] local.INFO: TCP Data received {"connection_id":110800,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:00:28] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:00:28] local.INFO: IMEI packet received {"connection_id":110800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":110800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:00:34] local.INFO: TCP Data received {"connection_id":110800,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:00:34] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:00:34] local.INFO: IMEI packet received {"connection_id":110800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":110800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:00:35] local.INFO: TCP Data received {"connection_id":110800,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:00:35] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:00:35] local.INFO: Packet analysis {"connection_id":110800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 23:00:35] local.INFO: Extracted packet for processing {"connection_id":110800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 23:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 23:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 23:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:00:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":110800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:00:35] local.INFO: GPS data processed {"connection_id":110800,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:00:35] local.INFO: Acknowledgment sent {"connection_id":110800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:01:07] local.INFO: TCP Data received {"connection_id":110800,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:01:07] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb37a4e8012d34c54006aa3f80001200721f..."} 
[2026-06-21 23:01:07] local.INFO: Packet analysis {"connection_id":110800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 23:01:07] local.INFO: Extracted packet for processing {"connection_id":110800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb37"} 
[2026-06-21 23:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":18,"angle":114,"satellites":31,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456207987712001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782062753000,"timestamp_ms":1782062753000,"timestamp_seconds":1782062753,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb37a4e8"} 
[2026-06-21 23:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-21 23:01: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-06-21 23:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456207987712001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456207987712001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456207987712001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":110800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:01:07] local.INFO: GPS data processed {"connection_id":110800,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:01:07] local.INFO: Acknowledgment sent {"connection_id":110800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:01:28] local.INFO: TCP Data received {"connection_id":109270,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:28] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:28] local.INFO: IMEI packet received {"connection_id":109270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":109270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:01:33] local.INFO: TCP Data received {"connection_id":109270,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:33] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:33] local.INFO: IMEI packet received {"connection_id":109270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":109270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:01:33] local.INFO: TCP Data received {"connection_id":109270,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:33] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:01:33] local.INFO: IMEI packet received {"connection_id":109270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":109270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:01:34] local.INFO: TCP Data received {"connection_id":109270,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:01:34] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:01:34] local.INFO: Packet analysis {"connection_id":109270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:01:34] local.INFO: Extracted packet for processing {"connection_id":109270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:01:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:01:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":109270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:01:34] local.INFO: GPS data processed {"connection_id":109270,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:01:34] local.INFO: Acknowledgment sent {"connection_id":109270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:01:39] local.INFO: TCP Data received {"connection_id":109270,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:01:39] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:01:39] local.INFO: Packet analysis {"connection_id":109270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:01:39] local.INFO: Extracted packet for processing {"connection_id":109270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":109270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":109270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:01:39] local.INFO: GPS data processed {"connection_id":109270,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:01:39] local.INFO: Acknowledgment sent {"connection_id":109270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:02:11] local.INFO: TCP Data received {"connection_id":109270,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:02:11] local.INFO: Processing buffer {"connection_id":109270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:02:11] local.INFO: Packet analysis {"connection_id":109270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:02:11] local.INFO: Extracted packet for processing {"connection_id":109270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":109270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":109270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:02:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":109270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:02:11] local.INFO: GPS data processed {"connection_id":109270,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:02:11] local.INFO: Acknowledgment sent {"connection_id":109270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:02:29] local.INFO: TCP Data received {"connection_id":109271,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:02:29] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:02:29] local.INFO: IMEI packet received {"connection_id":109271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":109271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:02:34] local.INFO: TCP Data received {"connection_id":109271,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:02:34] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:02:34] local.INFO: IMEI packet received {"connection_id":109271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":109271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:02:35] local.INFO: TCP Data received {"connection_id":109271,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:02:35] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:02:35] local.INFO: Packet analysis {"connection_id":109271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:02:35] local.INFO: Extracted packet for processing {"connection_id":109271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":109271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:02:35] local.INFO: GPS data processed {"connection_id":109271,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:02:35] local.INFO: Acknowledgment sent {"connection_id":109271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:03:06] local.INFO: TCP Data received {"connection_id":109271,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:03:06] local.INFO: Processing buffer {"connection_id":109271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:03:06] local.INFO: Packet analysis {"connection_id":109271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:03:06] local.INFO: Extracted packet for processing {"connection_id":109271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 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-06-21 23:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 23:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":109271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:03:06] local.INFO: GPS data processed {"connection_id":109271,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:03:06] local.INFO: Acknowledgment sent {"connection_id":109271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:03:28] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:03:28] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:03:28] local.INFO: IMEI packet received {"connection_id":109078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":109078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:03:34] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:03:34] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:03:34] local.INFO: IMEI packet received {"connection_id":109078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":109078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:03:35] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:03:35] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:03:35] local.INFO: Packet analysis {"connection_id":109078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:03:35] local.INFO: Extracted packet for processing {"connection_id":109078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":109078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:03:35] local.INFO: GPS data processed {"connection_id":109078,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:03:35] local.INFO: Acknowledgment sent {"connection_id":109078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:04:06] local.INFO: TCP Data received {"connection_id":109078,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:04:06] local.INFO: Processing buffer {"connection_id":109078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:04:06] local.INFO: Packet analysis {"connection_id":109078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:04:06] local.INFO: Extracted packet for processing {"connection_id":109078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":109078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:04:06] local.INFO: GPS data processed {"connection_id":109078,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:04:06] local.INFO: Acknowledgment sent {"connection_id":109078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:04:28] local.INFO: TCP Data received {"connection_id":109079,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:04:28] local.INFO: Processing buffer {"connection_id":109079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:04:28] local.INFO: IMEI packet received {"connection_id":109079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":109079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:04:34] local.INFO: TCP Data received {"connection_id":109079,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:04:34] local.INFO: Processing buffer {"connection_id":109079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:04:34] local.INFO: IMEI packet received {"connection_id":109079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":109079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:04:35] local.INFO: TCP Data received {"connection_id":109079,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:04:35] local.INFO: Processing buffer {"connection_id":109079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:04:35] local.INFO: Packet analysis {"connection_id":109079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:04:35] local.INFO: Extracted packet for processing {"connection_id":109079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":109079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:04:35] local.INFO: GPS data processed {"connection_id":109079,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:04:35] local.INFO: Acknowledgment sent {"connection_id":109079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:05:06] local.INFO: TCP Data received {"connection_id":109079,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:05:06] local.INFO: Processing buffer {"connection_id":109079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:05:06] local.INFO: Packet analysis {"connection_id":109079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:05:06] local.INFO: Extracted packet for processing {"connection_id":109079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":109079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:05:06] local.INFO: GPS data processed {"connection_id":109079,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:05:06] local.INFO: Acknowledgment sent {"connection_id":109079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:05:28] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:05:28] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:05:28] local.INFO: IMEI packet received {"connection_id":109080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":109080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:05:31] local.INFO: TCP Data received {"connection_id":110803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:05:31] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:05:31] local.INFO: IMEI packet received {"connection_id":110803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":110803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:05:34] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:05:34] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:05:34] local.INFO: IMEI packet received {"connection_id":109080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":109080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:05:35] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:05:35] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:05:35] local.INFO: Packet analysis {"connection_id":109080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:05:35] local.INFO: Extracted packet for processing {"connection_id":109080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:05:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":109080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:05:35] local.INFO: GPS data processed {"connection_id":109080,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:05:35] local.INFO: Acknowledgment sent {"connection_id":109080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:06:06] local.INFO: TCP Data received {"connection_id":109080,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:06:06] local.INFO: Processing buffer {"connection_id":109080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb3c3cb0012d34c54006aa3f80000f00721e..."} 
[2026-06-21 23:06:06] local.INFO: Packet analysis {"connection_id":109080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:06:06] local.INFO: Extracted packet for processing {"connection_id":109080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb3c"} 
[2026-06-21 23:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":30,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208064768001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782063054000,"timestamp_ms":1782063054000,"timestamp_seconds":1782063054,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb3c3cb0"} 
[2026-06-21 23:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208064768001,"66":25321,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208064768001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208064768001,"power":25321,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":109080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:06:06] local.INFO: GPS data processed {"connection_id":109080,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:06:06] local.INFO: Acknowledgment sent {"connection_id":109080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:06:11] local.INFO: TCP Data received {"connection_id":109273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:06:11] local.INFO: Processing buffer {"connection_id":109273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:06:11] local.INFO: IMEI packet received {"connection_id":109273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":109273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:06:34] local.INFO: TCP Data received {"connection_id":109274,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:34] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:34] local.INFO: IMEI packet received {"connection_id":109274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":109274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:06:34] local.INFO: TCP Data received {"connection_id":109274,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:34] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:34] local.INFO: IMEI packet received {"connection_id":109274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":109274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:06:39] local.INFO: TCP Data received {"connection_id":109274,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:39] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:06:39] local.INFO: IMEI packet received {"connection_id":109274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":109274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:06:41] local.INFO: TCP Data received {"connection_id":109274,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:06:41] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:06:41] local.INFO: Packet analysis {"connection_id":109274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:06:41] local.INFO: Extracted packet for processing {"connection_id":109274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:06:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:06:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":109274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:06:41] local.INFO: GPS data processed {"connection_id":109274,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:06:41] local.INFO: Acknowledgment sent {"connection_id":109274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:06:45] local.INFO: TCP Data received {"connection_id":109274,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:06:45] local.INFO: Processing buffer {"connection_id":109274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:06:45] local.INFO: Packet analysis {"connection_id":109274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:06:45] local.INFO: Extracted packet for processing {"connection_id":109274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":109274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:06:45] local.INFO: GPS data processed {"connection_id":109274,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:06:45] local.INFO: Acknowledgment sent {"connection_id":109274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:07:28] local.INFO: TCP Data received {"connection_id":109851,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:07:28] local.INFO: Processing buffer {"connection_id":109851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:07:28] local.INFO: IMEI packet received {"connection_id":109851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":109851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:07:34] local.INFO: TCP Data received {"connection_id":109851,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:07:34] local.INFO: Processing buffer {"connection_id":109851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:07:34] local.INFO: IMEI packet received {"connection_id":109851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":109851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:07:35] local.INFO: TCP Data received {"connection_id":109851,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:07:35] local.INFO: Processing buffer {"connection_id":109851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:07:35] local.INFO: Packet analysis {"connection_id":109851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:07:35] local.INFO: Extracted packet for processing {"connection_id":109851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":109851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:07:35] local.INFO: GPS data processed {"connection_id":109851,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:07:35] local.INFO: Acknowledgment sent {"connection_id":109851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:08:06] local.INFO: TCP Data received {"connection_id":109851,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:08:06] local.INFO: Processing buffer {"connection_id":109851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:08:06] local.INFO: Packet analysis {"connection_id":109851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:08:06] local.INFO: Extracted packet for processing {"connection_id":109851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:08:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":109851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:08:07] local.INFO: GPS data processed {"connection_id":109851,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:08:07] local.INFO: Acknowledgment sent {"connection_id":109851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:08:28] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:08:28] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:08:28] local.INFO: IMEI packet received {"connection_id":109081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":109081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:08:34] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:08:34] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:08:34] local.INFO: IMEI packet received {"connection_id":109081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":109081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:08:35] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:08:35] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:08:35] local.INFO: Packet analysis {"connection_id":109081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:08:35] local.INFO: Extracted packet for processing {"connection_id":109081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:08:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":109081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:08:35] local.INFO: GPS data processed {"connection_id":109081,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:08:35] local.INFO: Acknowledgment sent {"connection_id":109081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:09:07] local.INFO: TCP Data received {"connection_id":109081,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:07] local.INFO: Processing buffer {"connection_id":109081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:07] local.INFO: Packet analysis {"connection_id":109081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:09:07] local.INFO: Extracted packet for processing {"connection_id":109081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":109081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:09:07] local.INFO: GPS data processed {"connection_id":109081,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:09:07] local.INFO: Acknowledgment sent {"connection_id":109081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:09:34] local.INFO: TCP Data received {"connection_id":109853,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:09:34] local.INFO: Processing buffer {"connection_id":109853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:09:34] local.INFO: IMEI packet received {"connection_id":109853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":109853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:09:39] local.INFO: TCP Data received {"connection_id":109853,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:09:39] local.INFO: Processing buffer {"connection_id":109853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:09:39] local.INFO: IMEI packet received {"connection_id":109853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":109853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:09:40] local.INFO: TCP Data received {"connection_id":109853,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:40] local.INFO: Processing buffer {"connection_id":109853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:40] local.INFO: Packet analysis {"connection_id":109853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:09:40] local.INFO: Extracted packet for processing {"connection_id":109853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:09:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":109853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:09:40] local.INFO: GPS data processed {"connection_id":109853,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:09:40] local.INFO: Acknowledgment sent {"connection_id":109853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:09:44] local.INFO: TCP Data received {"connection_id":109853,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:44] local.INFO: Processing buffer {"connection_id":109853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb40d478012d34c54006aa3f800013007220..."} 
[2026-06-21 23:09:44] local.INFO: Packet analysis {"connection_id":109853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:09:44] local.INFO: Extracted packet for processing {"connection_id":109853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb40"} 
[2026-06-21 23:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":19,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208141824001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782063355000,"timestamp_ms":1782063355000,"timestamp_seconds":1782063355,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb40d478"} 
[2026-06-21 23:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-21 23:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208141824001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208141824001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:09:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:09:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208141824001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":109853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:09:44] local.INFO: GPS data processed {"connection_id":109853,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:09:44] local.INFO: Acknowledgment sent {"connection_id":109853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:10:29] local.INFO: TCP Data received {"connection_id":109275,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:10:29] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:10:29] local.INFO: IMEI packet received {"connection_id":109275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":109275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:10:34] local.INFO: TCP Data received {"connection_id":109275,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:10:34] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:10:34] local.INFO: IMEI packet received {"connection_id":109275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":109275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:10:35] local.INFO: TCP Data received {"connection_id":109275,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb444360012d34c54006aa3f80000f007220..."} 
[2026-06-21 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb444360012d34c54006aa3f80000f007220..."} 
[2026-06-21 23:10:35] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb444360012d34c54006aa3f80000f007220..."} 
[2026-06-21 23:10:35] local.INFO: Packet analysis {"connection_id":109275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:10:35] local.INFO: Extracted packet for processing {"connection_id":109275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208218880001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063580000,"timestamp_ms":1782063580000,"timestamp_seconds":1782063580,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb444360"} 
[2026-06-21 23:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 23:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208218880001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208218880001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208218880001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":109275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:10:35] local.INFO: GPS data processed {"connection_id":109275,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:10:35] local.INFO: Acknowledgment sent {"connection_id":109275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:10:40] local.INFO: TCP Data received {"connection_id":109275,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb444360012d34c54006aa3f80000f007220..."} 
[2026-06-21 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb444360012d34c54006aa3f80000f007220..."} 
[2026-06-21 23:10:40] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb444360012d34c54006aa3f80000f007220..."} 
[2026-06-21 23:10:40] local.INFO: Packet analysis {"connection_id":109275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:10:40] local.INFO: Extracted packet for processing {"connection_id":109275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820672,"longitude_deg":75.8433088,"latitude_deg":11.1820672,"altitude":15,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f80","is_valid_coordinates":true} 
[2026-06-21 23:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208218880001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037752894652416,"note":"Value kept but may cause issues"} 
[2026-06-21 23:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782063580000,"timestamp_ms":1782063580000,"timestamp_seconds":1782063580,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb444360"} 
[2026-06-21 23:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 23:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208218880001,"66":25375,"105":206,"28":21760,"24":0,"16":320037752894652416,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208218880001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:10:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:10:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037752894652416,"km_value":320037752894652.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208218880001,"power":25375,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":109275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:10:40] local.INFO: GPS data processed {"connection_id":109275,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:10:40] local.INFO: Acknowledgment sent {"connection_id":109275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:11:12] local.INFO: TCP Data received {"connection_id":109275,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb44a8f0012d34c44006aa4010000f007022..."} 
[2026-06-21 23:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb44a8f0012d34c44006aa4010000f007022..."} 
[2026-06-21 23:11:12] local.INFO: Processing buffer {"connection_id":109275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb44a8f0012d34c44006aa4010000f007022..."} 
[2026-06-21 23:11:12] local.INFO: Packet analysis {"connection_id":109275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:11:12] local.INFO: Extracted packet for processing {"connection_id":109275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820816,"longitude_deg":75.8432832,"latitude_deg":11.1820816,"altitude":15,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4010","is_valid_coordinates":true} 
[2026-06-21 23:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208276480001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037757189619712,"note":"Value kept but may cause issues"} 
[2026-06-21 23:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782063606000,"timestamp_ms":1782063606000,"timestamp_seconds":1782063606,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb44a8f0"} 
[2026-06-21 23:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:11: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-06-21 23:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-21 23:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208276480001,"66":27658,"105":206,"28":21760,"24":0,"16":320037757189619712,"45":3802515857754521600},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208276480001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:11:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037757189619712,"km_value":320037757189619.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754521600,"description":"Unknown IO ID 45"} 
[2026-06-21 23:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208276480001,"power":27658,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754521600}} 
[2026-06-21 23:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":109275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:11:12] local.INFO: GPS data processed {"connection_id":109275,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:11:12] local.INFO: Acknowledgment sent {"connection_id":109275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:11:28] local.INFO: TCP Data received {"connection_id":110805,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:11:28] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:11:28] local.INFO: IMEI packet received {"connection_id":110805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":110805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:11:33] local.INFO: TCP Data received {"connection_id":110805,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:11:33] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:11:33] local.INFO: IMEI packet received {"connection_id":110805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":110805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:11:35] local.INFO: TCP Data received {"connection_id":110805,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb44faf8012d34c48006aa4028000f007022..."} 
[2026-06-21 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb44faf8012d34c48006aa4028000f007022..."} 
[2026-06-21 23:11:35] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb44faf8012d34c48006aa4028000f007022..."} 
[2026-06-21 23:11:35] local.INFO: Packet analysis {"connection_id":110805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:11:35] local.INFO: Extracted packet for processing {"connection_id":110805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb44"} 
[2026-06-21 23:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820840,"longitude_deg":75.8432896,"latitude_deg":11.182084,"altitude":15,"angle":112,"satellites":34,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4028","is_valid_coordinates":true} 
[2026-06-21 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208283136001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037765779554304,"note":"Value kept but may cause issues"} 
[2026-06-21 23:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777847808,"note":"Value kept but may cause issues"} 
[2026-06-21 23:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063627000,"timestamp_ms":1782063627000,"timestamp_seconds":1782063627,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb44faf8"} 
[2026-06-21 23:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-21 23:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208283136001,"66":27245,"105":206,"28":21760,"24":0,"16":320037765779554304,"45":3802234382777847808},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-06-21 23:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208283136001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:11:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-21 23:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037765779554304,"km_value":320037765779554.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777847808,"description":"Unknown IO ID 45"} 
[2026-06-21 23:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208283136001,"power":27245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777847808}} 
[2026-06-21 23:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":110805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:11:35] local.INFO: GPS data processed {"connection_id":110805,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:11:35] local.INFO: Acknowledgment sent {"connection_id":110805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:12:07] local.INFO: TCP Data received {"connection_id":110805,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb454d00012d34c48006aa40180010007024..."} 
[2026-06-21 23:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb454d00012d34c48006aa40180010007024..."} 
[2026-06-21 23:12:07] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb454d00012d34c48006aa40180010007024..."} 
[2026-06-21 23:12:07] local.INFO: Packet analysis {"connection_id":110805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:12:07] local.INFO: Extracted packet for processing {"connection_id":110805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820824,"longitude_deg":75.8432896,"latitude_deg":11.1820824,"altitude":16,"angle":112,"satellites":36,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4018","is_valid_coordinates":true} 
[2026-06-21 23:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208288512001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037770074521600,"note":"Value kept but may cause issues"} 
[2026-06-21 23:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522031616,"note":"Value kept but may cause issues"} 
[2026-06-21 23:12:07] 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-06-21 23:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782063648000,"timestamp_ms":1782063648000,"timestamp_seconds":1782063648,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb454d00"} 
[2026-06-21 23:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":109,"data_length":795,"current_offset":136} 
[2026-06-21 23:12: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-06-21 23:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208288512001,"66":27484,"106":206,"28":21760,"24":0,"16":320037770074521600,"45":3802304751522031616},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208288512001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:12:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037770074521600,"km_value":320037770074521.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522031616,"description":"Unknown IO ID 45"} 
[2026-06-21 23:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208288512001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802304751522031616}} 
[2026-06-21 23:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":110805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:12:07] local.INFO: GPS data processed {"connection_id":110805,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:12:07] local.INFO: Acknowledgment sent {"connection_id":110805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:12:11] local.INFO: TCP Data received {"connection_id":109083,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:12:11] local.INFO: Processing buffer {"connection_id":109083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:12:11] local.INFO: IMEI packet received {"connection_id":109083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":109083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:12:28] local.INFO: TCP Data received {"connection_id":109855,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:12:28] local.INFO: Processing buffer {"connection_id":109855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:12:28] local.INFO: IMEI packet received {"connection_id":109855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":109855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:12:34] local.INFO: TCP Data received {"connection_id":109855,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:12:34] local.INFO: Processing buffer {"connection_id":109855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:12:34] local.INFO: IMEI packet received {"connection_id":109855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":109855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:12:36] local.INFO: TCP Data received {"connection_id":109855,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb457be0012d34c40006aa4018000e014124..."} 
[2026-06-21 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb457be0012d34c40006aa4018000e014124..."} 
[2026-06-21 23:12:36] local.INFO: Processing buffer {"connection_id":109855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb457be0012d34c40006aa4018000e014124..."} 
[2026-06-21 23:12:36] local.INFO: Packet analysis {"connection_id":109855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:12:36] local.INFO: Extracted packet for processing {"connection_id":109855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111820824,"longitude_deg":75.8432768,"latitude_deg":11.1820824,"altitude":14,"angle":321,"satellites":36,"speed":1,"hex_longitude":"2d34c400","hex_latitude":"06aa4018","is_valid_coordinates":true} 
[2026-06-21 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208293888001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037782959423488,"note":"Value kept but may cause issues"} 
[2026-06-21 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522027520,"note":"Value kept but may cause issues"} 
[2026-06-21 23:12: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-06-21 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782063660000,"timestamp_ms":1782063660000,"timestamp_seconds":1782063660,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb457be0"} 
[2026-06-21 23:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 23:12: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-06-21 23:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208293888001,"66":26560,"106":206,"28":21760,"24":1,"16":320037782959423488,"45":3802304751522027520},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208293888001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:12:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037782959423488,"km_value":320037782959423.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522027520,"description":"Unknown IO ID 45"} 
[2026-06-21 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208293888001,"power":26560,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3802304751522027520}} 
[2026-06-21 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":109855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:12:36] local.INFO: GPS data processed {"connection_id":109855,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:12:36] local.INFO: Acknowledgment sent {"connection_id":109855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:13:08] local.INFO: TCP Data received {"connection_id":109855,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb458b80012d34c30006aa41b0000d015124..."} 
[2026-06-21 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb458b80012d34c30006aa41b0000d015124..."} 
[2026-06-21 23:13:08] local.INFO: Processing buffer {"connection_id":109855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb458b80012d34c30006aa41b0000d015124..."} 
[2026-06-21 23:13:08] local.INFO: Packet analysis {"connection_id":109855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:13:08] local.INFO: Extracted packet for processing {"connection_id":109855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821232,"longitude_deg":75.8432512,"latitude_deg":11.1821232,"altitude":13,"angle":337,"satellites":36,"speed":5,"hex_longitude":"2d34c300","hex_latitude":"06aa41b0","is_valid_coordinates":true} 
[2026-06-21 23:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208296960001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037804434259968,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033672192,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:08] 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-06-21 23:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782063664000,"timestamp_ms":1782063664000,"timestamp_seconds":1782063664,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb458b80"} 
[2026-06-21 23:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-06-21 23:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208296960001,"66":27745,"106":206,"28":21760,"24":5,"16":320037804434259968,"45":3802164014033672192},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208296960001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037804434259968,"km_value":320037804434259.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033672192,"description":"Unknown IO ID 45"} 
[2026-06-21 23:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208296960001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3802164014033672192}} 
[2026-06-21 23:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":109855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:13:08] local.INFO: GPS data processed {"connection_id":109855,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:13:08] local.INFO: Acknowledgment sent {"connection_id":109855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:13:30] local.INFO: TCP Data received {"connection_id":109856,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:30] local.INFO: Processing buffer {"connection_id":109856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:30] local.INFO: IMEI packet received {"connection_id":109856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":109856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:13:34] local.INFO: TCP Data received {"connection_id":109856,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:34] local.INFO: Processing buffer {"connection_id":109856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:34] local.INFO: IMEI packet received {"connection_id":109856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":109856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:13:38] local.INFO: TCP Data received {"connection_id":109856,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:38] local.INFO: Processing buffer {"connection_id":109856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:13:38] local.INFO: IMEI packet received {"connection_id":109856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":109856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:13:39] local.INFO: TCP Data received {"connection_id":109856,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb459350012d34c30006aa42e8000d016724..."} 
[2026-06-21 23:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb459350012d34c30006aa42e8000d016724..."} 
[2026-06-21 23:13:39] local.INFO: Processing buffer {"connection_id":109856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb459350012d34c30006aa42e8000d016724..."} 
[2026-06-21 23:13:39] local.INFO: Packet analysis {"connection_id":109856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:13:39] local.INFO: Extracted packet for processing {"connection_id":109856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821544,"longitude_deg":75.8432512,"latitude_deg":11.1821544,"altitude":13,"angle":359,"satellites":36,"speed":5,"hex_longitude":"2d34c300","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-06-21 23:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208297984001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037821614129152,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057065984,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:39] 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-06-21 23:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782063666000,"timestamp_ms":1782063666000,"timestamp_seconds":1782063666,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb459350"} 
[2026-06-21 23:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":97,"data_length":795,"current_offset":136} 
[2026-06-21 23:13: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-06-21 23:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":109856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":109856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":109856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208297984001,"66":27571,"106":206,"28":21760,"24":5,"16":320037821614129152,"45":3801882539057065984},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208297984001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:13:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037821614129152,"km_value":320037821614129.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057065984,"description":"Unknown IO ID 45"} 
[2026-06-21 23:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208297984001,"power":27571,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3801882539057065984}} 
[2026-06-21 23:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":109856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:13:39] local.INFO: GPS data processed {"connection_id":109856,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:13:39] local.INFO: Acknowledgment sent {"connection_id":109856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:13:44] local.INFO: TCP Data received {"connection_id":109856,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb459b20012d34c38006aa4438000c000a23..."} 
[2026-06-21 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb459b20012d34c38006aa4438000c000a23..."} 
[2026-06-21 23:13:44] local.INFO: Processing buffer {"connection_id":109856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb459b20012d34c38006aa4438000c000a23..."} 
[2026-06-21 23:13:44] local.INFO: Packet analysis {"connection_id":109856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:13:44] local.INFO: Extracted packet for processing {"connection_id":109856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821880,"longitude_deg":75.843264,"latitude_deg":11.182188,"altitude":12,"angle":10,"satellites":35,"speed":7,"hex_longitude":"2d34c380","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208298496001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037838793998336,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057145856,"note":"Value kept but may cause issues"} 
[2026-06-21 23:13:44] 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-06-21 23:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782063668000,"timestamp_ms":1782063668000,"timestamp_seconds":1782063668,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb459b20"} 
[2026-06-21 23:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-21 23:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208298496001,"66":27604,"106":206,"28":21760,"24":7,"16":320037838793998336,"45":3801882539057145856},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208298496001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:13:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:13:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037838793998336,"km_value":320037838793998.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057145856,"description":"Unknown IO ID 45"} 
[2026-06-21 23:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208298496001,"power":27604,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3801882539057145856}} 
[2026-06-21 23:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":109856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:13:44] local.INFO: GPS data processed {"connection_id":109856,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:13:44] local.INFO: Acknowledgment sent {"connection_id":109856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:14:28] local.INFO: TCP Data received {"connection_id":109084,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:14:28] local.INFO: Processing buffer {"connection_id":109084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:14:28] local.INFO: IMEI packet received {"connection_id":109084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":109084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:14:34] local.INFO: TCP Data received {"connection_id":109084,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:14:34] local.INFO: Processing buffer {"connection_id":109084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:14:34] local.INFO: IMEI packet received {"connection_id":109084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":109084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:14:35] local.INFO: TCP Data received {"connection_id":109084,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb45c230012d34c58006aa49c8000b016724..."} 
[2026-06-21 23:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb45c230012d34c58006aa49c8000b016724..."} 
[2026-06-21 23:14:35] local.INFO: Processing buffer {"connection_id":109084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb45c230012d34c58006aa49c8000b016724..."} 
[2026-06-21 23:14:35] local.INFO: Packet analysis {"connection_id":109084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:14:35] local.INFO: Extracted packet for processing {"connection_id":109084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb45"} 
[2026-06-21 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823304,"longitude_deg":75.8433152,"latitude_deg":11.1823304,"altitude":11,"angle":359,"satellites":36,"speed":5,"hex_longitude":"2d34c580","hex_latitude":"06aa49c8","is_valid_coordinates":true} 
[2026-06-21 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208299008001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320037911808442368,"note":"Value kept but may cause issues"} 
[2026-06-21 23:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545587200,"note":"Value kept but may cause issues"} 
[2026-06-21 23:14: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-06-21 23:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063678000,"timestamp_ms":1782063678000,"timestamp_seconds":1782063678,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb45c230"} 
[2026-06-21 23:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-21 23:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208299008001,"66":27800,"106":206,"28":21760,"24":5,"16":320037911808442368,"45":3802023276545587200},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208299008001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:14:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320037911808442368,"km_value":320037911808442.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545587200,"description":"Unknown IO ID 45"} 
[2026-06-21 23:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208299008001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3802023276545587200}} 
[2026-06-21 23:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":109084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:14:35] local.INFO: GPS data processed {"connection_id":109084,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:14:35] local.INFO: Acknowledgment sent {"connection_id":109084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:15:06] local.INFO: TCP Data received {"connection_id":109084,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4846b8012d34c68006aa55e0000f002b2a..."} 
[2026-06-21 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4846b8012d34c68006aa55e0000f002b2a..."} 
[2026-06-21 23:15:06] local.INFO: Processing buffer {"connection_id":109084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4846b8012d34c68006aa55e0000f002b2a..."} 
[2026-06-21 23:15:06] local.INFO: Packet analysis {"connection_id":109084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:15:06] local.INFO: Extracted packet for processing {"connection_id":109084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111826400,"longitude_deg":75.8433408,"latitude_deg":11.18264,"altitude":15,"angle":43,"satellites":42,"speed":6,"hex_longitude":"2d34c680","hex_latitude":"06aa55e0","is_valid_coordinates":true} 
[2026-06-21 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208343552001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320038096492036096,"note":"Value kept but may cause issues"} 
[2026-06-21 23:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988486144,"note":"Value kept but may cause issues"} 
[2026-06-21 23:15:06] 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-06-21 23:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782063843000,"timestamp_ms":1782063843000,"timestamp_seconds":1782063843,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4846b8"} 
[2026-06-21 23:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 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":153,"data_length":795,"current_offset":136} 
[2026-06-21 23:15: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-06-21 23:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208343552001,"66":27289,"106":206,"28":21760,"24":6,"16":320038096492036096,"45":3802726963988486144},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208343552001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:15:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320038096492036096,"km_value":320038096492036.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988486144,"description":"Unknown IO ID 45"} 
[2026-06-21 23:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208343552001,"power":27289,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802726963988486144}} 
[2026-06-21 23:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":109084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:15:06] local.INFO: GPS data processed {"connection_id":109084,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:15:06] local.INFO: Acknowledgment sent {"connection_id":109084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:15:28] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:28] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:28] local.INFO: IMEI packet received {"connection_id":110808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":110808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:15:29] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:29] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:29] local.INFO: IMEI packet received {"connection_id":110808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":110808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:15:34] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:34] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:15:34] local.INFO: IMEI packet received {"connection_id":110808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":110808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:15:36] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb484e88012d34c78006aa56a8000f00402a..."} 
[2026-06-21 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb484e88012d34c78006aa56a8000f00402a..."} 
[2026-06-21 23:15:36] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb484e88012d34c78006aa56a8000f00402a..."} 
[2026-06-21 23:15:36] local.INFO: Packet analysis {"connection_id":110808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:15:36] local.INFO: Extracted packet for processing {"connection_id":110808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111826600,"longitude_deg":75.8433664,"latitude_deg":11.18266,"altitude":15,"angle":64,"satellites":42,"speed":7,"hex_longitude":"2d34c780","hex_latitude":"06aa56a8","is_valid_coordinates":true} 
[2026-06-21 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208343808001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320038113671905280,"note":"Value kept but may cause issues"} 
[2026-06-21 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476876288,"note":"Value kept but may cause issues"} 
[2026-06-21 23:15: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-06-21 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782063845000,"timestamp_ms":1782063845000,"timestamp_seconds":1782063845,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb484e88"} 
[2026-06-21 23:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-21 23:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208343808001,"66":27321,"106":206,"28":21760,"24":7,"16":320038113671905280,"45":3802867701476876288},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208343808001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320038113671905280,"km_value":320038113671905.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476876288,"description":"Unknown IO ID 45"} 
[2026-06-21 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208343808001,"power":27321,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802867701476876288}} 
[2026-06-21 23:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":110808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:15:36] local.INFO: GPS data processed {"connection_id":110808,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:15:36] local.INFO: Acknowledgment sent {"connection_id":110808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:16:07] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb485a40012d34ca8006aa5748000f004d2a..."} 
[2026-06-21 23:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb485a40012d34ca8006aa5748000f004d2a..."} 
[2026-06-21 23:16:07] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb485a40012d34ca8006aa5748000f004d2a..."} 
[2026-06-21 23:16:07] local.INFO: Packet analysis {"connection_id":110808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:16:07] local.INFO: Extracted packet for processing {"connection_id":110808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758434432,"raw_latitude":111826760,"longitude_deg":75.8434432,"latitude_deg":11.182676,"altitude":15,"angle":77,"satellites":42,"speed":11,"hex_longitude":"2d34ca80","hex_latitude":"06aa5748","is_valid_coordinates":true} 
[2026-06-21 23:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208344320001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320038152326610944,"note":"Value kept but may cause issues"} 
[2026-06-21 23:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176453638144,"note":"Value kept but may cause issues"} 
[2026-06-21 23:16:07] 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-06-21 23:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782063848000,"timestamp_ms":1782063848000,"timestamp_seconds":1782063848,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb485a40"} 
[2026-06-21 23:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":185,"data_length":795,"current_offset":136} 
[2026-06-21 23:16: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-06-21 23:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208344320001,"66":27343,"106":206,"28":21760,"24":11,"16":320038152326610944,"45":3803149176453638144},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208344320001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:16:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320038152326610944,"km_value":320038152326610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176453638144,"description":"Unknown IO ID 45"} 
[2026-06-21 23:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208344320001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":11,"odometer":null,"unknown_45":3803149176453638144}} 
[2026-06-21 23:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":110808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:16:07] local.INFO: GPS data processed {"connection_id":110808,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:16:07] local.INFO: Acknowledgment sent {"connection_id":110808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:16:28] local.INFO: TCP Data received {"connection_id":109858,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:16:28] local.INFO: Processing buffer {"connection_id":109858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:16:28] local.INFO: IMEI packet received {"connection_id":109858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":109858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:16:34] local.INFO: TCP Data received {"connection_id":109858,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:16:34] local.INFO: Processing buffer {"connection_id":109858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:16:34] local.INFO: IMEI packet received {"connection_id":109858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":109858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:16:35] local.INFO: TCP Data received {"connection_id":109858,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb48a860012d34ec0006aa5dd0000d00502a..."} 
[2026-06-21 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb48a860012d34ec0006aa5dd0000d00502a..."} 
[2026-06-21 23:16:35] local.INFO: Processing buffer {"connection_id":109858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb48a860012d34ec0006aa5dd0000d00502a..."} 
[2026-06-21 23:16:35] local.INFO: Packet analysis {"connection_id":109858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:16:35] local.INFO: Extracted packet for processing {"connection_id":109858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758443008,"raw_latitude":111828432,"longitude_deg":75.8443008,"latitude_deg":11.1828432,"altitude":13,"angle":80,"satellites":42,"speed":20,"hex_longitude":"2d34ec00","hex_latitude":"06aa5dd0","is_valid_coordinates":true} 
[2026-06-21 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208345088001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320038568938438656,"note":"Value kept but may cause issues"} 
[2026-06-21 23:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803993601383811072,"note":"Value kept but may cause issues"} 
[2026-06-21 23:16: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-06-21 23:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063868000,"timestamp_ms":1782063868000,"timestamp_seconds":1782063868,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb48a860"} 
[2026-06-21 23:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:16: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-06-21 23:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208345088001,"66":27365,"106":206,"28":21760,"24":20,"16":320038568938438656,"45":3803993601383811072},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208345088001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320038568938438656,"km_value":320038568938438.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803993601383811072,"description":"Unknown IO ID 45"} 
[2026-06-21 23:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208345088001,"power":27365,"unknown_106":206,"unknown_28":21760,"ignition":20,"odometer":null,"unknown_45":3803993601383811072}} 
[2026-06-21 23:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":109858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:16:35] local.INFO: GPS data processed {"connection_id":109858,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:16:35] local.INFO: Acknowledgment sent {"connection_id":109858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:17:07] local.INFO: TCP Data received {"connection_id":109858,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb48fa68012d350c8006aa6470000b00512a..."} 
[2026-06-21 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb48fa68012d350c8006aa6470000b00512a..."} 
[2026-06-21 23:17:07] local.INFO: Processing buffer {"connection_id":109858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb48fa68012d350c8006aa6470000b00512a..."} 
[2026-06-21 23:17:07] local.INFO: Packet analysis {"connection_id":109858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:17:07] local.INFO: Extracted packet for processing {"connection_id":109858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb48"} 
[2026-06-21 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758451328,"raw_latitude":111830128,"longitude_deg":75.8451328,"latitude_deg":11.1830128,"altitude":11,"angle":81,"satellites":42,"speed":8,"hex_longitude":"2d350c80","hex_latitude":"06aa6470","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208350208001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320038972665364480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3813423013104046080,"note":"Value kept but may cause issues"} 
[2026-06-21 23:17:07] 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-06-21 23:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782063889000,"timestamp_ms":1782063889000,"timestamp_seconds":1782063889,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb48fa68"} 
[2026-06-21 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-06-21 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":229,"data_length":795,"current_offset":136} 
[2026-06-21 23:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 23:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208350208001,"66":27343,"106":206,"28":21760,"24":8,"16":320038972665364480,"45":3813423013104046080},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-21 23:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208350208001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:17:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-21 23:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320038972665364480,"km_value":320038972665364.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3813423013104046080,"description":"Unknown IO ID 45"} 
[2026-06-21 23:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208350208001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":8,"odometer":null,"unknown_45":3813423013104046080}} 
[2026-06-21 23:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":109858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:17:07] local.INFO: GPS data processed {"connection_id":109858,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:17:07] local.INFO: Acknowledgment sent {"connection_id":109858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:17:28] local.INFO: TCP Data received {"connection_id":109276,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:28] local.INFO: Processing buffer {"connection_id":109276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:28] local.INFO: IMEI packet received {"connection_id":109276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":109276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:17:30] local.INFO: TCP Data received {"connection_id":109276,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:30] local.INFO: Processing buffer {"connection_id":109276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:30] local.INFO: IMEI packet received {"connection_id":109276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":109276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:17:34] local.INFO: TCP Data received {"connection_id":109276,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:34] local.INFO: Processing buffer {"connection_id":109276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:17:34] local.INFO: IMEI packet received {"connection_id":109276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":109276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:17:35] local.INFO: TCP Data received {"connection_id":109276,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4a84f0012d3603c006aa0158000e00712a..."} 
[2026-06-21 23:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4a84f0012d3603c006aa0158000e00712a..."} 
[2026-06-21 23:17:35] local.INFO: Processing buffer {"connection_id":109276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4a84f0012d3603c006aa0158000e00712a..."} 
[2026-06-21 23:17:35] local.INFO: Packet analysis {"connection_id":109276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4a"} 
[2026-06-21 23:17:35] local.INFO: Extracted packet for processing {"connection_id":109276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4a"} 
[2026-06-21 23:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758514624,"raw_latitude":111804760,"longitude_deg":75.8514624,"latitude_deg":11.180476,"altitude":14,"angle":113,"satellites":42,"speed":33,"hex_longitude":"2d3603c0","hex_latitude":"06aa0158","is_valid_coordinates":true} 
[2026-06-21 23:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208378624001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320042245430444032,"note":"Value kept but may cause issues"} 
[2026-06-21 23:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3882595488625567744,"note":"Value kept but may cause issues"} 
[2026-06-21 23:17:35] 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-06-21 23:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782063990000,"timestamp_ms":1782063990000,"timestamp_seconds":1782063990,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4a84f0"} 
[2026-06-21 23:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-21 23:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208378624001,"66":27321,"104":206,"28":21760,"24":33,"16":320042245430444032,"45":3882595488625567744},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-21 23:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208378624001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:17:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-21 23:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320042245430444032,"km_value":320042245430444.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3882595488625567744,"description":"Unknown IO ID 45"} 
[2026-06-21 23:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208378624001,"power":27321,"unknown_104":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":3882595488625567744}} 
[2026-06-21 23:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":109276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:17:35] local.INFO: GPS data processed {"connection_id":109276,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:17:35] local.INFO: Acknowledgment sent {"connection_id":109276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:17:36] local.INFO: TCP Data received {"connection_id":109859,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:17:36] local.INFO: Processing buffer {"connection_id":109859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:17:36] local.INFO: IMEI packet received {"connection_id":109859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":109859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:18:07] local.INFO: TCP Data received {"connection_id":109276,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4aafe8012d36270006a9f280000d006d2a..."} 
[2026-06-21 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4aafe8012d36270006a9f280000d006d2a..."} 
[2026-06-21 23:18:07] local.INFO: Processing buffer {"connection_id":109276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4aafe8012d36270006a9f280000d006d2a..."} 
[2026-06-21 23:18:07] local.INFO: Packet analysis {"connection_id":109276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4a"} 
[2026-06-21 23:18:07] local.INFO: Extracted packet for processing {"connection_id":109276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4a"} 
[2026-06-21 23:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758523648,"raw_latitude":111800960,"longitude_deg":75.8523648,"latitude_deg":11.180096,"altitude":13,"angle":109,"satellites":42,"speed":35,"hex_longitude":"2d362700","hex_latitude":"06a9f280","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208381440001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320042709286912000,"note":"Value kept but may cause issues"} 
[2026-06-21 23:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3892165637832792064,"note":"Value kept but may cause issues"} 
[2026-06-21 23:18:07] 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-06-21 23:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782064001000,"timestamp_ms":1782064001000,"timestamp_seconds":1782064001,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4aafe8"} 
[2026-06-21 23:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-21 23:18: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-06-21 23: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-06-21 23:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208381440001,"66":27397,"104":206,"28":21760,"24":35,"16":320042709286912000,"45":3892165637832792064},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-21 23:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208381440001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:18:07] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-21 23:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320042709286912000,"km_value":320042709286912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3892165637832792064,"description":"Unknown IO ID 45"} 
[2026-06-21 23:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208381440001,"power":27397,"unknown_104":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3892165637832792064}} 
[2026-06-21 23:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":109276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:18:07] local.INFO: GPS data processed {"connection_id":109276,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:18:07] local.INFO: Acknowledgment sent {"connection_id":109276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:18:11] local.INFO: TCP Data received {"connection_id":109086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:18:11] local.INFO: Processing buffer {"connection_id":109086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:18:11] local.INFO: IMEI packet received {"connection_id":109086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":109086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:18:28] local.INFO: TCP Data received {"connection_id":109860,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:28] local.INFO: Processing buffer {"connection_id":109860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:28] local.INFO: IMEI packet received {"connection_id":109860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":109860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:18:30] local.INFO: TCP Data received {"connection_id":109860,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:30] local.INFO: Processing buffer {"connection_id":109860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:30] local.INFO: IMEI packet received {"connection_id":109860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":109860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:18:33] local.INFO: TCP Data received {"connection_id":109860,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:33] local.INFO: Processing buffer {"connection_id":109860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:18:33] local.INFO: IMEI packet received {"connection_id":109860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":109860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:18:34] local.INFO: TCP Data received {"connection_id":109860,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4adae0012d3649c006a9e7e0000b006a29..."} 
[2026-06-21 23:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4adae0012d3649c006a9e7e0000b006a29..."} 
[2026-06-21 23:18:34] local.INFO: Processing buffer {"connection_id":109860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4adae0012d3649c006a9e7e0000b006a29..."} 
[2026-06-21 23:18:34] local.INFO: Packet analysis {"connection_id":109860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4a"} 
[2026-06-21 23:18:34] local.INFO: Extracted packet for processing {"connection_id":109860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4a"} 
[2026-06-21 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758532544,"raw_latitude":111798240,"longitude_deg":75.8532544,"latitude_deg":11.179824,"altitude":11,"angle":106,"satellites":41,"speed":27,"hex_longitude":"2d3649c0","hex_latitude":"06a9e7e0","is_valid_coordinates":true} 
[2026-06-21 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208384256001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320043155963510784,"note":"Value kept but may cause issues"} 
[2026-06-21 23:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3902087630760869888,"note":"Value kept but may cause issues"} 
[2026-06-21 23:18:34] 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-06-21 23:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782064012000,"timestamp_ms":1782064012000,"timestamp_seconds":1782064012,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4adae0"} 
[2026-06-21 23:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 23:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208384256001,"66":27267,"104":206,"28":21760,"24":27,"16":320043155963510784,"45":3902087630760869888},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-21 23:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208384256001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320043155963510784,"km_value":320043155963510.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3902087630760869888,"description":"Unknown IO ID 45"} 
[2026-06-21 23:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208384256001,"power":27267,"unknown_104":206,"unknown_28":21760,"ignition":27,"odometer":null,"unknown_45":3902087630760869888}} 
[2026-06-21 23:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":109860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:18:34] local.INFO: GPS data processed {"connection_id":109860,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:18:34] local.INFO: Acknowledgment sent {"connection_id":109860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:19:06] local.INFO: TCP Data received {"connection_id":109860,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4b0da8012d366bc006a9de30000900692b..."} 
[2026-06-21 23:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4b0da8012d366bc006a9de30000900692b..."} 
[2026-06-21 23:19:06] local.INFO: Processing buffer {"connection_id":109860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4b0da8012d366bc006a9de30000900692b..."} 
[2026-06-21 23:19:06] local.INFO: Packet analysis {"connection_id":109860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4b"} 
[2026-06-21 23:19:06] local.INFO: Extracted packet for processing {"connection_id":109860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4b"} 
[2026-06-21 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758541248,"raw_latitude":111795760,"longitude_deg":75.8541248,"latitude_deg":11.179576,"altitude":9,"angle":105,"satellites":43,"speed":29,"hex_longitude":"2d366bc0","hex_latitude":"06a9de30","is_valid_coordinates":true} 
[2026-06-21 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208387072001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320043585460240384,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3911868886200868864,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:06] 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-06-21 23:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782064025000,"timestamp_ms":1782064025000,"timestamp_seconds":1782064025,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4b0da8"} 
[2026-06-21 23:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:19: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-06-21 23:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208387072001,"66":27376,"104":206,"28":21760,"24":29,"16":320043585460240384,"45":3911868886200868864},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-21 23:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208387072001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320043585460240384,"km_value":320043585460240.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3911868886200868864,"description":"Unknown IO ID 45"} 
[2026-06-21 23:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208387072001,"power":27376,"unknown_104":206,"unknown_28":21760,"ignition":29,"odometer":null,"unknown_45":3911868886200868864}} 
[2026-06-21 23:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":109860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:19:06] local.INFO: GPS data processed {"connection_id":109860,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:19:06] local.INFO: Acknowledgment sent {"connection_id":109860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:19:34] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:34] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:34] local.INFO: IMEI packet received {"connection_id":109088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":109088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:19:34] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:34] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:34] local.INFO: IMEI packet received {"connection_id":109088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":109088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:19:39] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:39] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:19:39] local.INFO: IMEI packet received {"connection_id":109088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":109088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:19:41] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4c7508012d37b1c006a99108000d00542b..."} 
[2026-06-21 23:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4c7508012d37b1c006a99108000d00542b..."} 
[2026-06-21 23:19:41] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4c7508012d37b1c006a99108000d00542b..."} 
[2026-06-21 23:19:41] local.INFO: Packet analysis {"connection_id":109088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:19:41] local.INFO: Extracted packet for processing {"connection_id":109088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758624704,"raw_latitude":111776008,"longitude_deg":75.8624704,"latitude_deg":11.1776008,"altitude":13,"angle":84,"satellites":43,"speed":41,"hex_longitude":"2d37b1c0","hex_latitude":"06a99108","is_valid_coordinates":true} 
[2026-06-21 23:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208411648001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320047798823157760,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002996409905002496,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:41] 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-06-21 23:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782064117000,"timestamp_ms":1782064117000,"timestamp_seconds":1782064117,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4c7508"} 
[2026-06-21 23:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-21 23:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208411648001,"66":26984,"91":206,"28":21760,"24":41,"16":320047798823157760,"45":4002996409905002496},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-21 23:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208411648001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:19:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-21 23:19:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320047798823157760,"km_value":320047798823157.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002996409905002496,"description":"Unknown IO ID 45"} 
[2026-06-21 23:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208411648001,"power":26984,"unknown_91":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":4002996409905002496}} 
[2026-06-21 23:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":109088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:19:41] local.INFO: GPS data processed {"connection_id":109088,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:19:41] local.INFO: Acknowledgment sent {"connection_id":109088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:19:44] local.INFO: TCP Data received {"connection_id":109088,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4c9830012d37d70006a99448000c00562c..."} 
[2026-06-21 23:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4c9830012d37d70006a99448000c00562c..."} 
[2026-06-21 23:19:44] local.INFO: Processing buffer {"connection_id":109088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4c9830012d37d70006a99448000c00562c..."} 
[2026-06-21 23:19:44] local.INFO: Packet analysis {"connection_id":109088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:19:44] local.INFO: Extracted packet for processing {"connection_id":109088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758634240,"raw_latitude":111776840,"longitude_deg":75.863424,"latitude_deg":11.177684,"altitude":12,"angle":86,"satellites":44,"speed":41,"hex_longitude":"2d37d700","hex_latitude":"06a99448","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208413952001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320048254089691136,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4013199877811013632,"note":"Value kept but may cause issues"} 
[2026-06-21 23:19:44] 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-06-21 23:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782064126000,"timestamp_ms":1782064126000,"timestamp_seconds":1782064126,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4c9830"} 
[2026-06-21 23:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-21 23:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208413952001,"66":26832,"91":206,"28":21760,"24":41,"16":320048254089691136,"45":4013199877811013632},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-21 23:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208413952001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:19:44] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-21 23:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320048254089691136,"km_value":320048254089691.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4013199877811013632,"description":"Unknown IO ID 45"} 
[2026-06-21 23:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208413952001,"power":26832,"unknown_91":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":4013199877811013632}} 
[2026-06-21 23:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":109088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:19:44] local.INFO: GPS data processed {"connection_id":109088,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:19:44] local.INFO: Acknowledgment sent {"connection_id":109088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:20:28] local.INFO: TCP Data received {"connection_id":109861,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:20:29] local.INFO: Processing buffer {"connection_id":109861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:20:29] local.INFO: IMEI packet received {"connection_id":109861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":109861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:20:34] local.INFO: TCP Data received {"connection_id":109861,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:20:34] local.INFO: Processing buffer {"connection_id":109861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:20:34] local.INFO: IMEI packet received {"connection_id":109861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":109861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:20:36] local.INFO: TCP Data received {"connection_id":109861,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4cbb58012d37fb4006a99770000b00532a..."} 
[2026-06-21 23:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4cbb58012d37fb4006a99770000b00532a..."} 
[2026-06-21 23:20:36] local.INFO: Processing buffer {"connection_id":109861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4cbb58012d37fb4006a99770000b00532a..."} 
[2026-06-21 23:20:36] local.INFO: Packet analysis {"connection_id":109861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:20:36] local.INFO: Extracted packet for processing {"connection_id":109861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758643520,"raw_latitude":111777648,"longitude_deg":75.864352,"latitude_deg":11.1777648,"altitude":11,"angle":83,"satellites":42,"speed":38,"hex_longitude":"2d37fb40","hex_latitude":"06a99770","is_valid_coordinates":true} 
[2026-06-21 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208416256001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320048692176355328,"note":"Value kept but may cause issues"} 
[2026-06-21 23:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4023684820693698560,"note":"Value kept but may cause issues"} 
[2026-06-21 23:20:36] 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-06-21 23:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782064135000,"timestamp_ms":1782064135000,"timestamp_seconds":1782064135,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4cbb58"} 
[2026-06-21 23:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-21 23:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208416256001,"66":27463,"91":206,"28":21760,"24":38,"16":320048692176355328,"45":4023684820693698560},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-21 23:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208416256001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:20:36] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-21 23:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320048692176355328,"km_value":320048692176355.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4023684820693698560,"description":"Unknown IO ID 45"} 
[2026-06-21 23:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208416256001,"power":27463,"unknown_91":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":4023684820693698560}} 
[2026-06-21 23:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":109861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:20:36] local.INFO: GPS data processed {"connection_id":109861,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:20:36] local.INFO: Acknowledgment sent {"connection_id":109861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:21:09] local.INFO: TCP Data received {"connection_id":109861,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4ce650012d38218006a999b0000c005d2a..."} 
[2026-06-21 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4ce650012d38218006a999b0000c005d2a..."} 
[2026-06-21 23:21:09] local.INFO: Processing buffer {"connection_id":109861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4ce650012d38218006a999b0000c005d2a..."} 
[2026-06-21 23:21:09] local.INFO: Packet analysis {"connection_id":109861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:21:09] local.INFO: Extracted packet for processing {"connection_id":109861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4c"} 
[2026-06-21 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758653312,"raw_latitude":111778224,"longitude_deg":75.8653312,"latitude_deg":11.1778224,"altitude":12,"angle":93,"satellites":42,"speed":32,"hex_longitude":"2d382180","hex_latitude":"06a999b0","is_valid_coordinates":true} 
[2026-06-21 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208418560001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320049164622757888,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4033888288599666688,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:09] 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-06-21 23:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782064146000,"timestamp_ms":1782064146000,"timestamp_seconds":1782064146,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4ce650"} 
[2026-06-21 23:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:21: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-06-21 23:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208418560001,"66":27267,"91":206,"28":21760,"24":32,"16":320049164622757888,"45":4033888288599666688},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-21 23:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208418560001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320049164622757888,"km_value":320049164622757.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4033888288599666688,"description":"Unknown IO ID 45"} 
[2026-06-21 23:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208418560001,"power":27267,"unknown_91":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":4033888288599666688}} 
[2026-06-21 23:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":109861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:21:09] local.INFO: GPS data processed {"connection_id":109861,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:21:09] local.INFO: Acknowledgment sent {"connection_id":109861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:21:28] local.INFO: TCP Data received {"connection_id":109277,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:28] local.INFO: Processing buffer {"connection_id":109277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:28] local.INFO: IMEI packet received {"connection_id":109277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":109277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:21:30] local.INFO: TCP Data received {"connection_id":109277,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:30] local.INFO: Processing buffer {"connection_id":109277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:30] local.INFO: IMEI packet received {"connection_id":109277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":109277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:21:32] local.INFO: TCP Data received {"connection_id":109277,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:32] local.INFO: Processing buffer {"connection_id":109277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:32] local.INFO: IMEI packet received {"connection_id":109277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":109277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:21:33] local.INFO: TCP Data received {"connection_id":109277,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:33] local.INFO: Processing buffer {"connection_id":109277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:21:33] local.INFO: IMEI packet received {"connection_id":109277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":109277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:21:37] local.INFO: TCP Data received {"connection_id":109277,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4d1148012d38464006a99650000c00612a..."} 
[2026-06-21 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4d1148012d38464006a99650000c00612a..."} 
[2026-06-21 23:21:37] local.INFO: Processing buffer {"connection_id":109277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4d1148012d38464006a99650000c00612a..."} 
[2026-06-21 23:21:37] local.INFO: Packet analysis {"connection_id":109277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4d"} 
[2026-06-21 23:21:37] local.INFO: Extracted packet for processing {"connection_id":109277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4d"} 
[2026-06-21 23:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758662720,"raw_latitude":111777360,"longitude_deg":75.866272,"latitude_deg":11.177736,"altitude":12,"angle":97,"satellites":42,"speed":33,"hex_longitude":"2d384640","hex_latitude":"06a99650","is_valid_coordinates":true} 
[2026-06-21 23:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208421376001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320049611299356672,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4044654706458996736,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21: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-06-21 23:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782064157000,"timestamp_ms":1782064157000,"timestamp_seconds":1782064157,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4d1148"} 
[2026-06-21 23:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:21: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-06-21 23:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208421376001,"66":27332,"91":206,"28":21760,"24":33,"16":320049611299356672,"45":4044654706458996736},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-21 23:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208421376001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:21:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-21 23:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320049611299356672,"km_value":320049611299356.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4044654706458996736,"description":"Unknown IO ID 45"} 
[2026-06-21 23:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208421376001,"power":27332,"unknown_91":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":4044654706458996736}} 
[2026-06-21 23:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":109277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:21:37] local.INFO: GPS data processed {"connection_id":109277,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:21:37] local.INFO: Acknowledgment sent {"connection_id":109277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:21:39] local.INFO: TCP Data received {"connection_id":109277,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4d4028012d386a0006a98f18000c00652a..."} 
[2026-06-21 23:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4d4028012d386a0006a98f18000c00652a..."} 
[2026-06-21 23:21:39] local.INFO: Processing buffer {"connection_id":109277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4d4028012d386a0006a98f18000c00652a..."} 
[2026-06-21 23:21:39] local.INFO: Packet analysis {"connection_id":109277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4d"} 
[2026-06-21 23:21:39] local.INFO: Extracted packet for processing {"connection_id":109277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4d"} 
[2026-06-21 23:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758671872,"raw_latitude":111775512,"longitude_deg":75.8671872,"latitude_deg":11.1775512,"altitude":12,"angle":101,"satellites":42,"speed":27,"hex_longitude":"2d386a00","hex_latitude":"06a98f18","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208424192001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320050053680988160,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4054998911852892160,"note":"Value kept but may cause issues"} 
[2026-06-21 23:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782064169000,"timestamp_ms":1782064169000,"timestamp_seconds":1782064169,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4d4028"} 
[2026-06-21 23:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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-06-21 23: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-06-21 23: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-06-21 23:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":109277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":109277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":109277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208424192001,"66":27397,"91":206,"28":21760,"24":27,"16":320050053680988160,"45":4054998911852892160},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-21 23:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208424192001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:21:39] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-21 23:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320050053680988160,"km_value":320050053680988.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4054998911852892160,"description":"Unknown IO ID 45"} 
[2026-06-21 23:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208424192001,"power":27397,"unknown_91":206,"unknown_28":21760,"ignition":27,"odometer":null,"unknown_45":4054998911852892160}} 
[2026-06-21 23:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":109277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:21:39] local.INFO: GPS data processed {"connection_id":109277,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:21:39] local.INFO: Acknowledgment sent {"connection_id":109277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:22:12] local.INFO: TCP Data received {"connection_id":109277,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4eab70012d3954c006a96020000f015429..."} 
[2026-06-21 23:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4eab70012d3954c006a96020000f015429..."} 
[2026-06-21 23:22:12] local.INFO: Processing buffer {"connection_id":109277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4eab70012d3954c006a96020000f015429..."} 
[2026-06-21 23:22:12] local.INFO: Packet analysis {"connection_id":109277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4e"} 
[2026-06-21 23:22:12] local.INFO: Extracted packet for processing {"connection_id":109277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4e"} 
[2026-06-21 23:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758731968,"raw_latitude":111763488,"longitude_deg":75.8731968,"latitude_deg":11.1763488,"altitude":15,"angle":340,"satellites":41,"speed":16,"hex_longitude":"2d3954c0","hex_latitude":"06a96020","is_valid_coordinates":true} 
[2026-06-21 23:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208450304001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320053141762473984,"note":"Value kept but may cause issues"} 
[2026-06-21 23:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131700843002738688,"note":"Value kept but may cause issues"} 
[2026-06-21 23:22:12] 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-06-21 23:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782064262000,"timestamp_ms":1782064262000,"timestamp_seconds":1782064262,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4eab70"} 
[2026-06-21 23:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:22: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-06-21 23:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208450304001,"66":27332,"90":206,"28":21760,"24":16,"16":320053141762473984,"45":4131700843002738688},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208450304001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:22:12] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320053141762473984,"km_value":320053141762474.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131700843002738688,"description":"Unknown IO ID 45"} 
[2026-06-21 23:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208450304001,"power":27332,"unknown_90":206,"unknown_28":21760,"ignition":16,"odometer":null,"unknown_45":4131700843002738688}} 
[2026-06-21 23:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":109277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:22:12] local.INFO: GPS data processed {"connection_id":109277,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:22:12] local.INFO: Acknowledgment sent {"connection_id":109277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:22:29] local.INFO: TCP Data received {"connection_id":109278,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:22:29] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:22:29] local.INFO: IMEI packet received {"connection_id":109278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":109278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:22:34] local.INFO: TCP Data received {"connection_id":109278,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:22:34] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:22:34] local.INFO: IMEI packet received {"connection_id":109278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":109278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:22:36] local.INFO: TCP Data received {"connection_id":109278,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4ee608012d394a4006a98298000f015828..."} 
[2026-06-21 23:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4ee608012d394a4006a98298000f015828..."} 
[2026-06-21 23:22:36] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4ee608012d394a4006a98298000f015828..."} 
[2026-06-21 23:22:36] local.INFO: Packet analysis {"connection_id":109278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4e"} 
[2026-06-21 23:22:36] local.INFO: Extracted packet for processing {"connection_id":109278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4e"} 
[2026-06-21 23:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758729280,"raw_latitude":111772312,"longitude_deg":75.872928,"latitude_deg":11.1772312,"altitude":15,"angle":344,"satellites":40,"speed":27,"hex_longitude":"2d394a40","hex_latitude":"06a98298","is_valid_coordinates":true} 
[2026-06-21 23:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208451072001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320053588439072768,"note":"Value kept but may cause issues"} 
[2026-06-21 23:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131137893049573376,"note":"Value kept but may cause issues"} 
[2026-06-21 23:22:36] 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-06-21 23:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782064277000,"timestamp_ms":1782064277000,"timestamp_seconds":1782064277,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4ee608"} 
[2026-06-21 23:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-21 23:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208451072001,"66":27397,"90":206,"28":21760,"24":27,"16":320053588439072768,"45":4131137893049573376},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208451072001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:22:36] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320053588439072768,"km_value":320053588439072.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131137893049573376,"description":"Unknown IO ID 45"} 
[2026-06-21 23:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208451072001,"power":27397,"unknown_90":206,"unknown_28":21760,"ignition":27,"odometer":null,"unknown_45":4131137893049573376}} 
[2026-06-21 23:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":109278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:22:36] local.INFO: GPS data processed {"connection_id":109278,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:22:36] local.INFO: Acknowledgment sent {"connection_id":109278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:23:07] local.INFO: TCP Data received {"connection_id":109278,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f14e8012d39418006a9a510000e01592a..."} 
[2026-06-21 23:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f14e8012d39418006a9a510000e01592a..."} 
[2026-06-21 23:23:07] local.INFO: Processing buffer {"connection_id":109278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f14e8012d39418006a9a510000e01592a..."} 
[2026-06-21 23:23:07] local.INFO: Packet analysis {"connection_id":109278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:23:07] local.INFO: Extracted packet for processing {"connection_id":109278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758727040,"raw_latitude":111781136,"longitude_deg":75.872704,"latitude_deg":11.1781136,"altitude":14,"angle":345,"satellites":42,"speed":31,"hex_longitude":"2d394180","hex_latitude":"06a9a510","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208454912001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054030820704256,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4128182405796370432,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:07] 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-06-21 23:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782064289000,"timestamp_ms":1782064289000,"timestamp_seconds":1782064289,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f14e8"} 
[2026-06-21 23:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":5,"data_length":795,"current_offset":136} 
[2026-06-21 23:23: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-06-21 23: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-06-21 23:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208454912001,"66":27517,"90":206,"28":21760,"24":31,"16":320054030820704256,"45":4128182405796370432},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208454912001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:23:07] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054030820704256,"km_value":320054030820704.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4128182405796370432,"description":"Unknown IO ID 45"} 
[2026-06-21 23:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208454912001,"power":27517,"unknown_90":206,"unknown_28":21760,"ignition":31,"odometer":null,"unknown_45":4128182405796370432}} 
[2026-06-21 23:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":109278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:23:07] local.INFO: GPS data processed {"connection_id":109278,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:23:07] local.INFO: Acknowledgment sent {"connection_id":109278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:23:34] local.INFO: TCP Data received {"connection_id":109279,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:23:34] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:23:34] local.INFO: IMEI packet received {"connection_id":109279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":109279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:23:38] local.INFO: TCP Data received {"connection_id":109279,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:23:38] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:23:38] local.INFO: IMEI packet received {"connection_id":109279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":109279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:23:39] local.INFO: TCP Data received {"connection_id":109279,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f43c8012d39384006a9c7c0000c015928..."} 
[2026-06-21 23:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f43c8012d39384006a9c7c0000c015928..."} 
[2026-06-21 23:23:39] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f43c8012d39384006a9c7c0000c015928..."} 
[2026-06-21 23:23:39] local.INFO: Packet analysis {"connection_id":109279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:23:39] local.INFO: Extracted packet for processing {"connection_id":109279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758724672,"raw_latitude":111790016,"longitude_deg":75.8724672,"latitude_deg":11.1790016,"altitude":12,"angle":345,"satellites":40,"speed":28,"hex_longitude":"2d393840","hex_latitude":"06a9c7c0","is_valid_coordinates":true} 
[2026-06-21 23:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208457984001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054477497303040,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4125719499752411136,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:39] 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-06-21 23:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782064301000,"timestamp_ms":1782064301000,"timestamp_seconds":1782064301,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f43c8"} 
[2026-06-21 23:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-21 23:23: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-06-21 23:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":109279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208457984001,"66":27463,"90":206,"28":21760,"24":28,"16":320054477497303040,"45":4125719499752411136},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208457984001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054477497303040,"km_value":320054477497303.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4125719499752411136,"description":"Unknown IO ID 45"} 
[2026-06-21 23:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208457984001,"power":27463,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4125719499752411136}} 
[2026-06-21 23:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":109279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:23:39] local.INFO: GPS data processed {"connection_id":109279,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:23:39] local.INFO: Acknowledgment sent {"connection_id":109279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:23:41] local.INFO: TCP Data received {"connection_id":110810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:23:41] local.INFO: Processing buffer {"connection_id":110810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:23:41] local.INFO: IMEI packet received {"connection_id":110810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":110810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:23:45] local.INFO: TCP Data received {"connection_id":109279,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:23:45] local.INFO: Processing buffer {"connection_id":109279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:23:45] local.INFO: Packet analysis {"connection_id":109279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:23:45] local.INFO: Extracted packet for processing {"connection_id":109279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111791392,"longitude_deg":75.8724352,"latitude_deg":11.1791392,"altitude":12,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d393700","hex_latitude":"06a9cd20","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461056001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856220110848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:23:45] 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-06-21 23:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782064303000,"timestamp_ms":1782064303000,"timestamp_seconds":1782064303,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f4b98"} 
[2026-06-21 23:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:23: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-06-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":109279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":109279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461056001,"66":27713,"90":206,"28":21760,"24":28,"16":320054541921812480,"45":4123115856220110848},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461056001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:23:45] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856220110848,"description":"Unknown IO ID 45"} 
[2026-06-21 23:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461056001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4123115856220110848}} 
[2026-06-21 23:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":109279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:23:45] local.INFO: GPS data processed {"connection_id":109279,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:23:45] local.INFO: Acknowledgment sent {"connection_id":109279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:24:16] local.INFO: TCP Data received {"connection_id":110811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:24:16] local.INFO: Processing buffer {"connection_id":110811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:24:16] local.INFO: IMEI packet received {"connection_id":110811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":110811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:24:29] local.INFO: TCP Data received {"connection_id":109089,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:24:29] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:24:29] local.INFO: IMEI packet received {"connection_id":109089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":109089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:24:34] local.INFO: TCP Data received {"connection_id":109089,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:24:34] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:24:34] local.INFO: IMEI packet received {"connection_id":109089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":109089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:24:35] local.INFO: TCP Data received {"connection_id":109089,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:24:35] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:24:35] local.INFO: Packet analysis {"connection_id":109089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:24:35] local.INFO: Extracted packet for processing {"connection_id":109089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111791392,"longitude_deg":75.8724352,"latitude_deg":11.1791392,"altitude":12,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d393700","hex_latitude":"06a9cd20","is_valid_coordinates":true} 
[2026-06-21 23:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461056001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856220110848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:24:35] 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-06-21 23:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782064303000,"timestamp_ms":1782064303000,"timestamp_seconds":1782064303,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f4b98"} 
[2026-06-21 23:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461056001,"66":27713,"90":206,"28":21760,"24":28,"16":320054541921812480,"45":4123115856220110848},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461056001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:24:35] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856220110848,"description":"Unknown IO ID 45"} 
[2026-06-21 23:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461056001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4123115856220110848}} 
[2026-06-21 23:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":109089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:24:35] local.INFO: GPS data processed {"connection_id":109089,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:24:35] local.INFO: Acknowledgment sent {"connection_id":109089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:25:07] local.INFO: TCP Data received {"connection_id":109089,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:25:07] local.INFO: Processing buffer {"connection_id":109089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:25:07] local.INFO: Packet analysis {"connection_id":109089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:25:07] local.INFO: Extracted packet for processing {"connection_id":109089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111791392,"longitude_deg":75.8724352,"latitude_deg":11.1791392,"altitude":12,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d393700","hex_latitude":"06a9cd20","is_valid_coordinates":true} 
[2026-06-21 23:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461056001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856220110848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:25:07] 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-06-21 23:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782064303000,"timestamp_ms":1782064303000,"timestamp_seconds":1782064303,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f4b98"} 
[2026-06-21 23:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461056001,"66":27713,"90":206,"28":21760,"24":28,"16":320054541921812480,"45":4123115856220110848},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461056001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:25:07] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856220110848,"description":"Unknown IO ID 45"} 
[2026-06-21 23:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461056001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4123115856220110848}} 
[2026-06-21 23:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":109089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:25:07] local.INFO: GPS data processed {"connection_id":109089,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:25:07] local.INFO: Acknowledgment sent {"connection_id":109089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:25:28] local.INFO: TCP Data received {"connection_id":109280,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:25:28] local.INFO: Processing buffer {"connection_id":109280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:25:28] local.INFO: IMEI packet received {"connection_id":109280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":109280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:25:34] local.INFO: TCP Data received {"connection_id":109280,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:25:34] local.INFO: Processing buffer {"connection_id":109280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:25:34] local.INFO: IMEI packet received {"connection_id":109280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":109280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:25:35] local.INFO: TCP Data received {"connection_id":109280,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:25:35] local.INFO: Processing buffer {"connection_id":109280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:25:35] local.INFO: Packet analysis {"connection_id":109280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:25:35] local.INFO: Extracted packet for processing {"connection_id":109280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111791392,"longitude_deg":75.8724352,"latitude_deg":11.1791392,"altitude":12,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d393700","hex_latitude":"06a9cd20","is_valid_coordinates":true} 
[2026-06-21 23:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461056001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856220110848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:25:35] 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-06-21 23:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782064303000,"timestamp_ms":1782064303000,"timestamp_seconds":1782064303,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f4b98"} 
[2026-06-21 23:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461056001,"66":27713,"90":206,"28":21760,"24":28,"16":320054541921812480,"45":4123115856220110848},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461056001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:25:35] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856220110848,"description":"Unknown IO ID 45"} 
[2026-06-21 23:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461056001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4123115856220110848}} 
[2026-06-21 23:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":109280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:25:35] local.INFO: GPS data processed {"connection_id":109280,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:25:35] local.INFO: Acknowledgment sent {"connection_id":109280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:26:06] local.INFO: TCP Data received {"connection_id":109280,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:26:06] local.INFO: Processing buffer {"connection_id":109280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:26:06] local.INFO: Packet analysis {"connection_id":109280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:26:06] local.INFO: Extracted packet for processing {"connection_id":109280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111791392,"longitude_deg":75.8724352,"latitude_deg":11.1791392,"altitude":12,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d393700","hex_latitude":"06a9cd20","is_valid_coordinates":true} 
[2026-06-21 23:26: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-06-21 23:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461056001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856220110848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:26:06] 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-06-21 23:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782064303000,"timestamp_ms":1782064303000,"timestamp_seconds":1782064303,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f4b98"} 
[2026-06-21 23:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461056001,"66":27713,"90":206,"28":21760,"24":28,"16":320054541921812480,"45":4123115856220110848},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461056001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:26:06] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:26:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856220110848,"description":"Unknown IO ID 45"} 
[2026-06-21 23:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461056001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4123115856220110848}} 
[2026-06-21 23:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":109280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:26:07] local.INFO: GPS data processed {"connection_id":109280,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:26:07] local.INFO: Acknowledgment sent {"connection_id":109280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:26:28] local.INFO: TCP Data received {"connection_id":109864,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:26:28] local.INFO: Processing buffer {"connection_id":109864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:26:28] local.INFO: IMEI packet received {"connection_id":109864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":109864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:26:34] local.INFO: TCP Data received {"connection_id":109864,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:26:34] local.INFO: Processing buffer {"connection_id":109864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:26:34] local.INFO: IMEI packet received {"connection_id":109864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":109864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:26:36] local.INFO: TCP Data received {"connection_id":109864,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:26:36] local.INFO: Processing buffer {"connection_id":109864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:26:36] local.INFO: Packet analysis {"connection_id":109864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:26:36] local.INFO: Extracted packet for processing {"connection_id":109864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111791392,"longitude_deg":75.8724352,"latitude_deg":11.1791392,"altitude":12,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d393700","hex_latitude":"06a9cd20","is_valid_coordinates":true} 
[2026-06-21 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461056001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856220110848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:26:36] 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-06-21 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782064303000,"timestamp_ms":1782064303000,"timestamp_seconds":1782064303,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f4b98"} 
[2026-06-21 23:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461056001,"66":27713,"90":206,"28":21760,"24":28,"16":320054541921812480,"45":4123115856220110848},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461056001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:26:36] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856220110848,"description":"Unknown IO ID 45"} 
[2026-06-21 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461056001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4123115856220110848}} 
[2026-06-21 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":109864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:26:36] local.INFO: GPS data processed {"connection_id":109864,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:26:36] local.INFO: Acknowledgment sent {"connection_id":109864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:27:07] local.INFO: TCP Data received {"connection_id":109864,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:27:07] local.INFO: Processing buffer {"connection_id":109864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb4f4b98012d39370006a9cd20000c015a27..."} 
[2026-06-21 23:27:07] local.INFO: Packet analysis {"connection_id":109864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:27:07] local.INFO: Extracted packet for processing {"connection_id":109864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb4f"} 
[2026-06-21 23:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111791392,"longitude_deg":75.8724352,"latitude_deg":11.1791392,"altitude":12,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d393700","hex_latitude":"06a9cd20","is_valid_coordinates":true} 
[2026-06-21 23:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461056001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856220110848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:27:07] 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-06-21 23:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782064303000,"timestamp_ms":1782064303000,"timestamp_seconds":1782064303,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb4f4b98"} 
[2026-06-21 23:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461056001,"66":27713,"90":206,"28":21760,"24":28,"16":320054541921812480,"45":4123115856220110848},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-21 23:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461056001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:27:07] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-21 23:27:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856220110848,"description":"Unknown IO ID 45"} 
[2026-06-21 23:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461056001,"power":27713,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4123115856220110848}} 
[2026-06-21 23:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":109864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:27:08] local.INFO: GPS data processed {"connection_id":109864,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:27:08] local.INFO: Acknowledgment sent {"connection_id":109864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:27:33] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:27:33] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:27:33] local.INFO: IMEI packet received {"connection_id":110815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":110815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:27:36] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:27:36] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:27:36] local.INFO: IMEI packet received {"connection_id":110815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":110815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:27:39] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb53b480012d392ac006a9e8b00000015b29..."} 
[2026-06-21 23:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb53b480012d392ac006a9e8b00000015b29..."} 
[2026-06-21 23:27:39] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb53b480012d392ac006a9e8b00000015b29..."} 
[2026-06-21 23:27:39] local.INFO: Packet analysis {"connection_id":110815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb53"} 
[2026-06-21 23:27:39] local.INFO: Extracted packet for processing {"connection_id":110815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb53"} 
[2026-06-21 23:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758721216,"raw_latitude":111798448,"longitude_deg":75.8721216,"latitude_deg":11.1798448,"altitude":0,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2d392ac0","hex_latitude":"06a9e8b0","is_valid_coordinates":true} 
[2026-06-21 23:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208461568001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122764012499574784,"note":"Value kept but may cause issues"} 
[2026-06-21 23:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782064592000,"timestamp_ms":1782064592000,"timestamp_seconds":1782064592,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb53b480"} 
[2026-06-21 23:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-21 23: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-21 23:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208461568001,"66":25680,"185":206,"28":21760,"24":0,"16":320054541921812480,"45":4122764012499574784},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-21 23:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208461568001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:27:39] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-21 23:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122764012499574784,"description":"Unknown IO ID 45"} 
[2026-06-21 23:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208461568001,"power":25680,"unknown_185":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4122764012499574784}} 
[2026-06-21 23:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":110815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:27:39] local.INFO: GPS data processed {"connection_id":110815,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:27:39] local.INFO: Acknowledgment sent {"connection_id":110815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:28:11] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb53c420012d392a0006a9eec00000016629..."} 
[2026-06-21 23:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb53c420012d392a0006a9eec00000016629..."} 
[2026-06-21 23:28:11] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb53c420012d392a0006a9eec00000016629..."} 
[2026-06-21 23:28:11] local.INFO: Packet analysis {"connection_id":110815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb53"} 
[2026-06-21 23:28:11] local.INFO: Extracted packet for processing {"connection_id":110815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb53"} 
[2026-06-21 23:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758721024,"raw_latitude":111800000,"longitude_deg":75.8721024,"latitude_deg":11.18,"altitude":0,"angle":358,"satellites":41,"speed":0,"hex_longitude":"2d392a00","hex_latitude":"06a9eec0","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208535552001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4119315944036675584,"note":"Value kept but may cause issues"} 
[2026-06-21 23:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782064596000,"timestamp_ms":1782064596000,"timestamp_seconds":1782064596,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb53c420"} 
[2026-06-21 23:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":80,"data_length":795,"current_offset":136} 
[2026-06-21 23:28: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-06-21 23: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-06-21 23:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208535552001,"66":21995,"185":206,"28":21760,"24":0,"16":320054541921812480,"45":4119315944036675584},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-21 23:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208535552001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:28:11] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-21 23:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4119315944036675584,"description":"Unknown IO ID 45"} 
[2026-06-21 23:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208535552001,"power":21995,"unknown_185":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4119315944036675584}} 
[2026-06-21 23:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":110815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:28:11] local.INFO: GPS data processed {"connection_id":110815,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:28:11] local.INFO: Acknowledgment sent {"connection_id":110815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:28:29] local.INFO: TCP Data received {"connection_id":109281,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:28:29] local.INFO: Processing buffer {"connection_id":109281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:28:29] local.INFO: IMEI packet received {"connection_id":109281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":109281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:28:31] local.INFO: TCP Data received {"connection_id":109281,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:28:31] local.INFO: Processing buffer {"connection_id":109281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:28:31] local.INFO: IMEI packet received {"connection_id":109281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":109281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:28:33] local.INFO: TCP Data received {"connection_id":109281,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb541628012d392a0006a9eec0000001662b..."} 
[2026-06-21 23:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb541628012d392a0006a9eec0000001662b..."} 
[2026-06-21 23:28:33] local.INFO: Processing buffer {"connection_id":109281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb541628012d392a0006a9eec0000001662b..."} 
[2026-06-21 23:28:33] local.INFO: Packet analysis {"connection_id":109281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb54"} 
[2026-06-21 23:28:33] local.INFO: Extracted packet for processing {"connection_id":109281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb54"} 
[2026-06-21 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":758721024,"raw_latitude":111800000,"longitude_deg":75.8721024,"latitude_deg":11.18,"altitude":0,"angle":358,"satellites":43,"speed":0,"hex_longitude":"2d392a00","hex_latitude":"06a9eec0","is_valid_coordinates":true} 
[2026-06-21 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208536576001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4119104837804539904,"note":"Value kept but may cause issues"} 
[2026-06-21 23:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782064617000,"timestamp_ms":1782064617000,"timestamp_seconds":1782064617,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb541628"} 
[2026-06-21 23:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:28: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-06-21 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":85,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-06-21 23:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208536576001,"66":27213,"185":206,"28":21760,"24":0,"16":320054541921812480,"45":4119104837804539904},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-21 23:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208536576001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4119104837804539904,"description":"Unknown IO ID 45"} 
[2026-06-21 23:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208536576001,"power":27213,"unknown_185":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4119104837804539904}} 
[2026-06-21 23:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":109281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:28:33] local.INFO: GPS data processed {"connection_id":109281,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:28:33] local.INFO: Acknowledgment sent {"connection_id":109281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:29:04] local.INFO: TCP Data received {"connection_id":109281,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb546830012d392a0006a9eec0000001662c..."} 
[2026-06-21 23:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb546830012d392a0006a9eec0000001662c..."} 
[2026-06-21 23:29:04] local.INFO: Processing buffer {"connection_id":109281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb546830012d392a0006a9eec0000001662c..."} 
[2026-06-21 23:29:04] local.INFO: Packet analysis {"connection_id":109281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb54"} 
[2026-06-21 23:29:04] local.INFO: Extracted packet for processing {"connection_id":109281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb54"} 
[2026-06-21 23:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758721024,"raw_latitude":111800000,"longitude_deg":75.8721024,"latitude_deg":11.18,"altitude":0,"angle":358,"satellites":44,"speed":0,"hex_longitude":"2d392a00","hex_latitude":"06a9eec0","is_valid_coordinates":true} 
[2026-06-21 23:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208541952001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320054541921812480,"note":"Value kept but may cause issues"} 
[2026-06-21 23:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4119104837804539904,"note":"Value kept but may cause issues"} 
[2026-06-21 23:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782064638000,"timestamp_ms":1782064638000,"timestamp_seconds":1782064638,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb546830"} 
[2026-06-21 23:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":77,"data_length":795,"current_offset":136} 
[2026-06-21 23:29: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-06-21 23:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":109281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":109281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":109281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208541952001,"66":27365,"185":206,"28":21760,"24":0,"16":320054541921812480,"45":4119104837804539904},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-21 23:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208541952001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:29:04] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-21 23:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320054541921812480,"km_value":320054541921812.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4119104837804539904,"description":"Unknown IO ID 45"} 
[2026-06-21 23:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208541952001,"power":27365,"unknown_185":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4119104837804539904}} 
[2026-06-21 23:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":109281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:29:04] local.INFO: GPS data processed {"connection_id":109281,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:29:04] local.INFO: Acknowledgment sent {"connection_id":109281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:29:28] local.INFO: TCP Data received {"connection_id":109091,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:28] local.INFO: Processing buffer {"connection_id":109091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:28] local.INFO: IMEI packet received {"connection_id":109091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":109091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:29:30] local.INFO: TCP Data received {"connection_id":109091,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:30] local.INFO: Processing buffer {"connection_id":109091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:30] local.INFO: IMEI packet received {"connection_id":109091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":109091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:29:34] local.INFO: TCP Data received {"connection_id":109091,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:34] local.INFO: Processing buffer {"connection_id":109091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:29:34] local.INFO: IMEI packet received {"connection_id":109091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":109091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:29:35] local.INFO: TCP Data received {"connection_id":109091,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb558d28012d390ec006aa6ae0000901592c..."} 
[2026-06-21 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb558d28012d390ec006aa6ae0000901592c..."} 
[2026-06-21 23:29:35] local.INFO: Processing buffer {"connection_id":109091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb558d28012d390ec006aa6ae0000901592c..."} 
[2026-06-21 23:29:35] local.INFO: Packet analysis {"connection_id":109091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:29:35] local.INFO: Extracted packet for processing {"connection_id":109091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758714048,"raw_latitude":111831776,"longitude_deg":75.8714048,"latitude_deg":11.1831776,"altitude":9,"angle":345,"satellites":44,"speed":37,"hex_longitude":"2d390ec0","hex_latitude":"06aa6ae0","is_valid_coordinates":true} 
[2026-06-21 23:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208563968001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320056161124483072,"note":"Value kept but may cause issues"} 
[2026-06-21 23:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4114038288229664768,"note":"Value kept but may cause issues"} 
[2026-06-21 23:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782064713000,"timestamp_ms":1782064713000,"timestamp_seconds":1782064713,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb558d28"} 
[2026-06-21 23:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:29: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-06-21 23:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208563968001,"66":27365,"185":206,"28":21760,"24":37,"16":320056161124483072,"45":4114038288229664768},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-21 23:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208563968001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:29:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-21 23:29:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320056161124483072,"km_value":320056161124483.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4114038288229664768,"description":"Unknown IO ID 45"} 
[2026-06-21 23:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208563968001,"power":27365,"unknown_185":206,"unknown_28":21760,"ignition":37,"odometer":null,"unknown_45":4114038288229664768}} 
[2026-06-21 23:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":109091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:29:35] local.INFO: GPS data processed {"connection_id":109091,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:29:35] local.INFO: Acknowledgment sent {"connection_id":109091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:30:07] local.INFO: TCP Data received {"connection_id":109091,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb55b438012d39054006aa8fa8000901582c..."} 
[2026-06-21 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb55b438012d39054006aa8fa8000901582c..."} 
[2026-06-21 23:30:07] local.INFO: Processing buffer {"connection_id":109091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb55b438012d39054006aa8fa8000901582c..."} 
[2026-06-21 23:30:07] local.INFO: Packet analysis {"connection_id":109091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:30:07] local.INFO: Extracted packet for processing {"connection_id":109091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758711616,"raw_latitude":111841192,"longitude_deg":75.8711616,"latitude_deg":11.1841192,"altitude":9,"angle":344,"satellites":44,"speed":39,"hex_longitude":"2d390540","hex_latitude":"06aa8fa8","is_valid_coordinates":true} 
[2026-06-21 23:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208566528001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320056629275918336,"note":"Value kept but may cause issues"} 
[2026-06-21 23:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111434644697309184,"note":"Value kept but may cause issues"} 
[2026-06-21 23:30: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-06-21 23:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782064723000,"timestamp_ms":1782064723000,"timestamp_seconds":1782064723,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb55b438"} 
[2026-06-21 23:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-21 23:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208566528001,"66":27267,"186":206,"28":21760,"24":39,"16":320056629275918336,"45":4111434644697309184},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-21 23:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208566528001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320056629275918336,"km_value":320056629275918.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111434644697309184,"description":"Unknown IO ID 45"} 
[2026-06-21 23:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208566528001,"power":27267,"unknown_186":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":4111434644697309184}} 
[2026-06-21 23:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":109091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:30:07] local.INFO: GPS data processed {"connection_id":109091,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:30:07] local.INFO: Acknowledgment sent {"connection_id":109091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:30:11] local.INFO: TCP Data received {"connection_id":110816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:30:11] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:30:11] local.INFO: IMEI packet received {"connection_id":110816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":110816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:30:28] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:28] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:28] local.INFO: IMEI packet received {"connection_id":110817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":110817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:30:31] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:31] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:31] local.INFO: IMEI packet received {"connection_id":110817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":110817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:30:34] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:34] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:30:34] local.INFO: IMEI packet received {"connection_id":110817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":110817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:30:36] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb55d760012d38fc0006aab148000a01592c..."} 
[2026-06-21 23:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb55d760012d38fc0006aab148000a01592c..."} 
[2026-06-21 23:30:36] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb55d760012d38fc0006aab148000a01592c..."} 
[2026-06-21 23:30:36] local.INFO: Packet analysis {"connection_id":110817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:30:36] local.INFO: Extracted packet for processing {"connection_id":110817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758709248,"raw_latitude":111849800,"longitude_deg":75.8709248,"latitude_deg":11.18498,"altitude":10,"angle":345,"satellites":44,"speed":39,"hex_longitude":"2d38fc00","hex_latitude":"06aab148","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208569088001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320057063067615232,"note":"Value kept but may cause issues"} 
[2026-06-21 23:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4108760632420968448,"note":"Value kept but may cause issues"} 
[2026-06-21 23:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782064732000,"timestamp_ms":1782064732000,"timestamp_seconds":1782064732,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb55d760"} 
[2026-06-21 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-06-21 23:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:30: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-06-21 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-06-21 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-06-21 23:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208569088001,"66":27267,"186":206,"28":21760,"24":39,"16":320057063067615232,"45":4108760632420968448},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-21 23:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208569088001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:30:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-21 23:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320057063067615232,"km_value":320057063067615.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4108760632420968448,"description":"Unknown IO ID 45"} 
[2026-06-21 23:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208569088001,"power":27267,"unknown_186":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":4108760632420968448}} 
[2026-06-21 23:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":110817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:30:36] local.INFO: GPS data processed {"connection_id":110817,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:30:36] local.INFO: Acknowledgment sent {"connection_id":110817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:31:07] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb55fa88012d38f30006aad320000a01592c..."} 
[2026-06-21 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb55fa88012d38f30006aad320000a01592c..."} 
[2026-06-21 23:31:07] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb55fa88012d38f30006aad320000a01592c..."} 
[2026-06-21 23:31:07] local.INFO: Packet analysis {"connection_id":110817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:31:07] local.INFO: Extracted packet for processing {"connection_id":110817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb55"} 
[2026-06-21 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758706944,"raw_latitude":111858464,"longitude_deg":75.8706944,"latitude_deg":11.1858464,"altitude":10,"angle":345,"satellites":44,"speed":40,"hex_longitude":"2d38f300","hex_latitude":"06aad320","is_valid_coordinates":true} 
[2026-06-21 23:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208571392001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320057496859312128,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4106156988888598528,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31: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-06-21 23:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782064741000,"timestamp_ms":1782064741000,"timestamp_seconds":1782064741,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb55fa88"} 
[2026-06-21 23:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208571392001,"66":27300,"186":206,"28":21760,"24":40,"16":320057496859312128,"45":4106156988888598528},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-21 23:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208571392001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320057496859312128,"km_value":320057496859312.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4106156988888598528,"description":"Unknown IO ID 45"} 
[2026-06-21 23:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208571392001,"power":27300,"unknown_186":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":4106156988888598528}} 
[2026-06-21 23:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":110817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:31:07] local.INFO: GPS data processed {"connection_id":110817,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:31:07] local.INFO: Acknowledgment sent {"connection_id":110817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:31:34] local.INFO: TCP Data received {"connection_id":109283,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:31:34] local.INFO: Processing buffer {"connection_id":109283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:31:34] local.INFO: IMEI packet received {"connection_id":109283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":109283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:31:37] local.INFO: TCP Data received {"connection_id":109283,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:31:37] local.INFO: Processing buffer {"connection_id":109283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:31:37] local.INFO: IMEI packet received {"connection_id":109283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":109283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:31:38] local.INFO: TCP Data received {"connection_id":109283,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb577d40012d388b8006ac59b8000b015929..."} 
[2026-06-21 23:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb577d40012d388b8006ac59b8000b015929..."} 
[2026-06-21 23:31:38] local.INFO: Processing buffer {"connection_id":109283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb577d40012d388b8006ac59b8000b015929..."} 
[2026-06-21 23:31:38] local.INFO: Packet analysis {"connection_id":109283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:31:38] local.INFO: Extracted packet for processing {"connection_id":109283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758680448,"raw_latitude":111958456,"longitude_deg":75.8680448,"latitude_deg":11.1958456,"altitude":11,"angle":345,"satellites":41,"speed":41,"hex_longitude":"2d388b80","hex_latitude":"06ac59b8","is_valid_coordinates":true} 
[2026-06-21 23:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208596736001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320062509086146560,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4077165066312916992,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782064840000,"timestamp_ms":1782064840000,"timestamp_seconds":1782064840,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb577d40"} 
[2026-06-21 23:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-21 23:31: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-06-21 23:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":109283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":109283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":109283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208596736001,"66":26723,"196":206,"28":21760,"24":41,"16":320062509086146560,"45":4077165066312916992},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-21 23:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208596736001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:31:38] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-21 23:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320062509086146560,"km_value":320062509086146.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4077165066312916992,"description":"Unknown IO ID 45"} 
[2026-06-21 23:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208596736001,"power":26723,"unknown_196":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":4077165066312916992}} 
[2026-06-21 23:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":109283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:31:38] local.INFO: GPS data processed {"connection_id":109283,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:31:38] local.INFO: Acknowledgment sent {"connection_id":109283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:31:40] local.INFO: TCP Data received {"connection_id":109283,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb57a068012d3881c006ac7e20000b015829..."} 
[2026-06-21 23:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb57a068012d3881c006ac7e20000b015829..."} 
[2026-06-21 23:31:40] local.INFO: Processing buffer {"connection_id":109283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb57a068012d3881c006ac7e20000b015829..."} 
[2026-06-21 23:31:40] local.INFO: Packet analysis {"connection_id":109283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:31:40] local.INFO: Extracted packet for processing {"connection_id":109283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758677952,"raw_latitude":111967776,"longitude_deg":75.8677952,"latitude_deg":11.1967776,"altitude":11,"angle":344,"satellites":41,"speed":43,"hex_longitude":"2d3881c0","hex_latitude":"06ac7e20","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208599040001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320062972942614528,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4074491054036465664,"note":"Value kept but may cause issues"} 
[2026-06-21 23:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782064849000,"timestamp_ms":1782064849000,"timestamp_seconds":1782064849,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb57a068"} 
[2026-06-21 23:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-06-21 23:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208599040001,"66":27267,"196":206,"28":21760,"24":43,"16":320062972942614528,"45":4074491054036465664},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-21 23:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208599040001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320062972942614528,"km_value":320062972942614.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4074491054036465664,"description":"Unknown IO ID 45"} 
[2026-06-21 23:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208599040001,"power":27267,"unknown_196":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":4074491054036465664}} 
[2026-06-21 23:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":109283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:31:40] local.INFO: GPS data processed {"connection_id":109283,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:31:40] local.INFO: Acknowledgment sent {"connection_id":109283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:32:12] local.INFO: TCP Data received {"connection_id":109283,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb57c390012d3877c006aca278000c015828..."} 
[2026-06-21 23:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb57c390012d3877c006aca278000c015828..."} 
[2026-06-21 23:32:12] local.INFO: Processing buffer {"connection_id":109283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb57c390012d3877c006aca278000c015828..."} 
[2026-06-21 23:32:12] local.INFO: Packet analysis {"connection_id":109283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:32:12] local.INFO: Extracted packet for processing {"connection_id":109283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758675392,"raw_latitude":111977080,"longitude_deg":75.8675392,"latitude_deg":11.197708,"altitude":12,"angle":344,"satellites":40,"speed":40,"hex_longitude":"2d3877c0","hex_latitude":"06aca278","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208601344001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320063441094049792,"note":"Value kept but may cause issues"} 
[2026-06-21 23:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4071746673015922688,"note":"Value kept but may cause issues"} 
[2026-06-21 23:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782064858000,"timestamp_ms":1782064858000,"timestamp_seconds":1782064858,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb57c390"} 
[2026-06-21 23:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:32: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-06-21 23: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-06-21 23:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208601344001,"66":27343,"196":206,"28":21760,"24":40,"16":320063441094049792,"45":4071746673015922688},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-21 23:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208601344001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:32:12] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-21 23:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320063441094049792,"km_value":320063441094049.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4071746673015922688,"description":"Unknown IO ID 45"} 
[2026-06-21 23:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208601344001,"power":27343,"unknown_196":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":4071746673015922688}} 
[2026-06-21 23:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":109283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:32:12] local.INFO: GPS data processed {"connection_id":109283,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:32:12] local.INFO: Acknowledgment sent {"connection_id":109283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:32:38] local.INFO: TCP Data received {"connection_id":110818,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:38] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:38] local.INFO: IMEI packet received {"connection_id":110818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":110818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:32:40] local.INFO: TCP Data received {"connection_id":110818,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:40] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:40] local.INFO: IMEI packet received {"connection_id":110818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":110818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:32:44] local.INFO: TCP Data received {"connection_id":110818,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:44] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:32:44] local.INFO: IMEI packet received {"connection_id":110818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":110818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:32:46] local.INFO: TCP Data received {"connection_id":110818,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb57eaa0012d386e4006acc5f0000f01592b..."} 
[2026-06-21 23:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb57eaa0012d386e4006acc5f0000f01592b..."} 
[2026-06-21 23:32:46] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb57eaa0012d386e4006acc5f0000f01592b..."} 
[2026-06-21 23:32:46] local.INFO: Packet analysis {"connection_id":110818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:32:46] local.INFO: Extracted packet for processing {"connection_id":110818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb57"} 
[2026-06-21 23:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758672960,"raw_latitude":111986160,"longitude_deg":75.867296,"latitude_deg":11.198616,"altitude":15,"angle":345,"satellites":43,"speed":33,"hex_longitude":"2d386e40","hex_latitude":"06acc5f0","is_valid_coordinates":true} 
[2026-06-21 23:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208603648001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320063896360583168,"note":"Value kept but may cause issues"} 
[2026-06-21 23:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4068931923251197952,"note":"Value kept but may cause issues"} 
[2026-06-21 23:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782064868000,"timestamp_ms":1782064868000,"timestamp_seconds":1782064868,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb57eaa0"} 
[2026-06-21 23:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:32: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-06-21 23:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208603648001,"66":27397,"196":206,"28":21760,"24":33,"16":320063896360583168,"45":4068931923251197952},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-21 23:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208603648001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:32:46] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-21 23:32:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320063896360583168,"km_value":320063896360583.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4068931923251197952,"description":"Unknown IO ID 45"} 
[2026-06-21 23:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208603648001,"power":27397,"unknown_196":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":4068931923251197952}} 
[2026-06-21 23:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":110818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:32:46] local.INFO: GPS data processed {"connection_id":110818,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:32:46] local.INFO: Acknowledgment sent {"connection_id":110818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:33:38] local.INFO: TCP Data received {"connection_id":109092,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:33:38] local.INFO: Processing buffer {"connection_id":109092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:33:38] local.INFO: IMEI packet received {"connection_id":109092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":109092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:34:30] local.INFO: TCP Data received {"connection_id":109092,"ip":"117.224.157.140","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-21 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109092,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-21 23:34:30] local.INFO: Processing buffer {"connection_id":109092,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-21 23:34:30] local.INFO: IMEI packet received {"connection_id":109092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":109092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:34:33] local.INFO: TCP Data received {"connection_id":109868,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:34:33] local.INFO: Processing buffer {"connection_id":109868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:34:33] local.INFO: IMEI packet received {"connection_id":109868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":109868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:35:36] local.INFO: TCP Data received {"connection_id":110820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:35:36] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:35:36] local.INFO: IMEI packet received {"connection_id":110820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":110820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:36:11] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:36:11] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:36:11] local.INFO: IMEI packet received {"connection_id":110821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":110821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:39:39] local.INFO: TCP Data received {"connection_id":110824,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:39:39] local.INFO: Processing buffer {"connection_id":110824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:39:39] local.INFO: IMEI packet received {"connection_id":110824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":110824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:39:40] local.INFO: TCP Data received {"connection_id":110824,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb5de9c8012d358b8006b213480009012f2c..."} 
[2026-06-21 23:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb5de9c8012d358b8006b213480009012f2c..."} 
[2026-06-21 23:39:40] local.INFO: Processing buffer {"connection_id":110824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb5de9c8012d358b8006b213480009012f2c..."} 
[2026-06-21 23:39:40] local.INFO: Packet analysis {"connection_id":110824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb5d"} 
[2026-06-21 23:39:40] local.INFO: Extracted packet for processing {"connection_id":110824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb5d"} 
[2026-06-21 23:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758483840,"raw_latitude":112333640,"longitude_deg":75.848384,"latitude_deg":11.233364,"altitude":9,"angle":303,"satellites":44,"speed":54,"hex_longitude":"2d358b80","hex_latitude":"06b21348","is_valid_coordinates":true} 
[2026-06-21 23:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208705024001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320083270958055424,"note":"Value kept but may cause issues"} 
[2026-06-21 23:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3867114365039603712,"note":"Value kept but may cause issues"} 
[2026-06-21 23:39: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-06-21 23:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782065261000,"timestamp_ms":1782065261000,"timestamp_seconds":1782065261,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb5de9c8"} 
[2026-06-21 23:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208705024001,"66":27397,"182":206,"28":21760,"24":54,"16":320083270958055424,"45":3867114365039603712},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-21 23:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208705024001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:39:40] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-21 23:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320083270958055424,"km_value":320083270958055.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3867114365039603712,"description":"Unknown IO ID 45"} 
[2026-06-21 23:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208705024001,"power":27397,"unknown_182":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3867114365039603712}} 
[2026-06-21 23:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":110824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:39:40] local.INFO: GPS data processed {"connection_id":110824,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:39:40] local.INFO: Acknowledgment sent {"connection_id":110824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:40:12] local.INFO: TCP Data received {"connection_id":110824,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb5e0520012d356cc006b227d80009012f2b..."} 
[2026-06-21 23:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb5e0520012d356cc006b227d80009012f2b..."} 
[2026-06-21 23:40:12] local.INFO: Processing buffer {"connection_id":110824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb5e0520012d356cc006b227d80009012f2b..."} 
[2026-06-21 23:40:12] local.INFO: Packet analysis {"connection_id":110824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb5e"} 
[2026-06-21 23:40:12] local.INFO: Extracted packet for processing {"connection_id":110824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb5e"} 
[2026-06-21 23:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758475968,"raw_latitude":112338904,"longitude_deg":75.8475968,"latitude_deg":11.2338904,"altitude":9,"angle":303,"satellites":43,"speed":51,"hex_longitude":"2d356cc0","hex_latitude":"06b227d8","is_valid_coordinates":true} 
[2026-06-21 23:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208706816001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320083721929621504,"note":"Value kept but may cause issues"} 
[2026-06-21 23:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3858318272018728960,"note":"Value kept but may cause issues"} 
[2026-06-21 23:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782065268000,"timestamp_ms":1782065268000,"timestamp_seconds":1782065268,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb5e0520"} 
[2026-06-21 23:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 23:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208706816001,"66":27332,"182":206,"28":21760,"24":51,"16":320083721929621504,"45":3858318272018728960},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-21 23:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208706816001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:40:12] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-21 23:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320083721929621504,"km_value":320083721929621.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3858318272018728960,"description":"Unknown IO ID 45"} 
[2026-06-21 23:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208706816001,"power":27332,"unknown_182":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3858318272018728960}} 
[2026-06-21 23:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":110824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:40:12] local.INFO: GPS data processed {"connection_id":110824,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:40:12] local.INFO: Acknowledgment sent {"connection_id":110824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:40:28] local.INFO: TCP Data received {"connection_id":109873,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:40:28] local.INFO: Processing buffer {"connection_id":109873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:40:28] local.INFO: IMEI packet received {"connection_id":109873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":109873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:40:34] local.INFO: TCP Data received {"connection_id":109873,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:40:34] local.INFO: Processing buffer {"connection_id":109873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:40:34] local.INFO: IMEI packet received {"connection_id":109873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":109873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:40:35] local.INFO: TCP Data received {"connection_id":109873,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb5e2460012d354c0006b23d580009012f2c..."} 
[2026-06-21 23:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb5e2460012d354c0006b23d580009012f2c..."} 
[2026-06-21 23:40:35] local.INFO: Processing buffer {"connection_id":109873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb5e2460012d354c0006b23d580009012f2c..."} 
[2026-06-21 23:40:35] local.INFO: Packet analysis {"connection_id":109873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb5e"} 
[2026-06-21 23:40:35] local.INFO: Extracted packet for processing {"connection_id":109873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb5e"} 
[2026-06-21 23:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758467584,"raw_latitude":112344408,"longitude_deg":75.8467584,"latitude_deg":11.2344408,"altitude":9,"angle":303,"satellites":44,"speed":47,"hex_longitude":"2d354c00","hex_latitude":"06b23d58","is_valid_coordinates":true} 
[2026-06-21 23:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208708608001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320084202965958656,"note":"Value kept but may cause issues"} 
[2026-06-21 23:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3849662916486223872,"note":"Value kept but may cause issues"} 
[2026-06-21 23:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782065276000,"timestamp_ms":1782065276000,"timestamp_seconds":1782065276,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb5e2460"} 
[2026-06-21 23:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":196,"data_length":795,"current_offset":136} 
[2026-06-21 23:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208708608001,"66":27321,"182":206,"28":21760,"24":47,"16":320084202965958656,"45":3849662916486223872},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-21 23:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208708608001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:40:35] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-21 23:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320084202965958656,"km_value":320084202965958.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3849662916486223872,"description":"Unknown IO ID 45"} 
[2026-06-21 23:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208708608001,"power":27321,"unknown_182":206,"unknown_28":21760,"ignition":47,"odometer":null,"unknown_45":3849662916486223872}} 
[2026-06-21 23:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":109873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:40:35] local.INFO: GPS data processed {"connection_id":109873,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:40:35] local.INFO: Acknowledgment sent {"connection_id":109873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:41:07] local.INFO: TCP Data received {"connection_id":109873,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6008c0012d3432c006b2f370000e012c2b..."} 
[2026-06-21 23:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6008c0012d3432c006b2f370000e012c2b..."} 
[2026-06-21 23:41:07] local.INFO: Processing buffer {"connection_id":109873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6008c0012d3432c006b2f370000e012c2b..."} 
[2026-06-21 23:41:07] local.INFO: Packet analysis {"connection_id":109873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:41:07] local.INFO: Extracted packet for processing {"connection_id":109873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758395584,"raw_latitude":112391024,"longitude_deg":75.8395584,"latitude_deg":11.2391024,"altitude":14,"angle":300,"satellites":43,"speed":32,"hex_longitude":"2d3432c0","hex_latitude":"06b2f370","is_valid_coordinates":true} 
[2026-06-21 23:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208739328001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320088304659726336,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3770146235577540608,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41: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-06-21 23:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782065400000,"timestamp_ms":1782065400000,"timestamp_seconds":1782065400,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6008c0"} 
[2026-06-21 23:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-21 23:41: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-06-21 23:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208739328001,"66":27397,"182":206,"28":21760,"24":32,"16":320088304659726336,"45":3770146235577540608},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-21 23:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208739328001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:41:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-21 23:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320088304659726336,"km_value":320088304659726.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3770146235577540608,"description":"Unknown IO ID 45"} 
[2026-06-21 23:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208739328001,"power":27397,"unknown_182":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":3770146235577540608}} 
[2026-06-21 23:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":109873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:41:07] local.INFO: GPS data processed {"connection_id":109873,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:41:07] local.INFO: Acknowledgment sent {"connection_id":109873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:41:28] local.INFO: TCP Data received {"connection_id":109285,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:41:28] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:41:28] local.INFO: IMEI packet received {"connection_id":109285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":109285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:41:29] local.INFO: TCP Data received {"connection_id":109285,"ip":"117.224.157.140","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-21 23:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-21 23:41:29] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-21 23:41:29] local.INFO: IMEI packet received {"connection_id":109285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":109285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:41:33] local.INFO: TCP Data received {"connection_id":109285,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:41:33] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-21 23:41:33] local.INFO: IMEI packet received {"connection_id":109285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":109285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:41:34] local.INFO: TCP Data received {"connection_id":109285,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6033b8012d34138006b30828000f01302a..."} 
[2026-06-21 23:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6033b8012d34138006b30828000f01302a..."} 
[2026-06-21 23:41:34] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eeb..."} 
[2026-06-21 23:41:34] local.INFO: IMEI packet received {"connection_id":109285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":109285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:41:37] local.INFO: TCP Data received {"connection_id":109285,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb605ac8012d33f74006b31d68001101362a..."} 
[2026-06-21 23:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb605ac8012d33f74006b31d68001101362a..."} 
[2026-06-21 23:41:37] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019eeb6033b8012d34138006b30828000f01302a..."} 
[2026-06-21 23:41:37] local.INFO: Packet analysis {"connection_id":109285,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:41:37] local.INFO: Extracted packet for processing {"connection_id":109285,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758387584,"raw_latitude":112396328,"longitude_deg":75.8387584,"latitude_deg":11.2396328,"altitude":15,"angle":304,"satellites":42,"speed":35,"hex_longitude":"2d341380","hex_latitude":"06b30828","is_valid_coordinates":true} 
[2026-06-21 23:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208742400001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320088764221227008,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3761279773812420608,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:37] 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-06-21 23:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782065411000,"timestamp_ms":1782065411000,"timestamp_seconds":1782065411,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6033b8"} 
[2026-06-21 23:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 23:41: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-06-21 23:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208742400001,"66":27463,"144":206,"28":21760,"24":35,"16":320088764221227008,"45":3761279773812420608},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,28,24,16,45]} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208742400001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320088764221227008,"km_value":320088764221227.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3761279773812420608,"description":"Unknown IO ID 45"} 
[2026-06-21 23:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208742400001,"power":27463,"unknown_144":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3761279773812420608}} 
[2026-06-21 23:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":109285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:41:37] local.INFO: GPS data processed {"connection_id":109285,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:41:37] local.INFO: Acknowledgment sent {"connection_id":109285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:41:37] local.INFO: Packet analysis {"connection_id":109285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:41:37] local.INFO: Extracted packet for processing {"connection_id":109285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758380352,"raw_latitude":112401768,"longitude_deg":75.8380352,"latitude_deg":11.2401768,"altitude":17,"angle":310,"satellites":42,"speed":36,"hex_longitude":"2d33f740","hex_latitude":"06b31d68","is_valid_coordinates":true} 
[2026-06-21 23:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208745216001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320089198012923904,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752483680791570432,"note":"Value kept but may cause issues"} 
[2026-06-21 23:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782065421000,"timestamp_ms":1782065421000,"timestamp_seconds":1782065421,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb605ac8"} 
[2026-06-21 23:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":109285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208745216001,"66":27234,"211":206,"28":21760,"24":36,"16":320089198012923904,"45":3752483680791570432},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208745216001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320089198012923904,"km_value":320089198012923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752483680791570432,"description":"Unknown IO ID 45"} 
[2026-06-21 23:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208745216001,"power":27234,"unknown_211":206,"unknown_28":21760,"ignition":36,"odometer":null,"unknown_45":3752483680791570432}} 
[2026-06-21 23:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":109285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:41:37] local.INFO: GPS data processed {"connection_id":109285,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:41:37] local.INFO: Acknowledgment sent {"connection_id":109285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:42:08] local.INFO: TCP Data received {"connection_id":109285,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6081d8012d33dd4006b336500012013e2a..."} 
[2026-06-21 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6081d8012d33dd4006b336500012013e2a..."} 
[2026-06-21 23:42:08] local.INFO: Processing buffer {"connection_id":109285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6081d8012d33dd4006b336500012013e2a..."} 
[2026-06-21 23:42:08] local.INFO: Packet analysis {"connection_id":109285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:42:08] local.INFO: Extracted packet for processing {"connection_id":109285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb60"} 
[2026-06-21 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758373696,"raw_latitude":112408144,"longitude_deg":75.8373696,"latitude_deg":11.2408144,"altitude":18,"angle":318,"satellites":42,"speed":36,"hex_longitude":"2d33dd40","hex_latitude":"06b33650","is_valid_coordinates":true} 
[2026-06-21 23:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208747776001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320089640394555392,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3744532012700887040,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782065431000,"timestamp_ms":1782065431000,"timestamp_seconds":1782065431,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6081d8"} 
[2026-06-21 23:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-21 23:42: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-06-21 23:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208747776001,"66":26484,"211":206,"28":21760,"24":36,"16":320089640394555392,"45":3744532012700887040},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208747776001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320089640394555392,"km_value":320089640394555.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3744532012700887040,"description":"Unknown IO ID 45"} 
[2026-06-21 23:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208747776001,"power":26484,"unknown_211":206,"unknown_28":21760,"ignition":36,"odometer":null,"unknown_45":3744532012700887040}} 
[2026-06-21 23:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":109285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:42:08] local.INFO: GPS data processed {"connection_id":109285,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:42:08] local.INFO: Acknowledgment sent {"connection_id":109285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:42:16] local.INFO: TCP Data received {"connection_id":109874,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:42:16] local.INFO: Processing buffer {"connection_id":109874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:42:16] local.INFO: IMEI packet received {"connection_id":109874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":109874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:42:34] local.INFO: TCP Data received {"connection_id":110826,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:42:34] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:42:34] local.INFO: IMEI packet received {"connection_id":110826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":110826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:42:34] local.INFO: TCP Data received {"connection_id":110826,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:42:34] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:42:34] local.INFO: IMEI packet received {"connection_id":110826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":110826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:42:36] local.INFO: TCP Data received {"connection_id":110826,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb618f60012d339a4006b45218000f014725..."} 
[2026-06-21 23:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb618f60012d339a4006b45218000f014725..."} 
[2026-06-21 23:42:36] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb618f60012d339a4006b45218000f014725..."} 
[2026-06-21 23:42:36] local.INFO: Packet analysis {"connection_id":110826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:42:36] local.INFO: Extracted packet for processing {"connection_id":110826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758356544,"raw_latitude":112480792,"longitude_deg":75.8356544,"latitude_deg":11.2480792,"altitude":15,"angle":327,"satellites":37,"speed":47,"hex_longitude":"2d339a40","hex_latitude":"06b45218","is_valid_coordinates":true} 
[2026-06-21 23:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208765952001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320093377016102912,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723491758209849344,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42: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-06-21 23:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782065500000,"timestamp_ms":1782065500000,"timestamp_seconds":1782065500,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb618f60"} 
[2026-06-21 23:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-21 23:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208765952001,"66":27300,"211":206,"28":21760,"24":47,"16":320093377016102912,"45":3723491758209849344},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208765952001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:42:36] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320093377016102912,"km_value":320093377016102.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723491758209849344,"description":"Unknown IO ID 45"} 
[2026-06-21 23:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208765952001,"power":27300,"unknown_211":206,"unknown_28":21760,"ignition":47,"odometer":null,"unknown_45":3723491758209849344}} 
[2026-06-21 23:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":110826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:42:36] local.INFO: GPS data processed {"connection_id":110826,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:42:36] local.INFO: Acknowledgment sent {"connection_id":110826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:42:38] local.INFO: TCP Data received {"connection_id":110826,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb61aea0012d3384c006b46e600010013c28..."} 
[2026-06-21 23:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb61aea0012d3384c006b46e600010013c28..."} 
[2026-06-21 23:42:38] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb61aea0012d3384c006b46e600010013c28..."} 
[2026-06-21 23:42:38] local.INFO: Packet analysis {"connection_id":110826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:42:38] local.INFO: Extracted packet for processing {"connection_id":110826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758351040,"raw_latitude":112488032,"longitude_deg":75.835104,"latitude_deg":11.2488032,"altitude":16,"angle":316,"satellites":40,"speed":43,"hex_longitude":"2d3384c0","hex_latitude":"06b46e60","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208768000001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320093815102767104,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3718354839887026176,"note":"Value kept but may cause issues"} 
[2026-06-21 23:42: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-06-21 23:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782065508000,"timestamp_ms":1782065508000,"timestamp_seconds":1782065508,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb61aea0"} 
[2026-06-21 23:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":164,"data_length":795,"current_offset":136} 
[2026-06-21 23:42: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-06-21 23: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-06-21 23:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208768000001,"66":27267,"211":206,"28":21760,"24":43,"16":320093815102767104,"45":3718354839887026176},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208768000001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:42:38] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320093815102767104,"km_value":320093815102767.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3718354839887026176,"description":"Unknown IO ID 45"} 
[2026-06-21 23:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208768000001,"power":27267,"unknown_211":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":3718354839887026176}} 
[2026-06-21 23:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":110826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:42:38] local.INFO: GPS data processed {"connection_id":110826,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:42:38] local.INFO: Acknowledgment sent {"connection_id":110826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:43:10] local.INFO: TCP Data received {"connection_id":110826,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb61aea0012d3384c006b46e600010013c28..."} 
[2026-06-21 23:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb61aea0012d3384c006b46e600010013c28..."} 
[2026-06-21 23:43:10] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb61aea0012d3384c006b46e600010013c28..."} 
[2026-06-21 23:43:10] local.INFO: Packet analysis {"connection_id":110826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:43:10] local.INFO: Extracted packet for processing {"connection_id":110826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758351040,"raw_latitude":112488032,"longitude_deg":75.835104,"latitude_deg":11.2488032,"altitude":16,"angle":316,"satellites":40,"speed":43,"hex_longitude":"2d3384c0","hex_latitude":"06b46e60","is_valid_coordinates":true} 
[2026-06-21 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208770048001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320093815102767104,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3712303127889600512,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782065508000,"timestamp_ms":1782065508000,"timestamp_seconds":1782065508,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb61aea0"} 
[2026-06-21 23:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:43: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-06-21 23:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208770048001,"66":27267,"211":206,"28":21760,"24":43,"16":320093815102767104,"45":3712303127889600512},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208770048001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:43:10] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320093815102767104,"km_value":320093815102767.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3712303127889600512,"description":"Unknown IO ID 45"} 
[2026-06-21 23:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208770048001,"power":27267,"unknown_211":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":3712303127889600512}} 
[2026-06-21 23:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":110826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:43:10] local.INFO: GPS data processed {"connection_id":110826,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:43:10] local.INFO: Acknowledgment sent {"connection_id":110826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:43:11] local.INFO: TCP Data received {"connection_id":110827,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:43:11] local.INFO: Processing buffer {"connection_id":110827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:43:11] local.INFO: IMEI packet received {"connection_id":110827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":110827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:43:24] local.INFO: TCP Data received {"connection_id":109875,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:24] local.INFO: Processing buffer {"connection_id":109875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:24] local.INFO: IMEI packet received {"connection_id":109875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":109875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:43:29] local.INFO: TCP Data received {"connection_id":109875,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:29] local.INFO: Processing buffer {"connection_id":109875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:29] local.INFO: IMEI packet received {"connection_id":109875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":109875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:43:33] local.INFO: TCP Data received {"connection_id":109875,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:33] local.INFO: Processing buffer {"connection_id":109875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:43:33] local.INFO: IMEI packet received {"connection_id":109875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":109875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:43:34] local.INFO: TCP Data received {"connection_id":109875,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb61cde0012d336c8006b483f8001101312b..."} 
[2026-06-21 23:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb61cde0012d336c8006b483f8001101312b..."} 
[2026-06-21 23:43:34] local.INFO: Processing buffer {"connection_id":109875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb61cde0012d336c8006b483f8001101312b..."} 
[2026-06-21 23:43:34] local.INFO: Packet analysis {"connection_id":109875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:43:34] local.INFO: Extracted packet for processing {"connection_id":109875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758344832,"raw_latitude":112493560,"longitude_deg":75.8344832,"latitude_deg":11.249356,"altitude":17,"angle":305,"satellites":43,"speed":40,"hex_longitude":"2d336c80","hex_latitude":"06b483f8","is_valid_coordinates":true} 
[2026-06-21 23:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208770048001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320094218829692928,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3712303127889600512,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782065516000,"timestamp_ms":1782065516000,"timestamp_seconds":1782065516,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb61cde0"} 
[2026-06-21 23:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208770048001,"66":27343,"211":206,"28":21760,"24":40,"16":320094218829692928,"45":3712303127889600512},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208770048001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:43:34] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320094218829692928,"km_value":320094218829692.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3712303127889600512,"description":"Unknown IO ID 45"} 
[2026-06-21 23:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208770048001,"power":27343,"unknown_211":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":3712303127889600512}} 
[2026-06-21 23:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":109875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:43:34] local.INFO: GPS data processed {"connection_id":109875,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:43:34] local.INFO: Acknowledgment sent {"connection_id":109875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:43:35] local.INFO: TCP Data received {"connection_id":109875,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb61f108012d334c4006b496f0001101282c..."} 
[2026-06-21 23:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb61f108012d334c4006b496f0001101282c..."} 
[2026-06-21 23:43:35] local.INFO: Processing buffer {"connection_id":109875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb61f108012d334c4006b496f0001101282c..."} 
[2026-06-21 23:43:35] local.INFO: Packet analysis {"connection_id":109875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:43:35] local.INFO: Extracted packet for processing {"connection_id":109875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb61"} 
[2026-06-21 23:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758336576,"raw_latitude":112498416,"longitude_deg":75.8336576,"latitude_deg":11.2498416,"altitude":17,"angle":296,"satellites":44,"speed":42,"hex_longitude":"2d334c40","hex_latitude":"06b496f0","is_valid_coordinates":true} 
[2026-06-21 23:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208772096001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320094674096226304,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3705477359705782272,"note":"Value kept but may cause issues"} 
[2026-06-21 23:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782065525000,"timestamp_ms":1782065525000,"timestamp_seconds":1782065525,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb61f108"} 
[2026-06-21 23:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:43: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-06-21 23:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208772096001,"66":27463,"211":206,"28":21760,"24":42,"16":320094674096226304,"45":3705477359705782272},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208772096001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:43:35] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320094674096226304,"km_value":320094674096226.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3705477359705782272,"description":"Unknown IO ID 45"} 
[2026-06-21 23:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208772096001,"power":27463,"unknown_211":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":3705477359705782272}} 
[2026-06-21 23:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":109875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:43:35] local.INFO: GPS data processed {"connection_id":109875,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:43:35] local.INFO: Acknowledgment sent {"connection_id":109875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:44:08] local.INFO: TCP Data received {"connection_id":109875,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb621430012d33294006b4a760001001282b..."} 
[2026-06-21 23:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb621430012d33294006b4a760001001282b..."} 
[2026-06-21 23:44:08] local.INFO: Processing buffer {"connection_id":109875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb621430012d33294006b4a760001001282b..."} 
[2026-06-21 23:44:08] local.INFO: Packet analysis {"connection_id":109875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb62"} 
[2026-06-21 23:44:08] local.INFO: Extracted packet for processing {"connection_id":109875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb62"} 
[2026-06-21 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758327616,"raw_latitude":112502624,"longitude_deg":75.8327616,"latitude_deg":11.2502624,"altitude":16,"angle":296,"satellites":43,"speed":44,"hex_longitude":"2d332940","hex_latitude":"06b4a760","is_valid_coordinates":true} 
[2026-06-21 23:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208774400001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320095146542628864,"note":"Value kept but may cause issues"} 
[2026-06-21 23:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3696399791708106752,"note":"Value kept but may cause issues"} 
[2026-06-21 23:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782065534000,"timestamp_ms":1782065534000,"timestamp_seconds":1782065534,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb621430"} 
[2026-06-21 23:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208774400001,"66":27463,"211":206,"28":21760,"24":44,"16":320095146542628864,"45":3696399791708106752},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-21 23:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208774400001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320095146542628864,"km_value":320095146542628.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3696399791708106752,"description":"Unknown IO ID 45"} 
[2026-06-21 23:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208774400001,"power":27463,"unknown_211":206,"unknown_28":21760,"ignition":44,"odometer":null,"unknown_45":3696399791708106752}} 
[2026-06-21 23:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":109875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:44:08] local.INFO: GPS data processed {"connection_id":109875,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:44:08] local.INFO: Acknowledgment sent {"connection_id":109875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:44:29] local.INFO: TCP Data received {"connection_id":109876,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:44:29] local.INFO: Processing buffer {"connection_id":109876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:44:29] local.INFO: IMEI packet received {"connection_id":109876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":109876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:44:33] local.INFO: TCP Data received {"connection_id":109876,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:44:33] local.INFO: Processing buffer {"connection_id":109876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:44:33] local.INFO: IMEI packet received {"connection_id":109876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":109876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:44:34] local.INFO: TCP Data received {"connection_id":109876,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb635c50012d31ca0006b57790000c013f29..."} 
[2026-06-21 23:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb635c50012d31ca0006b57790000c013f29..."} 
[2026-06-21 23:44:34] local.INFO: Processing buffer {"connection_id":109876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb635c50012d31ca0006b57790000c013f29..."} 
[2026-06-21 23:44:34] local.INFO: Packet analysis {"connection_id":109876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:44:34] local.INFO: Extracted packet for processing {"connection_id":109876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758237696,"raw_latitude":112555920,"longitude_deg":75.8237696,"latitude_deg":11.255592,"altitude":12,"angle":319,"satellites":41,"speed":48,"hex_longitude":"2d31ca00","hex_latitude":"06b57790","is_valid_coordinates":true} 
[2026-06-21 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208796160001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320100184539267072,"note":"Value kept but may cause issues"} 
[2026-06-21 23:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3595068800105177088,"note":"Value kept but may cause issues"} 
[2026-06-21 23:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782065618000,"timestamp_ms":1782065618000,"timestamp_seconds":1782065618,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb635c50"} 
[2026-06-21 23:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208796160001,"66":27343,"78":206,"28":21760,"24":48,"16":320100184539267072,"45":3595068800105177088},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-06-21 23:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208796160001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:44:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-21 23:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320100184539267072,"km_value":320100184539267.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3595068800105177088,"description":"Unknown IO ID 45"} 
[2026-06-21 23:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208796160001,"power":27343,"unknown_78":206,"unknown_28":21760,"ignition":48,"odometer":null,"unknown_45":3595068800105177088}} 
[2026-06-21 23:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":109876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:44:34] local.INFO: GPS data processed {"connection_id":109876,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:44:34] local.INFO: Acknowledgment sent {"connection_id":109876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:45:05] local.INFO: TCP Data received {"connection_id":109876,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb637b90012d31b28006b59560000d014426..."} 
[2026-06-21 23:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb637b90012d31b28006b59560000d014426..."} 
[2026-06-21 23:45:05] local.INFO: Processing buffer {"connection_id":109876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb637b90012d31b28006b59560000d014426..."} 
[2026-06-21 23:45:05] local.INFO: Packet analysis {"connection_id":109876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:45:05] local.INFO: Extracted packet for processing {"connection_id":109876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758231680,"raw_latitude":112563552,"longitude_deg":75.823168,"latitude_deg":11.2563552,"altitude":13,"angle":324,"satellites":38,"speed":47,"hex_longitude":"2d31b280","hex_latitude":"06b59560","is_valid_coordinates":true} 
[2026-06-21 23:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208798208001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320100652690702336,"note":"Value kept but may cause issues"} 
[2026-06-21 23:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3587680081968336896,"note":"Value kept but may cause issues"} 
[2026-06-21 23:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782065626000,"timestamp_ms":1782065626000,"timestamp_seconds":1782065626,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb637b90"} 
[2026-06-21 23:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":109876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":109876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":109876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208798208001,"66":27267,"78":206,"28":21760,"24":47,"16":320100652690702336,"45":3587680081968336896},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-06-21 23:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208798208001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:45:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-21 23:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320100652690702336,"km_value":320100652690702.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3587680081968336896,"description":"Unknown IO ID 45"} 
[2026-06-21 23:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208798208001,"power":27267,"unknown_78":206,"unknown_28":21760,"ignition":47,"odometer":null,"unknown_45":3587680081968336896}} 
[2026-06-21 23:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":109876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:45:05] local.INFO: GPS data processed {"connection_id":109876,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:45:05] local.INFO: Acknowledgment sent {"connection_id":109876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:45:29] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:29] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:29] local.INFO: IMEI packet received {"connection_id":110829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":110829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:45:29] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:29] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:29] local.INFO: IMEI packet received {"connection_id":110829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":110829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:45:33] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:33] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:45:33] local.INFO: IMEI packet received {"connection_id":110829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":110829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:45:34] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb639ad0012d319e4006b5b3000010014827..."} 
[2026-06-21 23:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb639ad0012d319e4006b5b3000010014827..."} 
[2026-06-21 23:45:34] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb639ad0012d319e4006b5b3000010014827..."} 
[2026-06-21 23:45:34] local.INFO: Packet analysis {"connection_id":110829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:45:34] local.INFO: Extracted packet for processing {"connection_id":110829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758226496,"raw_latitude":112571136,"longitude_deg":75.8226496,"latitude_deg":11.2571136,"altitude":16,"angle":328,"satellites":39,"speed":42,"hex_longitude":"2d319e40","hex_latitude":"06b5b300","is_valid_coordinates":true} 
[2026-06-21 23:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208800256001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320101099367301120,"note":"Value kept but may cause issues"} 
[2026-06-21 23:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3581065420017590272,"note":"Value kept but may cause issues"} 
[2026-06-21 23:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782065634000,"timestamp_ms":1782065634000,"timestamp_seconds":1782065634,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb639ad0"} 
[2026-06-21 23:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208800256001,"66":27321,"53":206,"28":21760,"24":42,"16":320101099367301120,"45":3581065420017590272},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-06-21 23:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208800256001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:45:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-21 23:45:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320101099367301120,"km_value":320101099367301.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3581065420017590272,"description":"Unknown IO ID 45"} 
[2026-06-21 23:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208800256001,"power":27321,"unknown_53":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":3581065420017590272}} 
[2026-06-21 23:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":110829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:45:34] local.INFO: GPS data processed {"connection_id":110829,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:45:34] local.INFO: Acknowledgment sent {"connection_id":110829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:46:06] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb63bdf8012d318ac006b5d3180012014827..."} 
[2026-06-21 23:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb63bdf8012d318ac006b5d3180012014827..."} 
[2026-06-21 23:46:06] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb63bdf8012d318ac006b5d3180012014827..."} 
[2026-06-21 23:46:06] local.INFO: Packet analysis {"connection_id":110829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:46:06] local.INFO: Extracted packet for processing {"connection_id":110829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb63"} 
[2026-06-21 23:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758221504,"raw_latitude":112579352,"longitude_deg":75.8221504,"latitude_deg":11.2579352,"altitude":18,"angle":328,"satellites":39,"speed":41,"hex_longitude":"2d318ac0","hex_latitude":"06b5d318","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208802304001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320101558928801792,"note":"Value kept but may cause issues"} 
[2026-06-21 23:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3575365551741140992,"note":"Value kept but may cause issues"} 
[2026-06-21 23:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782065643000,"timestamp_ms":1782065643000,"timestamp_seconds":1782065643,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb63bdf8"} 
[2026-06-21 23:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":185,"data_length":795,"current_offset":136} 
[2026-06-21 23:46: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-06-21 23: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-06-21 23:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208802304001,"66":27397,"53":206,"28":21760,"24":41,"16":320101558928801792,"45":3575365551741140992},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-06-21 23:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208802304001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:46:06] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-21 23:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320101558928801792,"km_value":320101558928801.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3575365551741140992,"description":"Unknown IO ID 45"} 
[2026-06-21 23:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208802304001,"power":27397,"unknown_53":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":3575365551741140992}} 
[2026-06-21 23:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":110829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:46:06] local.INFO: GPS data processed {"connection_id":110829,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:46:06] local.INFO: Acknowledgment sent {"connection_id":110829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:46:28] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:28] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:28] local.INFO: IMEI packet received {"connection_id":109096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":109096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:46:30] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:30] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:30] local.INFO: IMEI packet received {"connection_id":109096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":109096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:46:34] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:34] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:46:34] local.INFO: IMEI packet received {"connection_id":109096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":109096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:46:36] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb64fa60012d30718006b6a9100010011728..."} 
[2026-06-21 23:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb64fa60012d30718006b6a9100010011728..."} 
[2026-06-21 23:46:36] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb64fa60012d30718006b6a9100010011728..."} 
[2026-06-21 23:46:36] local.INFO: Packet analysis {"connection_id":109096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb64"} 
[2026-06-21 23:46:36] local.INFO: Extracted packet for processing {"connection_id":109096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb64"} 
[2026-06-21 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758149504,"raw_latitude":112634128,"longitude_deg":75.8149504,"latitude_deg":11.2634128,"altitude":16,"angle":279,"satellites":40,"speed":51,"hex_longitude":"2d307180","hex_latitude":"06b6a910","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208823552001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320106171723677696,"note":"Value kept but may cause issues"} 
[2026-06-21 23:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3500915420416856064,"note":"Value kept but may cause issues"} 
[2026-06-21 23:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782065724000,"timestamp_ms":1782065724000,"timestamp_seconds":1782065724,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb64fa60"} 
[2026-06-21 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-06-21 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 23:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208823552001,"66":27365,"172":206,"28":21760,"24":51,"16":320106171723677696,"45":3500915420416856064},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-06-21 23:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208823552001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:46:36] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-06-21 23:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320106171723677696,"km_value":320106171723677.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3500915420416856064,"description":"Unknown IO ID 45"} 
[2026-06-21 23:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208823552001,"power":27365,"unknown_172":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3500915420416856064}} 
[2026-06-21 23:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":109096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:46:36] local.INFO: GPS data processed {"connection_id":109096,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:46:36] local.INFO: Acknowledgment sent {"connection_id":109096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:47:07] local.INFO: TCP Data received {"connection_id":109096,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6519a0012d304a0006b6af000010011824..."} 
[2026-06-21 23:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6519a0012d304a0006b6af000010011824..."} 
[2026-06-21 23:47:07] local.INFO: Processing buffer {"connection_id":109096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6519a0012d304a0006b6af000010011824..."} 
[2026-06-21 23:47:07] local.INFO: Packet analysis {"connection_id":109096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb65"} 
[2026-06-21 23:47:07] local.INFO: Extracted packet for processing {"connection_id":109096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb65"} 
[2026-06-21 23:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758139392,"raw_latitude":112635648,"longitude_deg":75.8139392,"latitude_deg":11.2635648,"altitude":16,"angle":280,"satellites":36,"speed":47,"hex_longitude":"2d304a00","hex_latitude":"06b6af00","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208825344001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320106652760014848,"note":"Value kept but may cause issues"} 
[2026-06-21 23:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3490711952511537152,"note":"Value kept but may cause issues"} 
[2026-06-21 23:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782065732000,"timestamp_ms":1782065732000,"timestamp_seconds":1782065732,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6519a0"} 
[2026-06-21 23:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":229,"data_length":795,"current_offset":136} 
[2026-06-21 23:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":109096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":109096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208825344001,"66":27310,"172":206,"28":21760,"24":47,"16":320106652760014848,"45":3490711952511537152},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-06-21 23:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208825344001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:47:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-06-21 23:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320106652760014848,"km_value":320106652760014.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3490711952511537152,"description":"Unknown IO ID 45"} 
[2026-06-21 23:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208825344001,"power":27310,"unknown_172":206,"unknown_28":21760,"ignition":47,"odometer":null,"unknown_45":3490711952511537152}} 
[2026-06-21 23:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":109096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:47:07] local.INFO: GPS data processed {"connection_id":109096,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:47:07] local.INFO: Acknowledgment sent {"connection_id":109096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:47:39] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:39] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:39] local.INFO: IMEI packet received {"connection_id":110830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":110830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:47:39] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:39] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:39] local.INFO: IMEI packet received {"connection_id":110830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":110830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:47:44] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:44] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:47:44] local.INFO: IMEI packet received {"connection_id":110830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":110830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:47:45] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb653cc8012d30260006b6b7f00012012328..."} 
[2026-06-21 23:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb653cc8012d30260006b6b7f00012012328..."} 
[2026-06-21 23:47:45] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb653cc8012d30260006b6b7f00012012328..."} 
[2026-06-21 23:47:45] local.INFO: Packet analysis {"connection_id":110830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb65"} 
[2026-06-21 23:47:45] local.INFO: Extracted packet for processing {"connection_id":110830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb65"} 
[2026-06-21 23:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758130176,"raw_latitude":112637936,"longitude_deg":75.8130176,"latitude_deg":11.2637936,"altitude":18,"angle":291,"satellites":40,"speed":35,"hex_longitude":"2d302600","hex_latitude":"06b6b7f0","is_valid_coordinates":true} 
[2026-06-21 23:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208827392001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320107108026548224,"note":"Value kept but may cause issues"} 
[2026-06-21 23:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3479593690931855360,"note":"Value kept but may cause issues"} 
[2026-06-21 23:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782065741000,"timestamp_ms":1782065741000,"timestamp_seconds":1782065741,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb653cc8"} 
[2026-06-21 23:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:47: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-06-21 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-21 23:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208827392001,"66":27365,"172":206,"28":21760,"24":35,"16":320107108026548224,"45":3479593690931855360},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-06-21 23:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208827392001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:47:45] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-06-21 23:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-21 23:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320107108026548224,"km_value":320107108026548.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3479593690931855360,"description":"Unknown IO ID 45"} 
[2026-06-21 23:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208827392001,"power":27365,"unknown_172":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3479593690931855360}} 
[2026-06-21 23:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":110830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:47:45] local.INFO: GPS data processed {"connection_id":110830,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:47:45] local.INFO: Acknowledgment sent {"connection_id":110830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:48:16] local.INFO: TCP Data received {"connection_id":109286,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:48:16] local.INFO: Processing buffer {"connection_id":109286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:48:16] local.INFO: IMEI packet received {"connection_id":109286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":109286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:48:30] local.INFO: TCP Data received {"connection_id":109287,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:30] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:30] local.INFO: IMEI packet received {"connection_id":109287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":109287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:48:34] local.INFO: TCP Data received {"connection_id":109287,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:34] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:34] local.INFO: IMEI packet received {"connection_id":109287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":109287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:48:39] local.INFO: TCP Data received {"connection_id":109287,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:39] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:48:39] local.INFO: IMEI packet received {"connection_id":109287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":109287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:48:40] local.INFO: TCP Data received {"connection_id":109287,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb66abf8012d2f7b4006b7ff680009014f2a..."} 
[2026-06-21 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb66abf8012d2f7b4006b7ff680009014f2a..."} 
[2026-06-21 23:48:40] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb66abf8012d2f7b4006b7ff680009014f2a..."} 
[2026-06-21 23:48:40] local.INFO: Packet analysis {"connection_id":109287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:48:40] local.INFO: Extracted packet for processing {"connection_id":109287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758086464,"raw_latitude":112721768,"longitude_deg":75.8086464,"latitude_deg":11.2721768,"altitude":9,"angle":335,"satellites":42,"speed":51,"hex_longitude":"2d2f7b40","hex_latitude":"06b7ff68","is_valid_coordinates":true} 
[2026-06-21 23:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208851968001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320111853965410304,"note":"Value kept but may cause issues"} 
[2026-06-21 23:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3425620864167499776,"note":"Value kept but may cause issues"} 
[2026-06-21 23:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782065835000,"timestamp_ms":1782065835000,"timestamp_seconds":1782065835,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb66abf8"} 
[2026-06-21 23:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-21 23:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":109287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208851968001,"66":27332,"123":206,"2":57088,"24":51,"16":320111853965410304,"45":3425620864167499776},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,2,24,16,45]} 
[2026-06-21 23:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208851968001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:48:40] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-21 23:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320111853965410304,"km_value":320111853965410.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3425620864167499776,"description":"Unknown IO ID 45"} 
[2026-06-21 23:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208851968001,"power":27332,"unknown_123":206,"power_alt":57088,"ignition":51,"odometer":null,"unknown_45":3425620864167499776}} 
[2026-06-21 23:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":109287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:48:40] local.INFO: GPS data processed {"connection_id":109287,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:48:40] local.INFO: Acknowledgment sent {"connection_id":109287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:48:41] local.INFO: TCP Data received {"connection_id":109287,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb66c750012d2f6cc006b81fc00009014f2c..."} 
[2026-06-21 23:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb66c750012d2f6cc006b81fc00009014f2c..."} 
[2026-06-21 23:48:41] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb66c750012d2f6cc006b81fc00009014f2c..."} 
[2026-06-21 23:48:41] local.INFO: Packet analysis {"connection_id":109287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:48:41] local.INFO: Extracted packet for processing {"connection_id":109287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758082752,"raw_latitude":112730048,"longitude_deg":75.8082752,"latitude_deg":11.2730048,"altitude":9,"angle":335,"satellites":44,"speed":51,"hex_longitude":"2d2f6cc0","hex_latitude":"06b81fc0","is_valid_coordinates":true} 
[2026-06-21 23:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208853760001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320112292052074496,"note":"Value kept but may cause issues"} 
[2026-06-21 23:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3421398739518973952,"note":"Value kept but may cause issues"} 
[2026-06-21 23:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782065842000,"timestamp_ms":1782065842000,"timestamp_seconds":1782065842,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb66c750"} 
[2026-06-21 23:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-21 23:48: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-06-21 23:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208853760001,"66":27321,"123":206,"2":57088,"24":51,"16":320112292052074496,"45":3421398739518973952},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,2,24,16,45]} 
[2026-06-21 23:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208853760001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:48:41] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-21 23:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320112292052074496,"km_value":320112292052074.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3421398739518973952,"description":"Unknown IO ID 45"} 
[2026-06-21 23:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208853760001,"power":27321,"unknown_123":206,"power_alt":57088,"ignition":51,"odometer":null,"unknown_45":3421398739518973952}} 
[2026-06-21 23:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":109287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:48:41] local.INFO: GPS data processed {"connection_id":109287,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:48:41] local.INFO: Acknowledgment sent {"connection_id":109287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:49:12] local.INFO: TCP Data received {"connection_id":109287,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb66e2a8012d2f5d8006b83fe00009014f2b..."} 
[2026-06-21 23:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb66e2a8012d2f5d8006b83fe00009014f2b..."} 
[2026-06-21 23:49:12] local.INFO: Processing buffer {"connection_id":109287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb66e2a8012d2f5d8006b83fe00009014f2b..."} 
[2026-06-21 23:49:12] local.INFO: Packet analysis {"connection_id":109287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:49:12] local.INFO: Extracted packet for processing {"connection_id":109287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758078848,"raw_latitude":112738272,"longitude_deg":75.8078848,"latitude_deg":11.2738272,"altitude":9,"angle":335,"satellites":43,"speed":51,"hex_longitude":"2d2f5d80","hex_latitude":"06b83fe0","is_valid_coordinates":true} 
[2026-06-21 23:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208855552001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320112730138738688,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3417317352358789120,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782065849000,"timestamp_ms":1782065849000,"timestamp_seconds":1782065849,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb66e2a8"} 
[2026-06-21 23:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-21 23:49: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-06-21 23:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208855552001,"66":27234,"123":206,"2":57088,"24":51,"16":320112730138738688,"45":3417317352358789120},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,2,24,16,45]} 
[2026-06-21 23:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208855552001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:49:12] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-21 23:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320112730138738688,"km_value":320112730138738.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3417317352358789120,"description":"Unknown IO ID 45"} 
[2026-06-21 23:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208855552001,"power":27234,"unknown_123":206,"power_alt":57088,"ignition":51,"odometer":null,"unknown_45":3417317352358789120}} 
[2026-06-21 23:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":109287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:49:12] local.INFO: GPS data processed {"connection_id":109287,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:49:12] local.INFO: Acknowledgment sent {"connection_id":109287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:49:29] local.INFO: TCP Data received {"connection_id":109288,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:49:29] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:49:29] local.INFO: IMEI packet received {"connection_id":109288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":109288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:49:30] local.INFO: TCP Data received {"connection_id":109288,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:49:30] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:49:30] local.INFO: IMEI packet received {"connection_id":109288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":109288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:49:32] local.INFO: TCP Data received {"connection_id":109288,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb66fe00012d2f4e8006b85f580009014c2b..."} 
[2026-06-21 23:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb66fe00012d2f4e8006b85f580009014c2b..."} 
[2026-06-21 23:49:32] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb66fe00012d2f4e8006b85f580009014c2b..."} 
[2026-06-21 23:49:32] local.INFO: Packet analysis {"connection_id":109288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:49:32] local.INFO: Extracted packet for processing {"connection_id":109288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb66"} 
[2026-06-21 23:49:32] local.INFO: GPS Element Parsed {"raw_longitude":758075008,"raw_latitude":112746328,"longitude_deg":75.8075008,"latitude_deg":11.2746328,"altitude":9,"angle":332,"satellites":43,"speed":49,"hex_longitude":"2d2f4e80","hex_latitude":"06b85f58","is_valid_coordinates":true} 
[2026-06-21 23:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208857344001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320113163930435584,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3413024858966056960,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782065856000,"timestamp_ms":1782065856000,"timestamp_seconds":1782065856,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb66fe00"} 
[2026-06-21 23:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-21 23:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":109288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":109288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":109288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208857344001,"66":27463,"123":206,"2":57088,"24":49,"16":320113163930435584,"45":3413024858966056960},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,2,24,16,45]} 
[2026-06-21 23:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208857344001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:49:32] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-06-21 23:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320113163930435584,"km_value":320113163930435.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3413024858966056960,"description":"Unknown IO ID 45"} 
[2026-06-21 23:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208857344001,"power":27463,"unknown_123":206,"power_alt":57088,"ignition":49,"odometer":null,"unknown_45":3413024858966056960}} 
[2026-06-21 23:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":109288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:49:32] local.INFO: GPS data processed {"connection_id":109288,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:49:32] local.INFO: Acknowledgment sent {"connection_id":109288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:49:34] local.INFO: TCP Data received {"connection_id":109288,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb671d40012d2f3c0006b881c80009014a2c..."} 
[2026-06-21 23:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb671d40012d2f3c0006b881c80009014a2c..."} 
[2026-06-21 23:49:34] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb671d40012d2f3c0006b881c80009014a2c..."} 
[2026-06-21 23:49:34] local.INFO: Packet analysis {"connection_id":109288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb67"} 
[2026-06-21 23:49:34] local.INFO: Extracted packet for processing {"connection_id":109288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb67"} 
[2026-06-21 23:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758070272,"raw_latitude":112755144,"longitude_deg":75.8070272,"latitude_deg":11.2755144,"altitude":9,"angle":330,"satellites":44,"speed":49,"hex_longitude":"2d2f3c00","hex_latitude":"06b881c8","is_valid_coordinates":true} 
[2026-06-21 23:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208859136001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320113644966772736,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3408802734317459456,"note":"Value kept but may cause issues"} 
[2026-06-21 23:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782065864000,"timestamp_ms":1782065864000,"timestamp_seconds":1782065864,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb671d40"} 
[2026-06-21 23:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":109288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":109288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":109288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208859136001,"66":27484,"122":206,"2":57088,"24":49,"16":320113644966772736,"45":3408802734317459456},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,2,24,16,45]} 
[2026-06-21 23:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208859136001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:49:34] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-21 23:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320113644966772736,"km_value":320113644966772.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3408802734317459456,"description":"Unknown IO ID 45"} 
[2026-06-21 23:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208859136001,"power":27484,"unknown_122":206,"power_alt":57088,"ignition":49,"odometer":null,"unknown_45":3408802734317459456}} 
[2026-06-21 23:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":109288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:49:34] local.INFO: GPS data processed {"connection_id":109288,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:49:34] local.INFO: Acknowledgment sent {"connection_id":109288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:50:05] local.INFO: TCP Data received {"connection_id":109288,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb673c80012d2f284006b8a350000901482c..."} 
[2026-06-21 23:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb673c80012d2f284006b8a350000901482c..."} 
[2026-06-21 23:50:05] local.INFO: Processing buffer {"connection_id":109288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb673c80012d2f284006b8a350000901482c..."} 
[2026-06-21 23:50:05] local.INFO: Packet analysis {"connection_id":109288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb67"} 
[2026-06-21 23:50:05] local.INFO: Extracted packet for processing {"connection_id":109288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb67"} 
[2026-06-21 23:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758065216,"raw_latitude":112763728,"longitude_deg":75.8065216,"latitude_deg":11.2763728,"altitude":9,"angle":328,"satellites":44,"speed":49,"hex_longitude":"2d2f2840","hex_latitude":"06b8a350","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208861184001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320114126003109888,"note":"Value kept but may cause issues"} 
[2026-06-21 23:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3403595447250569216,"note":"Value kept but may cause issues"} 
[2026-06-21 23:50: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-06-21 23:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782065872000,"timestamp_ms":1782065872000,"timestamp_seconds":1782065872,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb673c80"} 
[2026-06-21 23:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 23:50: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-06-21 23: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-06-21 23:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":109288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":109288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":109288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208861184001,"66":27180,"38":206,"2":57088,"24":49,"16":320114126003109888,"45":3403595447250569216},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-06-21 23:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208861184001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:50:05] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-21 23:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320114126003109888,"km_value":320114126003109.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3403595447250569216,"description":"Unknown IO ID 45"} 
[2026-06-21 23:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208861184001,"power":27180,"unknown_38":206,"power_alt":57088,"ignition":49,"odometer":null,"unknown_45":3403595447250569216}} 
[2026-06-21 23:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":109288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:50:05] local.INFO: GPS data processed {"connection_id":109288,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:50:05] local.INFO: Acknowledgment sent {"connection_id":109288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:50:29] local.INFO: TCP Data received {"connection_id":110831,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:50:29] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:50:29] local.INFO: IMEI packet received {"connection_id":110831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":110831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:50:30] local.INFO: TCP Data received {"connection_id":110831,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:50:30] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:50:30] local.INFO: IMEI packet received {"connection_id":110831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":110831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:50:35] local.INFO: TCP Data received {"connection_id":110831,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb675bc0012d2f13c006b8c468000901472d..."} 
[2026-06-21 23:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb675bc0012d2f13c006b8c468000901472d..."} 
[2026-06-21 23:50:35] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb675bc0012d2f13c006b8c468000901472d..."} 
[2026-06-21 23:50:35] local.INFO: Packet analysis {"connection_id":110831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb67"} 
[2026-06-21 23:50:35] local.INFO: Extracted packet for processing {"connection_id":110831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb67"} 
[2026-06-21 23:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758059968,"raw_latitude":112772200,"longitude_deg":75.8059968,"latitude_deg":11.27722,"altitude":9,"angle":327,"satellites":45,"speed":49,"hex_longitude":"2d2f13c0","hex_latitude":"06b8c468","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208863232001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320114607039447040,"note":"Value kept but may cause issues"} 
[2026-06-21 23:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3398036316462731264,"note":"Value kept but may cause issues"} 
[2026-06-21 23:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782065880000,"timestamp_ms":1782065880000,"timestamp_seconds":1782065880,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb675bc0"} 
[2026-06-21 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-06-21 23:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-21 23:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 23:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208863232001,"66":27321,"38":206,"2":57088,"24":49,"16":320114607039447040,"45":3398036316462731264},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-06-21 23:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208863232001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:50:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-21 23:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320114607039447040,"km_value":320114607039447.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3398036316462731264,"description":"Unknown IO ID 45"} 
[2026-06-21 23:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208863232001,"power":27321,"unknown_38":206,"power_alt":57088,"ignition":49,"odometer":null,"unknown_45":3398036316462731264}} 
[2026-06-21 23:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":110831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:50:35] local.INFO: GPS data processed {"connection_id":110831,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:50:35] local.INFO: Acknowledgment sent {"connection_id":110831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:51:07] local.INFO: TCP Data received {"connection_id":110831,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb694fc0012d2e390006ba6a100015014e26..."} 
[2026-06-21 23:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb694fc0012d2e390006ba6a100015014e26..."} 
[2026-06-21 23:51:07] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb694fc0012d2e390006ba6a100015014e26..."} 
[2026-06-21 23:51:07] local.INFO: Packet analysis {"connection_id":110831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb69"} 
[2026-06-21 23:51:07] local.INFO: Extracted packet for processing {"connection_id":110831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb69"} 
[2026-06-21 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758003968,"raw_latitude":112880144,"longitude_deg":75.8003968,"latitude_deg":11.2880144,"altitude":21,"angle":334,"satellites":38,"speed":46,"hex_longitude":"2d2e3900","hex_latitude":"06ba6a10","is_valid_coordinates":true} 
[2026-06-21 23:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208896000001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320120491144642560,"note":"Value kept but may cause issues"} 
[2026-06-21 23:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3335267396683886592,"note":"Value kept but may cause issues"} 
[2026-06-21 23:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782066008000,"timestamp_ms":1782066008000,"timestamp_seconds":1782066008,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb694fc0"} 
[2026-06-21 23:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-21 23:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208896000001,"66":26984,"96":206,"2":57088,"24":46,"16":320120491144642560,"45":3335267396683886592},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,45]} 
[2026-06-21 23:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208896000001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:51:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-21 23:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320120491144642560,"km_value":320120491144642.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3335267396683886592,"description":"Unknown IO ID 45"} 
[2026-06-21 23:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208896000001,"power":26984,"unknown_96":206,"power_alt":57088,"ignition":46,"odometer":null,"unknown_45":3335267396683886592}} 
[2026-06-21 23:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":110831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:51:07] local.INFO: GPS data processed {"connection_id":110831,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:51:07] local.INFO: Acknowledgment sent {"connection_id":110831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:51:26] local.INFO: TCP Data received {"connection_id":109098,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:26] local.INFO: Processing buffer {"connection_id":109098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:26] local.INFO: IMEI packet received {"connection_id":109098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":109098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:51:28] local.INFO: TCP Data received {"connection_id":109098,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:28] local.INFO: Processing buffer {"connection_id":109098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:28] local.INFO: IMEI packet received {"connection_id":109098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":109098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:51:34] local.INFO: TCP Data received {"connection_id":109098,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:34] local.INFO: Processing buffer {"connection_id":109098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:51:34] local.INFO: IMEI packet received {"connection_id":109098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":109098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:51:35] local.INFO: TCP Data received {"connection_id":109098,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb696f00012d2e2a0006ba8c380014014e29..."} 
[2026-06-21 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb696f00012d2e2a0006ba8c380014014e29..."} 
[2026-06-21 23:51:35] local.INFO: Processing buffer {"connection_id":109098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb696f00012d2e2a0006ba8c380014014e29..."} 
[2026-06-21 23:51:35] local.INFO: Packet analysis {"connection_id":109098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb69"} 
[2026-06-21 23:51:35] local.INFO: Extracted packet for processing {"connection_id":109098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb69"} 
[2026-06-21 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758000128,"raw_latitude":112888888,"longitude_deg":75.8000128,"latitude_deg":11.2888888,"altitude":20,"angle":334,"satellites":41,"speed":47,"hex_longitude":"2d2e2a00","hex_latitude":"06ba8c38","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208898048001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320120955001110528,"note":"Value kept but may cause issues"} 
[2026-06-21 23:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3330693428314509312,"note":"Value kept but may cause issues"} 
[2026-06-21 23:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782066016000,"timestamp_ms":1782066016000,"timestamp_seconds":1782066016,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb696f00"} 
[2026-06-21 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-06-21 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-21 23:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 23:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208898048001,"66":27376,"96":206,"2":57088,"24":47,"16":320120955001110528,"45":3330693428314509312},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,45]} 
[2026-06-21 23:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208898048001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:51:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-21 23:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320120955001110528,"km_value":320120955001110.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3330693428314509312,"description":"Unknown IO ID 45"} 
[2026-06-21 23:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208898048001,"power":27376,"unknown_96":206,"power_alt":57088,"ignition":47,"odometer":null,"unknown_45":3330693428314509312}} 
[2026-06-21 23:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":109098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:51:35] local.INFO: GPS data processed {"connection_id":109098,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:51:35] local.INFO: Acknowledgment sent {"connection_id":109098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:52:06] local.INFO: TCP Data received {"connection_id":109098,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb698e40012d2e198006baaeb00012014e2c..."} 
[2026-06-21 23:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb698e40012d2e198006baaeb00012014e2c..."} 
[2026-06-21 23:52:06] local.INFO: Processing buffer {"connection_id":109098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb698e40012d2e198006baaeb00012014e2c..."} 
[2026-06-21 23:52:06] local.INFO: Packet analysis {"connection_id":109098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb69"} 
[2026-06-21 23:52:06] local.INFO: Extracted packet for processing {"connection_id":109098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb69"} 
[2026-06-21 23:52:06] local.INFO: GPS Element Parsed {"raw_longitude":757995904,"raw_latitude":112897712,"longitude_deg":75.7995904,"latitude_deg":11.2897712,"altitude":18,"angle":334,"satellites":44,"speed":48,"hex_longitude":"2d2e1980","hex_latitude":"06baaeb0","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208900096001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320121427447513088,"note":"Value kept but may cause issues"} 
[2026-06-21 23:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3326471303666087936,"note":"Value kept but may cause issues"} 
[2026-06-21 23:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782066024000,"timestamp_ms":1782066024000,"timestamp_seconds":1782066024,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb698e40"} 
[2026-06-21 23:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":240,"data_length":795,"current_offset":136} 
[2026-06-21 23:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":109098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":109098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":109098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208900096001,"66":27310,"96":206,"2":57088,"24":48,"16":320121427447513088,"45":3326471303666087936},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,45]} 
[2026-06-21 23:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208900096001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:52:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-21 23:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320121427447513088,"km_value":320121427447513.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3326471303666087936,"description":"Unknown IO ID 45"} 
[2026-06-21 23:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208900096001,"power":27310,"unknown_96":206,"power_alt":57088,"ignition":48,"odometer":null,"unknown_45":3326471303666087936}} 
[2026-06-21 23:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":109098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:52:06] local.INFO: GPS data processed {"connection_id":109098,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:52:06] local.INFO: Acknowledgment sent {"connection_id":109098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:53:04] local.INFO: TCP Data received {"connection_id":109880,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:04] local.INFO: Processing buffer {"connection_id":109880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:04] local.INFO: IMEI packet received {"connection_id":109880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":109880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:53:04] local.INFO: TCP Data received {"connection_id":109880,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:04] local.INFO: Processing buffer {"connection_id":109880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:04] local.INFO: IMEI packet received {"connection_id":109880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":109880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:53:08] local.INFO: TCP Data received {"connection_id":109880,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:08] local.INFO: Processing buffer {"connection_id":109880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:08] local.INFO: IMEI packet received {"connection_id":109880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":109880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:53:09] local.INFO: TCP Data received {"connection_id":109880,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6ae600012d2d4e8006bc0bd80010013f2e..."} 
[2026-06-21 23:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6ae600012d2d4e8006bc0bd80010013f2e..."} 
[2026-06-21 23:53:09] local.INFO: Processing buffer {"connection_id":109880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6ae600012d2d4e8006bc0bd80010013f2e..."} 
[2026-06-21 23:53:09] local.INFO: Packet analysis {"connection_id":109880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6a"} 
[2026-06-21 23:53:09] local.INFO: Extracted packet for processing {"connection_id":109880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6a"} 
[2026-06-21 23:53:09] local.INFO: GPS Element Parsed {"raw_longitude":757943936,"raw_latitude":112987096,"longitude_deg":75.7943936,"latitude_deg":11.2987096,"altitude":16,"angle":319,"satellites":46,"speed":42,"hex_longitude":"2d2d4e80","hex_latitude":"06bc0bd8","is_valid_coordinates":true} 
[2026-06-21 23:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208922368001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320126456854216704,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3271583683230846976,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782066112000,"timestamp_ms":1782066112000,"timestamp_seconds":1782066112,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6ae600"} 
[2026-06-21 23:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-21 23:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":109880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":109880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":109880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208922368001,"66":27484,"192":206,"2":57088,"24":42,"16":320126456854216704,"45":3271583683230846976},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-21 23:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208922368001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:53:09] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 23:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320126456854216704,"km_value":320126456854216.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3271583683230846976,"description":"Unknown IO ID 45"} 
[2026-06-21 23:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208922368001,"power":27484,"unknown_192":206,"power_alt":57088,"ignition":42,"odometer":null,"unknown_45":3271583683230846976}} 
[2026-06-21 23:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":109880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:53:09] local.INFO: GPS data processed {"connection_id":109880,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:53:09] local.INFO: Acknowledgment sent {"connection_id":109880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:53:13] local.INFO: TCP Data received {"connection_id":109880,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6b0928012d2d36c006bc2978001101432c..."} 
[2026-06-21 23:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6b0928012d2d36c006bc2978001101432c..."} 
[2026-06-21 23:53:13] local.INFO: Processing buffer {"connection_id":109880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6b0928012d2d36c006bc2978001101432c..."} 
[2026-06-21 23:53:13] local.INFO: Packet analysis {"connection_id":109880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:53:13] local.INFO: Extracted packet for processing {"connection_id":109880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:53:13] local.INFO: GPS Element Parsed {"raw_longitude":757937856,"raw_latitude":112994680,"longitude_deg":75.7937856,"latitude_deg":11.299468,"altitude":17,"angle":323,"satellites":44,"speed":44,"hex_longitude":"2d2d36c0","hex_latitude":"06bc2978","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208924672001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320126925005651968,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3264687546303240192,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782066121000,"timestamp_ms":1782066121000,"timestamp_seconds":1782066121,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6b0928"} 
[2026-06-21 23:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:53: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-06-21 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 23:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":109880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":109880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":109880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208924672001,"66":27343,"192":206,"2":57088,"24":44,"16":320126925005651968,"45":3264687546303240192},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-21 23:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208924672001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:53:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 23:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320126925005651968,"km_value":320126925005651.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3264687546303240192,"description":"Unknown IO ID 45"} 
[2026-06-21 23:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208924672001,"power":27343,"unknown_192":206,"power_alt":57088,"ignition":44,"odometer":null,"unknown_45":3264687546303240192}} 
[2026-06-21 23:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":109880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:53:13] local.INFO: GPS data processed {"connection_id":109880,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:53:13] local.INFO: Acknowledgment sent {"connection_id":109880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:53:31] local.INFO: TCP Data received {"connection_id":109881,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:31] local.INFO: Processing buffer {"connection_id":109881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:31] local.INFO: IMEI packet received {"connection_id":109881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":109881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:53:33] local.INFO: TCP Data received {"connection_id":109881,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:33] local.INFO: Processing buffer {"connection_id":109881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:33] local.INFO: IMEI packet received {"connection_id":109881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":109881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:53:39] local.INFO: TCP Data received {"connection_id":109881,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:39] local.INFO: Processing buffer {"connection_id":109881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:53:39] local.INFO: IMEI packet received {"connection_id":109881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":109881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:53:41] local.INFO: TCP Data received {"connection_id":109881,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6b2868012d2d214006bc45a0001101412b..."} 
[2026-06-21 23:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6b2868012d2d214006bc45a0001101412b..."} 
[2026-06-21 23:53:41] local.INFO: Processing buffer {"connection_id":109881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6b2868012d2d214006bc45a0001101412b..."} 
[2026-06-21 23:53:41] local.INFO: Packet analysis {"connection_id":109881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:53:41] local.INFO: Extracted packet for processing {"connection_id":109881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:53:41] local.INFO: GPS Element Parsed {"raw_longitude":757932352,"raw_latitude":113001888,"longitude_deg":75.7932352,"latitude_deg":11.3001888,"altitude":17,"angle":321,"satellites":43,"speed":45,"hex_longitude":"2d2d2140","hex_latitude":"06bc45a0","is_valid_coordinates":true} 
[2026-06-21 23:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208926976001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320127363092316160,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3258002515608303616,"note":"Value kept but may cause issues"} 
[2026-06-21 23:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782066129000,"timestamp_ms":1782066129000,"timestamp_seconds":1782066129,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6b2868"} 
[2026-06-21 23:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208926976001,"66":27300,"192":206,"2":57088,"24":45,"16":320127363092316160,"45":3258002515608303616},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-21 23:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208926976001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:53:41] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 23:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320127363092316160,"km_value":320127363092316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3258002515608303616,"description":"Unknown IO ID 45"} 
[2026-06-21 23:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208926976001,"power":27300,"unknown_192":206,"power_alt":57088,"ignition":45,"odometer":null,"unknown_45":3258002515608303616}} 
[2026-06-21 23:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":109881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:53:41] local.INFO: GPS data processed {"connection_id":109881,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:53:41] local.INFO: Acknowledgment sent {"connection_id":109881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:53:51] local.INFO: TCP Data received {"connection_id":109289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:53:51] local.INFO: Processing buffer {"connection_id":109289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:53:51] local.INFO: IMEI packet received {"connection_id":109289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":109289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:54:11] local.INFO: TCP Data received {"connection_id":109290,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:54:11] local.INFO: Processing buffer {"connection_id":109290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:54:11] local.INFO: IMEI packet received {"connection_id":109290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":109290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:54:12] local.INFO: TCP Data received {"connection_id":109881,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6b47a8012d2d098006bc61200013013f2b..."} 
[2026-06-21 23:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6b47a8012d2d098006bc61200013013f2b..."} 
[2026-06-21 23:54:12] local.INFO: Processing buffer {"connection_id":109881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6b47a8012d2d098006bc61200013013f2b..."} 
[2026-06-21 23:54:12] local.INFO: Packet analysis {"connection_id":109881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:54:12] local.INFO: Extracted packet for processing {"connection_id":109881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:54:12] local.INFO: GPS Element Parsed {"raw_longitude":757926272,"raw_latitude":113008928,"longitude_deg":75.7926272,"latitude_deg":11.3008928,"altitude":19,"angle":319,"satellites":43,"speed":46,"hex_longitude":"2d2d0980","hex_latitude":"06bc6120","is_valid_coordinates":true} 
[2026-06-21 23:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208929024001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320127809768914944,"note":"Value kept but may cause issues"} 
[2026-06-21 23:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3251950803610869760,"note":"Value kept but may cause issues"} 
[2026-06-21 23:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782066137000,"timestamp_ms":1782066137000,"timestamp_seconds":1782066137,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6b47a8"} 
[2026-06-21 23:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-21 23:54: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-06-21 23:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":109881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":109881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":109881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208929024001,"66":27213,"192":206,"2":57088,"24":46,"16":320127809768914944,"45":3251950803610869760},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-21 23:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208929024001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:54:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 23:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320127809768914944,"km_value":320127809768914.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3251950803610869760,"description":"Unknown IO ID 45"} 
[2026-06-21 23:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208929024001,"power":27213,"unknown_192":206,"power_alt":57088,"ignition":46,"odometer":null,"unknown_45":3251950803610869760}} 
[2026-06-21 23:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":109881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:54:12] local.INFO: GPS data processed {"connection_id":109881,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:54:12] local.INFO: Acknowledgment sent {"connection_id":109881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:54:29] local.INFO: TCP Data received {"connection_id":109291,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:54:29] local.INFO: Processing buffer {"connection_id":109291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:54:29] local.INFO: IMEI packet received {"connection_id":109291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":109291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:54:31] local.INFO: TCP Data received {"connection_id":109291,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:54:31] local.INFO: Processing buffer {"connection_id":109291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:54:31] local.INFO: IMEI packet received {"connection_id":109291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":109291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:54:33] local.INFO: TCP Data received {"connection_id":109291,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6b66e8012d2cf18006bc7d300014014123..."} 
[2026-06-21 23:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6b66e8012d2cf18006bc7d300014014123..."} 
[2026-06-21 23:54:33] local.INFO: Processing buffer {"connection_id":109291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6b66e8012d2cf18006bc7d300014014123..."} 
[2026-06-21 23:54:33] local.INFO: Packet analysis {"connection_id":109291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:54:33] local.INFO: Extracted packet for processing {"connection_id":109291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6b"} 
[2026-06-21 23:54:33] local.INFO: GPS Element Parsed {"raw_longitude":757920128,"raw_latitude":113016112,"longitude_deg":75.7920128,"latitude_deg":11.3016112,"altitude":20,"angle":321,"satellites":35,"speed":46,"hex_longitude":"2d2cf180","hex_latitude":"06bc7d30","is_valid_coordinates":true} 
[2026-06-21 23:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208931072001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320128260740481024,"note":"Value kept but may cause issues"} 
[2026-06-21 23:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3245265772915793920,"note":"Value kept but may cause issues"} 
[2026-06-21 23:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782066145000,"timestamp_ms":1782066145000,"timestamp_seconds":1782066145,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6b66e8"} 
[2026-06-21 23:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":77,"data_length":795,"current_offset":136} 
[2026-06-21 23:54: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-06-21 23:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":109291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":109291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":109291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208931072001,"66":27376,"192":206,"2":57088,"24":46,"16":320128260740481024,"45":3245265772915793920},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-21 23:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208931072001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:54:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-21 23:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320128260740481024,"km_value":320128260740481.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3245265772915793920,"description":"Unknown IO ID 45"} 
[2026-06-21 23:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208931072001,"power":27376,"unknown_192":206,"power_alt":57088,"ignition":46,"odometer":null,"unknown_45":3245265772915793920}} 
[2026-06-21 23:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":109291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:54:33] local.INFO: GPS data processed {"connection_id":109291,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:54:33] local.INFO: Acknowledgment sent {"connection_id":109291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:55:05] local.INFO: TCP Data received {"connection_id":109291,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6cf558012d2b9cc006bde280000f01382b..."} 
[2026-06-21 23:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6cf558012d2b9cc006bde280000f01382b..."} 
[2026-06-21 23:55:05] local.INFO: Processing buffer {"connection_id":109291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6cf558012d2b9cc006bde280000f01382b..."} 
[2026-06-21 23:55:05] local.INFO: Packet analysis {"connection_id":109291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6c"} 
[2026-06-21 23:55:05] local.INFO: Extracted packet for processing {"connection_id":109291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6c"} 
[2026-06-21 23:55:05] local.INFO: GPS Element Parsed {"raw_longitude":757832896,"raw_latitude":113107584,"longitude_deg":75.7832896,"latitude_deg":11.3107584,"altitude":15,"angle":312,"satellites":43,"speed":56,"hex_longitude":"2d2b9cc0","hex_latitude":"06bde280","is_valid_coordinates":true} 
[2026-06-21 23:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208957440001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320134355299074048,"note":"Value kept but may cause issues"} 
[2026-06-21 23:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3150619812020406272,"note":"Value kept but may cause issues"} 
[2026-06-21 23:55: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-06-21 23:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782066247000,"timestamp_ms":1782066247000,"timestamp_seconds":1782066247,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6cf558"} 
[2026-06-21 23:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 23:55: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-06-21 23:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":109291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":109291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":109291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208957440001,"66":27397,"242":206,"2":57088,"24":56,"16":320134355299074048,"45":3150619812020406272},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-06-21 23:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208957440001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:55:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-21 23:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320134355299074048,"km_value":320134355299074.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3150619812020406272,"description":"Unknown IO ID 45"} 
[2026-06-21 23:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208957440001,"power":27397,"unknown_242":206,"power_alt":57088,"ignition":56,"odometer":null,"unknown_45":3150619812020406272}} 
[2026-06-21 23:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":109291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:55:05] local.INFO: GPS data processed {"connection_id":109291,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:55:05] local.INFO: Acknowledgment sent {"connection_id":109291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:55:28] local.INFO: TCP Data received {"connection_id":109100,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:28] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:28] local.INFO: IMEI packet received {"connection_id":109100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":109100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:55:28] local.INFO: TCP Data received {"connection_id":109100,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:28] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:28] local.INFO: IMEI packet received {"connection_id":109100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":109100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:55:34] local.INFO: TCP Data received {"connection_id":109100,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:34] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:55:34] local.INFO: IMEI packet received {"connection_id":109100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":109100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:55:36] local.INFO: TCP Data received {"connection_id":109100,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6d10b0012d2b810006be0068000c013f2c..."} 
[2026-06-21 23:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6d10b0012d2b810006be0068000c013f2c..."} 
[2026-06-21 23:55:36] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6d10b0012d2b810006be0068000c013f2c..."} 
[2026-06-21 23:55:36] local.INFO: Packet analysis {"connection_id":109100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:55:36] local.INFO: Extracted packet for processing {"connection_id":109100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":757825792,"raw_latitude":113115240,"longitude_deg":75.7825792,"latitude_deg":11.311524,"altitude":12,"angle":319,"satellites":44,"speed":60,"hex_longitude":"2d2b8100","hex_latitude":"06be0068","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208959232001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320134857810247680,"note":"Value kept but may cause issues"} 
[2026-06-21 23:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3142597775185838080,"note":"Value kept but may cause issues"} 
[2026-06-21 23:55: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-06-21 23:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782066254000,"timestamp_ms":1782066254000,"timestamp_seconds":1782066254,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6d10b0"} 
[2026-06-21 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-06-21 23: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-06-21 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 23:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 23:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208959232001,"66":27463,"242":206,"2":57088,"24":60,"16":320134857810247680,"45":3142597775185838080},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-06-21 23:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208959232001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:55:36] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-21 23:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320134857810247680,"km_value":320134857810247.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3142597775185838080,"description":"Unknown IO ID 45"} 
[2026-06-21 23:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208959232001,"power":27463,"unknown_242":206,"power_alt":57088,"ignition":60,"odometer":null,"unknown_45":3142597775185838080}} 
[2026-06-21 23:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":109100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:55:36] local.INFO: GPS data processed {"connection_id":109100,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:55:36] local.INFO: Acknowledgment sent {"connection_id":109100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:56:08] local.INFO: TCP Data received {"connection_id":109100,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6d2820012d2b6a8006be1bb8000c01402b..."} 
[2026-06-21 23:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6d2820012d2b6a8006be1bb8000c01402b..."} 
[2026-06-21 23:56:08] local.INFO: Processing buffer {"connection_id":109100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6d2820012d2b6a8006be1bb8000c01402b..."} 
[2026-06-21 23:56:08] local.INFO: Packet analysis {"connection_id":109100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:56:08] local.INFO: Extracted packet for processing {"connection_id":109100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":757820032,"raw_latitude":113122232,"longitude_deg":75.7820032,"latitude_deg":11.3122232,"altitude":12,"angle":320,"satellites":43,"speed":59,"hex_longitude":"2d2b6a80","hex_latitude":"06be1bb8","is_valid_coordinates":true} 
[2026-06-21 23:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208961024001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320135291601944576,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3134786844584077312,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782066260000,"timestamp_ms":1782066260000,"timestamp_seconds":1782066260,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6d2820"} 
[2026-06-21 23:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-21 23:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":109100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":109100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":109100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208961024001,"66":27321,"242":206,"2":57088,"24":59,"16":320135291601944576,"45":3134786844584077312},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-06-21 23:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208961024001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:56:08] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-21 23:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320135291601944576,"km_value":320135291601944.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3134786844584077312,"description":"Unknown IO ID 45"} 
[2026-06-21 23:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208961024001,"power":27321,"unknown_242":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3134786844584077312}} 
[2026-06-21 23:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":109100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:56:08] local.INFO: GPS data processed {"connection_id":109100,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:56:08] local.INFO: Acknowledgment sent {"connection_id":109100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:56:35] local.INFO: TCP Data received {"connection_id":109882,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:35] local.INFO: Processing buffer {"connection_id":109882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:35] local.INFO: IMEI packet received {"connection_id":109882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":109882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:56:36] local.INFO: TCP Data received {"connection_id":109882,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:36] local.INFO: Processing buffer {"connection_id":109882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:36] local.INFO: IMEI packet received {"connection_id":109882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":109882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:56:38] local.INFO: TCP Data received {"connection_id":109882,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:38] local.INFO: Processing buffer {"connection_id":109882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:56:38] local.INFO: IMEI packet received {"connection_id":109882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":109882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:56:39] local.INFO: TCP Data received {"connection_id":109882,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6d4378012d2b518006be3a18000c01402e..."} 
[2026-06-21 23:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6d4378012d2b518006be3a18000c01402e..."} 
[2026-06-21 23:56:39] local.INFO: Processing buffer {"connection_id":109882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6d4378012d2b518006be3a18000c01402e..."} 
[2026-06-21 23:56:39] local.INFO: Packet analysis {"connection_id":109882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:56:39] local.INFO: Extracted packet for processing {"connection_id":109882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:56:39] local.INFO: GPS Element Parsed {"raw_longitude":757813632,"raw_latitude":113130008,"longitude_deg":75.7813632,"latitude_deg":11.3130008,"altitude":12,"angle":320,"satellites":46,"speed":55,"hex_longitude":"2d2b5180","hex_latitude":"06be3a18","is_valid_coordinates":true} 
[2026-06-21 23:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208962560001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320135776933249024,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3128453657609877504,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782066267000,"timestamp_ms":1782066267000,"timestamp_seconds":1782066267,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6d4378"} 
[2026-06-21 23:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-21 23:56: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-06-21 23:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":109882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":109882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":109882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208962560001,"66":26702,"242":206,"2":57088,"24":55,"16":320135776933249024,"45":3128453657609877504},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-06-21 23:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208962560001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:56:39] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-21 23:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320135776933249024,"km_value":320135776933249.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3128453657609877504,"description":"Unknown IO ID 45"} 
[2026-06-21 23:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208962560001,"power":26702,"unknown_242":206,"power_alt":57088,"ignition":55,"odometer":null,"unknown_45":3128453657609877504}} 
[2026-06-21 23:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":109882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:56:39] local.INFO: GPS data processed {"connection_id":109882,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:56:39] local.INFO: Acknowledgment sent {"connection_id":109882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:56:41] local.INFO: TCP Data received {"connection_id":109882,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6d5ed0012d2b3a4006be5718000b01432c..."} 
[2026-06-21 23:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6d5ed0012d2b3a4006be5718000b01432c..."} 
[2026-06-21 23:56:41] local.INFO: Processing buffer {"connection_id":109882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6d5ed0012d2b3a4006be5718000b01432c..."} 
[2026-06-21 23:56:41] local.INFO: Packet analysis {"connection_id":109882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:56:41] local.INFO: Extracted packet for processing {"connection_id":109882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6d"} 
[2026-06-21 23:56:41] local.INFO: GPS Element Parsed {"raw_longitude":757807680,"raw_latitude":113137432,"longitude_deg":75.780768,"latitude_deg":11.3137432,"altitude":11,"angle":323,"satellites":44,"speed":52,"hex_longitude":"2d2b3a40","hex_latitude":"06be5718","is_valid_coordinates":true} 
[2026-06-21 23:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208964352001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320136236494749696,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3121416783194101760,"note":"Value kept but may cause issues"} 
[2026-06-21 23:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-21 23:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782066274000,"timestamp_ms":1782066274000,"timestamp_seconds":1782066274,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6d5ed0"} 
[2026-06-21 23:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-21 23:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":109882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":109882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":109882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208964352001,"66":27376,"242":206,"2":57088,"24":52,"16":320136236494749696,"45":3121416783194101760},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-06-21 23:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208964352001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:56:41] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-21 23:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320136236494749696,"km_value":320136236494749.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3121416783194101760,"description":"Unknown IO ID 45"} 
[2026-06-21 23:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208964352001,"power":27376,"unknown_242":206,"power_alt":57088,"ignition":52,"odometer":null,"unknown_45":3121416783194101760}} 
[2026-06-21 23:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":109882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:56:41] local.INFO: GPS data processed {"connection_id":109882,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:56:41] local.INFO: Acknowledgment sent {"connection_id":109882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:57:13] local.INFO: TCP Data received {"connection_id":109882,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6ef128012d2a0cc006bfd380000f01422c..."} 
[2026-06-21 23:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6ef128012d2a0cc006bfd380000f01422c..."} 
[2026-06-21 23:57:13] local.INFO: Processing buffer {"connection_id":109882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6ef128012d2a0cc006bfd380000f01422c..."} 
[2026-06-21 23:57:13] local.INFO: Packet analysis {"connection_id":109882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6e"} 
[2026-06-21 23:57:13] local.INFO: Extracted packet for processing {"connection_id":109882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6e"} 
[2026-06-21 23:57:13] local.INFO: GPS Element Parsed {"raw_longitude":757730496,"raw_latitude":113234816,"longitude_deg":75.7730496,"latitude_deg":11.3234816,"altitude":15,"angle":322,"satellites":44,"speed":53,"hex_longitude":"2d2a0cc0","hex_latitude":"06bfd380","is_valid_coordinates":true} 
[2026-06-21 23: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-06-21 23:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208990720001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320142219384193024,"note":"Value kept but may cause issues"} 
[2026-06-21 23:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3036270602764146688,"note":"Value kept but may cause issues"} 
[2026-06-21 23:57:13] 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-06-21 23:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782066377000,"timestamp_ms":1782066377000,"timestamp_seconds":1782066377,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6ef128"} 
[2026-06-21 23:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:57: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-06-21 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-21 23:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23: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-06-21 23:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":109882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":109882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":109882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208990720001,"66":27484,"76":206,"2":57088,"24":53,"16":320142219384193024,"45":3036270602764146688},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-06-21 23:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208990720001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:57:13] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-21 23:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320142219384193024,"km_value":320142219384193.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3036270602764146688,"description":"Unknown IO ID 45"} 
[2026-06-21 23:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208990720001,"power":27484,"unknown_76":206,"power_alt":57088,"ignition":53,"odometer":null,"unknown_45":3036270602764146688}} 
[2026-06-21 23:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":109882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:57:13] local.INFO: GPS data processed {"connection_id":109882,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:57:13] local.INFO: Acknowledgment sent {"connection_id":109882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:57:28] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:28] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:28] local.INFO: IMEI packet received {"connection_id":110834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":110834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:57:32] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:32] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:32] local.INFO: IMEI packet received {"connection_id":110834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":110834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:57:33] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:33] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:57:33] local.INFO: IMEI packet received {"connection_id":110834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":110834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:57:34] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6f0c80012d29f58006bff0f0000e01412b..."} 
[2026-06-21 23:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6f0c80012d29f58006bff0f0000e01412b..."} 
[2026-06-21 23:57:34] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6f0c80012d29f58006bff0f0000e01412b..."} 
[2026-06-21 23:57:34] local.INFO: Packet analysis {"connection_id":110834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:57:34] local.INFO: Extracted packet for processing {"connection_id":110834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:57:34] local.INFO: GPS Element Parsed {"raw_longitude":757724544,"raw_latitude":113242352,"longitude_deg":75.7724544,"latitude_deg":11.3242352,"altitude":14,"angle":321,"satellites":43,"speed":54,"hex_longitude":"2d29f580","hex_latitude":"06bff0f0","is_valid_coordinates":true} 
[2026-06-21 23:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208992512001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320142678945693696,"note":"Value kept but may cause issues"} 
[2026-06-21 23:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3030007784534147072,"note":"Value kept but may cause issues"} 
[2026-06-21 23:57:34] 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-06-21 23:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782066384000,"timestamp_ms":1782066384000,"timestamp_seconds":1782066384,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6f0c80"} 
[2026-06-21 23:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-21 23:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208992512001,"66":27397,"76":206,"2":57088,"24":54,"16":320142678945693696,"45":3030007784534147072},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-06-21 23:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208992512001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:57:34] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-21 23:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320142678945693696,"km_value":320142678945693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3030007784534147072,"description":"Unknown IO ID 45"} 
[2026-06-21 23:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208992512001,"power":27397,"unknown_76":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":3030007784534147072}} 
[2026-06-21 23:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":110834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:57:34] local.INFO: GPS data processed {"connection_id":110834,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:57:34] local.INFO: Acknowledgment sent {"connection_id":110834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:58:06] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6f27d8012d29df8006c00f90000c01472b..."} 
[2026-06-21 23:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6f27d8012d29df8006c00f90000c01472b..."} 
[2026-06-21 23:58:06] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6f27d8012d29df8006c00f90000c01472b..."} 
[2026-06-21 23:58:06] local.INFO: Packet analysis {"connection_id":110834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:58:06] local.INFO: Extracted packet for processing {"connection_id":110834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:58:06] local.INFO: GPS Element Parsed {"raw_longitude":757718912,"raw_latitude":113250192,"longitude_deg":75.7718912,"latitude_deg":11.3250192,"altitude":12,"angle":327,"satellites":43,"speed":54,"hex_longitude":"2d29df80","hex_latitude":"06c00f90","is_valid_coordinates":true} 
[2026-06-21 23:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208994304001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320143147097128960,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3023463491327553536,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58: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-06-21 23:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782066391000,"timestamp_ms":1782066391000,"timestamp_seconds":1782066391,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6f27d8"} 
[2026-06-21 23:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23: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-06-21 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-21 23:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208994304001,"66":27343,"76":206,"2":57088,"24":54,"16":320143147097128960,"45":3023463491327553536},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-06-21 23:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208994304001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:58:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-21 23:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320143147097128960,"km_value":320143147097128.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3023463491327553536,"description":"Unknown IO ID 45"} 
[2026-06-21 23:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208994304001,"power":27343,"unknown_76":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":3023463491327553536}} 
[2026-06-21 23:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":110834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:58:06] local.INFO: GPS data processed {"connection_id":110834,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:58:06] local.INFO: Acknowledgment sent {"connection_id":110834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:58:29] local.INFO: TCP Data received {"connection_id":109294,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:29] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:29] local.INFO: IMEI packet received {"connection_id":109294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":109294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:58:38] local.INFO: TCP Data received {"connection_id":109294,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:38] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:38] local.INFO: IMEI packet received {"connection_id":109294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":109294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:58:39] local.INFO: TCP Data received {"connection_id":109294,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:39] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:58:39] local.INFO: IMEI packet received {"connection_id":109294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":109294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:58:44] local.INFO: TCP Data received {"connection_id":109294,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6f4330012d29cb4006c02ed8000c01482c..."} 
[2026-06-21 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6f4330012d29cb4006c02ed8000c01482c..."} 
[2026-06-21 23:58:44] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6f4330012d29cb4006c02ed8000c01482c..."} 
[2026-06-21 23:58:44] local.INFO: Packet analysis {"connection_id":109294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:58:44] local.INFO: Extracted packet for processing {"connection_id":109294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":757713728,"raw_latitude":113258200,"longitude_deg":75.7713728,"latitude_deg":11.32582,"altitude":12,"angle":328,"satellites":44,"speed":52,"hex_longitude":"2d29cb40","hex_latitude":"06c02ed8","is_valid_coordinates":true} 
[2026-06-21 23:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208996096001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320143606658629632,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3017271041841926144,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:44] 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-06-21 23:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782066398000,"timestamp_ms":1782066398000,"timestamp_seconds":1782066398,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6f4330"} 
[2026-06-21 23:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-21 23:58: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-06-21 23:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":109294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208996096001,"66":27267,"76":206,"2":57088,"24":52,"16":320143606658629632,"45":3017271041841926144},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-06-21 23:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208996096001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:58:44] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-21 23:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320143606658629632,"km_value":320143606658629.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3017271041841926144,"description":"Unknown IO ID 45"} 
[2026-06-21 23:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208996096001,"power":27267,"unknown_76":206,"power_alt":57088,"ignition":52,"odometer":null,"unknown_45":3017271041841926144}} 
[2026-06-21 23:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":109294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:58:44] local.INFO: GPS data processed {"connection_id":109294,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:58:44] local.INFO: Acknowledgment sent {"connection_id":109294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:58:46] local.INFO: TCP Data received {"connection_id":109294,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb6f5e88012d29b80006c04d20000c01472c..."} 
[2026-06-21 23:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb6f5e88012d29b80006c04d20000c01472c..."} 
[2026-06-21 23:58:46] local.INFO: Processing buffer {"connection_id":109294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb6f5e88012d29b80006c04d20000c01472c..."} 
[2026-06-21 23:58:46] local.INFO: Packet analysis {"connection_id":109294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:58:46] local.INFO: Extracted packet for processing {"connection_id":109294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb6f"} 
[2026-06-21 23:58:46] local.INFO: GPS Element Parsed {"raw_longitude":757708800,"raw_latitude":113265952,"longitude_deg":75.77088,"latitude_deg":11.3265952,"altitude":12,"angle":327,"satellites":44,"speed":50,"hex_longitude":"2d29b800","hex_latitude":"06c04d20","is_valid_coordinates":true} 
[2026-06-21 23:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456208997888001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320144049040261120,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3011571173565585408,"note":"Value kept but may cause issues"} 
[2026-06-21 23:58:46] 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-06-21 23:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782066405000,"timestamp_ms":1782066405000,"timestamp_seconds":1782066405,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb6f5e88"} 
[2026-06-21 23:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:58: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-06-21 23:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-21 23:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 23:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":109294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":109294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456208997888001,"66":27463,"76":206,"2":57088,"24":50,"16":320144049040261120,"45":3011571173565585408},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-06-21 23:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456208997888001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:58:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-21 23:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320144049040261120,"km_value":320144049040261.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3011571173565585408,"description":"Unknown IO ID 45"} 
[2026-06-21 23:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456208997888001,"power":27463,"unknown_76":206,"power_alt":57088,"ignition":50,"odometer":null,"unknown_45":3011571173565585408}} 
[2026-06-21 23:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":109294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:58:46] local.INFO: GPS data processed {"connection_id":109294,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:58:46] local.INFO: Acknowledgment sent {"connection_id":109294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:59:29] local.INFO: TCP Data received {"connection_id":109295,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:29] local.INFO: Processing buffer {"connection_id":109295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:29] local.INFO: IMEI packet received {"connection_id":109295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-21 23:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":109295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:59:29] local.INFO: TCP Data received {"connection_id":109295,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:29] local.INFO: Processing buffer {"connection_id":109295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:29] local.INFO: IMEI packet received {"connection_id":109295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":109295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:59:33] local.INFO: TCP Data received {"connection_id":109295,"ip":"117.224.157.140","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:33] local.INFO: Processing buffer {"connection_id":109295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-21 23:59:33] local.INFO: IMEI packet received {"connection_id":109295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-21 23:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":109295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-21 23:59:35] local.INFO: TCP Data received {"connection_id":109295,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb70c200012d2899c006c172480016013b2c..."} 
[2026-06-21 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb70c200012d2899c006c172480016013b2c..."} 
[2026-06-21 23:59:35] local.INFO: Processing buffer {"connection_id":109295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb70c200012d2899c006c172480016013b2c..."} 
[2026-06-21 23:59:35] local.INFO: Packet analysis {"connection_id":109295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb70"} 
[2026-06-21 23:59:35] local.INFO: Extracted packet for processing {"connection_id":109295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb70"} 
[2026-06-21 23:59:35] local.INFO: GPS Element Parsed {"raw_longitude":757635520,"raw_latitude":113341000,"longitude_deg":75.763552,"latitude_deg":11.3341,"altitude":22,"angle":315,"satellites":44,"speed":39,"hex_longitude":"2d2899c0","hex_latitude":"06c17248","is_valid_coordinates":true} 
[2026-06-21 23:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-21 23:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456209020672001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320149095626833920,"note":"Value kept but may cause issues"} 
[2026-06-21 23:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2932969286338588672,"note":"Value kept but may cause issues"} 
[2026-06-21 23:59:35] 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-06-21 23:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782066496000,"timestamp_ms":1782066496000,"timestamp_seconds":1782066496,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb70c200"} 
[2026-06-21 23:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-21 23:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-21 23:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-21 23:59: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-06-21 23:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-21 23:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-21 23:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":109295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":109295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":109295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456209020672001,"66":27332,"143":206,"27":54528,"24":39,"16":320149095626833920,"45":2932969286338588672},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-06-21 23:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456209020672001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:59:35] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-06-21 23:59:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-06-21 23:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320149095626833920,"km_value":320149095626833.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2932969286338588672,"description":"Unknown IO ID 45"} 
[2026-06-21 23:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456209020672001,"power":27332,"unknown_143":206,"unknown_27":54528,"ignition":39,"odometer":null,"unknown_45":2932969286338588672}} 
[2026-06-21 23:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":109295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:59:35] local.INFO: GPS data processed {"connection_id":109295,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:59:35] local.INFO: Acknowledgment sent {"connection_id":109295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-21 23:59:36] local.INFO: TCP Data received {"connection_id":109101,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:59:36] local.INFO: Processing buffer {"connection_id":109101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-21 23:59:36] local.INFO: IMEI packet received {"connection_id":109101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-21 23:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":109101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-21 23:59:36] local.INFO: TCP Data received {"connection_id":109295,"ip":"117.224.157.140","data_length":795,"data_hex":"000000000000030f8e0a0000019eeb70e910012d287f4006c18e700017013d2d..."} 
[2026-06-21 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":109295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eeb70e910012d287f4006c18e700017013d2d..."} 
[2026-06-21 23:59:36] local.INFO: Processing buffer {"connection_id":109295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eeb70e910012d287f4006c18e700017013d2d..."} 
[2026-06-21 23:59:36] local.INFO: Packet analysis {"connection_id":109295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eeb70"} 
[2026-06-21 23:59:36] local.INFO: Extracted packet for processing {"connection_id":109295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eeb70"} 
[2026-06-21 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":757628736,"raw_latitude":113348208,"longitude_deg":75.7628736,"latitude_deg":11.3348208,"altitude":23,"angle":317,"satellites":45,"speed":38,"hex_longitude":"2d287f40","hex_latitude":"06c18e70","is_valid_coordinates":true} 
[2026-06-21 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-06-21 23:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456209022976001,"note":"Value kept but may cause issues"} 
[2026-06-21 23:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":320149572368203776,"note":"Value kept but may cause issues"} 
[2026-06-21 23:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2925580568201676800,"note":"Value kept but may cause issues"} 
[2026-06-21 23:59:36] 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-06-21 23:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782066506000,"timestamp_ms":1782066506000,"timestamp_seconds":1782066506,"priority":1,"record_length":96,"hex_timestamp":"0000019eeb70e910"} 
[2026-06-21 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-06-21 23: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-06-21 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-21 23:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-21 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-06-21 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-06-21 23:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-21 23:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":109295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-21 23:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":109295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":109295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-21 23:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.157.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-21 23:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-21 23:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-21 23:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456209022976001,"66":27397,"143":206,"27":54528,"24":38,"16":320149572368203776,"45":2925580568201676800},"client_ip":"117.224.157.140","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-06-21 23:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-21 23:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-21 23:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456209022976001,"description":"Unknown IO ID 0"} 
[2026-06-21 23:59:36] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-06-21 23:59:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-06-21 23:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":320149572368203776,"km_value":320149572368203.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-21 23:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2925580568201676800,"description":"Unknown IO ID 45"} 
[2026-06-21 23:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456209022976001,"power":27397,"unknown_143":206,"unknown_27":54528,"ignition":38,"odometer":null,"unknown_45":2925580568201676800}} 
[2026-06-21 23:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":109295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":362428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-21 23:59:36] local.INFO: GPS data processed {"connection_id":109295,"processed":1,"errors":0,"total":1} 
[2026-06-21 23:59:36] local.INFO: Acknowledgment sent {"connection_id":109295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
